/* ============================================================
   vfx.css — N Gram Matchmove Studio (subdomain: studio.ngram.co.in)
   Standalone stylesheet — intentionally does not depend on the
   main ngram.co.in asset bundle, since this is a separate
   subdomain deployment.
   ============================================================ */

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #0A0A0F;
  color: #E2E8F0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

:root {
  --vfx-bg:       #0A0A0F;
  --vfx-bg-alt:   #121218;
  --vfx-purple:   #8B5CF6;
  --vfx-magenta:  #D946EF;
  --vfx-cyan:     #22D3EE;
  --vfx-text:     #E2E8F0;
  --vfx-text-sub: #94A3B8;
  --vfx-border:   rgba(255,255,255,.1);
  --font-display: 'Plus Jakarta Sans', sans-serif;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 9999;
  background: var(--vfx-purple); color: #fff; padding: 10px 20px;
  border-radius: 8px; font-size: 14px; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ─── NAV ─── */
.vfx-nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10,10,15,.85); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--vfx-border);
}
.vfx-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 70px; padding: 10px 0; gap: 24px;
}
.vfx-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  color: #fff;
}
.vfx-logo-img { height: 34px; width: auto; display: block; }
.vfx-nav-links { display: flex; align-items: center; gap: 28px; }
.vfx-nav-links a { font-size: 14px; font-weight: 500; color: var(--vfx-text-sub); transition: color .15s; }
.vfx-nav-links a:hover { color: #fff; }
.vfx-nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--vfx-purple), var(--vfx-magenta));
  color: #fff; font-size: 13px; font-weight: 600;
  padding: 10px 20px; border-radius: 100px;
  transition: transform .2s, box-shadow .2s;
}
.vfx-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(139,92,246,.4); }
.vfx-nav-cta .vfx-btn-icon { width: 14px; height: 14px; }
.vfx-btn-icon { width: 16px; height: 16px; flex-shrink: 0; }
.vfx-back-link {
  font-size: 12.5px; color: var(--vfx-text-sub); display: flex; align-items: center; gap: 6px;
}
.vfx-back-link:hover { color: #fff; }

/* ─── HERO ─── */
.vfx-hero {
  position: relative;
  padding: 120px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(139,92,246,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(217,70,239,.14) 0%, transparent 60%),
    var(--vfx-bg);
}
.vfx-grid-overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, rgba(0,0,0,.9) 0%, transparent 75%);
}
.vfx-hero .container { position: relative; z-index: 1; }
.vfx-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.3);
  color: #C4B5FD; font-size: 12.5px; font-weight: 600;
  padding: 7px 16px; border-radius: 100px; margin-bottom: 28px;
  font-family: 'JetBrains Mono', monospace; letter-spacing: .01em;
}
.vfx-hero-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--vfx-magenta); animation: vfxPulse 2s infinite; }
@keyframes vfxPulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.6;transform:scale(1.3);} }

.vfx-hero-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(38px, 6vw, 72px); line-height: 1.08;
  letter-spacing: -.02em; color: #fff; margin-bottom: 24px;
  max-width: 840px;
}
.vfx-hero-gradient-text {
  background: linear-gradient(135deg, var(--vfx-purple), var(--vfx-magenta), var(--vfx-cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.vfx-hero-sub {
  font-size: 18px; color: var(--vfx-text-sub); line-height: 1.7;
  max-width: 600px; margin-bottom: 40px;
}
.vfx-hero-sub strong { color: #fff; font-weight: 700; }
.vfx-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.vfx-text-link {
  display: inline-block; font-size: 14px; font-weight: 600;
  color: var(--vfx-text-sub); margin-bottom: 48px;
  border-bottom: 1px solid transparent; transition: color .15s, border-color .15s;
}
.vfx-text-link:hover { color: #fff; border-color: var(--vfx-border); }
.vfx-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--vfx-purple), var(--vfx-magenta));
  color: #fff; font-size: 15px; font-weight: 600;
  padding: 15px 28px; border-radius: 12px;
  transition: transform .2s, box-shadow .2s;
}
.vfx-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(139,92,246,.4); }
.vfx-btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06); border: 1px solid var(--vfx-border);
  color: #fff; font-size: 15px; font-weight: 600;
  padding: 15px 28px; border-radius: 12px; transition: background .2s;
}
.vfx-btn-secondary:hover { background: rgba(255,255,255,.1); }

/* Hero stats band */
.vfx-hero-stats {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid var(--vfx-border);
}
.vfx-stat { display: flex; flex-direction: column; gap: 4px; }
.vfx-stat-num {
  font-family: var(--font-display); font-weight: 800; font-size: 30px;
  color: #fff; line-height: 1;
}
.vfx-stat-label {
  font-size: 12.5px; color: var(--vfx-text-sub); font-weight: 500;
  letter-spacing: .01em;
}
.vfx-stat-divider { width: 1px; height: 34px; background: var(--vfx-border); }

/* ─── SECTION ─── */
.vfx-section { padding: 96px 0; }
.vfx-section-alt { background: var(--vfx-bg-alt); }
.vfx-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--vfx-magenta); margin-bottom: 14px;
}
.vfx-section-title {
  font-family: var(--font-display); font-size: clamp(26px,3.6vw,38px); font-weight: 800;
  color: #fff; line-height: 1.2; margin-bottom: 16px; max-width: 640px;
}
.vfx-section-sub { font-size: 16px; color: var(--vfx-text-sub); max-width: 560px; line-height: 1.7; }

/* ─── SERVICES GRID ─── */
.vfx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 20px; margin-top: 48px; }
.vfx-card {
  background: var(--vfx-bg-alt); border: 1px solid var(--vfx-border);
  border-radius: 18px; padding: 30px 26px; transition: all .25s;
}
.vfx-card:hover { border-color: rgba(139,92,246,.4); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(139,92,246,.15); }
.vfx-card-icon {
  width: 50px; height: 50px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(139,92,246,.2), rgba(217,70,239,.2));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: #C4B5FD;
}
.vfx-card-icon svg { width: 24px; height: 24px; }
.vfx-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.vfx-card p { font-size: 14px; color: var(--vfx-text-sub); line-height: 1.65; }

/* ─── WHY MATCHMOVE — copy + signature tracking panel ─── */
.vfx-why-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.vfx-why-copy .vfx-section-title { max-width: none; }
.vfx-why-copy .vfx-section-sub { max-width: none; }

.vfx-coord-panel {
  background: var(--vfx-bg-alt); border: 1px solid var(--vfx-border);
  border-radius: 16px; overflow: hidden;
}
.vfx-coord-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--vfx-border);
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
  color: var(--vfx-text-sub); letter-spacing: .02em;
}
.vfx-coord-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--vfx-cyan); flex-shrink: 0; }
.vfx-coord-body { padding: 16px; }
.vfx-coord-svg { width: 100%; height: auto; display: block; }
.vfx-coord-readout {
  display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
  color: var(--vfx-text-sub);
}
.vfx-coord-ok { color: #34D399; font-weight: 600; }

/* ─── PIPELINE / PROCESS STEPS ─── */
.vfx-pipeline {
  list-style: none; margin-top: 48px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.vfx-pipeline-step {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 24px; background: var(--vfx-bg-alt);
  border: 1px solid var(--vfx-border); border-radius: 16px;
  position: relative;
}
.vfx-pipeline-num {
  font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600;
  color: var(--vfx-magenta); letter-spacing: .04em;
}
.vfx-pipeline-step h4 { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.vfx-pipeline-step p { font-size: 14px; color: var(--vfx-text-sub); line-height: 1.65; }

/* ─── CLOSING CTA ─── */
.vfx-cta-section {
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(139,92,246,.16) 0%, transparent 65%),
    var(--vfx-bg-alt);
  border-top: 1px solid var(--vfx-border);
}
.vfx-cta-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px;
}
.vfx-coming-soon {
  text-align: center; padding: 64px 24px;
  background: var(--vfx-bg-alt); border: 1px solid var(--vfx-border);
  border-radius: 24px; margin-top: 48px;
}
.vfx-cs-badge {
  display: inline-block; background: rgba(217,70,239,.12); border: 1px solid rgba(217,70,239,.3);
  color: #F0ABFC; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 24px;
}
.vfx-cs-icon { margin-bottom: 20px; color: #F0ABFC; }
.vfx-cs-cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.vfx-coming-soon h2 { font-family: var(--font-display); font-size: clamp(22px,3vw,30px); font-weight: 800; color: #fff; margin-bottom: 12px; }
.vfx-coming-soon p { font-size: 15px; color: var(--vfx-text-sub); max-width: 440px; margin: 0 auto 28px; line-height: 1.7; }

/* ─── FOOTER ─── */
.vfx-footer { background: #060608; border-top: 1px solid var(--vfx-border); padding: 56px 0 28px; }
.vfx-footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.vfx-footer-brand p { font-size: 13.5px; color: var(--vfx-text-sub); line-height: 1.7; max-width: 320px; margin-top: 14px; }
.vfx-footer-col h4 { font-size: 12px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.vfx-footer-col ul li { margin-bottom: 10px; list-style: none; }
.vfx-footer-col ul li a { font-size: 13.5px; color: var(--vfx-text-sub); transition: color .15s; }
.vfx-footer-col ul li a:hover { color: #fff; }
.vfx-footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--vfx-border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.vfx-footer-bottom p { font-size: 12.5px; color: var(--vfx-text-sub); }
.vfx-footer-bottom-links { display: flex; gap: 18px; }
.vfx-footer-bottom-links a { font-size: 12.5px; color: var(--vfx-text-sub); }
.vfx-footer-bottom-links a:hover { color: #fff; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .vfx-nav-links { display: none; }
  .vfx-footer-top { grid-template-columns: 1fr; gap: 28px; }
  .vfx-why-grid { grid-template-columns: 1fr; gap: 40px; }
  .vfx-pipeline { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .vfx-hero { padding: 80px 0 64px; }
  .vfx-section { padding: 64px 0; }
  .vfx-footer-bottom { flex-direction: column; text-align: center; }
  .vfx-hero-stats { gap: 22px; }
  .vfx-stat-num { font-size: 24px; }
  .vfx-stat-divider { display: none; }
}
