/* ============================================================
   Vidicinema — Premium cinematic design system v2
   Inspired by Sora/Runway/A24 — large typography, full-bleed video,
   editorial spacing, neon accents on deep black.
============================================================ */

:root {
  --bg:        #040409;
  --bg-1:      #0a0a14;
  --bg-2:      #11111c;
  --bg-3:      #1b1c2c;
  --fg:        #f8f8fb;
  --fg-2:      #c7c8d4;
  --fg-3:      #8a8c9c;
  --fg-4:      #595a6b;
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.18);
  --accent:    #ff3d6e;            /* warm cinema neon */
  --accent-2:  #00e5ff;
  --accent-3:  #ffd06a;
  --grad:      linear-gradient(120deg,#ff3d6e 0%,#ff8a3d 50%,#ffd06a 100%);
  --grad-cool: linear-gradient(120deg,#00e5ff 0%,#7a5cff 50%,#ff3d6e 100%);
  --radius:    18px;
  --radius-lg: 28px;
  --shadow-1:  0 30px 80px -20px rgba(0,0,0,.6);
  --shadow-glow: 0 0 80px rgba(255,61,110,.25);
  --maxw:      1320px;
  --ff-sans:   "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  --ff-display:"Sora", "Inter", -apple-system, system-ui, sans-serif;
  --ff-serif:  "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--accent); color: #fff; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--ff-sans);
  font-feature-settings: "cv11","ss01","ss03";
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html[dir="rtl"] body { font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif; }

a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease, transform .2s ease; }
img, video, iframe { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
@media (max-width: 760px) { .container { padding: 0 20px; } }

/* ============== Typography ============== */
.display, h1, h2, h3 { font-family: var(--ff-display); letter-spacing: -0.035em; line-height: 1.02; font-weight: 700; }
h1.display, .h-mega { font-size: clamp(48px, 8.5vw, 132px); font-weight: 700; }
h2.display { font-size: clamp(36px, 5.5vw, 84px); font-weight: 600; }
h3.display { font-size: clamp(22px, 2.6vw, 36px); font-weight: 600; }
.serif-italic { font-family: var(--ff-serif); font-style: italic; font-weight: 400; }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 1px;
  background: var(--accent); vertical-align: middle; margin-right: 10px;
}
html[dir="rtl"] .eyebrow::before { margin: 0 0 0 10px; }

.lead {
  font-family: var(--ff-sans);
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--fg-3);
  max-width: 60ch;
  line-height: 1.55;
}
p { color: var(--fg-3); }

.center { text-align: center; }

/* ============== Buttons ============== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  font-weight: 600; font-size: 14px;
  border-radius: 999px;
  cursor: pointer; border: 0;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s, color .2s, box-shadow .25s, border-color .2s;
  white-space: nowrap;
  font-family: var(--ff-sans);
}
.btn-primary { background: var(--fg); color: #0a0a14; }
.btn-primary:hover { transform: translateY(-2px); background: #fff; color: #0a0a14; box-shadow: 0 18px 40px rgba(255,255,255,.18); }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: var(--fg); color: #0a0a14; border-color: var(--fg); }
.btn-ghost-light { background: rgba(255,255,255,.06); color: var(--fg); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.32); }
.btn-xl { padding: 18px 32px; font-size: 15px; }
.btn svg { transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }
html[dir="rtl"] .btn:hover svg { transform: translateX(-3px) scaleX(-1); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-weight: 600; font-size: 15px;
  margin-top: 24px;
}
.link-arrow:hover { color: var(--accent-3); }

/* ============== NAV (overlays on hero) ============== */
.nav { position: sticky; top: 0; z-index: 80; background: rgba(4,4,9,.78); backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--line); }
.nav-overlay { background: linear-gradient(180deg, rgba(4,4,9,.7), rgba(4,4,9,0)); border-bottom: 0; transition: background .3s ease; }
.nav-overlay.scrolled { background: rgba(4,4,9,.85); backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--ff-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--grad); position: relative; overflow: hidden; }
.brand-mark::after { content: ""; position: absolute; left: 9px; top: 6px; border: 9px solid transparent; border-left: 14px solid #fff; }
html[dir="rtl"] .brand-mark::after { left: auto; right: 9px; border-left: 0; border-right: 14px solid #fff; }
.brand-wordmark { letter-spacing: -.01em; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 13px; color: var(--fg-2); font-weight: 500; letter-spacing: .01em; }
.nav-links a:hover { color: var(--fg); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.lang-switcher summary { list-style: none; cursor: pointer; font-size: 12px; color: var(--fg-2); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; letter-spacing: .1em; }
.lang-switcher summary::-webkit-details-marker { display: none; }
.lang-switcher { position: relative; }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; background: var(--bg-1); border: 1px solid var(--line); border-radius: 14px; min-width: 170px; padding: 6px; box-shadow: var(--shadow-1); z-index: 10; }
html[dir="rtl"] .lang-menu { right: auto; left: 0; }
.lang-menu a { display: block; padding: 9px 14px; font-size: 13px; border-radius: 9px; color: var(--fg-2); }
.lang-menu a:hover { background: rgba(255,255,255,.06); color: var(--fg); }
.lang-menu a.active { color: var(--accent); }
.nav-mobile-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; color: var(--fg); }
.nav-mobile-toggle svg { width: 18px; height: 18px; }
.nav-mobile-panel { display: none; background: var(--bg-1); border-bottom: 1px solid var(--line); padding: 16px 24px; }
.nav-mobile-panel.open { display: block; }
.nav-mobile-panel a { display: block; padding: 14px 0; color: var(--fg-2); border-bottom: 1px solid var(--line); font-size: 16px; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
}

/* ============== CINEMATIC HERO (full-bleed video) ============== */
.cinema-hero {
  position: relative;
  margin-top: -76px;             /* pull under transparent nav */
  height: 100vh; min-height: 720px;
  overflow: hidden;
  display: flex; align-items: flex-end;
  padding-bottom: 100px;
  isolation: isolate;
}
.cinema-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.cinema-hero-bg iframe {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;
  min-height: 100vh; min-width: 177.78vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cinema-hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(255,61,110,.22), transparent 55%),
    linear-gradient(180deg, rgba(4,4,9,.55) 0%, rgba(4,4,9,.4) 40%, rgba(4,4,9,.92) 100%);
}
.cinema-hero-grain {
  position: absolute; inset: 0; z-index: 2; opacity: .35; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.cinema-hero-content {
  position: relative; z-index: 3;
  width: 100%;
}
.cinema-hero-content .eyebrow { color: rgba(255,255,255,.85); }
.cinema-hero-content .eyebrow::before { background: var(--accent); }
.cinema-hero-content h1 { font-size: clamp(52px, 9vw, 140px); letter-spacing: -0.045em; line-height: 0.94; max-width: 12ch; margin-bottom: 24px; }
.cinema-hero-content h1 .hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--ff-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.hero-lede { font-family: var(--ff-sans); font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.78); max-width: 56ch; margin-bottom: 32px; }
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero bottom bar (ticker) */
.cinema-hero-bar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  height: 44px;
  display: grid; grid-template-columns: 220px 1fr 220px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.4); backdrop-filter: blur(8px);
  font-size: 11px; letter-spacing: 0.18em; color: rgba(255,255,255,.7); font-weight: 600; text-transform: uppercase;
}
.hb-side { padding: 0 22px; display: flex; align-items: center; gap: 10px; }
.hb-side .rec { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: rec 1.6s ease-in-out infinite; }
@keyframes rec { 50% { opacity: .35; } }
.hb-marquee { overflow: hidden; border-left: 1px solid rgba(255,255,255,.15); border-right: 1px solid rgba(255,255,255,.15); }
.hb-track { display: flex; gap: 24px; white-space: nowrap; animation: hb 50s linear infinite; }
.hb-track span { display: inline-block; padding: 0 4px; }
@keyframes hb { to { transform: translateX(-50%); } }
@media (max-width: 760px) {
  .cinema-hero { min-height: 600px; padding-bottom: 80px; }
  .cinema-hero-bar { grid-template-columns: 1fr; height: 38px; }
  .cinema-hero-bar .hb-side { display: none; }
}

/* ============== Section spacing ============== */
section { position: relative; }
.reel-section, .cats-section, .presets-section, .features-section, .cta-section { padding: 140px 0; }
@media (max-width: 760px) { .reel-section, .cats-section, .presets-section, .features-section, .cta-section { padding: 90px 0; } }
.section-head { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: end; margin-bottom: 64px; }
.section-head.center { display: block; text-align: center; }
.section-head.center .lead { margin: 16px auto 0; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; gap: 16px; } }

/* ============== REEL (horizontal showcase) ============== */
.reel-track-wrap { overflow-x: auto; padding: 0 32px; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.reel-track-wrap::-webkit-scrollbar { display: none; }
.reel-track { display: flex; gap: 28px; padding-bottom: 12px; }
.reel-card { flex: 0 0 480px; scroll-snap-align: start; cursor: pointer; }
@media (max-width: 760px) { .reel-card { flex: 0 0 84vw; } }
.reel-thumb {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  isolation: isolate;
  border: 1px solid var(--line);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), border-color .3s ease;
}
.reel-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, filter .4s ease; }
.reel-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.85));
}
.reel-card:hover .reel-thumb { transform: translateY(-6px); border-color: var(--line-2); }
.reel-card:hover .reel-thumb img { transform: scale(1.06); }
.reel-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.85);
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.32);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  opacity: 0; transition: opacity .3s ease, transform .3s ease;
  z-index: 3;
}
.reel-play svg { width: 26px; height: 26px; margin-left: 3px; }
html[dir="rtl"] .reel-play svg { margin: 0 3px 0 0; transform: scaleX(-1); }
.reel-card:hover .reel-play { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.reel-meta { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 3; display: flex; align-items: flex-end; gap: 14px; }
.reel-num { font-family: var(--ff-display); font-size: 36px; font-weight: 700; line-height: 1; color: rgba(255,255,255,.5); letter-spacing: -0.03em; }
.reel-title { font-family: var(--ff-display); font-size: 19px; font-weight: 600; color: #fff; }
.reel-cat { font-size: 11px; letter-spacing: .18em; color: rgba(255,255,255,.7); margin-top: 4px; }

/* ============== Big category tiles ============== */
.big-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .big-cats { grid-template-columns: 1fr; } }
.big-cat {
  position: relative; aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  transition: transform .4s ease, border-color .3s;
}
.big-cat:hover { transform: translateY(-4px); border-color: var(--line-2); }
.big-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease, filter .4s ease; filter: brightness(.7) saturate(1.1); }
.big-cat:hover img { transform: scale(1.05); filter: brightness(.55) saturate(1.2); }
.big-cat-veil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.82)); }
.big-cat-body {
  position: absolute; inset: auto 0 0 0; padding: 36px 36px 36px;
  z-index: 2; color: #fff;
}
@media (max-width: 760px) { .big-cat-body { padding: 24px; } }
.big-cat-tag { display: inline-block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 8px; padding: 4px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; }
.big-cat h3 { margin-bottom: 8px; }
.big-cat p { color: rgba(255,255,255,.75); max-width: 40ch; }
.big-cat-arrow { position: absolute; top: 36px; right: 36px; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; backdrop-filter: blur(8px); transition: background .25s, transform .35s ease; }
html[dir="rtl"] .big-cat-arrow { right: auto; left: 36px; transform: scaleX(-1); }
.big-cat:hover .big-cat-arrow { background: var(--fg); color: #0a0a14; transform: rotate(-15deg); }
html[dir="rtl"] .big-cat:hover .big-cat-arrow { transform: scaleX(-1) rotate(15deg); }

/* ============== Presets marquee ============== */
.presets-marquee { overflow: hidden; padding: 12px 0; margin: 0 -32px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.pm-track { display: flex; gap: 14px; white-space: nowrap; animation: pm 40s linear infinite; }
@keyframes pm { to { transform: translateX(-50%); } }
.pm-chip { display: inline-flex; align-items: center; padding: 14px 22px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.02); font-size: 14px; font-weight: 500; color: var(--fg-2); letter-spacing: -0.005em; }
.pm-chip:nth-child(3n) { color: var(--accent); border-color: rgba(255,61,110,.4); }

/* ============== Features (alternating rows) ============== */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 120px; }
.feat-row.flip > .feat-text { order: 2; }
.feat-row:last-child { margin-bottom: 0; }
.feat-text h3 { margin-bottom: 18px; }
.feat-visual { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.feat-visual img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.85) saturate(1.1); transition: transform 1.2s ease; }
.feat-row:hover .feat-visual img { transform: scale(1.04); }
@media (max-width: 900px) {
  .feat-row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 80px; }
  .feat-row.flip > .feat-text { order: 0; }
}

/* ============== Big CTA ============== */
.big-cta {
  position: relative; overflow: hidden;
  padding: 100px 56px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(255,61,110,.30), transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(0,229,255,.25), transparent 55%),
    var(--bg-1);
  border: 1px solid var(--line);
  text-align: center;
}
.big-cta h2 { margin-bottom: 18px; }
.big-cta .lead { margin: 0 auto 32px; }
@media (max-width: 760px) { .big-cta { padding: 60px 24px; } }

/* ============== Modal video player ============== */
.player-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.96);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.player-modal.open { display: flex; }
.pm-close { position: absolute; top: 22px; right: 28px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 26px; cursor: pointer; z-index: 10; }
html[dir="rtl"] .pm-close { right: auto; left: 28px; }
.pm-stage {
  width: 100%;
  max-width: 1600px;
  aspect-ratio: 16/9;
  max-height: calc(100vh - 80px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-1);
  background: #000;
  display: flex;
}
.pm-stage > div, .pm-stage iframe {
  width: 100%; height: 100%; border: 0; display: block; flex: 1 1 auto;
}
@media (max-width: 760px) {
  .player-modal { padding: 20px; }
  .pm-close { top: 10px; right: 10px; }
}

/* ============== Page-hero (sub pages, NOT home) ============== */
.page-hero { position: relative; padding: 160px 0 70px; text-align: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 0%, rgba(255,61,110,.15), transparent 60%); }
.page-hero h1 { font-size: clamp(40px, 6vw, 96px); margin-top: 8px; }
.page-hero p { margin: 24px auto 0; max-width: 64ch; }
.page-hero .eyebrow { color: var(--fg-3); }

/* ============== Request form ============== */
.req-form { display: grid; gap: 28px; }
.form-step { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; }
.step-label { display: flex; align-items: center; gap: 14px; font-family: var(--ff-display); font-size: 18px; font-weight: 600; margin-bottom: 26px; color: var(--fg); }
.step-label span { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #0a0a14; font-size: 14px; font-weight: 700; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } .form-step { padding: 24px; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-size: 12px; color: var(--fg-3); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field textarea, .field select {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px; color: var(--fg);
  outline: none;
  font-family: inherit;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); background: rgba(255,255,255,.05); }
.field input[type="file"] { font-size: 14px; color: var(--fg-2); padding: 12px 4px; }
.field .hint { font-size: 12px; color: var(--fg-4); margin-top: 4px; line-height: 1.4; text-transform: none; letter-spacing: 0; font-weight: 400; }
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.02); font-size: 14px; color: var(--fg-2); transition: all .2s ease; }
.chip:hover span { color: var(--fg); border-color: var(--line-2); }
.chip input:checked + span { background: var(--fg); color: #0a0a14; border-color: var(--fg); }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0; width: 0; height: 0; }
.hint { font-size: 12px; color: var(--fg-4); }
.alert { padding: 18px 22px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.alert ul { margin-top: 6px; padding-left: 18px; }
html[dir="rtl"] .alert ul { padding: 0 18px 0 0; }
.alert-success { background: rgba(80,255,170,.06); border: 1px solid rgba(80,255,170,.3); color: #93f7c4; }
.alert-error { background: rgba(255,61,110,.06); border: 1px solid rgba(255,61,110,.3); color: #ff97b3; }

/* ============== Footer ============== */
.footer { margin-top: 80px; background: var(--bg-1); border-top: 1px solid var(--line); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { font-family: var(--ff-display); font-size: 12px; text-transform: uppercase; letter-spacing: .22em; color: var(--fg-3); margin-bottom: 20px; font-weight: 600; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 12px; font-size: 14px; }
.footer li a { color: var(--fg-2); }
.footer li a:hover { color: var(--fg); }
.footer-bottom { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; color: var(--fg-4); font-size: 12px; }
.footer-brand p { font-size: 14px; margin-top: 16px; max-width: 320px; color: var(--fg-3); }

/* ============== Chat widget ============== */
.chat-launcher { position: fixed; bottom: 24px; right: 24px; z-index: 100; background: var(--fg); color: #0a0a14; border: 0; border-radius: 999px; padding: 14px 22px; font-weight: 600; font-size: 14px; cursor: pointer; box-shadow: 0 18px 40px rgba(0,0,0,.45); display: flex; align-items: center; gap: 10px; font-family: var(--ff-sans); }
html[dir="rtl"] .chat-launcher { right: auto; left: 24px; }
.chat-launcher:hover { transform: translateY(-2px); }
.chat-launcher .dot { width: 8px; height: 8px; border-radius: 50%; background: #00ff7a; box-shadow: 0 0 10px #00ff7a; animation: rec 1.8s ease-in-out infinite; }
.chat-window { position: fixed; bottom: 24px; right: 24px; z-index: 110; width: min(400px, calc(100vw - 32px)); height: min(580px, calc(100vh - 80px)); background: var(--bg-1); border: 1px solid var(--line-2); border-radius: 20px; display: none; flex-direction: column; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.6); }
html[dir="rtl"] .chat-window { right: auto; left: 24px; }
.chat-window.open { display: flex; }
.chat-head { padding: 20px; background: linear-gradient(135deg, rgba(255,61,110,.14), rgba(0,229,255,.10)); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.chat-head .chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #0a0a14; font-family: var(--ff-display); }
.chat-head .chat-title { font-family: var(--ff-display); font-weight: 600; font-size: 15px; }
.chat-head .chat-sub { font-size: 11px; color: var(--fg-3); margin-top: 2px; }
.chat-head .chat-close { margin-left: auto; background: transparent; border: 0; color: var(--fg-3); cursor: pointer; font-size: 24px; line-height: 1; }
html[dir="rtl"] .chat-head .chat-close { margin: 0 auto 0 0; }
.chat-body { flex: 1; padding: 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.chat-msg.bot { background: var(--bg-3); align-self: flex-start; border-bottom-left-radius: 6px; }
html[dir="rtl"] .chat-msg.bot { align-self: flex-end; border-bottom-left-radius: 16px; border-bottom-right-radius: 6px; }
.chat-msg.me { background: var(--fg); color: #0a0a14; align-self: flex-end; border-bottom-right-radius: 6px; }
html[dir="rtl"] .chat-msg.me { align-self: flex-start; border-bottom-right-radius: 16px; border-bottom-left-radius: 6px; }
.chat-msg.bot.typing { color: var(--fg-3); font-style: italic; }
.chat-input { padding: 14px; border-top: 1px solid var(--line); display: flex; gap: 8px; }
.chat-input input { flex: 1; background: var(--bg-3); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; outline: none; color: var(--fg); font-size: 14px; }
.chat-input input:focus { border-color: var(--accent); }
.chat-input button { background: var(--fg); color: #0a0a14; border: 0; padding: 12px 18px; border-radius: 12px; font-weight: 600; cursor: pointer; }

/* ============== 404 ============== */
.error-404 { text-align: center; padding: 160px 0; }
.error-404 h1 { font-size: clamp(120px, 22vw, 280px); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; font-weight: 800; letter-spacing: -.06em; }
.error-404 p { margin: 20px 0 30px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .cinema-hero-bg iframe { display: none; }
  .cinema-hero { background: linear-gradient(135deg, var(--bg), var(--bg-2)); }
}

/* ============== VS section (tools vs us) ============== */
.vs-section { padding: 140px 0; }
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .vs-grid { grid-template-columns: 1fr; } .vs-section { padding: 80px 0; } }
.vs-col { padding: 44px; border-radius: var(--radius-lg); border: 1px solid var(--line); position: relative; min-height: 420px; }
.vs-bad { background: rgba(255,255,255,.02); }
.vs-bad h3 { color: var(--fg-3); margin-bottom: 22px; }
.vs-bad ul { list-style: none; }
.vs-bad li { padding: 12px 0; font-size: 15px; color: var(--fg-4); border-bottom: 1px dashed rgba(255,255,255,.05); }
.vs-bad li:last-child { border: 0; }
.vs-good { background: linear-gradient(135deg, rgba(255,61,110,.08), rgba(255,176,107,.04) 60%, var(--bg-1)); border: 1px solid rgba(255,61,110,.3); box-shadow: 0 30px 80px -20px rgba(255,61,110,.25); }
.vs-good h3 { margin-bottom: 22px; }
.vs-good ul { list-style: none; }
.vs-good li { padding: 12px 0; font-size: 15px; color: var(--fg); border-bottom: 1px solid var(--line); font-weight: 500; }
.vs-good li:last-child { border: 0; }
.vs-stamp { position: absolute; top: 24px; right: 24px; background: var(--grad); color: #0a0a14; font-family: var(--ff-display); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; }
html[dir="rtl"] .vs-stamp { right: auto; left: 24px; }

/* ============== WHO FOR section ============== */
.who-section { padding: 140px 0; background: linear-gradient(180deg, transparent, rgba(13,16,24,.5)); }
@media (max-width: 760px) { .who-section { padding: 80px 0; } }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .who-grid { grid-template-columns: 1fr; } }
.who-card { padding: 32px; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .3s; }
.who-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.who-card .who-num { font-family: var(--ff-display); font-size: 13px; letter-spacing: .2em; color: var(--accent); margin-bottom: 16px; }
.who-card h3 { font-family: var(--ff-display); font-size: 20px; font-weight: 600; margin-bottom: 8px; color: var(--fg); }
.who-card p { font-size: 14px; color: var(--fg-3); }

/* ============== EXPLORE grid + filters ============== */
.explore-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 48px; }
.explore-filters button { background: transparent; color: var(--fg-3); border: 1px solid var(--line); padding: 10px 20px; border-radius: 999px; font-size: 13px; cursor: pointer; font-family: var(--ff-sans); font-weight: 500; transition: all .25s ease; }
.explore-filters button:hover { color: var(--fg); border-color: var(--line-2); }
.explore-filters button.active { background: var(--fg); color: #0a0a14; border-color: var(--fg); }
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .explore-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .explore-grid { grid-template-columns: 1fr; } }
.explore-card { cursor: pointer; }
.explore-card .reel-thumb { aspect-ratio: 16/9; }
.explore-cta { margin-top: 72px; padding: 64px 32px; text-align: center; border-radius: var(--radius-lg); background: radial-gradient(ellipse at 50% 0%, rgba(255,61,110,.18), transparent 60%), var(--bg-1); border: 1px solid var(--line); }
.explore-cta .lead { font-family: var(--ff-display); font-size: clamp(20px, 2.4vw, 30px); font-weight: 600; color: var(--fg); margin: 0 auto 28px; max-width: 36ch; line-height: 1.2; }

/* ============== BLOG list ============== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { display: flex; flex-direction: column; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s ease, border-color .25s; color: inherit; }
.blog-card:hover { transform: translateY(-4px); border-color: var(--line-2); color: inherit; }
.blog-cover { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-2); }
.blog-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.8); transition: transform .9s ease; }
.blog-card:hover .blog-cover img { transform: scale(1.05); }
.blog-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.6)); }
.blog-tag { position: absolute; top: 16px; left: 16px; z-index: 2; background: rgba(0,0,0,.55); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; font-weight: 600; }
html[dir="rtl"] .blog-tag { left: auto; right: 16px; }
.blog-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.blog-body h3 { font-size: 22px; font-weight: 600; line-height: 1.18; margin-bottom: 12px; }
.blog-body p { font-size: 15px; color: var(--fg-3); margin-bottom: 18px; flex: 1; }
.blog-body .link-arrow { margin-top: auto; }

/* ============== BLOG single post ============== */
.post { }
.post-hero { position: relative; padding: 160px 0 70px; text-align: center; isolation: isolate; min-height: 460px; display: flex; align-items: flex-end; padding-bottom: 60px; }
.post-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--cover-img, none); background-size: cover; background-position: center; filter: brightness(.4) blur(2px); }
.post-hero-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,4,9,.6) 0%, rgba(4,4,9,.85) 100%); }
.post-hero-inner { position: relative; z-index: 2; }
.post-back { display: inline-block; font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.post-back:hover { color: var(--accent); }
.post-tag { display: inline-block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 14px; border-radius: 99px; font-weight: 600; margin-bottom: 16px; }
.post-hero h1 { font-size: clamp(36px, 5vw, 64px); max-width: 22ch; margin: 0 auto 18px; }
.post-meta { color: var(--fg-3); font-size: 14px; }
.post-body { max-width: 760px; padding-top: 60px; padding-bottom: 80px; font-size: 17px; line-height: 1.75; color: var(--fg-2); }
.post-body h2 { font-family: var(--ff-display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; margin-top: 48px; margin-bottom: 18px; color: var(--fg); letter-spacing: -0.02em; line-height: 1.2; }
.post-body h2:first-child { margin-top: 0; }
.post-body p { margin-bottom: 22px; color: var(--fg-2); }
.post-body p.lead { font-size: 19px; color: var(--fg); line-height: 1.55; margin-bottom: 36px; }
.post-body ul, .post-body ol { margin: 0 0 22px 24px; }
html[dir="rtl"] .post-body ul, html[dir="rtl"] .post-body ol { margin: 0 24px 22px 0; }
.post-body li { margin-bottom: 8px; color: var(--fg-2); }
.post-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--accent-3); }
.post-body em { font-family: var(--ff-serif); font-style: italic; font-size: 1.06em; color: var(--fg); }
.post-body .post-cta { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); text-align: center; }

