/* ============================================================
   INVAIRO LANDING PAGE STYLES
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #080d1a;
  --bg-card:      rgba(255, 255, 255, 0.04);
  --border:       rgba(255, 255, 255, 0.08);
  --border-hover: rgba(106, 90, 249, 0.45);
  --primary:      #6a5af9;
  --secondary:    #b66bff;
  --text:         #e8eaf6;
  --text-muted:   #8c94b8;
  --text-dim:     #424870;
  --green:        #a3e6b8;
  --nav-h:        64px;
  --container:    1100px;
  --radius:       16px;
  --radius-sm:    10px;
  --radius-lg:    24px;
  --font:         'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography helpers ---------- */
.gradient-text {
  background: linear-gradient(135deg, #6a5af9 0%, #b66bff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 28px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 500px;
}

/* ---------- Alternating section background ---------- */
.section--alt {
  background: rgba(255, 255, 255, 0.022);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ---------- Scroll Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 0 24px rgba(106, 90, 249, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(106, 90, 249, 0.55);
}
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--border-hover);
  background: rgba(106, 90, 249, 0.06);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn--sm  { height: 36px; padding: 0 16px; font-size: 13px; border-radius: 9px; }
.btn--lg  { height: 52px; padding: 0 28px; font-size: 16px; border-radius: 12px; }
.btn--full { width: 100%; margin-top: 4px; }
.pricing-card .btn {
  height: 52px;
  font-size: 15px;
  border-radius: 14px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.nav--scrolled {
  background: rgba(8, 13, 26, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img { height: 28px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav__link:hover { color: var(--text); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.22s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 64px) 0 88px;
  overflow: hidden;
}

/* Ambient blobs */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  will-change: transform;
}
.hero__blob--1 {
  width: 640px; height: 640px;
  background: rgba(106, 90, 249, 0.17);
  top: -160px; left: -220px;
  animation: blobFloat 9s ease-in-out infinite;
}
.hero__blob--2 {
  width: 520px; height: 520px;
  background: rgba(182, 107, 255, 0.11);
  bottom: -120px; right: -120px;
  animation: blobFloat 12s ease-in-out infinite reverse;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(24px, -18px) scale(1.06); }
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: center;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(106, 90, 249, 0.1);
  border: 1px solid rgba(106, 90, 249, 0.28);
  color: #b0a8ff;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 26px;
}

/* Heading */
.hero__title {
  font-size: clamp(36px, 5.2vw, 62px);
  font-weight: 800;
  line-height: 1.09;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero__subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 490px;
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero__hint {
  font-size: 12px;
  color: var(--text-dim);
}

/* ---- Phone mockup ---- */
.hero__phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone {
  width: 260px;
  min-height: 520px;
  background: #0c1322;
  border-radius: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  padding: 16px 14px 20px;
  box-shadow:
    0 48px 96px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: phoneFloat 5s ease-in-out infinite;
  will-change: transform;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%       { transform: translateY(-14px) rotate(0deg); }
}

.phone__notch {
  width: 80px; height: 22px;
  background: #080d1a;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 0;
  position: relative;
  z-index: 1;
}

.phone__screen-wrap {
  position: relative;
}

.phone__screenshot {
  width: 100%;
  display: block;
  border-radius: 0 0 30px 30px;
  object-fit: cover;
}

.phone__header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: #1a2b42;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.phone__overlay-time {
  font-size: 12px;
  font-weight: 700;
  color: #e8eaf6;
  line-height: 1.1;
  font-family: var(--font);
}

.phone__overlay-date {
  font-size: 16px;
  font-weight: 600;
  color: #8c94b8;
  margin-top: 1px;
  font-family: var(--font);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.015);
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.trust-div { color: var(--text-dim); }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem {
  padding: 104px 0;
  text-align: center;
}
.problem__inner { max-width: 620px; margin: 0 auto; }

.problem__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.problem__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 20px;
}

.problem__body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============================================================
   FEATURES  (bento-style grid)
   ============================================================ */
.features { padding: 40px 0 104px; }

.features .section-label,
.features .section-title { text-align: center; }
.features .section-title  { margin-bottom: 48px; }

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.features__grid--3col {
  grid-template-columns: repeat(3, 1fr);
}


.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.feature-card__icon  { font-size: 28px; margin-bottom: 16px; display: block; line-height: 1; }
.feature-card__title { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.feature-card__body  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 40px 0 104px;
  text-align: center;
}
.how-it-works .section-label,
.how-it-works .section-title { text-align: center; }
.how-it-works .section-title  { margin-bottom: 52px; }

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.step {
  flex: 1;
  max-width: 280px;
  padding: 0 24px;
}

.step__number {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step__title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step__body  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

.step__connector {
  flex: 0 0 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin-top: 30px;
  align-self: flex-start;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding: 40px 0 104px; }

.testimonials .section-label,
.testimonials .section-title { text-align: center; }
.testimonials .section-title  { margin-bottom: 48px; }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.22s, transform 0.22s;
}
.testimonial:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.testimonial__text {
  font-size: 15px;
  line-height: 1.72;
  color: var(--text);
  flex: 1;
}
.testimonial__text::before { content: '\201C'; }
.testimonial__text::after  { content: '\201D'; }

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.testimonial__name { font-size: 14px; font-weight: 700; }
.testimonial__role { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: 40px 0 104px;
  text-align: center;
}
.pricing .section-subtitle { margin: 0 auto 52px; }

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  text-align: left;
  position: relative;
  transition: border-color 0.22s, box-shadow 0.22s;
  display: flex;
  flex-direction: column;
}
.pricing-card__features {
  flex: 1;
}
.pricing-card:hover { border-color: var(--border-hover); }

.pricing-card--featured {
  background: rgba(106, 90, 249, 0.07);
  border-color: rgba(106, 90, 249, 0.38);
  box-shadow: 0 0 48px rgba(106, 90, 249, 0.14);
}
.pricing-card--featured:hover {
  box-shadow: 0 0 64px rgba(106, 90, 249, 0.22);
}

.pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card__name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.pricing-card__amount {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pricing-card__period { font-size: 14px; color: var(--text-muted); }
.pricing-card__gst    { font-size: 11px; color: var(--text-dim); margin: 4px 0 20px; }

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 24px;
}
.pricing-card__features li { font-size: 14px; color: var(--text-muted); }

.pricing-card__note {
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 40px 0 104px; }

.faq .section-label,
.faq .section-title { text-align: center; }
.faq .section-title  { margin-bottom: 48px; }

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq__item[open] { border-color: rgba(106, 90, 249, 0.3); }

.faq__question {
  list-style: none;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
  transition: color 0.2s;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question:hover { color: #fff; }

.faq__question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.22s, color 0.22s;
  line-height: 1;
}
.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq__answer {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.72;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-section {
  position: relative;
  padding: 108px 0;
  text-align: center;
  overflow: hidden;
}

.cta-section__blob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 320px;
  background: radial-gradient(ellipse, rgba(106,90,249,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__title {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 16px;
  position: relative;
}

.cta-section__subtitle {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 36px;
  position: relative;
}

.cta-section__hint {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 18px;
  position: relative;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__logo img  { height: 24px; width: auto; opacity: 0.65; transition: opacity 0.2s; }
.footer__logo:hover img { opacity: 1; }

.footer__nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__link {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer__link:hover { color: var(--text); }

.footer__copy { font-size: 12px; color: var(--text-dim); }

/* ============================================================
   STRIPE BADGE
   ============================================================ */
.stripe-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
  font-size: 13px;
  color: var(--text-dim);
}
.stripe-badge__logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #a084fc;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__subtitle  { margin-inline: auto; }
  .hero__actions   { justify-content: center; }
  .hero__hint      { text-align: center; }
  .hero__phone     { display: none; }

  .features__grid {
    grid-template-columns: 1fr 1fr;
  }
  .features__grid .feature-card:nth-child(1) { grid-column: span 2; }
  .features__grid .feature-card:nth-child(6) { grid-column: span 2; }

  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-inline: auto;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .step { max-width: 320px; padding: 0; }
  .step__connector {
    width: 1px;
    height: 36px;
    flex: none;
    background: linear-gradient(180deg, transparent, var(--border), transparent);
    margin: 8px auto;
    align-self: auto;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .features__grid {
    grid-template-columns: 1fr;
  }
  .features__grid--3col {
    grid-template-columns: 1fr;
  }
  .features__grid .feature-card:nth-child(1),
  .features__grid .feature-card:nth-child(6) { grid-column: span 1; }

  .trust-bar__inner { gap: 10px; font-size: 12px; }
  .trust-div        { display: none; }

  /* Mobile nav drawer */
  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(8, 13, 26, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    border-bottom: 1px solid var(--border);
  }
  .nav__links--open { display: flex; }
  .nav__burger      { display: flex; }

  .footer__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer__nav   { gap: 14px; }

  .hero__badge { font-size: 12px; padding: 6px 13px; }
}
