:root {
  --deep-ocean: #062f5f;
  --blue-violet: #314f9d;
  --lagoon: #29b7b2;
  --mint: #85e5d4;
  --coral: #ff9bb3;
  --pearl: #f7fbff;
  --gold: #f8d98f;
  --ink: #13324a;
  --muted: #d7eef6;
  --glass: rgba(255, 255, 255, 0.18);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --shadow: 0 24px 70px rgba(5, 42, 86, 0.28);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--pearl);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 155, 179, 0.22), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(133, 229, 212, 0.26), transparent 26%),
    linear-gradient(180deg, #082e66 0%, #176f9a 44%, #7fded7 78%, #eefcff 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

body::before {
  background:
    repeating-radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.16) 0 2px, transparent 3px 44px),
    linear-gradient(115deg, transparent 0 18%, rgba(255, 255, 255, 0.1) 19%, transparent 30% 100%);
  opacity: 0.36;
}

body::after {
  background:
    radial-gradient(ellipse at 28% 86%, rgba(255, 155, 179, 0.28) 0 8%, transparent 8.5%),
    radial-gradient(ellipse at 75% 72%, rgba(248, 217, 143, 0.16) 0 7%, transparent 7.5%),
    radial-gradient(ellipse at 82% 42%, rgba(255, 255, 255, 0.13) 0 4%, transparent 4.5%);
  opacity: 0.58;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 40, 83, 0.62);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1120px;
  min-height: 72px;
  margin: 0 auto;
  padding: 0 28px;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 16px;
  color: var(--pearl);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.nav-links {
  display: flex;
  align-items: center;
  /* justify-content: center; */
  gap: clamp(28px, 5vw, 76px);
  width: 100%;
}

.nav-link {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #eefbff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  transition: color 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--coral);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--mint));
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 28px;
}

.page {
  min-height: 100vh;
  padding-top: 72px;
}

.hero {
  position: relative;
  display: grid;
  /* min-height: 520px; */
  place-items: center;
  /* padding: 96px 24px 72px; */
  padding: 24px;;
  text-align: center;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 260px;
  height: 260px;
  left: -80px;
  top: 80px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 80px rgba(133, 229, 212, 0.2);
}

.hero::after {
  width: 220px;
  height: 220px;
  right: -64px;
  bottom: 20px;
  background: radial-gradient(circle, rgba(255, 155, 179, 0.34), transparent 68%);
}

.hero-content {
  position: relative;
  z-index: 1;
  /* max-width: 760px; */
}

.hero h1 {
  margin: 0 0 18px;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 7.8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 0 34px rgba(133, 229, 212, 0.58);
}

.hero .subtitle {
  max-width: 680px;
  margin: 0 auto 18px;
  color: #eafcff;
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  font-weight: 700;
}

.hero p {
  max-width: 640px;
  margin: 0 auto;
  color: #d8f5fb;
  font-size: 1.05rem;
}

.section {
  padding: 76px 24px 96px;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-heading {
  margin: 0 auto 38px;
  max-width: 720px;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 12px;
  color: #07375e;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
}

.section-heading p {
  margin: 0;
  color: #255c70;
  font-size: 1.04rem;
}

.preview-section {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(239, 252, 255, 0.78), rgba(247, 251, 255, 0.96));
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 32px);
}

.screenshot-card {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: var(--shadow), 0 0 38px rgba(41, 183, 178, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.screenshot-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 82px rgba(5, 42, 86, 0.32), 0 0 48px rgba(41, 183, 178, 0.28);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: #dff9ff;
}

.content-page {
  padding: 96px 24px 72px;
}

.content-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.page-title {
  margin: 0 0 28px;
  color: #ffffff;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.04;
  text-align: center;
  text-shadow: 0 0 30px rgba(133, 229, 212, 0.46);
}

.intro {
  max-width: 700px;
  margin: -12px auto 32px;
  color: #e3fbff;
  text-align: center;
  font-size: 1.08rem;
}

.content-card,
.form-card {
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--glass-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.content-card {
  padding: clamp(28px, 5vw, 52px);
}

.policy-section + .policy-section {
  margin-top: 28px;
}

.policy-section h2 {
  margin: 0 0 8px;
  color: #0b4d76;
  font-size: 1.28rem;
  line-height: 1.3;
}

.policy-section p {
  margin: 0;
  color: #264c5d;
  font-size: 1rem;
  line-height: 1.7;
}

.form-card {
  padding: clamp(24px, 5vw, 42px);
}

.form-grid {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: #123d57;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(15, 89, 118, 0.18);
  border-radius: 16px;
  padding: 14px 16px;
  color: #123d57;
  font: inherit;
  background: rgba(255, 255, 255, 0.76);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  min-height: 148px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--lagoon);
  box-shadow: 0 0 0 4px rgba(41, 183, 178, 0.18);
}

.error-message {
  min-height: 22px;
  margin: 6px 0 0;
  color: #b4244c;
  font-size: 0.92rem;
}

.submit-button,
.modal-button {
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  color: #07375e;
  font: inherit;
  font-weight: 900;
  /* background: linear-gradient(135deg, var(--gold), var(--coral) 52%, var(--mint)); */
  background: #F9D293;
  box-shadow: 0 14px 34px rgba(10, 88, 102, 0.24);
  cursor: pointer;
  margin-left: auto;
}

.submit-button {
  width: 20%;
}

.site-footer {
  position: relative;
  padding: 34px 24px;
  color: #c8e7ef;
  text-align: center;
  background: #062b56;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mint), var(--coral), transparent);
}

.site-footer p {
  margin: 0;
}

.site-footer .note {
  margin-top: 6px;
  color: #98c7d7;
  font-size: 0.94rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 20, 42, 0.54);
}

.modal.is-open {
  display: flex;
}

.modal-dialog {
  width: min(100%, 420px);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius);
  color: var(--ink);
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.modal-dialog h2 {
  margin: 0 0 10px;
  color: #0b4d76;
}

.modal-dialog p {
  margin: 0 0 22px;
}

.modal-button {
  min-width: 132px;
  padding: 0 28px;
}

@media (max-width: 767px) {
  body::before,
  body::after {
    opacity: 0.24;
  }

  .nav-shell {
    justify-content: flex-end;
    min-height: 64px;
    padding: 0 18px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px 18px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(5, 40, 83, 0.9);
    backdrop-filter: blur(18px);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link {
    justify-content: center;
    width: 100%;
    min-height: 48px;
  }

  .page {
    padding-top: 64px;
  }

  .hero {
    min-height: 420px;
    padding: 70px 20px 58px;
  }

  .hero::before,
  .hero::after {
    transform: scale(0.62);
  }

  .hero h1 {
    font-size: clamp(3.4rem, 18vw, 4.8rem);
  }

  .hero .subtitle {
    font-size: 1.12rem;
  }

  .section {
    padding: 56px 16px 70px;
  }

  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .content-page {
    padding: 68px 16px 56px;
  }

  .content-card,
  .form-card {
    border-radius: 20px;
  }
}
