/* ===================================================================
   MYAICINEMA — Design tokens
=================================================================== */
:root {
  --bg: #05090f;
  --bg-alt: #0a111a;
  --panel: #0e1621;
  --border: rgba(150,190,240,0.11);
  --text: #f2f6fa;
  --muted: #8fa0b3;
  --accent-1: #22d3ee;
  --accent-2: #4f8cff;
  --accent-3: #34d399;
  --grad: linear-gradient(110deg, var(--accent-1), var(--accent-2) 50%, var(--accent-3));
  --radius: 12px;
  --font-head: 'Sora', 'DM Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0 0 .5em; line-height: 1.15; }
p { margin: 0 0 1em; color: var(--muted); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow {
  font-family: var(--font-head);
  font-size: .78rem;
  letter-spacing: .16em;
  font-weight: 600;
  color: var(--accent-1);
  margin-bottom: 1em;
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid rgba(34,211,238,.35);
  border-radius: 6px;
  background: rgba(34,211,238,.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-primary {
  background: var(--grad);
  color: #031018;
  box-shadow: 0 8px 30px rgba(34,211,238,.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(34,211,238,.38); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ===================================================================
   Header / Nav
=================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(5,9,15,.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 1.15rem;
}
.brand-mark { border-radius: 8px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s ease;
}
.nav-link:hover { color: var(--text); }
.nav-cta {
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--grad);
  color: #031018 !important;
  font-weight: 700;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ===================================================================
   Hero
=================================================================== */
.hero {
  position: relative;
  padding: 190px 0 120px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 620px; height: 620px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .35;
  z-index: 0;
}
.hero-glow--1 { background: var(--accent-1); top: -260px; left: 50%; margin-left: -310px; opacity: .22; }
.hero-glow--2 { background: var(--accent-2); bottom: -300px; right: -200px; }
.hero-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; text-align: center; }
.hero-title {
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -.01em;
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 2em;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 1.5em; }
.hero-trust { font-size: .85rem; color: var(--muted); opacity: .8; }

/* ===================================================================
   Logo strip / marquee
=================================================================== */
.logo-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
  background: var(--bg-alt);
}
.logo-track { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-track-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.logo-track:hover .logo-track-inner { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.logo-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 8px;
}
.logo-chip img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .55;
  transition: opacity .2s ease;
}
.logo-chip:hover img { opacity: .9; }
.logo-chip--text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  color: var(--muted);
  white-space: nowrap;
  opacity: .55;
  transition: opacity .2s ease;
}
.logo-chip--text:hover { opacity: .9; }

/* ===================================================================
   Sections
=================================================================== */
.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  max-width: 700px;
}
.section-sub {
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 2.5em;
}

/* ===================================================================
   Video grid / cards
=================================================================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.video-card--feature { grid-column: span 2; }
.video-thumb {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--panel);
  border: 1px solid var(--border);
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.video-card:hover .video-thumb img { transform: scale(1.06); }
.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: none;
  background: rgba(10,10,15,.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.play-btn:hover { background: var(--accent-2); transform: scale(1.08); }
.video-caption { margin-top: 12px; font-size: .9rem; color: var(--muted); }

/* ===================================================================
   Services
=================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.service-icon { font-size: 1.8rem; margin-bottom: .6em; }
.service-card h3 { font-size: 1.15rem; }
.service-card p { font-size: .93rem; margin-bottom: 0; }

/* ===================================================================
   Portfolio tabs
=================================================================== */
.portfolio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.tab-btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}
.tab-btn:hover { color: var(--text); border-color: rgba(255,255,255,.25); }
.tab-btn.active { background: var(--grad); color: #031018; border-color: transparent; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.reel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.reel-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  text-align: center;
  padding-bottom: 16px;
  transition: transform .25s ease, border-color .25s ease;
}
.reel-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.2); }
.reel-thumb {
  position: relative;
  aspect-ratio: 9/13;
  background: linear-gradient(160deg, rgba(34,211,238,.3), rgba(79,140,255,.22));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.reel-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.reel-card:hover .reel-thumb img { transform: scale(1.06); }
.reel-play {
  position: relative;
  z-index: 1;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}
.reel-card p { margin: 14px 0 0; font-size: .88rem; font-weight: 600; color: var(--text); }

/* ===================================================================
   Process
=================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}
.process-step {
  border-top: 2px solid transparent;
  border-image: var(--grad) 1;
  padding-top: 20px;
}
.process-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.process-step h3 { margin-top: .4em; font-size: 1.05rem; }
.process-step p { font-size: .9rem; margin-bottom: 0; }

/* ===================================================================
   Why MyAICinema
=================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.why-list li {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.why-list li:last-child { border-bottom: none; }
.why-list li span { font-size: 1.4rem; }
.why-list h4 { margin: 0 0 .3em; font-size: 1rem; }
.why-list p { margin: 0; font-size: .9rem; }

/* ===================================================================
   FAQ
=================================================================== */
.faq-list { max-width: 780px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--accent-3);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 14px 0 0; font-size: .95rem; }

/* ===================================================================
   Testimonials
=================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s ease, border-color .25s ease;
}
.testimonial-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.18); }
.testimonial-quote {
  font-size: .98rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 24px;
}
.testimonial-person { display: flex; align-items: center; gap: 14px; }
.testimonial-person img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testimonial-person div { display: flex; flex-direction: column; }
.testimonial-person strong { font-family: var(--font-head); font-size: .92rem; color: var(--text); }
.testimonial-person span { font-size: .82rem; color: var(--muted); }

/* ===================================================================
   Clients
=================================================================== */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 820px;
}
.founder-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s ease, border-color .25s ease;
}
.founder-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.18); }
.founder-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 18px;
  border: 2px solid var(--border);
}
.founder-card h3 { margin: 0 0 .15em; font-size: 1.15rem; }
.founder-role { color: var(--accent-3); font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1em; }
.founder-link { font-size: .88rem; font-weight: 600; color: var(--text); }
.founder-link:hover { color: var(--accent-3); }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}
.client-card {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}
.client-card img {
  max-height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .6;
  transition: opacity .2s ease;
}
.client-card:hover img { opacity: 1; }
.client-card--text {
  font-family: var(--font-head);
  font-weight: 700;
  text-align: center;
  font-size: .95rem;
  color: var(--muted);
  opacity: .6;
  transition: opacity .2s ease;
}
.client-card--text:hover { opacity: 1; }

/* ===================================================================
   Contact
=================================================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-direct { display: flex; flex-direction: column; gap: 12px; margin-top: 1.5em; }

.contact-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.contact-chip:hover { transform: translateX(4px); border-color: rgba(255,255,255,.18); }
.contact-chip-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.contact-chip-text { display: flex; flex-direction: column; gap: 2px; }
.contact-chip-text strong { font-family: var(--font-head); font-size: .95rem; color: var(--text); }
.contact-chip-text small { font-size: .85rem; color: var(--muted); }

.contact-chip--mail .contact-chip-icon { background: var(--grad); }
.contact-chip--whatsapp .contact-chip-icon { background: #25D366; }

.contact-form {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-1);
}
.hidden-field { position: absolute; left: -9999px; }
.form-status { font-size: .88rem; min-height: 1.2em; }
.form-status.ok { color: #4ade80; }
.form-status.err { color: var(--accent-2); }

/* ===================================================================
   Footer
=================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
  background: var(--bg-alt);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; letter-spacing: .05em;
}
.footer-tag { font-size: .88rem; color: var(--muted); margin: 0; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: .88rem; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: .8rem; color: #5c5c66; margin: 10px 0 0; }

/* ===================================================================
   Back to top
=================================================================== */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grad);
  color: #0a0a0f;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
  z-index: 40;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.whatsapp-float {
  position: fixed;
  left: 24px; bottom: 24px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  z-index: 40;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(37,211,102,.55); }

/* ===================================================================
   Video modal
=================================================================== */
.video-modal {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.video-modal.open { display: flex; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(2,5,9,.92); }
.video-modal-box { position: relative; width: 100%; max-width: 900px; z-index: 1; }
.video-modal-frame { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; }
.video-modal-frame iframe, .video-modal-frame video { width: 100%; height: 100%; border: 0; background: #000; }
.video-modal-close {
  position: absolute; top: -44px; right: 0;
  background: none; border: none; color: #fff;
  font-size: 1.3rem; cursor: pointer;
}
.video-modal-yt-link {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: .85rem;
  color: var(--muted);
  transition: color .2s ease;
}
.video-modal-yt-link:hover { color: var(--text); }

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===================================================================
   Responsive
=================================================================== */
@media (max-width: 860px) {
  .why-grid, .contact-wrap { grid-template-columns: 1fr; }
  .video-card--feature { grid-column: span 1; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(5,9,15,.97);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-cta { margin-top: 4px; }
  .hero { padding: 150px 0 80px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
}

/* ===================================================================
   MyAICinema signature touches
=================================================================== */
.section-title::after {
  content: "";
  display: block;
  width: 56px; height: 3px;
  margin-top: 16px;
  border-radius: 2px;
  background: var(--grad);
}
.service-card { position: relative; overflow: hidden; }
.service-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad);
  opacity: .85;
}
.founder-role, .process-num { letter-spacing: .1em; }
