/* ============================================================
   Arioso.app — Landing Page Styles
   Four-zone color architecture:
     Zone 1 (Hero): sky blue → warm sand gradient
     Zone 2 (Content): white with centered dividers
     Zone 3 (FAQ): white bg, beige rounded box for FAQ items
     Zone 4 (Bottom): white → light sky blue gradient
   Mobile-first, responsive at 375px / 768px / 1200px
   ============================================================ */

/* --- Reset & Base --- */

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111827;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* --- Utilities --- */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 40px 0;
}

/* Section labels — emerald green, uppercase, with flanking bars */
.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #059669;
  margin-bottom: 28px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 24px;
  height: 2px;
  background: #059669;
  opacity: 0.4;
  border-radius: 1px;
}

/* Section dividers — centered short lines between Zone 2 sections */
.section-divider {
  border: none;
  width: 64px;
  height: 1px;
  background: #D1D5DB;
  margin: 0 auto;
}

/* --- Buttons --- */

.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #059669;
  color: #fff;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 8px;
}

.btn-primary:hover {
  background: #047857;
  box-shadow: 0 2px 12px rgba(5, 150, 105, 0.3);
}

.btn-large {
  padding: 14px 32px;
  font-size: 17px;
}

/* --- Sticky Nav --- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.nav-logo-icon {
  flex-shrink: 0;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #6B7280;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #111827;
}

.nav-cta {
  font-size: 14px;
  padding: 10px 18px;
}

/* ============================================================
   ZONE 1: Hero — sky blue to warm sand gradient
   ============================================================ */

.hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, #9CC1E7 0%, #EDDFD0 100%);
}

.hero-headline {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #111827;
}

.hero-subline {
  font-size: 18px;
  font-weight: 400;
  color: #374151;
  margin-bottom: 36px;
  line-height: 1.5;
}

/* ============================================================
   ZONE 2: Content sections — white background
   ============================================================ */

.insight,
.how-it-works {
  background: #fff;
}

/* --- The Insight --- */

.insight {
  text-align: center;
}

.insight-lead {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 700px;
  margin: 0 auto 24px;
  color: #111827;
}

.insight-body {
  font-size: 18px;
  line-height: 1.7;
  color: #6B7280;
  max-width: 640px;
  margin: 0 auto 32px;
}

.insight-punchline {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: #111827;
  max-width: 640px;
  margin: 0 auto;
}

/* --- How It Works --- */

.differentiator-headline {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 12px;
  color: #111827;
}

.differentiator-subline {
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  color: #6B7280;
  margin-bottom: 48px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.step {
  text-align: center;
  background: #F9FAFB;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  padding: 28px 24px;
}

.step-number {
  display: inline-block;
  font-size: 36px;
  font-weight: 700;
  color: #059669;
  margin-bottom: 12px;
  line-height: 1;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111827;
}

.step-desc {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.5;
}

/* Screenshots */

.screenshot-wrap {
  text-align: center;
}

.screenshot {
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.screenshot-large {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* ============================================================
   ZONE 3: FAQ — white background, beige box for items
   ============================================================ */

.faq {
  background: #fff;
}

.faq-box {
  max-width: 720px;
  margin: 0 auto;
  background: #EDDFD0;
  border-radius: 16px;
  padding: 8px 24px;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

/* Remove default marker in Safari */
.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  flex-shrink: 0;
  color: #6B7280;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 0 20px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
}

/* ============================================================
   ZONE 4: Bottom — white to light sky blue gradient
   CTA + Footer share one continuous gradient
   ============================================================ */

.bottom-zone {
  background: linear-gradient(180deg, #FFFFFF 0%, #E4EEF6 50%, #D4E4F1 100%);
}

/* --- Final CTA --- */

.final-cta {
  text-align: center;
}

.final-cta-headline {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 32px;
  color: #111827;
}

/* --- Footer --- */

.footer {
  padding: 48px 0 32px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.footer-logo-icon {
  flex-shrink: 0;
}

.footer-tagline {
  font-size: 14px;
  color: #374151;
  margin-top: 8px;
}

.footer-contact {
  font-size: 14px;
  color: #374151;
}

.footer-contact a {
  color: #059669;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: #047857;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-legal-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6B7280;
  margin-bottom: 8px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  font-size: 14px;
  color: #374151;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #111827;
}

.footer-sep {
  color: #9CA3AF;
}

.footer-copyright {
  font-size: 13px;
  color: #6B7280;
}

/* --- Legal Pages --- */

.legal-page {
  padding: 120px 0 64px;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-content .legal-updated {
  font-size: 14px;
  color: #9CA3AF;
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 8px;
}

.legal-content a {
  color: #059669;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: #047857;
}

.legal-content strong {
  font-weight: 600;
  color: #111827;
}

/* --- Try Page (Interstitial) --- */

.try-page {
  padding: 100px 0 48px;
  text-align: center;
}

.try-headline {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #111827;
}

.try-subline {
  font-size: 17px;
  line-height: 1.5;
  color: #6B7280;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.try-subline .br-desktop {
  display: none;
}

.try-screenshot {
  margin-bottom: 28px;
}

.try-screenshot .screenshot {
  max-width: 480px;
  margin: 0 auto;
}

.try-trust {
  margin-bottom: 24px;
}

.try-trust p {
  font-size: 15px;
  color: #6B7280;
  line-height: 2;
}

.try-page .btn-large {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
}

/* --- Scroll Animations --- */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   Tablet — 768px+
   ============================================================ */

@media (min-width: 768px) {

  .container {
    padding: 0 40px;
  }

  .section {
    padding: 56px 0;
  }

  .section-label {
    font-size: 21px;
    margin-bottom: 32px;
  }

  .section-label::before,
  .section-label::after {
    width: 32px;
  }

  /* Nav */
  .nav-inner {
    padding: 16px 40px;
  }

  .nav-links {
    display: flex;
  }

  .nav-cta {
    font-size: 15px;
    padding: 10px 20px;
  }

  /* Hero */
  .hero {
    padding: 160px 0 100px;
  }

  .hero-headline {
    font-size: 48px;
  }

  .hero-subline {
    font-size: 20px;
    margin-bottom: 40px;
  }

  /* Insight */
  .insight-lead {
    font-size: 40px;
  }

  .insight-body {
    font-size: 19px;
  }

  .insight-punchline {
    font-size: 22px;
  }

  /* How It Works */
  .differentiator-headline {
    font-size: 40px;
  }

  .differentiator-subline {
    font-size: 19px;
    margin-bottom: 56px;
  }

  .steps {
    flex-direction: row;
    gap: 20px;
    margin-bottom: 56px;
  }

  .step {
    flex: 1;
    padding: 32px 24px;
  }

  .step-number {
    font-size: 40px;
    margin-bottom: 16px;
  }

  /* FAQ */
  .faq-box {
    padding: 8px 32px;
  }

  .faq-question {
    font-size: 17px;
    padding: 24px 0;
  }

  .faq-answer p {
    font-size: 16px;
  }

  /* Final CTA */
  .final-cta-headline {
    font-size: 40px;
  }

  /* Footer */
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* Try page */
  .try-page {
    padding: 140px 0 64px;
  }

  .try-headline {
    font-size: 44px;
    margin-bottom: 16px;
  }

  .try-subline {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .try-subline .br-desktop {
    display: inline;
  }

  .try-screenshot {
    margin-bottom: 40px;
  }

  .try-trust {
    margin-bottom: 36px;
  }

  .try-page .btn-large {
    display: inline-block;
    width: auto;
    max-width: none;
  }
}


/* ============================================================
   Desktop — 1200px+
   ============================================================ */

@media (min-width: 1200px) {

  .section {
    padding: 72px 0;
  }

  .section-divider {
    width: 80px;
  }

  /* Hero */
  .hero {
    padding: 180px 0 120px;
  }

  .hero-headline {
    font-size: 56px;
  }

  .hero-subline {
    font-size: 22px;
  }

  /* Insight */
  .insight-lead {
    font-size: 48px;
  }

  .insight-body {
    font-size: 20px;
  }

  .insight-punchline {
    font-size: 24px;
  }

  /* How It Works */
  .differentiator-headline {
    font-size: 48px;
  }

  .differentiator-subline {
    font-size: 20px;
    margin-bottom: 64px;
  }

  .steps {
    gap: 24px;
    margin-bottom: 64px;
  }

  .step {
    padding: 36px 28px;
  }

  .step-number {
    font-size: 48px;
    margin-bottom: 16px;
  }

  .step-title {
    font-size: 20px;
  }

  .step-desc {
    font-size: 17px;
  }

  /* FAQ */
  .faq-box {
    padding: 8px 40px;
  }

  .faq-question {
    font-size: 18px;
  }

  /* Final CTA */
  .final-cta-headline {
    font-size: 48px;
    margin-bottom: 40px;
  }

  /* Try page */
  .try-headline {
    font-size: 52px;
  }
}
