/* ============================================================
   ZEE5 Landing Page — style.css
   Matched to the current zee5.com (2025 rebrand) design system:
   #191922 charcoal base, #383840 surfaces, Noto Sans, white CTA,
   2px white nav underline, 4–6px radii, 21px pills.
   ============================================================ */

:root {
  --bg: #191922;
  --surface: #383840;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-2: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.05);
  --text: #ffffff;
  --text-dim: #ccccd9;
  --text-mute: rgba(255, 255, 255, 0.5);
  --hover-gray: #4f4f59;
  --accent: #ec2b8d;
  --radius: 4px;
  --radius-lg: 8px;
  --pill: 21px;
  --nav-h: 65px;
  --ease-zee: cubic-bezier(0.33, 0.04, 0.63, 0.93);
  --font: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans",
          "Helvetica Neue", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

::selection { background: var(--accent); color: #fff; }

/* Slim scrollbar like zee5.com */
body::-webkit-scrollbar { width: 5px; height: 5px; background: transparent; }
body::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); }
body::-webkit-scrollbar-thumb {
  background: var(--glass-2);
  border-radius: 2.5px;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.grad-text { color: #fff; }

/* ============================================================
   Buttons — ZEE5 style: white primary, small radius, uppercase
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 12px 24px;
  transition: background-color 0.25s ease-in, color 0.25s ease-in,
              border-color 0.25s ease-in, transform 0.25s var(--ease-zee);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(0.98); }

/* Primary CTA — white with dark text, exactly like zee5.com "Buy Plan" */
.btn-gradient {
  background: #fff;
  color: #191922;
}
.btn-gradient svg { color: #191922; }
.btn-gradient:hover {
  background: var(--hover-gray);
  color: #fff;
}
.btn-gradient:hover svg { color: #fff; }

.btn-ghost {
  background: var(--glass-2);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-outline:hover {
  background: #fff;
  border-color: #fff;
  color: #191922;
}

.btn-light {
  background: #fff;
  color: #191922;
}
.btn-light:hover { background: var(--hover-gray); color: #fff; }

.btn-small { padding: 10px 14px; font-size: 0.75rem; }
.btn-large { padding: 14px 30px; font-size: 0.875rem; }

/* ============================================================
   Navbar — solid #191922 like zee5.com header
   ============================================================ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  background: var(--bg);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo { display: inline-flex; align-items: center; }
.logo svg { height: 34px; width: auto; }

.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease-in;
}
/* Active item: 2px white underline (zee5.com) */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  width: 0;
  opacity: 0;
  margin: auto;
  background: #fff;
  transition: all 0.25s ease-in;
}
/* Hover: faux-bold via text-shadow (zee5.com) */
.nav-links a:hover { text-shadow: 0.5px 0 0.5px #fff; color: #fff; }
.nav-links a.active {
  color: #fff;
  text-shadow: 0.5px 0 0.5px #fff;
}
.nav-links a.active::after { width: 100%; opacity: 1; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* Search pill like zee5.com desktop search box */
.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--pill);
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-mute);
  font-size: 0.8125rem;
  transition: background 0.25s ease-in;
}
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { background: var(--glass-2); color: var(--text-dim); }
.search-label { white-space: nowrap; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero — "In the Spotlight" billboard
   ============================================================ */
.hero {
  position: relative;
  min-height: 72svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Legibility scrim over the billboard image */
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(25, 25, 34, 0.96) 0%, rgba(25, 25, 34, 0.78) 42%, rgba(25, 25, 34, 0.3) 100%),
    linear-gradient(180deg, rgba(25, 25, 34, 0.35) 0%, transparent 35%, transparent 62%, #191922 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1px;
  max-width: 780px;
  margin-bottom: 20px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--text-dim);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.badge {
  padding: 3px 10px;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-rating {
  background: var(--glass-2);
  border: 1px solid var(--border);
  color: #fff;
}
.dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--text-mute);
}

.hero-desc {
  max-width: 560px;
  color: var(--text-dim);
  font-size: 1rem;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-fade { display: none; }

/* Load-in animation for hero children */
.reveal-load {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-tag.reveal-load     { animation-delay: 0.1s; }
.hero-title.reveal-load   { animation-delay: 0.22s; }
.hero-meta.reveal-load    { animation-delay: 0.34s; }
.hero-desc.reveal-load    { animation-delay: 0.46s; }
.hero-actions.reveal-load { animation-delay: 0.58s; }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Scroll-reveal (via IntersectionObserver in script.js)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Language chips — 21px pills, white when active (zee5.com)
   ============================================================ */
.chips-section {
  max-width: 1280px;
  margin: 28px auto 10px;
  padding: 0 24px;
}
.chips-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.chips-track::-webkit-scrollbar { display: none; }

.chip {
  flex: 0 0 auto;
  padding: 8px 20px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--text-dim);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: background 0.25s ease-in, color 0.25s ease-in,
              border-color 0.25s ease-in;
}
.chip:hover {
  color: #fff;
  background: var(--glass-2);
}
.chip-active {
  background: #fff;
  border-color: #fff;
  color: #191922;
}
.chip-active:hover {
  background: #fff;
  color: #191922;
}

/* ============================================================
   Content rows / carousels
   ============================================================ */
.row-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 24px 6px;
  scroll-margin-top: var(--nav-h);
}

.row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 16px 0;
}
/* Rail title: Noto Sans Medium 1.3125rem, plain white (zee5.com) */
.row-head h2 {
  font-size: 1.3125rem;
  font-weight: 500;
  letter-spacing: 0;
}
.see-all {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.25s ease-in;
}
.see-all:hover { color: #fff; }

.carousel-wrap { position: relative; }

.carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 2px 22px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }

.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(25, 25, 34, 0.9);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1rem;
  display: grid;
  place-items: center;
  transition: opacity 0.3s, background 0.25s ease-in, transform 0.25s;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}
.car-btn:hover {
  background: var(--surface);
  transform: translateY(-50%) scale(1.06);
}
.car-prev { left: -14px; }
.car-next { right: -14px; }
.car-btn.hidden { opacity: 0; pointer-events: none; }

/* ---- Poster cards — 4px radius, #383840 hover panel ---- */
.card {
  position: relative;
  flex: 0 0 auto;
  width: 200px;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.25s var(--ease-zee), box-shadow 0.25s ease-in;
}
.card:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 0 2px var(--surface);
  z-index: 2;
}

/* Dummy poster image fills the card; flat color shows while loading */
.card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Loading / offline fallback tones behind the images */
.poster-1 { background: #3d3d5c; }
.poster-2 { background: #4a3648; }
.poster-3 { background: #2f3e52; }
.poster-4 { background: #46374f; }
.poster-5 { background: #2e3a46; }
.poster-6 { background: #37344e; }
.poster-7 { background: #4a3a3a; }
.poster-8 { background: #333a55; }

.card-rank {
  position: absolute;
  top: 8px;
  left: 12px;
  z-index: 1;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.card-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(25, 25, 34, 0.4);
  opacity: 0;
  transition: opacity 0.25s ease-in;
}
.card:hover .card-overlay { opacity: 1; }

/* White play button, dark triangle — matches white-CTA system */
.play-ic {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  position: relative;
  transform: scale(0.7);
  transition: transform 0.25s var(--ease-zee);
}
.card:hover .play-ic { transform: scale(1); }
.play-ic::after {
  content: "";
  position: absolute;
  top: 50%; left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #191922;
}

.card-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 12px 12px 10px;
  z-index: 1;
  background-color: rgba(25, 25, 34, 0.75);
  transition: background-color 0.25s ease-in;
}
.card:hover .card-info { background-color: var(--surface); }
.card-info h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.card-info p {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-dim);
}

/* ============================================================
   Tab views (TV Shows / Movies / Web Series)
   ============================================================ */
.tab-view {
  min-height: 100vh;
  background: var(--bg);
}
.tab-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 48px) 24px 80px;
}

.tab-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 10px;
}
.tab-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.tab-sub {
  color: var(--text-dim);
  font-size: 0.9375rem;
  margin: 10px 0 28px;
  max-width: 640px;
}

.tab-chips { margin-bottom: 30px; }

.tab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}
.tab-grid .card {
  width: auto;
  animation: cardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.card-rating {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--pill);
  font-size: 0.71875rem;
  font-weight: 700;
  color: #fff;
  background: rgba(25, 25, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}
.card-rating::before { content: "★"; color: #fbbf24; font-size: 0.7rem; }

.card-year {
  color: var(--text-mute);
}

.tab-empty {
  text-align: center;
  color: var(--text-dim);
  font-size: 1rem;
  padding: 60px 0;
}

@media (max-width: 768px) {
  .tab-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
}

/* ============================================================
   Features strip
   ============================================================ */
.features {
  max-width: 1280px;
  margin: 40px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature {
  background: var(--glass);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: background 0.25s ease-in, border-color 0.25s ease-in,
              transform 0.25s var(--ease-zee);
}
.feature:hover {
  transform: translateY(-4px);
  background: var(--glass-2);
  border-color: var(--border);
}
.feature-ic { margin-bottom: 16px; color: #fff; }
.feature-ic svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.feature p { font-size: 0.8125rem; color: var(--text-dim); }

/* ============================================================
   Plans
   ============================================================ */
.plans-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 90px 24px 30px;
  text-align: center;
  scroll-margin-top: var(--nav-h);
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.5px;
}
.section-sub {
  color: var(--text-dim);
  margin: 10px 0 48px;
  font-size: 0.9375rem;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  text-align: left;
}

.plan {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-zee), box-shadow 0.25s ease-in,
              border-color 0.25s ease-in, background 0.25s ease-in;
}
.plan:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.25);
  background: var(--glass-2);
}

.plan h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.plan-featured h3 { color: #fff; }

.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 12px 0 22px;
  letter-spacing: -1px;
}
.price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0;
}

.plan ul {
  list-style: none;
  margin-bottom: 30px;
  flex: 1;
}
.plan li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: var(--text-dim);
  font-size: 0.875rem;
}
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #191922;
  background: #fff;
}

.plan .btn { justify-content: center; }

/* Featured plan: solid #383840 card with white border */
.plan-featured {
  background: var(--surface);
  border: 2px solid #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transform: scale(1.04);
}
.plan-featured:hover {
  transform: scale(1.04) translateY(-6px);
  background: var(--surface);
  border-color: #fff;
}
.plan-featured li { color: var(--text); }

.ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #191922;
  padding: 5px 18px;
  border-radius: var(--pill);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner {
  max-width: 1280px;
  margin: 90px auto;
  padding: 70px 40px;
  border-radius: 12px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.cta-banner p {
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 0.9375rem;
}

/* ============================================================
   Footer — flat #191922, soft top border (zee5.com)
   ============================================================ */
.footer {
  border-top: 1px solid var(--border-soft);
  background: var(--bg);
  padding-top: 8px;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo svg { height: 30px; }
.footer-brand p {
  color: var(--text-dim);
  font-size: 0.875rem;
  margin: 18px 0 22px;
  max-width: 320px;
}
.socials { display: flex; gap: 12px; }
.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--text-dim);
  transition: background 0.25s ease-in, color 0.25s ease-in,
              border-color 0.25s ease-in;
}
.socials svg { width: 17px; height: 17px; }
.socials a:hover { color: #fff; border-color: transparent; }
/* Per-platform hover colors, exactly as on zee5.com */
.socials a[aria-label="Facebook"]:hover  { background: #3c5a99; }
.socials a[aria-label="X"]:hover         { background: #1da1f2; }
.socials a[aria-label="Instagram"]:hover { background: #dd2a7b; }
.socials a[aria-label="YouTube"]:hover   { background: #c4302b; }

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  color: var(--text-dim);
  font-size: 0.875rem;
  transition: color 0.25s ease-in;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 22px 24px;
  text-align: center;
  color: var(--text-mute);
  font-size: 0.75rem;
  line-height: 1.7;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan-featured { transform: none; }
  .plan-featured:hover { transform: translateY(-6px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search-label { display: none; }
  .icon-btn { width: 38px; padding: 0; justify-content: center; border-radius: 50%; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(25, 25, 34, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 14px 0; font-size: 1rem; }
  .nav-links a::after { display: none; }
  .hamburger { display: flex; }
  .nav-inner { gap: 20px; }
  .logo svg { height: 28px; }

  .card { width: 158px; }
  .car-prev { left: 4px; }
  .car-next { right: 4px; }
  .features { grid-template-columns: 1fr; }
  .cta-banner { margin: 60px 16px; padding: 50px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions .btn-large { padding: 12px 22px; font-size: 0.8125rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .reveal-load { opacity: 1; transform: none; }
}
