/* ============================================================
   AET HOX AI & IT SOLUTIONS - AI Movie Production House
   site.css  -  Design system + public site + shared components
   ============================================================ */

:root {
  /* Core surfaces */
  --bg: #080b10;
  --bg-2: #0c1018;
  --surface: #111623;
  --surface-2: #171e2e;
  --surface-3: #1e2740;

  /* Borders */
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);
  --border-focus: rgba(90, 134, 255, 0.6);

  /* Text */
  --text-1: #eef2f8;
  --text-2: #a9b3c6;
  --text-3: #6f7b92;

  /* Accents */
  --primary: #5a86ff;
  --primary-2: #7ba0ff;
  --primary-dim: rgba(90, 134, 255, 0.12);
  --accent: #f0b04a;
  --accent-2: #f472b6;
  --cyan: #34d3e0;
  --violet: #8b5cf6;

  /* Status */
  --success: #3ecf8e;
  --success-dim: rgba(62, 207, 142, 0.12);
  --warning: #f6b73c;
  --warning-dim: rgba(246, 183, 60, 0.12);
  --danger: #f2646c;
  --danger-dim: rgba(242, 100, 108, 0.12);
  --info: #4aa8ff;
  --info-dim: rgba(74, 168, 255, 0.12);

  /* Effects */
  --glass: rgba(17, 22, 35, 0.78);
  --glass-strong: rgba(13, 17, 27, 0.9);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 7px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 10px 30px -14px rgba(0, 0, 0, 0.55);
  --glow-primary: 0 0 0 1px rgba(90, 134, 255, 0.25), 0 12px 40px -12px rgba(90, 134, 255, 0.35);
  --sidebar-w: 264px;
  --topbar-h: 66px;

  /* Type */
  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, "Courier New", monospace;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(90, 134, 255, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(139, 92, 246, 0.1), transparent 55%),
    radial-gradient(1000px 700px at 50% 110%, rgba(52, 211, 224, 0.07), transparent 60%),
    var(--bg);
}
a { color: var(--primary-2); text-decoration: none; }
a:hover { color: #bcd0ff; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--text-1); font-weight: 600; letter-spacing: -0.02em; }
img { max-width: 100%; }
::selection { background: rgba(90, 134, 255, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
  border-radius: 4px;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #26304a; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #33415f; }

/* ---------- Utilities ---------- */
.text-primary-brand { color: var(--primary-2) !important; }
.text-accent { color: var(--accent) !important; }
.text-muted-2 { color: var(--text-2) !important; }
.text-muted-3 { color: var(--text-3) !important; }
.mono { font-family: var(--font-mono); font-size: 0.85em; letter-spacing: 0.02em; }
.display-font { font-family: var(--font-display); }
.gradient-text {
  background: linear-gradient(100deg, #8fb2ff 0%, #b89bff 50%, #ffc57a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.gradient-text-accent {
  background: linear-gradient(100deg, #ffd189 0%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.surface-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.surface-elevated {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.glass-panel {
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
}

/* Buttons */
.btn-cinema {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: #6d95ff;
  --bs-btn-hover-border-color: #6d95ff;
  --bs-btn-active-bg: #4772e0;
  border-radius: 12px;
  font-weight: 600;
  padding: 0.72rem 1.5rem;
  box-shadow: 0 10px 30px -12px rgba(90, 134, 255, 0.55);
}
.btn-cinema:hover { color: #fff; transform: translateY(-1px); }
.btn-outline-cinema {
  color: var(--text-1);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font-weight: 600;
  padding: 0.72rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
}
.btn-outline-cinema:hover { border-color: var(--primary); color: #fff; background: var(--primary-dim); }
.btn-accent {
  background: linear-gradient(120deg, var(--accent), #ff9d4d);
  border: none;
  color: #14100a;
  font-weight: 700;
  border-radius: 12px;
  padding: 0.72rem 1.5rem;
  box-shadow: 0 12px 32px -12px rgba(240, 176, 74, 0.5);
}
.btn-accent:hover { color: #14100a; transform: translateY(-1px); filter: brightness(1.05); }
.btn-ghost {
  background: transparent;
  border: none;
  color: var(--text-2);
  border-radius: 10px;
  padding: 0.5rem 0.9rem;
  font-weight: 500;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-1); }
.btn-icon { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,0.02); color: var(--text-2); }
.btn-icon:hover { color: #fff; border-color: var(--primary); background: var(--primary-dim); }

/* ---------- Status badges ---------- */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.status-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-badge .dot.pulse { animation: pulse-dot 1.6s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: 0.35; transform: scale(0.7);} }

.st-completed { color: var(--success); background: var(--success-dim); border-color: rgba(62,207,142,0.25); }
.st-running, .st-generating, .st-active { color: var(--info); background: var(--info-dim); border-color: rgba(74,168,255,0.28); }
.st-waiting, .st-paused, .st-warning { color: var(--warning); background: var(--warning-dim); border-color: rgba(246,183,60,0.28); }
.st-failed, .st-rejected, .st-blocked { color: var(--danger); background: var(--danger-dim); border-color: rgba(242,100,108,0.28); }
.st-pending, .st-draft, .st-skipped { color: var(--text-3); background: rgba(111,123,146,0.12); border-color: rgba(148,163,184,0.18); }
.st-planning, .st-idle { color: var(--primary-2); background: var(--primary-dim); border-color: rgba(90,134,255,0.28); }
.st-terminated, .st-off { color: var(--text-2); background: rgba(111,123,146,0.18); border-color: rgba(148,163,184,0.22); }
.st-pass { color: var(--success); background: var(--success-dim); border-color: rgba(62,207,142,0.25); }
.st-fail { color: var(--danger); background: var(--danger-dim); border-color: rgba(242,100,108,0.28); }

/* ---------- Progress ---------- */
.progress-track {
  height: 8px;
  background: rgba(148, 163, 184, 0.14);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.progress-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--primary), var(--violet));
  transition: width 0.6s ease;
  position: relative;
}
.progress-fill.progress-accent { background: linear-gradient(90deg, var(--accent), #f472b6); }
.progress-fill.progress-cyan { background: linear-gradient(90deg, var(--cyan), var(--primary)); }
.progress-fill.progress-success { background: linear-gradient(90deg, #2fb57c, var(--success)); }
.progress-fill.progress-danger { background: linear-gradient(90deg, #e0525b, var(--danger)); }
.progress-fill.progress-striped {
  background-image: linear-gradient(45deg, rgba(255,255,255,0.18) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0.18) 75%, transparent 75%, transparent);
  background-size: 22px 22px;
  animation: stripe-move 1s linear infinite;
}
@keyframes stripe-move { from { background-position: 0 0; } to { background-position: 22px 0; } }

/* ---------- Navbar ---------- */
.navbar-cinema {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.navbar-cinema.scrolled {
  background: rgba(8, 11, 16, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,0.6);
}
.navbar-cinema .navbar-brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 40px; height: 40px; border-radius: 11px; overflow: hidden; flex-shrink: 0; box-shadow: 0 8px 20px -8px rgba(90,134,255,0.6); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.1; color: #fff; }
.brand-sub { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.navbar-cinema .nav-link {
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: 9px;
  transition: color 0.2s, background 0.2s;
}
.navbar-cinema .nav-link:hover { color: #fff; background: rgba(255,255,255,0.05); }
.navbar-cinema .nav-link.active { color: #fff; background: var(--primary-dim); }
.navbar-cinema .navbar-toggler { border: 1px solid var(--border-strong); color: var(--text-1); padding: 8px 10px; border-radius: 10px; }
.navbar-cinema .navbar-toggler:focus { box-shadow: none; }
.navbar-cinema .navbar-collapse { background: transparent; }
.navbar-cinema .nav-cta .btn { padding: 0.5rem 1.1rem; font-size: 0.88rem; }
.navbar-cinema .nav-cta .btn-cinema { box-shadow: 0 8px 24px -10px rgba(90,134,255,0.5); }

@media (max-width: 991.98px) {
  .navbar-cinema .navbar-collapse {
    background: var(--glass-strong);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-top: 10px;
    padding: 14px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 180px 0 110px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1000px 520px at 70% 0%, rgba(90,134,255,0.16), transparent 60%),
    radial-gradient(800px 500px at 20% 100%, rgba(139,92,246,0.12), transparent 60%);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(240,176,74,0.3);
  background: rgba(240,176,74,0.08);
  padding: 7px 14px;
  border-radius: 100px;
}
.hero-eyebrow .pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse-dot 1.6s infinite; }
.hero-title {
  font-size: clamp(2.35rem, 5.2vw, 4.15rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 22px 0 20px;
}
.hero-sub { font-size: 1.08rem; color: var(--text-2); max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 42px; color: var(--text-3); font-size: 0.82rem; }
.hero-trust i { color: var(--success); margin-right: 6px; }

/* Hero visual composition */
.hero-visual { position: relative; }
.film-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow), 0 0 80px -30px rgba(90,134,255,0.5);
  background: var(--surface-2);
}
.film-frame .frame-top, .film-frame .frame-bottom {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(0,0,0,0.45);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}
.film-frame .frame-top { border-bottom: 1px solid var(--border); }
.film-frame .frame-bottom { border-top: 1px solid var(--border); }
.film-frame .frame-art {
  height: 360px;
  background:
    radial-gradient(600px 300px at 30% 20%, rgba(139,92,246,0.4), transparent 60%),
    radial-gradient(500px 300px at 80% 80%, rgba(240,176,74,0.3), transparent 55%),
    linear-gradient(140deg, #141b2e, #0b0f18);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.film-frame .frame-art .clapper {
  width: 150px; height: 150px;
  color: rgba(255,255,255,0.9);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.film-frame .frame-art .scanline {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 5px);
  pointer-events: none;
}
.hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.hero-chip i { font-size: 0.95rem; }
.hero-chip.chip-1 { top: 14%; left: -26px; color: var(--cyan); animation: floaty 6s ease-in-out infinite; }
.hero-chip.chip-2 { top: 52%; right: -22px; color: var(--accent); animation: floaty 6s 1.2s ease-in-out infinite; }
.hero-chip.chip-3 { bottom: 6%; left: 8%; color: var(--success); animation: floaty 6s 2.4s ease-in-out infinite; }

/* ---------- Section headers ---------- */
.section { padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(17,22,35,0.5), transparent); }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-2);
  background: var(--primary-dim);
  border: 1px solid rgba(90,134,255,0.25);
  padding: 6px 13px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; }
.section-sub { color: var(--text-2); max-width: 640px; font-size: 1rem; }

/* ---------- Feature cards ---------- */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(90,134,255,0.45);
  box-shadow: var(--glow-primary);
}
.feature-card .fc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  background: var(--primary-dim);
  color: var(--primary-2);
  border: 1px solid rgba(90,134,255,0.25);
  margin-bottom: 18px;
}
.feature-card .fc-icon.gold { background: rgba(240,176,74,0.1); color: var(--accent); border-color: rgba(240,176,74,0.3); }
.feature-card .fc-icon.cyan { background: rgba(52,211,224,0.1); color: var(--cyan); border-color: rgba(52,211,224,0.3); }
.feature-card .fc-icon.pink { background: rgba(244,114,182,0.1); color: var(--accent-2); border-color: rgba(244,114,182,0.3); }
.feature-card .fc-icon.green { background: rgba(62,207,142,0.1); color: var(--success); border-color: rgba(62,207,142,0.3); }
.feature-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-2); font-size: 0.92rem; margin: 0; }

/* ---------- Production pipeline (IDEA -> MOVIE) ---------- */
.pipeline-wrap { position: relative; }
.pipeline-line {
  position: absolute;
  left: 27px; top: 24px; bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--violet), var(--accent));
  opacity: 0.35;
}
.pipeline-step { position: relative; display: flex; gap: 18px; padding: 10px 0; }
.pipeline-node {
  width: 54px; height: 54px;
  flex-shrink: 0;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--primary-2);
  box-shadow: 0 8px 22px -10px rgba(0,0,0,0.5);
  z-index: 1;
}
.pipeline-step:hover .pipeline-node { border-color: var(--primary); box-shadow: var(--glow-primary); }
.pipeline-body h4 { font-size: 0.98rem; margin: 4px 0 2px; font-weight: 600; }
.pipeline-body p { color: var(--text-3); font-size: 0.84rem; margin: 0; }

/* ---------- Numbers / stats strip ---------- */
.stat-strip { display: flex; flex-wrap: wrap; gap: 18px; }
.stat-block { flex: 1 1 160px; padding: 20px 22px; }
.stat-block .stat-value { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: #fff; }
.stat-block .stat-value i { font-size: 1.1rem; margin-right: 6px; color: var(--primary-2); }
.stat-block .stat-label { color: var(--text-3); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }

/* ---------- Pricing ---------- */
.pricing-card {
  position: relative;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.pricing-card:hover { transform: translateY(-6px); }
.pricing-card.featured {
  border-color: rgba(90,134,255,0.55);
  background: linear-gradient(180deg, rgba(90,134,255,0.08), var(--surface));
  box-shadow: var(--glow-primary);
}
.pricing-card.featured::before {
  content: "MOST POPULAR";
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #fff;
  background: linear-gradient(120deg, var(--primary), var(--violet));
  padding: 5px 16px;
  border-radius: 100px;
  box-shadow: 0 8px 20px -8px rgba(90,134,255,0.6);
  white-space: nowrap;
}
.pricing-card .plan-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.pricing-card .plan-price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; margin: 16px 0 2px; color: #fff; }
.pricing-card .plan-price small { font-size: 0.85rem; color: var(--text-3); font-weight: 500; }
.pricing-card .plan-desc { color: var(--text-3); font-size: 0.88rem; margin-bottom: 20px; }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.pricing-card li { padding: 7px 0; color: var(--text-2); font-size: 0.9rem; display: flex; gap: 10px; align-items: flex-start; }
.pricing-card li i { color: var(--success); margin-top: 3px; }
.pricing-card li.off { color: var(--text-3); opacity: 0.55; }
.pricing-card li.off i { color: var(--text-3); }

/* ---------- Job roles (careers) ---------- */
.job-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  flex-wrap: wrap;
}
.job-card:hover {
  border-color: rgba(90, 134, 255, 0.45);
  box-shadow: var(--glow-primary);
  transform: translateY(-2px);
}
.job-card .jc-icon {
  width: 54px; height: 54px;
  border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  background: var(--primary-dim);
  color: var(--primary-2);
  border: 1px solid rgba(90, 134, 255, 0.3);
  flex-shrink: 0;
}
.job-card .jc-icon.gold { background: var(--warning-dim); color: var(--accent); border-color: rgba(240,176,74,0.3); }
.job-card .jc-icon.cyan { background: rgba(52,211,224,0.1); color: var(--cyan); border-color: rgba(52,211,224,0.3); }
.job-card .jc-icon.pink { background: rgba(244,114,182,0.1); color: var(--accent-2); border-color: rgba(244,114,182,0.3); }
.job-card .jc-icon.green { background: var(--success-dim); color: var(--success); border-color: rgba(62,207,142,0.3); }
.job-card .jc-main { flex: 1; min-width: 240px; }
.job-card .jc-title { font-size: 1.08rem; font-weight: 700; margin: 0 0 8px; color: #fff; }
.job-card .jc-title .mono { color: var(--text-3); font-size: 0.72rem; font-weight: 500; margin-left: 6px; }
.job-card .jc-desc { font-size: 0.87rem; color: var(--text-3); margin: 0 0 12px; max-width: 640px; }
.job-card .jc-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.job-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 12px;
  white-space: nowrap;
}
.job-chip i { font-size: 0.8rem; }
.job-chip.dept-engineering { color: var(--primary-2); background: var(--primary-dim); border-color: rgba(90,134,255,0.3); }
.job-chip.dept-creative { color: var(--accent); background: var(--warning-dim); border-color: rgba(240,176,74,0.3); }
.job-chip.dept-design { color: var(--accent-2); background: rgba(244,114,182,0.1); border-color: rgba(244,114,182,0.3); }
.job-chip.dept-audio { color: var(--success); background: var(--success-dim); border-color: rgba(62,207,142,0.3); }
.job-chip.loc { color: var(--cyan); background: rgba(52,211,224,0.08); border-color: rgba(52,211,224,0.28); }
.job-card .jc-apply { align-self: center; flex-shrink: 0; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-card .quote { font-size: 0.95rem; color: var(--text-2); font-style: italic; flex: 1; }
.testimonial-card .t-author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .t-name { font-weight: 600; font-size: 0.92rem; color: #fff; }
.testimonial-card .t-role { font-size: 0.78rem; color: var(--text-3); }
.stars { color: var(--accent); font-size: 0.85rem; letter-spacing: 2px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 64px 40px;
  text-align: center;
  background:
    radial-gradient(700px 300px at 50% -20%, rgba(90,134,255,0.35), transparent 60%),
    linear-gradient(135deg, #17203a, #0c1120 60%, #14122e);
  border: 1px solid rgba(90,134,255,0.3);
  box-shadow: var(--shadow);
}
.cta-banner h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 700; }
.cta-banner p { color: var(--text-2); max-width: 560px; margin: 14px auto 28px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(13,17,27,0.8));
  padding: 70px 0 0;
  margin-top: 40px;
}
.footer h5 { font-size: 0.95rem; font-weight: 600; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: var(--text-3); font-size: 0.88rem; }
.footer a:hover { color: #fff; }
.footer .footer-about { color: var(--text-3); font-size: 0.88rem; max-width: 300px; }
.footer .social a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 10px; color: var(--text-2); margin-right: 8px; }
.footer .social a:hover { color: #fff; border-color: var(--primary); background: var(--primary-dim); }
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding: 20px 0;
  color: var(--text-3);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom .brand-heart { color: var(--accent-2); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 170px 0 70px;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 320px at 50% -10%, rgba(90,134,255,0.18), transparent 60%),
    radial-gradient(600px 300px at 90% 40%, rgba(139,92,246,0.1), transparent 60%);
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
.page-hero .breadcrumb-nav { color: var(--text-3); font-size: 0.85rem; margin-bottom: 14px; }
.page-hero .breadcrumb-nav a { color: var(--primary-2); }
.page-hero p { color: var(--text-2); max-width: 640px; margin: 14px auto 0; }

/* ---------- Generic content (legal, faq, about) ---------- */
.prose { color: var(--text-2); font-size: 0.98rem; }
.prose h2 { font-size: 1.35rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.08rem; margin: 26px 0 10px; }
.prose p { margin-bottom: 14px; }
.prose ul { padding-left: 20px; margin-bottom: 14px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text-1); }
.legal-updated { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-3); }

.faq-accordion .accordion-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px !important;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-accordion .accordion-button {
  background: transparent;
  color: var(--text-1);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 0.98rem;
  padding: 18px 20px;
  box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--primary-2); background: rgba(90,134,255,0.05); }
.faq-accordion .accordion-button::after { filter: invert(0.75); }
.faq-accordion .accordion-body { color: var(--text-2); font-size: 0.92rem; padding: 0 20px 18px; }

/* ---------- Auth pages ---------- */
.auth-shell { min-height: 100vh; display: flex; }
.auth-visual {
  flex: 1;
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 30% 20%, rgba(90,134,255,0.25), transparent 60%),
    radial-gradient(700px 400px at 80% 80%, rgba(139,92,246,0.2), transparent 55%),
    linear-gradient(160deg, #10172a, #0a0e16);
}
.auth-visual .av-inner { max-width: 460px; position: relative; z-index: 1; }
.auth-visual .film-frame .frame-art { height: 240px; }
.auth-form-wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 28px;
}
.auth-card { width: 100%; max-width: 430px; }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--text-3); font-size: 0.92rem; margin-bottom: 26px; }

.form-cinema .form-label { color: var(--text-2); font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; }
.form-cinema .form-control {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
  color: var(--text-1);
  border-radius: 11px;
  padding: 0.68rem 0.95rem;
  font-size: 0.94rem;
}
.form-cinema .form-control:focus { background: rgba(90,134,255,0.05); border-color: var(--primary); box-shadow: 0 0 0 4px rgba(90,134,255,0.15); color: #fff; }
.form-cinema .form-control::placeholder { color: var(--text-3); }
.form-cinema .input-group-text {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
  color: var(--text-3);
  border-radius: 11px;
}
.form-cinema .form-check-input { background-color: rgba(255,255,255,0.06); border-color: var(--border-strong); }
.form-cinema .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.form-cinema .form-check-input:focus { box-shadow: 0 0 0 3px rgba(90,134,255,0.2); }
.form-cinema select.form-select {
  background-color: rgba(255,255,255,0.03);
  border-color: var(--border-strong);
  color: var(--text-1);
  border-radius: 11px;
}
.form-cinema select.form-select option { background: var(--surface-2); }
.form-cinema textarea.form-control { resize: vertical; }

.auth-divider { display: flex; align-items: center; gap: 14px; color: var(--text-3); font-size: 0.8rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.demo-switch { border: 1px dashed rgba(240,176,74,0.4); background: rgba(240,176,74,0.05); border-radius: 12px; padding: 14px; }
.demo-switch .label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }

/* ---------- Misc ---------- */
.avatar-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  flex-shrink: 0;
}
.avatar-initial.gold { background: linear-gradient(135deg, var(--accent), #ff8a5c); }
.avatar-initial.cyan { background: linear-gradient(135deg, var(--cyan), var(--primary)); }
.avatar-initial.pink { background: linear-gradient(135deg, var(--accent-2), var(--violet)); }
.avatar-initial.green { background: linear-gradient(135deg, #2fb57c, var(--cyan)); }

.icon-tile {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--primary-2);
}

/* Steps (How it works) */
.step-card { position: relative; padding-left: 72px; }
.step-num {
  position: absolute; left: 0; top: 0;
  width: 50px; height: 50px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  box-shadow: 0 12px 30px -12px rgba(90,134,255,0.6);
}
.step-card h3 { font-size: 1.05rem; }
.step-card p { color: var(--text-2); font-size: 0.92rem; }

/* Mode selection cards (create movie) */
.mode-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 26px;
  cursor: pointer;
  height: 100%;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.mode-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.mode-card.selected { border-color: var(--primary); box-shadow: var(--glow-primary); }
.mode-card .mode-radio { position: absolute; top: 18px; right: 18px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border-strong); display: flex; align-items: center; justify-content: center; }
.mode-card.selected .mode-radio { border-color: var(--primary); }
.mode-card.selected .mode-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.mode-card .mode-icon { font-size: 1.6rem; margin-bottom: 12px; }
.mode-card h4 { font-size: 1rem; }
.mode-card p { color: var(--text-3); font-size: 0.85rem; margin: 0; }

/* AI analysis chips */
.analysis-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-1);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 14px;
}
.analysis-chip i { color: var(--cyan); }
.analysis-chip b { color: var(--text-3); font-weight: 500; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* Cookie bar */
.cookie-bar {
  position: fixed;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 32px));
  z-index: 2000;
  display: none;
  background: var(--glass-strong);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.cookie-bar.show { display: block; animation: rise-up 0.4s ease; }
@keyframes rise-up { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* Back to top */
.back-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 900;
  width: 44px; height: 44px;
  border-radius: 13px;
  display: none;
  align-items: center; justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text-1);
  box-shadow: var(--shadow-sm);
}
.back-top.show { display: inline-flex; }

/* Timeline (mini) */
.mini-timeline { position: relative; padding-left: 26px; }
.mini-timeline::before { content: ""; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; background: var(--border); }
.mini-timeline .tl-item { position: relative; padding-bottom: 18px; }
.mini-timeline .tl-item::before {
  content: ""; position: absolute; left: -24px; top: 5px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border-strong);
}
.mini-timeline .tl-item.done::before { background: var(--success); border-color: var(--success); }
.mini-timeline .tl-item.now::before { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-dim); animation: pulse-dot 1.6s infinite; }
.mini-timeline .tl-item h6 { font-size: 0.9rem; margin: 0; }
.mini-timeline .tl-item .tl-time { font-size: 0.76rem; color: var(--text-3); font-family: var(--font-mono); }

/* Table base */
.table-cinema { --bs-table-bg: transparent; --bs-table-color: var(--text-1); --bs-table-border-color: var(--border); margin: 0; }
.table-cinema thead th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  background: rgba(255,255,255,0.02);
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-strong);
  white-space: nowrap;
}
.table-cinema tbody td { padding: 13px 14px; vertical-align: middle; font-size: 0.9rem; border-color: var(--border); }
.table-cinema tbody tr:hover { background: rgba(90,134,255,0.04); }
.table-cinema .cell-main { color: var(--text-1); font-weight: 600; }

/* Pagination */
.pagination-cinema { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination-cinema a {
  min-width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.85rem;
  padding: 0 8px;
}
.pagination-cinema a:hover { border-color: var(--primary); color: #fff; }
.pagination-cinema a.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 56px 20px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
  margin-bottom: 20px;
}
.empty-state .es-icon {
  width: 62px; height: 62px;
  border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--text-3);
  background: rgba(111, 123, 146, 0.1);
  margin-bottom: 14px;
}
.empty-state h5 { font-size: 1.02rem; margin-bottom: 4px; }
.empty-state p { color: var(--text-3); font-size: 0.88rem; max-width: 420px; margin: 0 auto; }

/* Demo ribbon */
.demo-ribbon {
  position: fixed;
  top: 0; right: 0; z-index: 2050;
  background: linear-gradient(120deg, rgba(240,176,74,0.95), rgba(244,114,182,0.95));
  color: #16100a;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 6px 14px;
  border-radius: 0 0 0 12px;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.4);
}

/* Lightbox / modal refinements */
.modal-cinema .modal-content {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  color: var(--text-1);
  box-shadow: var(--shadow);
}
.modal-cinema .modal-header { border-bottom-color: var(--border); }
.modal-cinema .modal-footer { border-top-color: var(--border); }
.modal-cinema .btn-close { filter: invert(0.85); }

/* Tabs */
.nav-tabs-cinema { border-bottom: 1px solid var(--border); gap: 4px; }
.nav-tabs-cinema .nav-link {
  color: var(--text-3);
  border: none;
  border-radius: 10px 10px 0 0;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 11px 16px;
}
.nav-tabs-cinema .nav-link:hover { color: var(--text-1); background: rgba(255,255,255,0.03); }
.nav-tabs-cinema .nav-link.active { color: var(--primary-2); background: transparent; border-bottom: 2px solid var(--primary); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Utility */
.mt-6 { margin-top: 4.5rem; }
.mb-6 { margin-bottom: 4.5rem; }
.py-6 { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.fw-700 { font-weight: 700; }
