/* vai — calm futuristic design system */
:root {
  --bg: #070a0f;
  --bg-elevated: #0d1219;
  --bg-card: rgba(16, 22, 32, 0.72);
  --border: rgba(148, 180, 210, 0.12);
  --border-strong: rgba(148, 200, 220, 0.22);
  --text: #e8eef5;
  --text-muted: #8b9bb0;
  --accent: #7ec8d8;
  --accent-soft: rgba(126, 200, 216, 0.14);
  --accent-dim: #5a9eae;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --container: 1100px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

/* Ambient background */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(126, 200, 216, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 200, 216, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 75%);
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 40% at 50% -10%, rgba(126, 200, 216, 0.12), transparent 60%),
    radial-gradient(ellipse 35% 30% at 90% 20%, rgba(90, 120, 180, 0.08), transparent 50%),
    radial-gradient(ellipse 30% 25% at 10% 60%, rgba(80, 140, 160, 0.06), transparent 50%);
  pointer-events: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: rgba(7, 10, 15, 0.55);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(7, 10, 15, 0.85);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo img {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(160px, 42vw);
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.nav__cta {
  margin-left: 0.35rem;
  background: var(--accent-soft);
  color: var(--accent) !important;
  border: 1px solid rgba(126, 200, 216, 0.25);
}

.nav__cta:hover {
  background: rgba(126, 200, 216, 0.22);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Typography helpers */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 0.85rem;
}

.accent {
  color: var(--accent);
  font-weight: inherit;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Hero */
.hero {
  padding: clamp(3.5rem, 10vw, 6.5rem) 0 clamp(4rem, 10vw, 6rem);
}

.hero__inner {
  max-width: 720px;
}

.hero h1 {
  font-size: clamp(2.15rem, 6vw, 3.4rem);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.hero__lead {
  font-size: clamp(1.02rem, 2.2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 36em;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.hero__stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  max-width: 520px;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero__stats strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  text-transform: lowercase;
}

.hero__stats span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(165deg, #9ad4e0 0%, #6bb5c6 100%);
  color: #061018;
  box-shadow: 0 8px 24px rgba(100, 180, 200, 0.18);
}

.btn--primary:hover {
  background: linear-gradient(165deg, #a8dce6 0%, #78c0cf 100%);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: rgba(126, 200, 216, 0.4);
  background: var(--accent-soft);
}

.btn--full {
  width: 100%;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section--alt {
  background: linear-gradient(180deg, transparent, rgba(13, 18, 25, 0.6), transparent);
}

.section__header {
  max-width: 560px;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section__header h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  margin-bottom: 0.85rem;
}

.section__intro {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.card {
  padding: 1.5rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s, background 0.25s;
}

.card:hover {
  border-color: var(--border-strong);
  background: rgba(20, 28, 40, 0.8);
}

.card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(126, 200, 216, 0.18);
}

.card__icon svg {
  width: 20px;
  height: 20px;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Steps */
.steps {
  list-style: none;
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.step:last-child {
  border-bottom: none;
}

.step__num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  padding-top: 0.15rem;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.benefit {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(10, 14, 20, 0.5);
}

.benefit h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.benefit p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* CTA / Contact */
.cta-section {
  padding-bottom: clamp(4rem, 10vw, 6rem);
}

.cta-panel {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(145deg, rgba(126, 200, 216, 0.06), transparent 45%),
    var(--bg-elevated);
  box-shadow: var(--shadow);
  max-width: 640px;
}

.cta-panel h2 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin-bottom: 0.75rem;
}

.cta-panel > p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 36em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(139, 155, 176, 0.55);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(126, 200, 216, 0.45);
  box-shadow: 0 0 0 3px rgba(126, 200, 216, 0.1);
}

.form-note {
  font-size: 0.88rem;
  color: var(--accent);
  text-align: center;
}

.form-note--error {
  color: #f0a0a0;
}

.turnstile-wrap {
  display: flex;
  justify-content: flex-start;
  min-height: 65px;
}

.turnstile-wrap .cf-turnstile {
  width: 100%;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.logo--footer img {
  height: 32px;
  max-width: min(140px, 50vw);
}

.footer__tag {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(139, 155, 176, 0.65);
  margin-top: 0.35rem;
}

/* Mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem 1rem 1.25rem;
    background: rgba(7, 10, 15, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.25s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 1rem;
    border-radius: 12px;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 0.35rem;
    text-align: center;
    justify-content: center;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .step {
    gap: 0.85rem;
    padding: 1.2rem 1.15rem;
  }
}

@media (min-width: 769px) and (max-width: 960px) {
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
