/* =============================================
   CSS VARIABLES
============================================= */
:root {
  --bg: #080b1e;
  --bg2: #0d1127;
  --bg3: #121531;
  --surface: #161a3a;
  --border: #252d56;
  --text1: #e8ecff;
  --text2: #8891b8;
  --text3: #525c80;
  --accent: #5b5ef4;
  --accent2: #9b59f5;
  --accent3: #c026d3;
  --accent-light: #191d4a;
  --green: #10b981;
  --orange: #f59e0b;
  --red: #ef4444;
  --grad: linear-gradient(135deg, #5b5ef4 0%, #9b59f5 55%, #c026d3 100%);
  --grad-soft: linear-gradient(135deg, rgba(91,94,244,.16), rgba(155,89,245,.1));
  --sh-sm: 0 1px 4px rgba(0,0,0,.4);
  --sh-md: 0 4px 24px rgba(0,0,0,.45);
  --sh-lg: 0 16px 56px rgba(0,0,0,.55);
  --sh-glow: 0 0 40px rgba(91,94,244,.38);
  --r: 12px;
  --rl: 18px;
  --rxl: 26px;
  --tr: .22s cubic-bezier(.4,0,.2,1);
}

/* =============================================
   BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text1);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background var(--tr), color var(--tr);
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }
.container { width: min(1140px, 92%); margin-inline: auto; }
.hidden { display: none !important; }

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--r);
  font-size: .9rem; font-weight: 600; cursor: pointer;
  transition: all var(--tr); border: none; white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 18px rgba(91,94,244,.38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(91,94,244,.52); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: rgba(22,26,58,.6); color: var(--text1);
  border: 1.5px solid var(--border); backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.btn-xl { padding: 14px 32px; font-size: 1rem; border-radius: var(--rl); }
.btn-full { width: 100%; justify-content: center; }
.btn-white { background: #fff; color: var(--accent); font-weight: 700; box-shadow: var(--sh-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }

/* =============================================
   NAVBAR
============================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(8,11,30,.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(37,45,86,.6);
  transition: all var(--tr);
}

.navbar.scrolled { box-shadow: 0 2px 20px rgba(91,94,244,.1); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px; gap: 24px;
}
.logo { font-size: 1.4rem; font-weight: 900; letter-spacing: -.6px; }
.logo span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  padding: 7px 14px; border-radius: 9px; font-size: .88rem; font-weight: 500;
  color: var(--text2); transition: all var(--tr);
}
.nav-links a:hover { color: var(--text1); background: var(--bg3); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.theme-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--border);
  background: var(--surface); cursor: pointer; display: flex; align-items: center;
  justify-content: center; color: var(--text2); transition: all var(--tr);
  box-shadow: var(--sh-sm);
}
.theme-btn:hover { background: var(--accent-light); color: var(--accent); border-color: var(--accent); transform: rotate(20deg); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text1); border-radius: 2px; transition: all var(--tr); }
.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 16px 20px 20px;
}
.mobile-nav a { padding: 12px; border-radius: var(--r); font-weight: 500; color: var(--text2); transition: all var(--tr); }
.mobile-nav a:hover { color: var(--accent); background: var(--accent-light); }
.mobile-nav.open { display: flex; }

/* =============================================
   HERO
============================================= */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 110px 0 90px; overflow: hidden;
}
/* Mesh grid */
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(91,94,244,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,94,244,.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
[data-theme="dark"] .hero::after {
  background-image:
    linear-gradient(rgba(91,94,244,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,94,244,.1) 1px, transparent 1px);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(110px); }
.orb-1 { width: 700px; height: 700px; background: radial-gradient(circle, #5b5ef4 0%, transparent 70%); opacity: .18; top: -250px; right: -150px; animation: floatA 10s ease-in-out infinite; }
.orb-2 { width: 600px; height: 600px; background: radial-gradient(circle, #c026d3 0%, transparent 70%); opacity: .14; bottom: -200px; left: -150px; animation: floatB 13s ease-in-out infinite; }
.orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, #06b6d4 0%, transparent 70%); opacity: .12; top: 30%; left: 40%; animation: floatC 9s ease-in-out infinite; }
[data-theme="dark"] .orb-1 { opacity: .12; }
[data-theme="dark"] .orb-2 { opacity: .09; }
[data-theme="dark"] .orb-3 { opacity: .08; }
@keyframes floatA { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px,20px); } }
@keyframes floatB { 0%,100% { transform: translate(0,0); } 50% { transform: translate(25px,-25px); } }
@keyframes floatC { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,-25px); } }

.hero-inner {
  position: relative; z-index: 2;
  text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 28px;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(22,26,58,.85); backdrop-filter: blur(10px);
  border: 1px solid rgba(91,94,244,.35); border-radius: 100px;
  padding: 8px 20px; font-size: .84rem; font-weight: 700; color: var(--accent);
  box-shadow: 0 2px 14px rgba(91,94,244,.14);
}

.pill-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 3px rgba(16,185,129,.25);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:.4; } }

.hero-title {
  font-size: clamp(2.6rem, 6.5vw, 5rem); font-weight: 900;
  line-height: 1.08; letter-spacing: -2.5px; color: var(--text1);
}
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc { max-width: 580px; font-size: 1.08rem; color: var(--text2); line-height: 1.85; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-stats {
  display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
  justify-content: center; margin-top: 8px;
  background: rgba(22,26,58,.7); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--rl);
  padding: 18px 36px; box-shadow: var(--sh-sm);
}

.stat-item { text-align: center; }
.stat-val { display: block; font-size: 1.9rem; font-weight: 900; letter-spacing: -1px; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-key { font-size: .78rem; font-weight: 600; color: var(--text3); text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }
.stat-sep { width: 1px; height: 36px; background: var(--border); }

/* Hero float cards */
.hero-floats { position: absolute; z-index: 3; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(22,26,58,.92); backdrop-filter: blur(12px);
  border: 1px solid rgba(91,94,244,.25); border-radius: var(--rl);
  padding: 12px 18px; box-shadow: var(--sh-md); font-size: .82rem;
  animation: floatUp 4s ease-in-out infinite;
}

.float-card span { font-size: 1.6rem; }
.float-card strong { display: block; font-size: .85rem; font-weight: 700; color: var(--text1); }
.float-card small { color: var(--text3); font-size: .75rem; }
.fc-1 { top: 22%; left: 5%; animation-delay: 0s; }
.fc-2 { top: 55%; right: 4%; animation-delay: 1.2s; }
.fc-3 { bottom: 18%; left: 6%; animation-delay: 2.4s; }
@keyframes floatUp { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* =============================================
   TECH BAR
============================================= */
.tech-bar {
  background: var(--bg2); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 18px 0; overflow: hidden;
}
.tech-inner { display: flex; align-items: center; gap: 24px; }
.tech-label { font-size: .78rem; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; flex-shrink: 0; }
.tech-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }
.tech-logos {
  display: flex; gap: 32px; width: max-content;
  animation: scroll 20s linear infinite;
}
.tech-logos span {
  font-size: .88rem; font-weight: 700; color: var(--text3);
  white-space: nowrap; transition: color var(--tr);
}
.tech-logos span:hover { color: var(--accent); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =============================================
   SECTION COMMON
============================================= */
section { padding: 100px 0; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; background: var(--accent-light); color: var(--accent);
  padding: 4px 14px; border-radius: 100px; font-size: .76rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; letter-spacing: -.8px; margin-bottom: 12px; }
.section-head p { color: var(--text2); font-size: 1rem; max-width: 520px; margin-inline: auto; }

/* =============================================
   SERVICES
============================================= */
.services { background: var(--bg2); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rxl); padding: 32px 28px;
  transition: all var(--tr); position: relative; overflow: hidden;
  box-shadow: var(--sh-sm);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: rgba(91,94,244,.3); }
.service-featured {
  background: var(--grad); border-color: transparent; color: #fff;
  grid-row: span 1;
}
.service-featured .sc-icon { background: rgba(255,255,255,.2); }
.service-featured h3, .service-featured p, .service-featured .sc-list li, .service-featured .sc-link { color: #fff !important; }
.service-featured .sc-link { border-color: rgba(255,255,255,.35); }
.service-featured .sc-link:hover { background: rgba(255,255,255,.15); }
.sc-glow {
  position: absolute; width: 200px; height: 200px; background: rgba(255,255,255,.12);
  border-radius: 50%; top: -60px; right: -60px; filter: blur(40px); pointer-events: none;
}
.sc-icon {
  width: 52px; height: 52px; border-radius: var(--r);
  background: var(--accent-light); display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; margin-bottom: 18px;
}
.service-card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 10px; }
.service-card p { color: var(--text2); font-size: .9rem; line-height: 1.7; margin-bottom: 16px; }
.sc-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.sc-list li {
  font-size: .85rem; color: var(--text2);
  padding-left: 18px; position: relative;
}
.sc-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.sc-link {
  display: inline-block; font-size: .85rem; font-weight: 700; color: var(--accent);
  padding: 7px 16px; border: 1.5px solid var(--accent-light); border-radius: 100px;
  transition: all var(--tr);
}
.sc-link:hover { background: var(--accent-light); }
.service-cta-card {
  background: var(--grad-soft); border: 1.5px dashed rgba(91,94,244,.25);
  display: flex; align-items: center; justify-content: center;
}
.service-cta-card:hover { border-style: solid; border-color: var(--accent); }
.scc-inner { text-align: center; }
.scc-emoji { font-size: 2.8rem; margin-bottom: 14px; }
.service-cta-card h3 { margin-bottom: 10px; }
.service-cta-card p { color: var(--text2); font-size: .9rem; margin-bottom: 20px; }

/* =============================================
   WORKS
============================================= */
.works { background: var(--bg); }
.works-filter { display: flex; gap: 8px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 20px; border-radius: 100px; border: 1.5px solid var(--border);
  background: var(--surface); font-size: .85rem; font-weight: 700;
  color: var(--text2); cursor: pointer; transition: all var(--tr);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 4px 14px rgba(91,94,244,.35); }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rxl); overflow: hidden;
  transition: all var(--tr); box-shadow: var(--sh-sm);
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.work-card.hide { display: none; }
.work-wide { grid-column: span 2; }
.wc-visual {
  height: 160px; display: flex; align-items: center; justify-content: center;
  position: relative; font-size: 3rem;
}
.work-wide .wc-visual { height: 180px; }
.wv-purple { background: linear-gradient(135deg, #5b5ef4, #8b5cf6); }
.wv-blue   { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.wv-green  { background: linear-gradient(135deg, #10b981, #059669); }
.wv-orange { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.wv-pink   { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
.wc-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,255,255,.25); backdrop-filter: blur(8px);
  color: #fff; font-size: .72rem; font-weight: 800;
  padding: 3px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: .6px;
}
.wc-body { padding: 20px 22px; }
.wc-body h3 { font-size: .97rem; font-weight: 800; margin-bottom: 6px; }
.wc-body p { color: var(--text2); font-size: .85rem; line-height: 1.65; margin-bottom: 12px; }
.wc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.wc-tags span {
  background: var(--bg3); color: var(--text2);
  font-size: .75rem; font-weight: 700; padding: 3px 10px;
  border-radius: 100px; border: 1px solid var(--border);
}

/* =============================================
   PROCESS
============================================= */
.process { background: var(--bg2); }
.process-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; position: relative;
}
.process-grid::before {
  content: ''; position: absolute; top: 32px; left: calc(12.5% + 16px); right: calc(12.5% + 16px);
  height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3));
  opacity: .25; z-index: 0;
}
.process-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rxl); padding: 28px 22px;
  text-align: center; position: relative; z-index: 1;
  transition: all var(--tr); box-shadow: var(--sh-sm);
}
.process-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: rgba(91,94,244,.3); }
.pc-num {
  font-size: .75rem; font-weight: 900; color: var(--accent); letter-spacing: 1px;
  margin-bottom: 12px; display: block;
}
.pc-icon {
  width: 56px; height: 56px; border-radius: var(--rl);
  background: var(--accent-light); display: flex; align-items: center;
  justify-content: center; font-size: 1.6rem; margin: 0 auto 16px;
}
.process-card h3 { font-size: .97rem; font-weight: 800; margin-bottom: 8px; }
.process-card p { color: var(--text2); font-size: .85rem; line-height: 1.65; }

/* =============================================
   ABOUT
============================================= */
.about { background: var(--bg); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 380px; }
.about-card-main {
  background: var(--grad); border-radius: var(--rxl);
  padding: 32px 28px; width: 290px; box-shadow: var(--sh-lg);
  color: #fff;
}
.acm-header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.acm-logo {
  width: 48px; height: 48px; border-radius: var(--r);
  background: rgba(255,255,255,.25); display: flex; align-items: center;
  justify-content: center; font-size: 1rem; font-weight: 900;
}
.acm-header strong { display: block; font-size: .97rem; font-weight: 800; }
.acm-header small { font-size: .78rem; opacity: .75; }
.acm-metrics { display: flex; gap: 0; margin-bottom: 20px; }
.acm-m { flex: 1; text-align: center; padding: 12px 0; }
.acm-m:not(:last-child) { border-right: 1px solid rgba(255,255,255,.2); }
.acm-val { display: block; font-size: 1.6rem; font-weight: 900; }
.acm-lbl { font-size: .72rem; opacity: .75; }
.acm-bar { height: 6px; background: rgba(255,255,255,.25); border-radius: 100px; overflow: hidden; margin-bottom: 8px; }
.acm-bar-fill { height: 100%; width: 94%; background: rgba(255,255,255,.9); border-radius: 100px; }
.acm-caption { font-size: .75rem; opacity: .7; }
.about-badge {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rl); padding: 12px 18px; box-shadow: var(--sh-md);
  font-size: .85rem;
}
.about-badge span { font-size: 1.3rem; }
.about-badge strong { display: block; font-size: .85rem; font-weight: 800; }
.about-badge small { color: var(--text3); font-size: .75rem; }
.ab-1 { top: 20px; right: -10px; }
.ab-2 { bottom: 30px; right: 10px; }
.about-content { display: flex; flex-direction: column; gap: 18px; }
.about-content h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 900; letter-spacing: -.6px; }
.about-content p { color: var(--text2); font-size: .97rem; line-height: 1.8; }
.about-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.about-chips span {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 14px; font-size: .82rem; font-weight: 600;
  color: var(--text2); transition: all var(--tr);
}
.about-chips span:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }

/* =============================================
   TESTIMONIALS
============================================= */
.testimonials { background: var(--bg2); }
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }
.testi-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rxl); padding: 28px 26px;
  transition: all var(--tr); box-shadow: var(--sh-sm); position: relative;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: rgba(91,94,244,.25); }
.testi-featured {
  background: var(--grad); border-color: transparent;
  grid-column: span 1;
}
.testi-featured p, .testi-featured .testi-stars, .testi-featured .testi-author strong { color: #fff; }
.testi-featured .testi-author small { color: rgba(255,255,255,.7); }
.testi-quote {
  font-size: 5rem; line-height: .8; color: rgba(255,255,255,.2);
  font-family: Georgia, serif; position: absolute; top: 16px; right: 24px;
}
.testi-stars { font-size: 1rem; color: #f59e0b; margin-bottom: 14px; letter-spacing: 2px; }
.testi-featured .testi-stars { color: rgba(255,255,255,.9); }
.testi-card > p { font-size: .93rem; line-height: 1.75; color: var(--text2); margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.ta-av {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 900; color: #fff; flex-shrink: 0;
}
.testi-author strong { display: block; font-size: .9rem; font-weight: 800; }
.testi-author small { color: var(--text3); font-size: .8rem; }

/* =============================================
   CONTACT
============================================= */
.contact { background: var(--bg); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
.contact-left { display: flex; flex-direction: column; gap: 20px; }
.contact-left h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 900; letter-spacing: -.5px; }
.contact-left > p { color: var(--text2); font-size: .97rem; }
.contact-info-list { display: flex; flex-direction: column; gap: 16px; }
.ci-item { display: flex; align-items: flex-start; gap: 14px; }
.ci-item > span { font-size: 1.2rem; width: 40px; height: 40px; background: var(--accent-light); border-radius: var(--r); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-item strong { display: block; font-size: .85rem; font-weight: 800; margin-bottom: 2px; }
.ci-item small { color: var(--text2); font-size: .85rem; }
.contact-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.cs-link {
  padding: 7px 16px; border: 1.5px solid var(--border);
  border-radius: var(--r); font-size: .83rem; font-weight: 700;
  color: var(--text2); transition: all var(--tr);
}
.cs-link:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }

/* Form */
.contact-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rxl); padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--sh-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .82rem; font-weight: 700; color: var(--text2); }
.req { color: var(--red); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 11px 15px;
  font-size: .9rem; color: var(--text1);
  transition: border-color var(--tr), box-shadow var(--tr); outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,94,244,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text3); }
select {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235b5ef4' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.form-success {
  background: rgba(16,185,129,.1); color: #059669;
  border: 1px solid rgba(16,185,129,.25); border-radius: var(--r);
  padding: 12px 16px; font-size: .88rem; font-weight: 600; text-align: center;
}

.form-error {
  background: rgba(239,68,68,.1); color: #dc2626;
  border: 1px solid rgba(239,68,68,.25); border-radius: var(--r);
  padding: 12px 16px; font-size: .88rem; font-weight: 600; text-align: center;
}


/* =============================================
   FOOTER
============================================= */
.footer { background: var(--bg2); border-top: 1px solid var(--border); }
.footer-top {
  display: grid; grid-template-columns: 1fr 2fr; gap: 60px;
  padding: 60px 0 48px;
}
.ft-brand { display: flex; flex-direction: column; gap: 12px; }
.ft-brand p { color: var(--text2); font-size: .88rem; line-height: 1.7; }
.ft-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ftl-col { display: flex; flex-direction: column; gap: 10px; }
.ftl-col strong { font-size: .82rem; font-weight: 800; color: var(--text1); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 4px; }
.ftl-col a { font-size: .87rem; color: var(--text3); transition: color var(--tr); }
.ftl-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: var(--text3); font-size: .84rem; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--text3); font-size: .84rem; transition: color var(--tr); }
.footer-legal a:hover { color: var(--accent); }

/* =============================================
   SCROLL ANIMATIONS
============================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-28px); transition: opacity .55s ease, transform .55s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(28px); transition: opacity .55s ease, transform .55s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { min-height: 280px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-right .btn-primary { display: none; }
  section { padding: 72px 0; }
  .hero { padding: 96px 0 64px; min-height: auto; }
  .hero-floats { display: none; }
  .hero-stats { gap: 20px; padding: 14px 20px; }
  .stat-sep { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .work-wide { grid-column: span 1; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi-featured { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .ft-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero-title { letter-spacing: -1.5px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-xl { width: 100%; }
  .contact-form { padding: 24px 18px; }
  .about-card-main { width: 100%; max-width: 300px; }
  .ab-1, .ab-2 { display: none; }
}

/* =============================================
   MODERNIZATION — ANIMATIONS & EFFECTS
============================================= */

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent2); }

/* Page fade-in */
@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageFadeIn .35s ease both; }

/* ---- Hero staggered entrance ---- */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pillGlow {
  0%, 100% { box-shadow: 0 2px 14px rgba(91,94,244,.14); }
  50%       { box-shadow: 0 4px 32px rgba(91,94,244,.45); }
}
.hero-pill    { animation: heroUp .7s .1s  both cubic-bezier(.22,1,.36,1), pillGlow 3s 1.2s ease-in-out infinite; }
.hero-title   { animation: heroUp .8s .25s both cubic-bezier(.22,1,.36,1); }
.hero-desc    { animation: heroUp .7s .4s  both cubic-bezier(.22,1,.36,1); }
.hero-actions { animation: heroUp .7s .55s both cubic-bezier(.22,1,.36,1); }
.hero-stats   { animation: heroUp .7s .7s  both cubic-bezier(.22,1,.36,1); }

/* Float cards: entrance then float */
.fc-1 { animation: heroUp .7s .9s  both cubic-bezier(.22,1,.36,1), floatUp 4s 1.6s ease-in-out infinite; }
.fc-2 { animation: heroUp .7s 1.1s both cubic-bezier(.22,1,.36,1), floatUp 4s 2.3s ease-in-out infinite; }
.fc-3 { animation: heroUp .7s 1.3s both cubic-bezier(.22,1,.36,1), floatUp 4s 2.7s ease-in-out infinite; }
.float-card { pointer-events: auto; }
.float-card:hover { box-shadow: var(--sh-lg) !important; }

/* ---- Animated gradient heading text ---- */
.gradient-text {
  background: linear-gradient(135deg, #5b5ef4 0%, #9b59f5 30%, #c026d3 65%, #5b5ef4 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 6s ease infinite;
}
@keyframes gradientFlow {
  0%, 100% { background-position: 0% 0%; }
  50%       { background-position: 100% 0%; }
}

/* ---- Card shine sweep on hover ---- */
.process-card { overflow: hidden; }
.testi-card   { overflow: hidden; }

.service-card::after,
.process-card::after,
.testi-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.08) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform .7s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  border-radius: inherit;
}
.service-card:hover::after,
.process-card:hover::after,
.testi-card:hover::after { transform: translateX(130%); }

/* ---- Featured card extra glow ---- */
.service-featured {
  box-shadow: var(--sh-md), 0 0 60px rgba(91,94,244,.22);
}
.service-featured:hover {
  box-shadow: var(--sh-lg), 0 0 90px rgba(91,94,244,.4) !important;
}

/* ---- Stagger reveal delays for grid children ---- */
.services-grid > *:nth-child(2),
.testi-grid    > *:nth-child(2) { transition-delay: .08s; }
.services-grid > *:nth-child(3),
.process-grid  > *:nth-child(2) { transition-delay: .16s; }
.services-grid > *:nth-child(4),
.process-grid  > *:nth-child(3) { transition-delay: .24s; }
.services-grid > *:nth-child(5),
.process-grid  > *:nth-child(4) { transition-delay: .32s; }
.services-grid > *:nth-child(6) { transition-delay: .40s; }

/* ---- Snappier reveal easing ---- */
.reveal       { transition: opacity .65s ease, transform .65s cubic-bezier(.22,1,.36,1); }
.reveal-left  { transition: opacity .65s ease, transform .65s cubic-bezier(.22,1,.36,1); }
.reveal-right { transition: opacity .65s ease, transform .65s cubic-bezier(.22,1,.36,1); }

/* ---- Nav link underline indicator ---- */
.nav-links a { position: relative; }
.nav-links a::after {
  content: '';
  position: absolute; bottom: 2px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 14px; height: 2px;
  background: var(--accent); border-radius: 100px;
  transition: transform .22s cubic-bezier(.22,1,.36,1);
}
.nav-links a:hover::after { transform: translateX(-50%) scaleX(1); }

/* ---- Button shine overlay ---- */
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,.13);
  transform: translateX(-100%);
  transition: transform .45s ease;
}
.btn-primary:hover::before { transform: translateX(0); }

/* ---- Process connector animated gradient ---- */
.process-grid::before {
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3), var(--accent));
  background-size: 200% 100%;
  animation: gradientFlow 4s ease infinite;
  opacity: .4;
}

/* ---- Stat values use tabular nums (no jitter on count) ---- */
.stat-val { font-variant-numeric: tabular-nums; }

/* ---- Dark mode orb boost ---- */
.orb-1 { opacity: .2; }
.orb-2 { opacity: .16; }
.orb-3 { opacity: .13; }

/* ---- Contact info item (missing CSS) ---- */
.contact-info-item {
  display: flex; align-items: center; gap: 14px;
  color: var(--text2); font-size: .92rem;
}
.contact-info-item svg {
  flex-shrink: 0; color: var(--accent);
  background: var(--accent-light);
  padding: 9px; width: 38px; height: 38px;
  border-radius: var(--r); box-sizing: border-box;
  transition: background var(--tr), color var(--tr);
}
.contact-info-item:hover svg { background: var(--accent); color: #fff; }

/* ---- Contact social links (missing CSS) ---- */
.contact-social {
  display: inline-block;
  padding: 7px 16px;
  border: 1.5px solid var(--border); border-radius: var(--r);
  font-size: .83rem; font-weight: 700; color: var(--text2);
  transition: all var(--tr);
}
.contact-social:hover {
  border-color: var(--accent); color: var(--accent); background: var(--accent-light);
}
