/* ============================================================
   VOKALIZE — Landing Page Styles
   Aesthetic: Dark cinematic / editorial luxury
   Palette: Deep charcoal + warm amber + muted cream
   ============================================================ */

:root {
  --c-bg: #0a0a0b;
  --c-surface: #131315;
  --c-surface-raised: #1a1a1e;
  --c-surface-hover: #222228;
  --c-border: #2a2a30;
  --c-border-subtle: #1e1e24;
  --c-text: #f0ece4;
  --c-text-secondary: #9a958c;
  --c-text-muted: #5c584f;
  --c-accent: #e8a84c;
  --c-accent-dim: #c4883a;
  --c-accent-glow: rgba(232, 168, 76, 0.15);
  --c-accent-glow-strong: rgba(232, 168, 76, 0.3);
  --c-speaker-a: #e8a84c;
  --c-speaker-b: #7bb8e0;
  --c-white: #ffffff;

  --f-display: 'Instrument Serif', Georgia, serif;
  --f-body: 'DM Sans', -apple-system, sans-serif;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

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

body {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

em {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--c-accent);
}

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

/* ---- Utilities ---- */

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1rem;
  padding: 0.35em 1em;
  border: 1px solid var(--c-accent-dim);
  border-radius: 100px;
  background: var(--c-accent-glow);
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--c-text);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--c-text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.65em 1.5em;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--c-accent);
  color: var(--c-bg);
  border-color: var(--c-accent);
}
.btn--primary:hover {
  background: #f0b560;
  border-color: #f0b560;
  box-shadow: 0 0 24px var(--c-accent-glow-strong);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border);
}
.btn--outline:hover {
  border-color: var(--c-text-secondary);
  background: var(--c-surface-raised);
}

.btn--ghost {
  background: transparent;
  color: var(--c-text-secondary);
}
.btn--ghost:hover {
  color: var(--c-text);
}

.btn--white {
  background: var(--c-white);
  color: var(--c-bg);
}
.btn--white:hover {
  background: var(--c-text);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(240, 236, 228, 0.15);
}

.btn--large {
  font-size: 1rem;
  padding: 0.85em 2em;
  border-radius: var(--r-md);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--c-border-subtle);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-display);
  font-size: 1.35rem;
  color: var(--c-text);
}

.nav__logo-icon {
  width: 28px;
  height: 28px;
  color: var(--c-accent);
}

.nav__links {
  display: flex;
  gap: 2.5rem;
}

.nav__link {
  font-size: 0.875rem;
  color: var(--c-text-secondary);
  transition: color 0.2s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-accent);
  transition: width 0.3s var(--ease-out);
}
.nav__link:hover {
  color: var(--c-text);
}
.nav__link:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.08;
  pointer-events: none;
}

.hero__waveform {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 300px;
}

.hero__bar {
  width: 4px;
  border-radius: 4px;
  background: var(--c-accent);
  height: calc(var(--h) * 100%);
  animation: waveFloat 2.5s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * 0.05s);
}

@keyframes waveFloat {
  0% { transform: scaleY(1); }
  100% { transform: scaleY(0.4); }
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 720px;
  z-index: 2;
  animation: fadeUp 0.8s var(--ease-out) both;
}

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--c-accent);
  padding: 0.4em 1.2em;
  border-radius: 100px;
  background: var(--c-accent-glow);
  border: 1px solid rgba(232, 168, 76, 0.2);
  margin-bottom: 2rem;
  animation: fadeUp 0.8s var(--ease-out) 0.1s both;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero__title {
  font-family: var(--f-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--c-text);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s var(--ease-out) 0.2s both;
}

.hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--c-text-secondary);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  animation: fadeUp 0.8s var(--ease-out) 0.3s both;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeUp 0.8s var(--ease-out) 0.4s both;
}

.hero__proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  animation: fadeUp 0.8s var(--ease-out) 0.5s both;
}

.hero__avatars {
  display: flex;
}

.hero__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: hsl(var(--hue), 35%, 28%);
  border: 2px solid var(--c-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 600;
  color: hsl(var(--hue), 35%, 75%);
  margin-left: -8px;
}
.hero__avatar:first-child {
  margin-left: 0;
}

.hero__proof-text {
  font-size: 0.85rem;
  color: var(--c-text-muted);
}
.hero__proof-text strong {
  color: var(--c-text-secondary);
}

/* ---- Demo Window ---- */

.hero__demo {
  position: relative;
  max-width: 680px;
  width: 100%;
  margin: 3rem auto 0;
  z-index: 2;
  animation: fadeUp 0.8s var(--ease-out) 0.6s both;
}

.demo__window {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.3),
    0 24px 64px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.demo__toolbar {
  display: flex;
  align-items: center;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--c-border-subtle);
  gap: 1rem;
}

.demo__dots {
  display: flex;
  gap: 6px;
}

.demo__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-surface-hover);
}
.demo__dots span:first-child { background: #ff5f57; }
.demo__dots span:nth-child(2) { background: #febc2e; }
.demo__dots span:nth-child(3) { background: #28c840; }

.demo__filename {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  flex: 1;
}

.demo__badge-live {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #28c840;
  padding: 0.25em 0.75em;
  border-radius: 100px;
  background: rgba(40, 200, 64, 0.1);
  border: 1px solid rgba(40, 200, 64, 0.2);
}

.demo__badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28c840;
  animation: pulse 1.5s ease-in-out infinite;
}

.demo__content {
  padding: 1.25rem;
}

.demo__waveform-mini {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 32px;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}

.demo__mini-bar {
  flex: 1;
  border-radius: 2px;
  background: var(--c-accent);
  height: calc(var(--h) * 100%);
  opacity: 0.35;
  animation: miniWave 1.8s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * 0.04s);
}

@keyframes miniWave {
  0% { opacity: 0.2; transform: scaleY(0.6); }
  100% { opacity: 0.5; transform: scaleY(1); }
}

.demo__text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.demo__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--c-text-secondary);
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-sm);
  background: var(--c-surface-raised);
}

.demo__line--complete {
  opacity: 0.7;
}

.demo__line--typing {
  opacity: 1;
  border: 1px solid var(--c-border-subtle);
}

.demo__timestamp {
  font-size: 0.7rem;
  font-family: var(--f-body);
  font-weight: 500;
  color: var(--c-text-muted);
  font-variant-numeric: tabular-nums;
  min-width: 36px;
}

.demo__speaker {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15em 0.5em;
  border-radius: 4px;
}

.demo__speaker--a {
  color: var(--c-speaker-a);
  background: rgba(232, 168, 76, 0.12);
}

.demo__speaker--b {
  color: var(--c-speaker-b);
  background: rgba(123, 184, 224, 0.12);
}

.demo__cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--c-accent);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ============================================================
   STATS
   ============================================================ */

.stats {
  position: relative;
  border-top: 1px solid var(--c-border-subtle);
  border-bottom: 1px solid var(--c-border-subtle);
  background: var(--c-surface);
}

.stats__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  gap: 3rem;
}

.stats__item {
  text-align: center;
  flex: 1;
}

.stats__number {
  font-family: var(--f-display);
  font-size: 2.8rem;
  color: var(--c-text);
  font-variant-numeric: tabular-nums;
}

.stats__unit {
  font-family: var(--f-display);
  font-size: 1.8rem;
  color: var(--c-accent);
}

.stats__label {
  display: block;
  font-size: 0.8rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

.stats__divider {
  width: 1px;
  height: 48px;
  background: var(--c-border);
}

/* ============================================================
   FEATURES
   ============================================================ */

.features {
  padding: 7rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.features__header {
  text-align: center;
  margin-bottom: 4rem;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border-subtle);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-accent-dim), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}

.feature-card:hover {
  border-color: var(--c-border);
  background: var(--c-surface-raised);
  transform: translateY(-2px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card--large {
  grid-column: span 2;
  grid-row: span 2;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--c-accent);
}

.feature-card__title {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--c-text);
  margin-bottom: 0.6rem;
}

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

.feature-card__visual {
  margin-top: auto;
  padding-top: 2rem;
}

.feature-card__speakers {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.speaker-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: var(--c-surface);
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border-subtle);
  font-size: 0.8rem;
}

.speaker-tag {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2em 0.6em;
  border-radius: 4px;
  flex-shrink: 0;
}

.speaker-tag--a {
  color: var(--c-speaker-a);
  background: rgba(232, 168, 76, 0.12);
}

.speaker-tag--b {
  color: var(--c-speaker-b);
  background: rgba(123, 184, 224, 0.12);
}

.speaker-words {
  color: var(--c-text-secondary);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.how-it-works {
  padding: 7rem 2rem;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border-subtle);
  border-bottom: 1px solid var(--c-border-subtle);
}

.how-it-works__header {
  text-align: center;
  margin-bottom: 5rem;
}

.steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
}

.step {
  flex: 1;
  position: relative;
  text-align: center;
}

.step__number {
  font-family: var(--f-display);
  font-size: 4rem;
  color: var(--c-accent);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.step__connector {
  position: absolute;
  top: 2rem;
  right: -1rem;
  width: calc(2rem);
  height: 1px;
  background: linear-gradient(90deg, var(--c-accent-dim), transparent);
  opacity: 0.3;
}

.step__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--c-accent);
}

.step__title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--c-text);
  margin-bottom: 0.75rem;
}

.step__text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--c-text-secondary);
}

/* ============================================================
   PRICING
   ============================================================ */

.pricing {
  padding: 7rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing__header {
  text-align: center;
  margin-bottom: 4rem;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border-subtle);
  border-radius: var(--r-xl);
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.3s var(--ease-out);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-border);
}

.pricing-card--featured {
  border-color: var(--c-accent-dim);
  background: linear-gradient(180deg, rgba(232, 168, 76, 0.06) 0%, var(--c-surface) 40%);
  box-shadow: 0 0 60px var(--c-accent-glow);
}
.pricing-card--featured:hover {
  border-color: var(--c-accent);
  box-shadow: 0 0 80px var(--c-accent-glow-strong);
}

.pricing-card__ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-bg);
  background: var(--c-accent);
  padding: 0.35em 1.2em;
  border-radius: 100px;
}

.pricing-card__header {
  margin-bottom: 1.75rem;
}

.pricing-card__name {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--c-text);
  margin-bottom: 0.25rem;
}

.pricing-card__desc {
  font-size: 0.85rem;
  color: var(--c-text-muted);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--c-border-subtle);
}

.pricing-card__currency {
  font-size: 1.5rem;
  color: var(--c-text-secondary);
  font-weight: 300;
  align-self: flex-start;
  margin-top: 0.5rem;
}

.pricing-card__amount {
  font-family: var(--f-display);
  font-size: 3.2rem;
  color: var(--c-text);
  line-height: 1;
}

.pricing-card__period {
  font-size: 0.9rem;
  color: var(--c-text-muted);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.pricing-card__features li {
  font-size: 0.875rem;
  color: var(--c-text-secondary);
  padding-left: 1.4rem;
  position: relative;
}

.pricing-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent-dim);
}

.pricing-card--featured .pricing-card__features li::before {
  background: var(--c-accent);
}

/* ============================================================
   CTA
   ============================================================ */

.cta {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--c-bg) 0%, #0f0e08 50%, var(--c-bg) 100%);
}

.cta__waveform {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0.06;
  pointer-events: none;
}

.cta__bar {
  width: 3px;
  border-radius: 3px;
  background: var(--c-accent);
  height: calc(var(--h) * 200px);
  animation: waveFloat 3s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * 0.06s);
}

.cta__inner {
  position: relative;
  z-index: 2;
}

.cta__title {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  color: var(--c-text);
  margin-bottom: 1rem;
}

.cta__text {
  font-size: 1.1rem;
  color: var(--c-text-secondary);
  margin-bottom: 2.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  border-top: 1px solid var(--c-border-subtle);
  padding: 4rem 2rem 2rem;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--c-border-subtle);
  margin-bottom: 2rem;
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  margin-top: 0.75rem;
}

.footer__columns {
  display: flex;
  gap: 4rem;
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-text-secondary);
  margin-bottom: 1rem;
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  transition: color 0.2s;
}
.footer__link:hover {
  color: var(--c-text);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--c-text-muted);
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  color: var(--c-text-muted);
  transition: color 0.2s;
}
.footer__social-link:hover {
  color: var(--c-accent);
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */

.features, .how-it-works, .pricing, .cta {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.features.is-visible,
.how-it-works.is-visible,
.pricing.is-visible,
.cta.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card--large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .hero {
    padding: 7rem 1.25rem 3rem;
  }

  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .stats__inner {
    flex-wrap: wrap;
    gap: 2rem 1rem;
  }

  .stats__divider {
    display: none;
  }

  .stats__item {
    flex: 0 0 45%;
  }

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

  .feature-card--large {
    grid-column: span 1;
  }

  .steps {
    flex-direction: column;
    gap: 3rem;
  }

  .step__connector {
    display: none;
  }

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

  .footer__top {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer__columns {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

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

  .hero__proof {
    flex-direction: column;
    gap: 0.5rem;
  }

  .demo__line {
    font-size: 0.78rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .stats__number {
    font-size: 2.2rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }
}

/* ============================================================
   NOISE / GRAIN OVERLAY
   ============================================================ */

.landing::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}
