/* ===================================================
   MEOWLIFY — Design System & Landing Page Styles
   Swiss-inspired · Minimalist · Premium
   =================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* --- Design Tokens --- */
:root {
  /* Palette */
  --bg-primary:    #F5F0EB;
  --bg-secondary:  #E8E3DC;
  --bg-card:       #FFFFFF;
  --accent:        #0F6E56;
  --accent-light:  #148A6C;
  --accent-dark:   #0B5342;
  --text-primary:  #1A1A18;
  --text-secondary:#5A5750;
  --text-tertiary: #8A857D;
  --border:        rgba(0,0,0,0.06);
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.04);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg:     0 12px 40px rgba(0,0,0,0.08);
  --shadow-xl:     0 20px 60px rgba(0,0,0,0.10);

  /* Typography */
  --font-heading: 'Manrope', -apple-system, sans-serif;
  --font-body:    'Inter', -apple-system, sans-serif;

  /* Spacing scale (8-point) */
  --s1: 0.5rem;   /* 8 */
  --s2: 1rem;     /* 16 */
  --s3: 1.5rem;   /* 24 */
  --s4: 2rem;     /* 32 */
  --s5: 3rem;     /* 48 */
  --s6: 4rem;     /* 64 */
  --s7: 5rem;     /* 80 */
  --s8: 6rem;     /* 96 */
  --s9: 8rem;     /* 128 */

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* Container */
  --container: 1120px;
  --gutter: 1.5rem;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.5s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

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

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

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

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  background: none;
}

input {
  font-family: inherit;
  border: none;
  outline: none;
}

/* --- Utility --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ===================================================
   APPLE-STYLE ANIMATION SYSTEM
   =================================================== */

/* --- 1. Page Entry — Background Fade --- */
body {
  opacity: 0;
  transition: opacity 0.7s ease;
}

body.loaded {
  opacity: 1;
}

/* --- 2. Hero Staggered Reveal --- */
/* Each hero child starts invisible and slides up.
   JS sets --stagger-index per child for cascading delay.
   Badge → Title → Subtitle → Buttons → Mockup             */

.hero-stagger {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.75s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 0.75s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition-delay: calc(0.3s + var(--stagger-index, 0) * 0.1s);
}

body.loaded .hero-stagger.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* --- 3. Mockup Scale-In --- */
/* The mockup starts slightly smaller and scales to full
   size, with shadow appearing progressively.              */

.hero__visual.hero-stagger .mockup-container {
  transform: scale(0.92);
  transition:
    transform 0.9s cubic-bezier(0.215, 0.61, 0.355, 1),
    filter 0.9s ease;
  transition-delay: calc(0.3s + var(--stagger-index, 0) * 0.1s);
}

body.loaded .hero__visual.animate-in .mockup-container {
  transform: scale(1);
}

/* --- 4. Scroll Reveal (below-fold sections) --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===================================================
   NAVIGATION
   =================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 240, 235, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  /* Entry animation */
  opacity: 0;
  transform: translateY(-100%);
  transition:
    opacity 0.5s ease 0.1s,
    transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) 0.1s,
    box-shadow 0.3s ease;
}

body.loaded .nav {
  opacity: 1;
  transform: translateY(0);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.nav__logo span {
  color: var(--accent);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: background 0.3s ease, transform 0.2s ease;
}

.nav__cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.nav__controls {
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: var(--text-primary);
  background: rgba(0,0,0,0.03);
}

.lang-icon {
  width: 18px;
  height: 18px;
}

.chevron-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.lang-btn[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  list-style: none;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s var(--ease-smooth);
}

.lang-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  width: 100%;
  text-align: left;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  font-weight: 500;
}

.lang-option:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.lang-option.active {
  color: var(--accent);
  background: rgba(15, 110, 86, 0.08);
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero {
  padding-top: calc(72px + var(--s7));
  padding-bottom: var(--s8);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: center;
}

.hero__content {
  max-width: 540px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(15, 110, 86, 0.08);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: var(--s3);
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.5); }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: var(--s3);
}

.hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--s5);
  max-width: 440px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease-smooth);
  white-space: nowrap;
}

.btn--primary {
  padding: 0.875rem 2rem;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 110, 86, 0.25);
}

.btn--primary:hover {
  background: var(--accent-light);
  box-shadow: 0 6px 20px rgba(15, 110, 86, 0.3);
  transform: translateY(-2px);
}

.btn--secondary {
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(0,0,0,0.12);
}

.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn__icon {
  width: 20px;
  height: 20px;
}

/* Hero visual */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.mockup-container {
  position: relative;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hero__mockup {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 30px 60px rgba(15, 110, 86, 0.25));
  animation: float 6s ease-in-out infinite;
  animation-delay: 1.4s; /* starts after entry animation */
  animation-fill-mode: both;
  display: block;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.scan-line {
  position: absolute;
  top: 25%;
  left: 36.5%;
  right: 36.5%;
  height: 2px;
  background: rgba(15, 110, 86, 0.9);
  box-shadow: 0 0 15px 3px rgba(15, 110, 86, 0.7);
  border-radius: 50%;
  animation: scan 4s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes scan {
  0% { top: 25%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 65%; opacity: 0; }
}

.floating-badge {
  position: absolute;
  bottom: 25%;
  right: 10%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: float-badge 5s ease-in-out infinite 1s;
  z-index: 3;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-8px) scale(1.02); }
}

/* Decorative glow */
.hero__visual::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(15,110,86,0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ===================================================
   SECTION — SHARED
   =================================================== */
section {
  padding: var(--s8) 0;
}

.section__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s2);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--s3);
}

.section__subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
}

.section__header {
  text-align: center;
  margin-bottom: var(--s6);
}

.section__header .section__subtitle {
  margin: 0 auto;
}

/* ===================================================
   PROBLEM SECTION
   =================================================== */
.problem {
  background: var(--bg-secondary);
}

.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: center;
}

.problem__questions {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.problem__question {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: var(--s3);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--accent);
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s ease;
}

.problem__question:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.problem__answer {
  max-width: 440px;
}

.problem__answer .section__title {
  text-align: left;
}

.problem__text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-top: var(--s3);
}

/* ===================================================
   SOLUTION SECTION (FEATURES)
   =================================================== */
.solution__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  margin-top: var(--s5);
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--s5) var(--s4);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(15, 110, 86, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s3);
  color: var(--accent);
}

.feature-card__icon svg {
  width: 26px;
  height: 26px;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--s1);
  color: var(--text-primary);
}

.feature-card__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===================================================
   HOW IT WORKS
   =================================================== */
.how-it-works {
  background: var(--bg-secondary);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
  counter-increment: step;
}

.step__number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(15, 110, 86, 0.08);
  line-height: 1;
  margin-bottom: var(--s2);
}

.step__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--s3);
  background: var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--accent);
}

.step__icon svg {
  width: 28px;
  height: 28px;
}

.step__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--s1);
  color: var(--text-primary);
}

.step__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 260px;
  margin: 0 auto;
}

/* Connector line between steps */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 100px;
  right: -16px;
  width: calc(var(--s4));
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(15,110,86,0.15) 100%);
}

/* ===================================================
   PREMIUM SECTION
   =================================================== */
.premium {
  position: relative;
  overflow: hidden;
}

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

.premium__text {
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-top: var(--s3);
}

.premium__traits {
  display: flex;
  justify-content: center;
  gap: var(--s4);
  margin-top: var(--s5);
  flex-wrap: wrap;
}

.trait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s1);
}

.trait__icon {
  width: 48px;
  height: 48px;
  background: rgba(15, 110, 86, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.trait__icon svg {
  width: 22px;
  height: 22px;
}

.trait__label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ===================================================
   EARLY ACCESS / CTA SECTION
   =================================================== */
.early-access {
  background: var(--accent);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.early-access::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.early-access .section__header {
  position: relative;
  z-index: 1;
}

.early-access .section__label {
  color: rgba(255,255,255,0.6);
}

.early-access .section__title {
  color: #fff;
}

.early-access .section__subtitle {
  color: rgba(255,255,255,0.75);
}

.cta-form {
  display: flex;
  gap: var(--s1);
  max-width: 440px;
  margin: var(--s4) auto 0;
  position: relative;
  z-index: 1;
}

.cta-form__input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.9375rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.cta-form__input::placeholder {
  color: rgba(255,255,255,0.5);
}

.cta-form__input:focus {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.18);
}

.cta-form__btn {
  padding: 0.875rem 1.75rem;
  background: #fff;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-form__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.cta-form__success {
  display: none;
  text-align: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  margin-top: var(--s3);
}

.cta-form__success.show {
  display: block;
  animation: fadeUp 0.5s var(--ease-smooth);
}

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

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s2);
}

.footer__logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.footer__logo span {
  color: var(--accent);
}

.footer__links {
  display: flex;
  gap: var(--s3);
  list-style: none;
}

.footer__link {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--accent);
}

.footer__copy {
  width: 100%;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-top: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid var(--border);
}

/* ===================================================
   MODAL
   =================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--s5);
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.4s var(--ease-smooth);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: var(--s2);
  right: var(--s2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  transition: background 0.2s ease;
}

.modal__close:hover {
  background: var(--bg-secondary);
}

.modal__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--s3);
  background: rgba(15, 110, 86, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.modal__icon svg {
  width: 28px;
  height: 28px;
}

.modal__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--s1);
  color: var(--text-primary);
}

.modal__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: var(--s4);
  line-height: 1.6;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}

.modal__input {
  padding: 0.875rem 1.25rem;
  background: var(--bg-primary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: border-color 0.3s ease;
}

.modal__input::placeholder {
  color: var(--text-tertiary);
}

.modal__input:focus {
  border-color: var(--accent);
}

.modal__submit {
  padding: 0.875rem 1.75rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  transition: background 0.3s ease, transform 0.2s ease;
}

.modal__submit:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.modal__success {
  display: none;
  padding: var(--s3);
}

.modal__success.show {
  display: block;
  animation: fadeUp 0.5s var(--ease-smooth);
}

.modal__success p {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===================================================
   FAQ SECTION
   =================================================== */
.faq {
  background: var(--bg-primary);
}

.faq__list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq__item:hover {
  box-shadow: var(--shadow-sm);
}

.faq__question {
  width: 100%;
  text-align: left;
  padding: var(--s3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  background: transparent;
  transition: color 0.3s ease;
}

.faq__question:hover {
  color: var(--accent);
}

.faq__icon {
  width: 24px;
  height: 24px;
  color: var(--text-tertiary);
  transition: transform 0.3s var(--ease-smooth), color 0.3s ease;
}

.faq__question[aria-expanded="true"] {
  color: var(--accent);
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth), padding 0.4s var(--ease-smooth);
  padding: 0 var(--s3);
}

.faq__answer p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9375rem;
  padding-bottom: var(--s3);
}

.faq__question[aria-expanded="true"] + .faq__answer {
  max-height: 500px;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .hero__grid {
    gap: var(--s4);
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 1.25rem;
  }

  .hero {
    padding-top: calc(72px + var(--s5));
    padding-bottom: var(--s6);
    min-height: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--s5);
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__mockup {
    max-width: 280px;
  }

  .problem__grid {
    grid-template-columns: 1fr;
    gap: var(--s4);
    text-align: center;
  }

  .problem__answer {
    max-width: 100%;
  }

  .problem__answer .section__title {
    text-align: center;
  }

  .solution__cards {
    grid-template-columns: 1fr;
    gap: var(--s2);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: var(--s4);
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .premium__traits {
    gap: var(--s3);
  }

  .cta-form {
    flex-direction: column;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .section__title {
    font-size: 1.5rem;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .btn--primary, .btn--secondary {
    width: 100%;
    justify-content: center;
  }
}
