/* ════════════════════════════════════════════════════════════
   STYLE.CSS — SEO Tier 1 Core Design System
   Shared across index, blog, portfolio pages.
   ════════════════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --primary:     #007bff;
  --primary-dark:#0057c2;
  --cyan:        #00cfff;
  --accent:      #6366f1;

  /* Dark Palette */
  --void:        #07071a;
  --navy-1:      #0a0a1a;
  --navy-2:      #0d1230;
  --navy-3:      #101840;

  /* Text */
  --white:       #ffffff;
  --text:        #a8b8cc;
  --text-light:  #6a7a8a;

  /* UI */
  --radius:      10px;
  --font:        'Outfit', Arial, sans-serif;
  --transition:  0.3s ease;

  /* ── Cinema Animation System ──────────────────────────── */
  --dur-fast:    0.45s;
  --dur-mid:     0.75s;
  --dur-slow:    1.15s;
  --ease-cinema: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-expo:   cubic-bezier(0.22, 1, 0.36, 1);
  --delay:       0s;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--void);
  color: var(--text);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

/* ── Logo ──────────────────────────────────────────────────── */
.logo img,
.footer-logo {
  max-height: 120px;
  height: auto;
}

/* ── Scroll Progress Bar ───────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(0, 207, 255, 0.6);
}

/* ── Page Curtain Reveal ───────────────────────────────────── */
#page-curtain {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #04041a 0%, #06082e 60%, #04041a 100%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: opacity 0.7s var(--ease-cinema), transform 0.7s var(--ease-cinema);
}
#page-curtain.curtain-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}
#page-curtain-logo {
  width: 90px;
  opacity: 0;
  transform: scale(0.7);
  animation: curtainLogoPop 0.6s var(--ease-spring) 0.2s forwards;
  filter: drop-shadow(0 0 30px rgba(0, 123, 255, 0.7));
}
@keyframes curtainLogoPop {
  to { opacity: 1; transform: scale(1); }
}

/* ── Cursor Glow ───────────────────────────────────────────── */
#cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.4s;
}

/* ── Site Header ───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(7, 7, 26, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 123, 255, 0.08);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.site-header.scrolled {
  background: rgba(7, 7, 26, 0.9);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 123, 255, 0.18);
}

/* ── Top Banner ────────────────────────────────────────────── */
.top-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  background: linear-gradient(90deg, #003399, #0057c2, #003399);
  background-size: 200% 100%;
  animation: bannerShift 6s linear infinite;
  color: #fff;
  padding: 0.55em 1.5em;
  font-size: 0.875rem;
  font-weight: 600;
  position: relative;
  z-index: 999;
  overflow: hidden;
}
@keyframes bannerShift {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}
.marquee-wrap { overflow: hidden; flex: 1; }
.marquee-wrap p {
  white-space: nowrap;
  animation: marquee 22s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(100%); }
  to   { transform: translateX(-100%); }
}

/* ── Navigation ────────────────────────────────────────────── */
.nav { display: flex; align-items: center; }
.nav-list {
  list-style: none;
  display: flex;
  gap: 0.25em;
  align-items: center;
}
.nav-list a {
  display: block;
  padding: 0.45em 0.85em;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: left 0.3s var(--ease-cinema), right 0.3s var(--ease-cinema);
}
.nav-list a:hover::after,
.nav-list a.active::after { left: 15%; right: 15%; }
.nav-list a:hover,
.nav-list a.active { color: var(--white); }

.nav-toggle { display: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger-icon { position: relative; }
.hamburger-icon::before,
.hamburger-icon::after { content: ''; position: absolute; left: 0; }
.hamburger-icon::before { top: -7px; }
.hamburger-icon::after  { top:  7px; }

@media (max-width: 860px) {
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer;
    padding: 0.5em; color: #fff;
  }
  .nav-list {
    position: fixed; top: 0; right: -100%; bottom: 0;
    width: min(320px, 85vw);
    flex-direction: column;
    background: #080d22;
    border-left: 1px solid rgba(0,123,255,0.2);
    padding: 5rem 2rem 2rem;
    gap: 0.5em;
    transition: right 0.4s var(--ease-cinema);
    z-index: 999;
    align-items: flex-start;
  }
  .nav-list.open { right: 0; }
  .nav-list a { font-size: 1.1rem; width: 100%; }
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4em;
  padding: 0.75em 1.8em;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.95rem; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.3s;
}
.btn:hover::before { background: rgba(255,255,255,0.07); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0099dd);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.35);
}
.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(0, 123, 255, 0.55);
  transform: translateY(-2px);
}
.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

/* ── Wave Dividers ─────────────────────────────────────────── */
.wave-divider {
  width: 100%; overflow: hidden; line-height: 0;
}
.wave-divider svg { display: block; width: 100%; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #04041a 0%, #06082e 40%, #0a0f3e 70%, #060822 100%);
  padding: 8rem 1.5rem 5rem;
}

/* Aurora layer (injected by JS) */
.hero-aurora {
  position: absolute; inset: 0;
  z-index: 0; pointer-events: none;
  animation: auroraShift 12s ease-in-out infinite alternate;
}
@keyframes auroraShift {
  0%   { background: radial-gradient(ellipse 80% 55% at 20% 40%, rgba(0,123,255,0.14) 0%, transparent 70%),
                     radial-gradient(ellipse 60% 45% at 80% 65%, rgba(0,207,255,0.09) 0%, transparent 65%),
                     radial-gradient(ellipse 50% 40% at 55% 10%, rgba(99,102,241,0.08) 0%, transparent 60%); }
  33%  { background: radial-gradient(ellipse 70% 60% at 70% 30%, rgba(0,80,200,0.16) 0%, transparent 70%),
                     radial-gradient(ellipse 55% 50% at 25% 70%, rgba(0,207,255,0.1) 0%, transparent 65%),
                     radial-gradient(ellipse 45% 45% at 50% 90%, rgba(99,102,241,0.07) 0%, transparent 60%); }
  66%  { background: radial-gradient(ellipse 75% 55% at 40% 60%, rgba(0,153,255,0.13) 0%, transparent 70%),
                     radial-gradient(ellipse 65% 40% at 80% 20%, rgba(0,207,255,0.08) 0%, transparent 65%),
                     radial-gradient(ellipse 50% 50% at 10% 50%, rgba(99,102,241,0.09) 0%, transparent 60%); }
  100% { background: radial-gradient(ellipse 80% 50% at 60% 50%, rgba(0,123,255,0.12) 0%, transparent 70%),
                     radial-gradient(ellipse 60% 55% at 15% 30%, rgba(0,207,255,0.1) 0%, transparent 65%),
                     radial-gradient(ellipse 55% 40% at 80% 80%, rgba(99,102,241,0.07) 0%, transparent 60%); }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 820px;
}
.hero-content h1 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 700; line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #fff 35%, #7ec8ff 75%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text); line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 680px; margin-left: auto; margin-right: auto;
}
.hero-ctas { display: flex; gap: 1em; flex-wrap: wrap; justify-content: center; }

/* Typewriter */
.typewriter-cursor {
  display: inline-block; opacity: 1;
  animation: blink 0.75s step-end infinite;
  color: var(--cyan);
  -webkit-text-fill-color: var(--cyan);
}
.typewriter-cursor.typewriter-done { animation: none; opacity: 0; }
@keyframes blink { 50% { opacity: 0; } }

/* ── Section Shared ────────────────────────────────────────── */
.section-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 1.5rem;
}

section h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700; color: var(--white);
  text-align: center; margin-bottom: 0.6em;
  line-height: 1.2;
}

.section-answer,
.section-intro {
  text-align: center; max-width: 760px;
  margin: 0 auto 2.5em; line-height: 1.8;
  font-size: 1.05rem; color: var(--text);
}

/* ── Services ──────────────────────────────────────────────── */
.services {
  background: linear-gradient(180deg, #0a0a1a 0%, #060f2e 100%);
  padding: 5rem 1.5rem;
}
.services h2 { margin-bottom: 1rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75em;
  margin-top: 2.5em;
}
.service-card {
  background: linear-gradient(145deg, var(--navy-2), var(--navy-3));
  border: 1px solid rgba(0,123,255,0.12);
  border-radius: calc(var(--radius) * 1.8);
  padding: 2em 1.75em;
  position: relative; overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--cyan), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.service-card:hover::before { opacity: 1; }
/* Shine spotlight (driven by --shine-x/Y from JS) */
.service-card.tilt-active::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle 180px at var(--shine-x, 50%) var(--shine-y, 50%),
    rgba(0,207,255,0.09) 0%, transparent 70%);
  pointer-events: none;
}
.service-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(0,123,255,0.1);
  border-color: rgba(0,123,255,0.35);
}
.service-card h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--white);
  margin-bottom: 0.75em; line-height: 1.3;
}
.service-card p { font-size: 0.93rem; line-height: 1.7; color: var(--text); }

/* ── Stats ─────────────────────────────────────────────────── */
.stats {
  background: linear-gradient(135deg, #060f2e 0%, #0a0a1a 100%);
  padding: 4rem 1.5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2em;
  max-width: 960px; margin: 0 auto; text-align: center;
}
.stat-item {
  padding: 2em 1.5em;
  background: linear-gradient(145deg, var(--navy-2), var(--navy-3));
  border: 1px solid rgba(0,123,255,0.15);
  border-radius: calc(var(--radius) * 2);
  position: relative; overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.stat-item:hover {
  border-color: rgba(0,207,255,0.35);
  box-shadow: 0 0 40px rgba(0,123,255,0.15);
}
.stat-number {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #fff, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.3em;
}
.stat-label {
  font-size: 0.9rem; color: var(--text); line-height: 1.5;
}

/* ── Why Us ────────────────────────────────────────────────── */
.why-us {
  background: linear-gradient(180deg, #07071a 0%, #060f2e 100%);
  padding: 5rem 1.5rem;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75em; margin-top: 2.5em;
}
.why-card {
  background: linear-gradient(145deg, var(--navy-2), var(--navy-3));
  border: 1px solid rgba(0,123,255,0.12);
  border-radius: calc(var(--radius) * 1.8);
  padding: 2em 1.75em;
  position: relative; overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}
.why-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--accent), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.why-card:hover::before { opacity: 1; }
.why-card.tilt-active::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle 180px at var(--shine-x, 50%) var(--shine-y, 50%),
    rgba(99,102,241,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.why-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(99,102,241,0.12);
  border-color: rgba(99,102,241,0.35);
}
.why-card h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--white);
  margin-bottom: 0.75em; line-height: 1.3;
}
.why-card p { font-size: 0.93rem; line-height: 1.7; color: var(--text); }

/* ── Platforms ─────────────────────────────────────────────── */
.platforms {
  background: var(--navy-1);
  padding: 4rem 1.5rem;
  text-align: center;
}
.platforms h2 { margin-bottom: 2rem; }
.platform-grid {
  display: flex; flex-wrap: wrap; gap: 1.5em;
  justify-content: center; max-width: 900px; margin: 0 auto;
}
.platform-badge {
  display: flex; flex-direction: column; align-items: center; gap: 0.5em;
  background: linear-gradient(145deg, var(--navy-2), var(--navy-3));
  border: 1px solid rgba(0,123,255,0.12);
  border-radius: calc(var(--radius) * 1.5);
  padding: 1.25em 1.5em;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  min-width: 90px;
}
.platform-badge:hover {
  transform: translateY(-6px) scale(1.05);
  border-color: rgba(0,123,255,0.4);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}
.platform-badge img { width: 40px; height: 40px; object-fit: contain; }
.platform-badge span { font-size: 0.75rem; font-weight: 600; color: var(--text); }

/* ── Partner ───────────────────────────────────────────────── */
.partner {
  background: linear-gradient(135deg, #060f2e 0%, #0a0a1a 50%, #060f2e 100%);
  background-size: 200% 200%;
  animation: partnerBg 8s ease infinite;
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative; overflow: hidden;
}
@keyframes partnerBg {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
.partner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%,
    rgba(0,123,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.partner-inner {
  max-width: 700px; margin: 0 auto; position: relative; z-index: 1;
}
.partner-inner h2 { margin-bottom: 1rem; }
.partner-inner p  { font-size: 1.05rem; line-height: 1.8; margin-bottom: 2rem; color: var(--text); }

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials {
  background: linear-gradient(180deg, #0a0a1a 0%, #060f2e 100%);
  padding: 5rem 1.5rem;
  text-align: center;
}
.testimonials h2 { margin-bottom: 2rem; }

/* ── Slider ─────────────────────────────────────────────────── */
.slider {
  position: relative;
  width: 100%; max-width: 760px;
  margin: 0 auto; overflow: hidden;
}
.slides {
  display: flex; justify-content: center; align-items: center;
  gap: 2em; position: relative;
}
.slide {
  flex: 0 0 100%;
  opacity: 0;
  transform: scale(0.92) translateX(30px);
  transition: opacity 0.55s var(--ease-cinema), transform 0.55s var(--ease-cinema);
  filter: blur(3px);
  position: absolute; top: 0; left: 0; width: 100%;
  pointer-events: none;
}
.slide.active {
  opacity: 1; transform: scale(1) translateX(0);
  filter: blur(0); position: relative;
  pointer-events: auto;
}
.slide blockquote {
  background: linear-gradient(145deg, var(--navy-2), var(--navy-3));
  border: 1px solid rgba(0,123,255,0.18);
  border-radius: calc(var(--radius) * 2);
  padding: 2.5em 2em;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.slide blockquote p {
  font-size: 1.1rem; line-height: 1.7; color: var(--white);
  margin-bottom: 1em; font-style: italic;
}
.slide blockquote cite { color: var(--text); font-size: 0.9rem; }

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,123,255,0.15); border: 1px solid rgba(0,123,255,0.25);
  color: #fff; border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.slider-btn:hover {
  background: rgba(0,123,255,0.4);
  box-shadow: 0 0 20px rgba(0,123,255,0.3);
  transform: translateY(-50%) scale(1.1);
}
.slider-prev { left: -0.5em; }
.slider-next { right: -0.5em; }
.slider-dots { display: flex; justify-content: center; gap: 0.5em; margin-top: 1.5em; }
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.2); border: none; cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.slider-dot.active {
  background: var(--primary); transform: scale(1.4);
  box-shadow: 0 0 8px rgba(0,123,255,0.6);
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq {
  background: linear-gradient(180deg, #060f2e 0%, #07071a 100%);
  padding: 5rem 1.5rem;
  text-align: center;
}
.faq-list { max-width: 760px; margin: 2rem auto 0; text-align: left; display: flex; flex-direction: column; gap: 0.75em; }
.faq-item {
  background: linear-gradient(145deg, var(--navy-2), var(--navy-3));
  border: 1px solid rgba(0,123,255,0.12);
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
}
.faq-item:hover { border-color: rgba(0,123,255,0.3); box-shadow: 0 8px 30px rgba(0,0,0,0.4); }
.faq-question {
  width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  padding: 1.3em 1.5em;
  display: flex; align-items: center; justify-content: space-between; gap: 1em;
  font-family: var(--font); font-size: 1rem; font-weight: 600; color: var(--white);
  transition: color var(--transition);
}
.faq-question:hover { color: #7ec8ff; }
.faq-icon {
  font-size: 1.5rem; font-weight: 300; color: var(--primary);
  transition: transform 0.35s var(--ease-spring);
  flex-shrink: 0; line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 1.5em 1.3em;
}
.faq-answer[hidden] { display: none; }
.faq-answer p { font-size: 0.95rem; line-height: 1.7; color: var(--text); }

/* ── About ─────────────────────────────────────────────────── */
.about {
  background: var(--navy-1);
  padding: 5rem 1.5rem;
  text-align: center;
}
.about-content {
  display: flex; gap: 2.5em; align-items: center; max-width: 700px;
  margin: 2rem auto 0; text-align: left; flex-wrap: wrap;
}
.about-content img {
  width: 180px; height: 180px; border-radius: 50%; object-fit: cover;
  border: 3px solid rgba(0,123,255,0.35);
  box-shadow: 0 0 30px rgba(0,123,255,0.2);
}
.about-content h3 { font-size: 1.4rem; color: var(--white); margin-bottom: 0.5em; }
.about-content p  { font-size: 0.95rem; line-height: 1.7; margin-bottom: 0.75em; }

/* ── Contact ───────────────────────────────────────────────── */
.contact {
  background: linear-gradient(180deg, #07071a 0%, #060f2e 100%);
  padding: 5rem 1.5rem;
  text-align: center;
}
.contact-form {
  max-width: 560px; margin: 2rem auto 0;
  display: flex; flex-direction: column; gap: 1.25em;
}
.contact-form label {
  display: flex; flex-direction: column; gap: 0.4em; text-align: left;
}
.contact-form label span { font-size: 0.9rem; font-weight: 600; color: var(--white); }
.contact-form input,
.contact-form textarea {
  padding: 0.85em 1.15em;
  border: 1px solid rgba(0,123,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  color: var(--white); font-family: var(--font); font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  background: rgba(0,123,255,0.07);
  box-shadow: 0 0 0 3px rgba(0,123,255,0.2);
  outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-light); }
.contact-form textarea { resize: vertical; min-height: 120px; }

/* ── Formspree Success / Error States ─────────────────────── */
[data-fs-success] {
  display: none;
  background: rgba(0, 180, 80, 0.12);
  border: 1px solid rgba(0, 200, 80, 0.3);
  border-radius: var(--radius);
  color: #6ee7b7; padding: 1em 1.25em;
  font-size: 0.95rem; font-weight: 600;
  text-align: center; margin-bottom: 1em;
  animation: fadeUpCinema 0.5s var(--ease-cinema) both;
}
[data-fs-error]:not([data-fs-error=""]) {
  color: #fca5a5; font-size: 0.82rem; margin-top: 0.25em;
}

/* ── Modal ─────────────────────────────────────────────────── */
.modal {
  position: fixed; inset: 0;
  background: rgba(4, 4, 26, 0.85);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  z-index: 5000; opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease-cinema);
}
.modal.open { opacity: 1; pointer-events: all; }
.modal-content {
  background: linear-gradient(145deg, #0d1230, #101840);
  border: 1px solid rgba(0,123,255,0.25);
  border-radius: calc(var(--radius) * 2.5);
  padding: 3em 2.5em;
  max-width: 480px; width: 90%;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 60px rgba(0,123,255,0.1);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s var(--ease-spring);
}
.modal.open .modal-content { transform: scale(1) translateY(0); }
.modal-content h2 { font-size: 1.5rem; color: var(--white); margin-bottom: 1.5rem; text-align: center; }
.modal-content form { display: flex; flex-direction: column; gap: 1em; }
.modal-content label { display: flex; flex-direction: column; gap: 0.4em; }
.modal-content label span { font-size: 0.88rem; font-weight: 600; color: var(--white); }
.modal-content input {
  padding: 0.85em 1.1em;
  border: 1px solid rgba(0,123,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  color: var(--white); font-family: var(--font); font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.modal-content input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,123,255,0.2); outline: none;
}
.modal-close {
  position: absolute; top: 1em; right: 1em;
  background: none; border: none; color: var(--text);
  font-size: 1.5rem; cursor: pointer; line-height: 1; padding: 0.25em;
  border-radius: 50%; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ── Slide Info (portfolio) ────────────────────────────────── */
.slide-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: #fff; padding: 1em; opacity: 0;
  transition: opacity 0.3s ease; text-align: center;
}
.slide a:hover .slide-info,
.slide a:focus  .slide-info { opacity: 1; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: #04041a;
  border-top: 1px solid rgba(0,123,255,0.1);
  padding: 3rem 1.5rem;
  text-align: center;
}
.footer-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 1.5em;
}
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5em 1.5em; justify-content: center; }
.footer-nav a {
  color: var(--text); text-decoration: none; font-size: 0.88rem; font-weight: 600;
  transition: color var(--transition);
}
.footer-nav a:hover { color: #7ec8ff; }
.site-footer p { font-size: 0.82rem; color: var(--text-light); }

/* ── Ripple Effect ─────────────────────────────────────────── */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  width: 6px; height: 6px;
  transform: translate(-50%, -50%) scale(0);
  background: rgba(255,255,255,0.35);
  pointer-events: none;
  animation: rippleOut 0.6s ease-out forwards;
}
@keyframes rippleOut {
  to { transform: translate(-50%, -50%) scale(35); opacity: 0; }
}

/* ══════════════════════════════════════════════════════════════
   CINEMATIC SCROLL ANIMATION SYSTEM
   ══════════════════════════════════════════════════════════════ */

/* Stagger delay classes */
.d1 { --delay: 0.08s; }
.d2 { --delay: 0.16s; }
.d3 { --delay: 0.26s; }
.d4 { --delay: 0.36s; }
.d5 { --delay: 0.46s; }
.d6 { --delay: 0.58s; }

/* ── Base State (hidden until revealed) ───────────────────── */
.anim-ready {
  will-change: transform, opacity;
}

/* ── Fade Up ──────────────────────────────────────────────── */
.anim-fade-up {
  opacity: 0;
  transform: translateY(52px);
  transition:
    opacity   var(--dur-slow)  var(--ease-cinema) var(--delay),
    transform var(--dur-slow)  var(--ease-cinema) var(--delay);
}
.anim-fade-up.anim-in {
  opacity: 1; transform: translateY(0);
}
.anim-fade-up.anim-exit {
  opacity: 0; transform: translateY(-30px);
  transition-duration: var(--dur-fast);
}

/* ── Fade Right ───────────────────────────────────────────── */
.anim-fade-right {
  opacity: 0; transform: translateX(-60px);
  transition:
    opacity   var(--dur-slow) var(--ease-cinema) var(--delay),
    transform var(--dur-slow) var(--ease-cinema) var(--delay);
}
.anim-fade-right.anim-in { opacity: 1; transform: translateX(0); }
.anim-fade-right.anim-exit { opacity: 0; transform: translateX(-30px); transition-duration: var(--dur-fast); }

/* ── Fade Left ────────────────────────────────────────────── */
.anim-fade-left {
  opacity: 0; transform: translateX(60px);
  transition:
    opacity   var(--dur-slow) var(--ease-cinema) var(--delay),
    transform var(--dur-slow) var(--ease-cinema) var(--delay);
}
.anim-fade-left.anim-in { opacity: 1; transform: translateX(0); }
.anim-fade-left.anim-exit { opacity: 0; transform: translateX(30px); transition-duration: var(--dur-fast); }

/* ── Clip Wipe (headings) ─────────────────────────────────── */
.anim-wipe {
  clip-path: inset(0 100% 0 0);
  transition:
    clip-path var(--dur-slow) var(--ease-expo) var(--delay);
}
.anim-wipe.anim-in  { clip-path: inset(0 0% 0 0); }
.anim-wipe.anim-exit { clip-path: inset(0 100% 0 0); transition-duration: var(--dur-fast); }

/* ── Zoom Pop (partner CTA) ───────────────────────────────── */
.anim-zoom-pop {
  opacity: 0; transform: scale(0.82) translateY(30px);
  transition:
    opacity   var(--dur-slow) var(--ease-spring) var(--delay),
    transform var(--dur-slow) var(--ease-spring) var(--delay);
}
.anim-zoom-pop.anim-in { opacity: 1; transform: scale(1) translateY(0); }
.anim-zoom-pop.anim-exit { opacity: 0; transform: scale(0.92); transition-duration: var(--dur-fast); }

/* ── Scale In (platform badges) ──────────────────────────── */
.anim-scale {
  opacity: 0; transform: scale(0.6);
  transition:
    opacity   var(--dur-mid) var(--ease-spring) var(--delay),
    transform var(--dur-mid) var(--ease-spring) var(--delay);
}
.anim-scale.anim-in { opacity: 1; transform: scale(1); }
.anim-scale.anim-exit { opacity: 0; transform: scale(0.8); transition-duration: var(--dur-fast); }

/* ── Number Blast (stat items) ────────────────────────────── */
.anim-number {
  opacity: 0;
  transform: scale(0.7) translateY(40px);
  transition:
    opacity   var(--dur-slow) var(--ease-spring) var(--delay),
    transform var(--dur-slow) var(--ease-spring) var(--delay);
}
.anim-number.anim-in { opacity: 1; transform: scale(1) translateY(0); }
.anim-number.anim-exit { opacity: 0; transform: scale(0.85); transition-duration: var(--dur-fast); }

/* ── Glitch heading effect (applied by JS) ────────────────── */
.glitch-heading {
  position: relative;
}
.glitch-heading::before,
.glitch-heading::after {
  content: attr(data-glitch);
  position: absolute; top: 0; left: 0; right: 0;
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
}
.glitch-heading::before {
  color: rgba(0, 207, 255, 0.7);
  animation: glitch1 3.5s infinite steps(1);
}
.glitch-heading::after {
  color: rgba(99, 102, 241, 0.7);
  animation: glitch2 3.5s infinite steps(1);
}
@keyframes glitch1 {
  0%, 85%, 100% { clip-path: inset(100% 0 0 0); transform: none; }
  88%  { clip-path: inset(20% 0 50% 0); transform: translate(-3px, 0); }
  90%  { clip-path: inset(60% 0 10% 0); transform: translate(3px, 0); }
  92%  { clip-path: inset(40% 0 30% 0); transform: translate(-2px, 0); }
  94%  { clip-path: inset(100% 0 0 0); transform: none; }
}
@keyframes glitch2 {
  0%, 87%, 100% { clip-path: inset(100% 0 0 0); transform: none; }
  89%  { clip-path: inset(50% 0 20% 0); transform: translate(3px, 0); }
  91%  { clip-path: inset(10% 0 70% 0); transform: translate(-3px, 0); }
  93%  { clip-path: inset(70% 0 15% 0); transform: translate(2px, 0); }
  95%  { clip-path: inset(100% 0 0 0); transform: none; }
}

/* ── General keyframes ────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes fadeUpCinema {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes heroAura {
  0%   { opacity: 0.7; }
  100% { opacity: 1.0; }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(0,123,255,0.18); }
  50%       { box-shadow: 0 0 28px rgba(0,123,255,0.4);  }
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0)   scale(1); }
  50%       { transform: translateY(-22px) scale(1.04); }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero { padding: 6rem 1rem 4rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .services, .why-us, .faq, .partner, .about, .contact { padding: 3.5rem 1rem; }
  .about-content { flex-direction: column; text-align: center; }
  .about-content img { margin: 0 auto; }
  .stats-grid { grid-template-columns: 1fr; }
  .services-grid, .why-grid { grid-template-columns: 1fr; }
}
