/* ============================================================
   FLIXORA – Landing Page Styles
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --accent: #e50914; --accent-soft: rgba(229,9,20,0.12);
  --gold: #f5a623; --green: #22c55e;
  --bg: #0a0a0f; --bg2: #111118; --bg3: #16161f; --bg4: #1e1e2e;
  --border: rgba(255,255,255,0.07);
  --text: #ffffff; --text2: rgba(255,255,255,0.7); --text3: rgba(255,255,255,0.4);
  --radius: 12px; --t: all 0.3s ease;
}
html { scroll-behavior: smooth; }
body.landing-body { background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── NAVBAR ── */
.land-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 72px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, transparent 100%);
  transition: var(--t);
}
.land-nav.scrolled {
  background: rgba(10,10,15,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.land-logo { font-family: 'Bebas Neue', sans-serif; font-size: 30px; letter-spacing: 4px; color: var(--accent); }
.land-nav-links { display: flex; align-items: center; gap: 36px; }
.land-nav-links a { font-size: 14px; font-weight: 500; color: var(--text2); transition: var(--t); }
.land-nav-links a:hover { color: #fff; }
.land-nav-btns { display: flex; align-items: center; gap: 12px; }
.btn-ghost {
  padding: 9px 22px; border-radius: 7px; font-size: 14px; font-weight: 600;
  color: #fff; border: 1px solid rgba(255,255,255,0.25); transition: var(--t);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-red {
  padding: 9px 24px; border-radius: 7px; font-size: 14px; font-weight: 700;
  background: var(--accent); color: #fff; transition: var(--t);
}
.btn-red:hover { background: #c40812; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(229,9,20,0.4); }

/* ── HERO ── */
.hero-section {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 50% 40%, rgba(229,9,20,0.07) 0%, rgba(10,10,15,0.55) 55%, rgba(10,10,15,0.97) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 860px; padding: 0 24px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent-soft); border: 1px solid rgba(229,9,20,0.5);
  color: var(--accent); font-size: 11px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 28px;
  animation: fadeDown 0.8s ease both;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 9vw, 104px);
  line-height: 0.92; letter-spacing: 2px; margin-bottom: 22px;
  animation: fadeDown 0.9s ease 0.1s both;
}
.hero-title span { color: var(--accent); }
.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px); color: var(--text2);
  line-height: 1.75; max-width: 580px; margin: 0 auto 38px;
  animation: fadeDown 1s ease 0.2s both;
}
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; animation: fadeDown 1s ease 0.3s both; }
.cta-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff; padding: 15px 34px;
  border-radius: 8px; font-size: 16px; font-weight: 700;
  transition: var(--t); box-shadow: 0 8px 32px rgba(229,9,20,0.45);
}
.cta-primary:hover { background: #c40812; transform: translateY(-2px); box-shadow: 0 14px 44px rgba(229,9,20,0.55); }
.cta-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; padding: 15px 28px; border-radius: 8px;
  font-size: 15px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.28); transition: var(--t);
}
.cta-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.09); }
.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 40px;
  margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--border);
  animation: fadeDown 1s ease 0.4s both;
}
.stat-div { width: 1px; height: 38px; background: var(--border); }
.hero-stat-num { font-size: 28px; font-weight: 900; color: #fff; }
.hero-stat-label { font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.8px; margin-top: 3px; }
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 5px;
  color: var(--text3); font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase;
  animation: bounce 2.2s ease-in-out infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(9px)} }
@keyframes fadeDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }

/* ── POSTER STRIPS ── */
.poster-strip-wrap {
  overflow: hidden; background: var(--bg); padding: 8px 0 0;
  position: relative;
}
.poster-strip-wrap::before, .poster-strip-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none;
}
.poster-strip-wrap::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.poster-strip-wrap::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }
.poster-strip { display: flex; gap: 10px; padding: 10px 0; width: max-content; }
.poster-strip.row1 { animation: scrollLeft 70s linear infinite; }
.poster-strip.row2 { animation: scrollRight 65s linear infinite; }
.poster-strip.row1:hover, .poster-strip.row2:hover { animation-play-state: paused; }
@keyframes scrollLeft  { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes scrollRight { from{transform:translateX(-50%)} to{transform:translateX(0)} }
.strip-poster {
  width: 108px; height: 158px; border-radius: 8px; overflow: hidden;
  flex-shrink: 0; cursor: pointer; transition: var(--t);
  box-shadow: 0 4px 18px rgba(0,0,0,0.55);
}
.strip-poster:hover { transform: scale(1.1) translateY(-5px); box-shadow: 0 14px 36px rgba(229,9,20,0.35); }
.strip-poster img { width: 100%; height: 100%; object-fit: cover; }

/* ── SECTION COMMON ── */
.section { padding: 88px 0; }
.section-inner { max-width: 1400px; margin: 0 auto; padding: 0 56px; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.3px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 7px;
}
.section-title { font-size: clamp(22px, 3vw, 32px); font-weight: 800; line-height: 1.1; }
.section-see-all {
  font-size: 13px; color: var(--accent); font-weight: 600;
  transition: var(--t); white-space: nowrap; display: flex; align-items: center; gap: 4px;
}
.section-see-all:hover { color: #ff3d3d; gap: 8px; }

/* ── MOVIE GRID ── */
.movie-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 16px; }
.movie-grid.large { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }

/* ── MOVIE CARD ── */
.m-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; background: var(--bg3);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  aspect-ratio: 2/3; display: block;
}
.m-card:hover { transform: translateY(-10px) scale(1.025); box-shadow: 0 24px 56px rgba(0,0,0,0.75); }
.m-card:hover .m-overlay { opacity: 1; }
.m-card:hover .m-info { transform: translateY(0); opacity: 1; }
.m-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.m-card:hover img { transform: scale(1.07); }
.m-overlay {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s ease;
  background: linear-gradient(to top, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.45) 50%, transparent 100%);
}
.m-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 12px 14px;
  transform: translateY(10px); opacity: 0; transition: var(--t);
}
.m-title { font-size: 13px; font-weight: 700; line-height: 1.3; margin-bottom: 4px; }
.m-meta { font-size: 11px; color: var(--text3); margin-bottom: 8px; }
.m-desc {
  font-size: 11px; color: var(--text2); line-height: 1.55; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.m-play-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--accent); color: #fff;
  padding: 6px 13px; border-radius: 5px;
  font-size: 11px; font-weight: 700; transition: var(--t);
}
.m-play-btn:hover { background: #c40812; }
.m-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--accent); color: #fff;
  font-size: 9px; font-weight: 800; letter-spacing: 0.8px;
  text-transform: uppercase; padding: 3px 8px; border-radius: 4px; z-index: 3;
}
.m-badge.gold { background: var(--gold); color: #000; }
.m-badge.blue { background: #3b82f6; }
.m-badge.green { background: var(--green); color: #000; }

/* ── SPOTLIGHT ── */
.spotlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.spotlight-card {
  position: relative; border-radius: 16px; overflow: hidden;
  cursor: pointer; aspect-ratio: 16/9; display: block; transition: var(--t);
}
.spotlight-card:hover { transform: scale(1.02); box-shadow: 0 28px 64px rgba(0,0,0,0.85); }
.spotlight-card img { width: 100%; height: 100%; object-fit: cover; }
.sp-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.93) 0%, rgba(0,0,0,0.2) 55%, transparent 100%);
}
.sp-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px; }
.sp-tag {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; padding: 3px 10px; border-radius: 4px; margin-bottom: 9px;
}
.sp-title { font-size: 24px; font-weight: 800; margin-bottom: 7px; }
.sp-desc {
  font-size: 13px; color: var(--text2); line-height: 1.65; margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sp-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent); color: #fff; padding: 9px 20px;
  border-radius: 7px; font-size: 13px; font-weight: 700; transition: var(--t);
}
.sp-cta:hover { background: #c40812; }

/* ── PLANS ── */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plan-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 18px; padding: 36px 26px; text-align: center;
  transition: var(--t); position: relative; overflow: hidden;
}
.plan-card:hover { border-color: rgba(229,9,20,0.5); transform: translateY(-5px); box-shadow: 0 24px 56px rgba(229,9,20,0.12); }
.plan-card.popular { border-color: var(--accent); }
.plan-popular-badge {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 10px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase; padding: 4px 18px;
  border-radius: 0 0 8px 8px;
}
.plan-name { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.plan-price { font-size: 44px; font-weight: 900; margin-bottom: 4px; }
.plan-price span { font-size: 16px; font-weight: 400; color: var(--text3); }
.plan-period { font-size: 12px; color: var(--text3); margin-bottom: 22px; }
.plan-features { list-style: none; margin-bottom: 26px; display: flex; flex-direction: column; gap: 11px; }
.plan-features li { font-size: 14px; color: var(--text2); display: flex; align-items: center; gap: 9px; justify-content: center; }
.plan-check { color: var(--green); flex-shrink: 0; }
.plan-btn {
  display: block; width: 100%; padding: 13px; border-radius: 9px;
  font-size: 15px; font-weight: 700; text-align: center; transition: var(--t);
  background: var(--accent-soft); border: 1px solid var(--accent); color: var(--accent);
}
.plan-btn:hover, .plan-card.popular .plan-btn { background: var(--accent); color: #fff; }

/* ── WHY FLIXORA ── */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 16px; padding: 30px 22px; text-align: center; transition: var(--t);
}
.why-card:hover { border-color: rgba(229,9,20,0.35); transform: translateY(-5px); }
.why-icon {
  width: 58px; height: 58px; border-radius: 15px;
  background: var(--accent-soft); border: 1px solid rgba(229,9,20,0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; color: var(--accent);
}
.why-title { font-size: 16px; font-weight: 700; margin-bottom: 9px; }
.why-desc { font-size: 13px; color: var(--text2); line-height: 1.65; }

/* ── CTA BANNER ── */
.cta-banner-wrap { padding: 0 56px 88px; max-width: 1400px; margin: 0 auto; }
.cta-banner {
  background: linear-gradient(135deg, rgba(229,9,20,0.14) 0%, rgba(229,9,20,0.04) 100%);
  border: 1px solid rgba(229,9,20,0.22); border-radius: 22px;
  padding: 72px 56px; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -60%; left: -60%;
  width: 220%; height: 220%;
  background: radial-gradient(circle at center, rgba(229,9,20,0.07) 0%, transparent 55%);
  animation: ctaPulse 5s ease-in-out infinite;
}
@keyframes ctaPulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.12);opacity:0.6} }
.cta-banner-title { font-size: clamp(30px, 4.5vw, 50px); font-weight: 900; margin-bottom: 14px; position: relative; }
.cta-banner-sub { font-size: 17px; color: var(--text2); margin-bottom: 36px; position: relative; }
.cta-banner-btns { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; }

/* ── FOOTER ── */
.land-footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 56px 56px 30px; }
.land-footer-inner { max-width: 1400px; margin: 0 auto; }
.land-footer-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 32px; }
.land-footer-logo { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 4px; color: var(--accent); margin-bottom: 10px; }
.land-footer-tagline { font-size: 13px; color: var(--text3); max-width: 260px; line-height: 1.6; }
.land-footer-col h4 { font-size: 12px; font-weight: 700; color: var(--text3); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.land-footer-col a { display: block; font-size: 14px; color: var(--text2); margin-bottom: 10px; transition: var(--t); }
.land-footer-col a:hover { color: #fff; }
.land-footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.land-footer-copy { font-size: 12px; color: var(--text3); }
.land-footer-secure { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text3); }

/* ── AOS ANIMATE ON SCROLL ── */
.aos { opacity: 0; transform: translateY(32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.aos.visible { opacity: 1; transform: translateY(0); }
.aos-d1 { transition-delay: 0.1s; } .aos-d2 { transition-delay: 0.2s; }
.aos-d3 { transition-delay: 0.3s; } .aos-d4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .section-inner, .cta-banner-wrap, .land-footer { padding-left: 28px; padding-right: 28px; }
  .land-nav { padding: 0 28px; }
  .land-nav-links { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .spotlight-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-stats { gap: 18px; }
  .stat-div { display: none; }
  .movie-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 44px 24px; }
}
