/* ═══════════════════════════════════════════════
   CHAFIK GRAPHICS — CG Landing (black / red / white)
   Loaded only on template-landing.php
   ═══════════════════════════════════════════════ */
.cg-landing *,
.cg-landing *::before,
.cg-landing *::after { margin:0; padding:0; box-sizing:border-box; }

:root{
  --cg-bg:#0a0a0a;
  --cg-ink:#f5f5f5;
  --cg-ink-dim:#9c9c9c;
  --cg-ink-faint:#5d5d5d;
  --cg-red:#FF1A1A;
  --cg-red-hi:#ff4d4d;
  --cg-red-lo:#c40f0f;
  --cg-glass:rgba(255,255,255,0.04);
  --cg-glass-2:rgba(255,255,255,0.08);
  --cg-border:rgba(255,255,255,0.12);
  --cg-border-hi:rgba(255,255,255,0.26);
  --cg-grad:linear-gradient(135deg,var(--cg-red-hi),var(--cg-red) 55%,var(--cg-red-lo));
  --cg-grad-soft:linear-gradient(135deg,rgba(255,77,77,.15),rgba(255,26,26,.15) 55%,rgba(196,15,15,.15));
  --cg-display:'Sora',sans-serif;
  --cg-body:'Plus Jakarta Sans',sans-serif;
  --cg-r-lg:28px;
  --cg-r-md:20px;
  --cg-r-sm:14px;
  --cg-ease:cubic-bezier(.16,1,.3,1);
}

html{ scroll-behavior:smooth; }
body.cg-landing{
  font-family:var(--cg-body); background:var(--cg-bg); color:var(--cg-ink);
  overflow-x:hidden; -webkit-font-smoothing:antialiased; line-height:1.5;
}
.cg-landing a{ text-decoration:none; color:inherit; }
.cg-landing button{ font-family:inherit; border:none; cursor:pointer; background:none; color:inherit; }
.cg-landing img{ max-width:100%; display:block; }

.cg-container{ max-width:1200px; margin:0 auto; padding:0 24px; }
.cg-pad{ padding:120px 0; }
@media(max-width:768px){ .cg-pad{ padding:76px 0; } }

.svg-defs{ position:absolute; width:0; height:0; overflow:hidden; }

/* ── backdrop ── */
.aurora{ position:fixed; inset:0; z-index:-2; overflow:hidden; background:var(--cg-bg); }
.aurora .blob{ position:absolute; border-radius:50%; filter:blur(110px); opacity:.4; animation:cg-drift 26s ease-in-out infinite alternate; }
.aurora .b1{ width:640px; height:640px; background:radial-gradient(circle,rgba(255,26,26,.28),transparent 65%); top:-16%; left:-8%; }
.aurora .b2{ width:720px; height:720px; background:radial-gradient(circle,rgba(255,255,255,.07),transparent 65%); top:18%; right:-14%; animation-delay:-9s; }
.aurora .b3{ width:560px; height:560px; background:radial-gradient(circle,rgba(196,15,15,.24),transparent 65%); bottom:-14%; left:24%; animation-delay:-17s; }
@keyframes cg-drift{
  0%{ transform:translate(0,0) scale(1); }
  50%{ transform:translate(60px,-40px) scale(1.12); }
  100%{ transform:translate(-50px,50px) scale(.95); }
}
.aurora::after{
  content:''; position:absolute; inset:0;
  background-image:radial-gradient(rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:34px 34px;
  -webkit-mask-image:radial-gradient(ellipse 80% 70% at 50% 30%,black,transparent 80%);
  mask-image:radial-gradient(ellipse 80% 70% at 50% 30%,black,transparent 80%);
}

/* ── motion ── */
.rv{ opacity:0; transform:translateY(34px); transition:opacity .8s var(--cg-ease),transform .8s var(--cg-ease); }
.rv.visible{ opacity:1; transform:translateY(0); }
@keyframes cg-floaty{ 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-12px) } }
@keyframes cg-marquee{ 0%{ transform:translateX(0) } 100%{ transform:translateX(-50%) } }
@keyframes cg-pulse{ 0%,100%{ opacity:1 } 50%{ opacity:.45 } }
@keyframes cg-spin{ to{ transform:rotate(360deg) } }

/* ── utils ── */
.g-text{ background:var(--cg-grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 18px; border-radius:999px;
  background:var(--cg-glass); border:1px solid var(--cg-border);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  font-size:13px; font-weight:600; color:var(--cg-ink-dim); letter-spacing:.3px;
}
.chip .dot{ width:7px; height:7px; border-radius:50%; background:var(--cg-red); animation:cg-pulse 1.6s infinite; }

/* ── NAV ── */
.nav{
  position:fixed; top:18px; left:50%; transform:translateX(-50%);
  z-index:1000; width:min(1080px,calc(100% - 32px));
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:10px 12px 10px 24px; border-radius:999px;
  background:rgba(10,10,10,.65); border:1px solid var(--cg-border);
  backdrop-filter:blur(24px) saturate(1.5); -webkit-backdrop-filter:blur(24px) saturate(1.5);
  box-shadow:0 12px 40px rgba(0,0,0,.45);
}
.nav-logo{ font-family:var(--cg-display); font-weight:800; font-size:18px; letter-spacing:-.3px; display:flex; align-items:center; gap:10px; color:var(--cg-ink); }
.nav-logo .mark{
  width:32px; height:32px; border-radius:10px; background:var(--cg-grad);
  display:flex; align-items:center; justify-content:center; font-size:14px; color:#fff;
  box-shadow:0 4px 16px rgba(255,26,26,.4);
}
.nav-links{ display:flex; gap:28px; }
.nav-links a{ font-size:14px; font-weight:600; color:var(--cg-ink-dim); transition:color .3s; }
.nav-links a:hover{ color:var(--cg-ink); }
@media(max-width:860px){ .nav-links{ display:none; } }

.btn{
  display:inline-flex; align-items:center; gap:10px; border-radius:999px;
  font-weight:700; transition:transform .3s var(--cg-ease),box-shadow .3s,border-color .3s;
}
.btn-grad{
  background:var(--cg-grad); color:#fff;
  padding:12px 26px; font-size:14px;
  box-shadow:0 8px 30px rgba(255,26,26,.35);
}
.btn-grad:hover{ transform:translateY(-2px); box-shadow:0 14px 44px rgba(255,26,26,.5); }
.btn-glass{
  background:var(--cg-glass-2); border:1px solid var(--cg-border);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  padding:12px 26px; font-size:14px; color:var(--cg-ink);
}
.btn-glass:hover{ transform:translateY(-2px); border-color:var(--cg-border-hi); }
.btn svg{ width:16px; height:16px; }

/* smaller nav CTA */
.nav .btn-nav{
  padding:8px 16px; font-size:12.5px; gap:7px;
}
.nav .btn-nav svg{ width:13px; height:13px; }

/* ── HERO ── */
.hero{ position:relative; min-height:100vh; display:flex; align-items:center; padding:150px 0 90px; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
@media(max-width:940px){ .hero-grid{ grid-template-columns:1fr; text-align:center; } }
.hero h1{
  font-family:var(--cg-display); font-weight:800;
  font-size:clamp(42px,6.4vw,76px); line-height:1.04; letter-spacing:-2px; margin:22px 0 20px; color:var(--cg-ink);
}
.hero-sub{ font-size:18px; color:var(--cg-ink-dim); max-width:520px; margin-bottom:34px; }
@media(max-width:940px){ .hero-sub{ margin-left:auto; margin-right:auto; } }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; }
@media(max-width:940px){ .hero-ctas{ justify-content:center; } }
.btn-xl{ padding:17px 34px; font-size:16px; }
.hero-trust{ display:flex; align-items:center; gap:14px; margin-top:34px; }
@media(max-width:940px){ .hero-trust{ justify-content:center; } }
.avatars{ display:flex; }
.avatars span{
  width:36px; height:36px; border-radius:50%; border:2px solid var(--cg-bg);
  background:var(--cg-grad); display:flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:800; color:#fff; margin-left:-10px;
}
.avatars span:first-child{ margin-left:0; }
.hero-trust p{ font-size:13px; color:var(--cg-ink-dim); }
.hero-trust b{ color:var(--cg-ink); }

/* hero visual */
.stack{ position:relative; aspect-ratio:1; max-width:480px; margin:0 auto; width:100%; }
.cover-card{
  position:absolute; border-radius:var(--cg-r-md); overflow:hidden;
  border:1px solid var(--cg-border-hi);
  box-shadow:0 30px 80px rgba(0,0,0,.6);
}
.cc-main{ inset:8% 8%; animation:cg-floaty 7s ease-in-out infinite; }
.cc-main img{ width:100%; height:100%; object-fit:cover; }
.cc-main .shade{ position:absolute; inset:0; background:linear-gradient(180deg,transparent 55%,rgba(5,5,5,.85)); }
.cc-main .meta{ position:absolute; left:24px; right:24px; bottom:22px; }
.cc-main .t{ font-family:var(--cg-display); font-weight:800; font-size:clamp(22px,3vw,32px); letter-spacing:-.8px; line-height:1; }
.cc-main .a{ font-size:13px; color:var(--cg-ink-dim); margin-top:5px; }
.cc-main .badge{
  position:absolute; top:20px; left:20px;
  padding:6px 14px; border-radius:999px; font-size:11px; font-weight:700;
  background:rgba(10,10,10,.55); border:1px solid var(--cg-border-hi);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
}
.cc-glass{
  backdrop-filter:blur(18px) saturate(1.4); -webkit-backdrop-filter:blur(18px) saturate(1.4);
  background:rgba(20,20,20,.5);
  display:flex; align-items:center; gap:12px; padding:14px 18px;
}
.cc-play{ bottom:2%; left:-6%; width:64%; border-radius:18px; animation:cg-floaty 6s ease-in-out infinite reverse; }
.cc-play .pbtn{
  width:40px; height:40px; border-radius:50%; background:var(--cg-grad); flex-shrink:0;
  display:flex; align-items:center; justify-content:center; color:#fff;
  box-shadow:0 6px 20px rgba(255,26,26,.5);
}
.cc-play .pbtn svg{ width:14px; height:14px; margin-left:2px; }
.cc-play .lines{ flex-grow:1; }
.cc-play .l1{ height:8px; border-radius:4px; background:rgba(255,255,255,.4); width:70%; margin-bottom:7px; }
.cc-play .l2{ height:6px; border-radius:3px; background:rgba(255,255,255,.16); width:45%; }
.cc-stat{ top:0%; right:-4%; border-radius:18px; padding:16px 20px; display:flex; flex-direction:column; gap:2px; animation:cg-floaty 8s ease-in-out infinite; animation-delay:-3s; }
.cc-stat .n{ font-family:var(--cg-display); font-weight:800; font-size:26px; }
.cc-stat .l{ font-size:11px; color:var(--cg-ink-dim); font-weight:600; }

/* ── MARQUEE ── */
.marquee{
  border-top:1px solid var(--cg-border); border-bottom:1px solid var(--cg-border);
  padding:22px 0; overflow:hidden; background:rgba(255,255,255,.02);
}
.marquee-track{ display:flex; gap:64px; width:max-content; animation:cg-marquee 24s linear infinite; white-space:nowrap; }
.mq{ font-family:var(--cg-display); font-weight:700; font-size:14px; letter-spacing:2px; color:var(--cg-ink-faint); display:flex; align-items:center; gap:14px; text-transform:uppercase; }
.mq i{ width:6px; height:6px; border-radius:50%; background:var(--cg-grad); display:inline-block; }

/* ── SECTION HEADERS ── */
.sec-head{ text-align:center; max-width:640px; margin:0 auto 64px; }
.sec-head h2{ font-family:var(--cg-display); font-weight:800; font-size:clamp(30px,4.6vw,48px); letter-spacing:-1.4px; line-height:1.1; margin:18px 0 14px; color:var(--cg-ink); }
.sec-head p{ font-size:16px; color:var(--cg-ink-dim); }

/* ── GLASS CARDS ── */
.bento{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media(max-width:900px){ .bento{ grid-template-columns:1fr; } }
.glass-card{
  border-radius:var(--cg-r-lg); padding:36px;
  background:var(--cg-glass); border:1px solid var(--cg-border);
  backdrop-filter:blur(20px) saturate(1.3); -webkit-backdrop-filter:blur(20px) saturate(1.3);
  position:relative; overflow:hidden;
  transition:transform .4s var(--cg-ease),border-color .4s,background .4s;
}
.glass-card::before{
  content:''; position:absolute; inset:0; border-radius:inherit; padding:1px;
  background:var(--cg-grad); opacity:0;
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  transition:opacity .4s; pointer-events:none;
}
.glass-card:hover{ transform:translateY(-6px); background:var(--cg-glass-2); }
.glass-card:hover::before{ opacity:1; }
.icon-chip{
  width:56px; height:56px; border-radius:16px; background:var(--cg-grad);
  display:flex; align-items:center; justify-content:center; margin-bottom:22px;
  box-shadow:0 10px 30px rgba(255,26,26,.35);
}
.icon-chip svg{ width:26px; height:26px; color:#fff; stroke-width:2.4; }
.glass-card h3{ font-family:var(--cg-display); font-weight:700; font-size:22px; letter-spacing:-.5px; margin-bottom:10px; color:var(--cg-ink); }
.glass-card p{ font-size:14.5px; color:var(--cg-ink-dim); line-height:1.65; }
.card-tag{
  display:inline-flex; margin-top:20px; padding:6px 14px; border-radius:999px;
  font-size:11px; font-weight:700; letter-spacing:.5px; text-transform:uppercase;
  background:var(--cg-grad-soft); border:1px solid var(--cg-border); color:var(--cg-ink);
}

/* ── STATS ── */
.stats-band{
  border-radius:var(--cg-r-lg);
  background:var(--cg-glass); border:1px solid var(--cg-border);
  backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
  display:grid; grid-template-columns:repeat(4,1fr); overflow:hidden;
}
@media(max-width:768px){ .stats-band{ grid-template-columns:repeat(2,1fr); } }
.stat{ padding:42px 20px; text-align:center; border-right:1px solid var(--cg-border); }
.stat:last-child{ border-right:none; }
@media(max-width:768px){
  .stat:nth-child(2){ border-right:none; }
  .stat:nth-child(-n+2){ border-bottom:1px solid var(--cg-border); }
}
.stat .n{ font-family:var(--cg-display); font-weight:800; font-size:clamp(32px,4.5vw,46px); letter-spacing:-1px; }
.stat .l{ font-size:12.5px; font-weight:600; color:var(--cg-ink-dim); margin-top:6px; }

/* ── STEPS ── */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
@media(max-width:900px){ .steps{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:560px){ .steps{ grid-template-columns:1fr; } }
.step{ padding:30px 26px; border-radius:var(--cg-r-md); }
.step-num{
  width:38px; height:38px; border-radius:12px; font-weight:800; font-size:15px;
  background:var(--cg-grad-soft); border:1px solid var(--cg-border);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.step h4{ font-family:var(--cg-display); font-weight:700; font-size:17px; margin-bottom:8px; color:var(--cg-ink); }
.step p{ font-size:13.5px; color:var(--cg-ink-dim); line-height:1.6; }

/* ── PORTFOLIO ── */
.work-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media(max-width:1000px){ .work-grid{ grid-template-columns:repeat(3,1fr); } }
@media(max-width:760px){ .work-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:460px){ .work-grid{ grid-template-columns:1fr; } }
.work{
  aspect-ratio:1; border-radius:var(--cg-r-md); position:relative; overflow:hidden;
  border:1px solid var(--cg-border); cursor:pointer; background:#141414;
}
.work img{ width:100%; height:100%; object-fit:cover; transition:transform .55s var(--cg-ease),filter .55s; }
.work:hover img{ transform:scale(1.07); filter:brightness(1.06); }
.work .overlay{
  position:absolute; inset:auto 10px 10px 10px; border-radius:var(--cg-r-sm);
  padding:12px 16px; display:flex; align-items:center; justify-content:space-between; gap:10px;
  background:rgba(10,10,10,.65); border:1px solid var(--cg-border);
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  transform:translateY(130%); transition:transform .45s var(--cg-ease);
}
.work:hover .overlay{ transform:translateY(0); }
.work .overlay b{ font-size:13px; font-family:var(--cg-display); display:block; color:var(--cg-ink); }
.work .overlay small{ display:block; font-size:10.5px; color:var(--cg-ink-dim); font-weight:600; }
.work .overlay .go{
  width:32px; height:32px; border-radius:50%; background:var(--cg-grad); flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.work .overlay .go svg{ width:13px; height:13px; color:#fff; }
.work-cta{ text-align:center; margin-top:36px; }

/* ── PRICING ── */
.tiers{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; align-items:stretch; }
@media(max-width:900px){ .tiers{ grid-template-columns:1fr; } }
.tier{ display:flex; flex-direction:column; }
.tier.hot{ background:linear-gradient(160deg,rgba(255,26,26,.12),rgba(255,255,255,.04)),var(--cg-glass); }
.tier.hot::before{ opacity:1; }
.tier-badge{
  position:absolute; top:22px; right:22px; padding:6px 14px; border-radius:999px;
  background:var(--cg-grad); color:#fff; font-size:11px; font-weight:800; letter-spacing:.5px;
}
.tier-name{ font-size:13px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--cg-ink-dim); margin-bottom:12px; }
.tier-price{ font-family:var(--cg-display); font-weight:800; font-size:44px; letter-spacing:-1.5px; color:var(--cg-ink); }
.tier-price span{ font-family:var(--cg-body); font-size:14px; font-weight:600; color:var(--cg-ink-dim); letter-spacing:0; }
.tier-desc{ font-size:14px; color:var(--cg-ink-dim); margin:10px 0 24px; }
.tier ul{ list-style:none; flex-grow:1; margin-bottom:28px; }
.tier li{ display:flex; align-items:center; gap:12px; font-size:14px; padding:9px 0; color:var(--cg-ink); }
.tier li .ck{
  width:22px; height:22px; border-radius:8px; background:var(--cg-grad-soft);
  border:1px solid var(--cg-border); display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.tier li .ck svg{ width:12px; height:12px; }

/* ── FAQ ── */
.faq-wrap{ max-width:720px; margin:0 auto; display:flex; flex-direction:column; gap:14px; }
.faq-item{ border-radius:var(--cg-r-md); overflow:hidden; padding:0; }
.faq-q{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:22px 26px; text-align:left; font-family:var(--cg-display); font-weight:700; font-size:16.5px; color:var(--cg-ink);
}
.faq-q .pm{
  width:30px; height:30px; border-radius:10px; background:var(--cg-glass-2); border:1px solid var(--cg-border);
  display:flex; align-items:center; justify-content:center; font-size:16px; flex-shrink:0;
  transition:transform .3s,background .3s;
}
.faq-item.open .faq-q .pm{ transform:rotate(45deg); background:var(--cg-grad); color:#fff; border-color:transparent; }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .45s var(--cg-ease); }
.faq-a p{ padding:0 26px 22px; font-size:14.5px; color:var(--cg-ink-dim); line-height:1.65; }

/* ── ORDER ── */
.order-shell{ max-width:820px; margin:0 auto; }
.form-glass{
  border-radius:var(--cg-r-lg); padding:10px;
  background:var(--cg-glass); border:1px solid var(--cg-border);
  backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
  position:relative; overflow:hidden;
}
.form-glass::before{
  content:''; position:absolute; top:0; left:15%; right:15%; height:2px;
  background:var(--cg-grad); border-radius:2px;
}
.form-glass iframe{ width:100%; height:1200px; border:none; border-radius:calc(var(--cg-r-lg) - 10px); background:transparent; }
.order-note{ margin-top:16px; text-align:center; font-size:13px; color:var(--cg-ink-dim); display:flex; align-items:center; justify-content:center; gap:8px; }
.order-note i{ width:7px; height:7px; border-radius:50%; background:var(--cg-red); animation:cg-pulse 1.6s infinite; }

/* ── FINAL CTA ── */
.final{
  border-radius:var(--cg-r-lg); padding:80px 40px; text-align:center; position:relative; overflow:hidden;
  background:var(--cg-glass); border:1px solid var(--cg-border);
  backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
}
.final::before{
  content:''; position:absolute; inset:-40%;
  background:conic-gradient(from 0deg,transparent,rgba(255,26,26,.2),transparent 30%,transparent 60%,rgba(255,255,255,.08),transparent);
  animation:cg-spin 12s linear infinite;
}
.final-inner{ position:relative; z-index:1; }
.final h2{ font-family:var(--cg-display); font-weight:800; font-size:clamp(30px,5vw,52px); letter-spacing:-1.6px; line-height:1.08; margin:16px 0 14px; color:var(--cg-ink); }
.final p{ color:var(--cg-ink-dim); margin-bottom:32px; font-size:16px; }

/* ── FOOTER ── */
.cg-footer{ padding:48px 0 36px; border-top:1px solid var(--cg-border); margin-top:100px; }
.cg-footer-inner{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:18px; }
.cg-footer-inner p{ font-size:13px; color:var(--cg-ink-faint); }
.footer-social{ display:flex; gap:10px; }
.footer-social a{
  width:38px; height:38px; border-radius:12px; background:var(--cg-glass-2); border:1px solid var(--cg-border);
  display:flex; align-items:center; justify-content:center; transition:transform .3s,border-color .3s;
}
.footer-social a:hover{ transform:translateY(-2px); border-color:var(--cg-border-hi); }
.footer-social svg{ width:16px; height:16px; color:var(--cg-ink-dim); }

/* WP admin bar offset */
body.admin-bar .nav{ top:50px; }

@media(prefers-reduced-motion:reduce){
  .cg-landing *,.cg-landing *::before,.cg-landing *::after{ animation-duration:.01ms !important; transition-duration:.01ms !important; }
  .marquee-track{ animation:none; }
}

/* ═══════════════════════════════════════════════
   SMOOTH MOTION LAYER v2
   ═══════════════════════════════════════════════ */

/* richer reveals: blur + scale + rise */
.rv{
  opacity:0;
  transform:translateY(44px) scale(.97);
  filter:blur(10px);
  transition:
    opacity 1s var(--cg-ease),
    transform 1s var(--cg-ease),
    filter 1s var(--cg-ease);
  will-change:opacity,transform,filter;
}
.rv.visible{ opacity:1; transform:translateY(0) scale(1); filter:blur(0); }

/* hero headline — word by word entrance */
.hero h1 .w{
  display:inline-block;
  opacity:0;
  transform:translateY(.6em) rotate(3deg);
  filter:blur(6px);
  animation:cg-word .85s var(--cg-ease) forwards;
  animation-delay:calc(var(--i) * 90ms + 150ms);
  will-change:opacity,transform,filter;
}
@keyframes cg-word{
  to{ opacity:1; transform:translateY(0) rotate(0); filter:blur(0); }
}

/* hero sub + ctas gentle follow-up */
.hero-sub,.hero-ctas,.hero-trust,.hero .chip{
  opacity:0; transform:translateY(24px);
  animation:cg-rise .9s var(--cg-ease) forwards;
}
.hero .chip{ animation-delay:.05s; }
.hero-sub{ animation-delay:.55s; }
.hero-ctas{ animation-delay:.7s; }
.hero-trust{ animation-delay:.85s; }
@keyframes cg-rise{ to{ opacity:1; transform:translateY(0); } }

/* button shine sweep */
.btn-grad{ position:relative; overflow:hidden; }
.btn-grad::after{
  content:''; position:absolute; top:0; bottom:0; left:-80%;
  width:50%; transform:skewX(-20deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent);
  transition:left .6s var(--cg-ease);
}
.btn-grad:hover::after{ left:130%; }

/* smooth nav hide on scroll down / show on scroll up */
.nav{
  transition:transform .55s var(--cg-ease), opacity .4s, box-shadow .4s;
}
.nav.nav-hidden{
  transform:translateX(-50%) translateY(-140%);
  opacity:0;
  pointer-events:none;
}

/* 3D tilt targets */
.work,.cc-main{ transform-style:preserve-3d; will-change:transform; }
.work{ transition:box-shadow .4s; }
.work.tilting{ transition:none; }
.work:hover{ box-shadow:0 24px 60px rgba(0,0,0,.55); }

/* parallax layers */
.aurora .blob{ will-change:transform; }
.stack{ will-change:transform; }

/* marquee edge fade */
.marquee{ position:relative; }
.marquee::before,.marquee::after{
  content:''; position:absolute; top:0; bottom:0; width:120px; z-index:2; pointer-events:none;
}
.marquee::before{ left:0; background:linear-gradient(90deg,var(--cg-bg),transparent); }
.marquee::after{ right:0; background:linear-gradient(270deg,var(--cg-bg),transparent); }

/* stat number pop when done */
.stat .n.done{ animation:cg-pop .45s var(--cg-ease); }
@keyframes cg-pop{ 0%{transform:scale(1)} 40%{transform:scale(1.12)} 100%{transform:scale(1)} }

/* smoother marquee duration */
.marquee-track{ animation-duration:32s; }

@media(prefers-reduced-motion:reduce){
  .hero h1 .w,.hero-sub,.hero-ctas,.hero-trust,.hero .chip{ opacity:1; transform:none; filter:none; animation:none; }
  .rv{ opacity:1; transform:none; filter:none; }
  .nav.nav-hidden{ transform:translateX(-50%); opacity:1; pointer-events:auto; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE POLISH — all major devices
   ═══════════════════════════════════════════════ */

/* video media behaves like images everywhere */
.work video,.cc-main video{ width:100%; height:100%; object-fit:cover; display:block; }

/* large desktop ≥1600px — breathe more */
@media(min-width:1600px){
  .cg-container{ max-width:1320px; }
  .hero h1{ font-size:84px; }
}

/* laptop 1024–1280 */
@media(max-width:1280px){
  .hero-grid{ gap:40px; }
}

/* tablet portrait ≤940px already handled; refine ≤820px */
@media(max-width:820px){
  .cg-pad{ padding:68px 0; }
  .sec-head{ margin-bottom:44px; }
  .stack{ max-width:400px; }
  .final{ padding:60px 24px; }
  .form-glass iframe{ height:1350px; } /* Google Form stacks taller on tablets */
}

/* large phones ≤640px */
@media(max-width:640px){
  .nav{ top:12px; padding:8px 10px 8px 18px; }
  .nav-logo{ font-size:16px; }
  .nav-logo .mark{ width:28px; height:28px; font-size:12px; }
  .nav .btn-nav{ padding:7px 13px; font-size:11.5px; }
  .hero{ padding:130px 0 70px; }
  .hero h1{ letter-spacing:-1.2px; }
  .btn-xl{ padding:15px 26px; font-size:15px; width:100%; justify-content:center; }
  .hero-ctas{ flex-direction:column; align-items:stretch; }
  .cc-play{ left:0; width:72%; }
  .cc-stat{ right:0; }
  .marquee::before,.marquee::after{ width:60px; }
  .form-glass{ padding:6px; border-radius:20px; }
  .form-glass iframe{ height:1500px; border-radius:14px; }
  .tier{ padding:30px 24px; }
  .faq-q{ font-size:15px; padding:18px 20px; }
  .faq-a p{ padding:0 20px 18px; }
}

/* small phones ≤400px */
@media(max-width:400px){
  .cg-container{ padding:0 16px; }
  .hero h1{ font-size:38px; }
  .hero-sub{ font-size:15.5px; }
  .stat .n{ font-size:28px; }
  .glass-card{ padding:26px 22px; }
  .avatars span{ width:30px; height:30px; font-size:10px; }
}

/* short landscape phones */
@media(max-height:500px) and (orientation:landscape){
  .hero{ min-height:auto; padding:120px 0 60px; }
}

/* touch devices: disable tilt/hover-only reveals, always show overlays */
@media(hover:none){
  .work .overlay{ transform:translateY(0); }
  .work:hover img{ transform:none; }
}
