/* ===========================
   API-SYSTEMS — MAIN STYLESHEET
   Polished v2
   =========================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #04070f;
  --bg-2: #060b15;
  --bg-card: #0a1120;
  --bg-card-hover: #0e1628;
  --border: rgba(59, 130, 246, 0.12);
  --border-hover: rgba(59, 130, 246, 0.45);
  --blue: #3b82f6;
  --blue-bright: #60a5fa;
  --blue-dark: #1d4ed8;
  --blue-glow: rgba(59, 130, 246, 0.25);
  --text: #f0f4ff;
  --text-muted: #8fa3c0;
  --text-dim: #4d6380;
  --radius: 12px;
  --radius-lg: 18px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===========================
   GLOBAL BACKGROUND
   Animated star-field + mesh gradient
   =========================== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(29,78,216,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(59,130,246,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 100% 80% at 50% 50%, rgba(4,7,15,1) 40%, transparent 100%);
}

/* Animated mesh grid */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(59,130,246,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 30%, transparent 100%);
  animation: grid-drift 20s ease-in-out infinite alternate;
}

@keyframes grid-drift {
  0%   { background-position: 0 0; }
  100% { background-position: 36px 36px; }
}

/* Canvas-style floating particles (done via CSS pseudo on hero) */
.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.particles span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(96, 165, 250, 0.5);
  border-radius: 50%;
  animation: particle-float linear infinite;
}
.particles span:nth-child(1)  { left: 10%; top: 80%; animation-duration: 18s; animation-delay: 0s;   width: 3px; height: 3px; }
.particles span:nth-child(2)  { left: 25%; top: 90%; animation-duration: 22s; animation-delay: -4s;  }
.particles span:nth-child(3)  { left: 40%; top: 70%; animation-duration: 16s; animation-delay: -8s;  width: 1px; height: 1px; }
.particles span:nth-child(4)  { left: 55%; top: 95%; animation-duration: 20s; animation-delay: -2s;  }
.particles span:nth-child(5)  { left: 70%; top: 85%; animation-duration: 24s; animation-delay: -6s;  width: 3px; height: 3px; }
.particles span:nth-child(6)  { left: 85%; top: 75%; animation-duration: 14s; animation-delay: -10s; }
.particles span:nth-child(7)  { left: 5%;  top: 60%; animation-duration: 26s; animation-delay: -1s;  width: 1px; height: 1px; }
.particles span:nth-child(8)  { left: 90%; top: 50%; animation-duration: 19s; animation-delay: -7s;  }
.particles span:nth-child(9)  { left: 35%; top: 88%; animation-duration: 21s; animation-delay: -3s;  width: 2px; height: 2px; }
.particles span:nth-child(10) { left: 65%; top: 92%; animation-duration: 17s; animation-delay: -9s;  }
.particles span:nth-child(11) { left: 15%; top: 45%; animation-duration: 23s; animation-delay: -5s;  width: 1px; height: 1px; }
.particles span:nth-child(12) { left: 78%; top: 30%; animation-duration: 15s; animation-delay: -11s; }

@keyframes particle-float {
  0%   { transform: translateY(0) translateX(0);   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-100vh) translateX(30px); opacity: 0; }
}

/* ===========================
   GRADIENT TEXT & ACCENT
   =========================== */
.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 50%, #bfdbfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.accent { color: var(--blue-bright); }

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled {
  background: rgba(4, 7, 15, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  transition: opacity var(--transition);
}
.nav-logo:hover { opacity: 0.85; }
.nav-logo img {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.nav-links a:not(.btn-nav)::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--blue-bright);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
}
.nav-links a:not(.btn-nav):hover { color: var(--text); }
.nav-links a:not(.btn-nav):hover::after { transform: scaleX(1); }
.btn-nav {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark)) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  box-shadow: 0 2px 12px rgba(59,130,246,0.3);
  transition: all 0.25s ease !important;
}
.btn-nav:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(59,130,246,0.45) !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 28px 100px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 80px;
  z-index: 1;
}
.hero-bg { display: none; } /* replaced by body::before/after */

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 580px;
}

/* Hero entrance animations */
.hero-badge   { animation: hero-in 0.7s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.1s; }
.hero h1      { animation: hero-in 0.7s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.22s; }
.hero-sub     { animation: hero-in 0.7s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.34s; }
.hero-cta     { animation: hero-in 0.7s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.44s; }
.hero-stats   { animation: hero-in 0.7s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.54s; }
.hero-logo-wrap { animation: hero-logo-in 1s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.2s; }

@keyframes hero-in {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-logo-in {
  from { opacity: 0; transform: scale(0.88) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.25);
  color: var(--blue-bright);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 4px #22c55e; transform: scale(1); }
  50%       { box-shadow: 0 0 10px #22c55e, 0 0 20px rgba(34,197,94,0.3); transform: scale(1.3); }
}
.hero h1 {
  font-size: clamp(3.2rem, 6.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 24px;
  background: rgba(59,130,246,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  width: fit-content;
}
.stat { text-align: left; }
.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #f0f4ff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 2px;
}
.stat-divider {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
}
.hero-logo-wrap {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Orbit ring */
.logo-ring {
  width: 340px; height: 340px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 7s ease-in-out infinite;
}
.logo-ring::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 60%, rgba(59,130,246,0.6) 80%, transparent 100%);
  animation: orbit-spin 4s linear infinite;
  z-index: 0;
}
.logo-ring::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--bg);
  z-index: 0;
}
.logo-ring-inner {
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: radial-gradient(circle at 40% 35%, rgba(59,130,246,0.08) 0%, rgba(4,7,15,0.9) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 80px rgba(59,130,246,0.12),
    inset 0 0 60px rgba(59,130,246,0.06);
  position: relative;
  z-index: 1;
}
@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}
.hero-logo-img {
  width: 260px; height: 260px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 24px rgba(59,130,246,0.3));
}

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.925rem;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 4px 20px rgba(59,130,246,0.35);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(59,130,246,0.45);
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: translateY(-1px); }
.btn-primary.btn-large {
  padding: 16px 34px;
  font-size: 1rem;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,0.03);
  color: var(--text);
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.925rem;
  border: 1px solid var(--border);
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  border-color: var(--border-hover);
  background: rgba(59,130,246,0.07);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59,130,246,0.12);
}

/* ===========================
   SECTION HEADERS
   =========================== */
section { position: relative; z-index: 1; }
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-tag::before, .section-tag::after {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--blue-bright);
  opacity: 0.5;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===========================
   SERVICES
   =========================== */
.services {
  padding: 120px 0;
  background: transparent;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  background: rgba(10, 17, 32, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  backdrop-filter: blur(12px);
}
/* Shine sweep on hover */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.service-card:hover {
  border-color: rgba(59,130,246,0.35);
  background: rgba(14, 22, 40, 0.9);
  transform: translateY(-6px);
  box-shadow:
    0 20px 48px rgba(0,0,0,0.4),
    0 0 0 1px rgba(59,130,246,0.15),
    0 0 40px rgba(59,130,246,0.08);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after  { opacity: 1; }
.service-card--wide {
  grid-column: span 3;
  flex-direction: row;
  align-items: flex-start;
  gap: 28px;
}
.service-card--wide .service-icon { flex-shrink: 0; margin-top: 2px; }
.service-card--wide .counseling-content { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.service-icon {
  width: 50px; height: 50px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.18);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.35s ease;
}
.service-card:hover .service-icon {
  background: rgba(59,130,246,0.15);
  border-color: rgba(59,130,246,0.35);
  box-shadow: 0 0 20px rgba(59,130,246,0.2);
  transform: scale(1.05);
}
.service-icon svg { width: 22px; height: 22px; }
.service-icon i { font-size: 1.15rem; }
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.65;
  flex: 1;
}
.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.service-features.horizontal {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}
.service-features li {
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s ease;
}
.service-card:hover .service-features li { color: var(--text-muted); }
.service-features li::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 4px var(--blue);
}
.service-features.horizontal li {
  background: rgba(59,130,246,0.06);
  border: 1px solid rgba(59,130,246,0.14);
  padding: 4px 12px;
  border-radius: 100px;
  transition: all 0.2s ease;
}
.service-features.horizontal li::before { display: none; }
.service-features.horizontal li:hover {
  background: rgba(59,130,246,0.12);
  border-color: rgba(59,130,246,0.3);
}
.service-cta {
  color: var(--blue-bright);
  font-size: 0.83rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  align-self: flex-start;
  margin-top: auto;
}
.service-cta:hover {
  color: #fff;
  gap: 8px;
}

/* ===========================
   HOW IT WORKS
   =========================== */
.how-it-works {
  padding: 120px 0;
}
.steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  justify-content: center;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 48px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--blue-bright), var(--border), transparent);
  z-index: 0;
}
.step {
  flex: 1;
  text-align: center;
  padding: 32px 24px 28px;
  background: rgba(10,17,32,0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
  margin: 0 6px;
}
.step:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 30px rgba(59,130,246,0.08);
}
.step-num {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 18px;
  letter-spacing: -0.04em;
  display: block;
}
.step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.step-arrow { display: none; }

/* ===========================
   PORTFOLIO
   =========================== */
.portfolio {
  padding: 120px 0;
}
.portfolio-placeholder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 44px;
}
.portfolio-card {
  background: rgba(10,17,32,0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 24px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  backdrop-filter: blur(10px);
  cursor: default;
}
.portfolio-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 30px rgba(59,130,246,0.07);
}
.portfolio-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  filter: grayscale(20%);
}
.portfolio-card h4 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.portfolio-card span {
  font-size: 0.72rem;
  color: var(--blue-bright);
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.18);
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-transform: uppercase;
}
.portfolio-cta { text-align: center; }

/* ===========================
   FAQ
   =========================== */
.faq {
  padding: 120px 0;
}
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: rgba(10,17,32,0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(10px);
}
.faq-item.open {
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2), 0 0 20px rgba(59,130,246,0.06);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.925rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: 16px;
  transition: color 0.2s ease;
  font-family: var(--font);
}
.faq-question:hover { color: var(--blue-bright); }
.faq-icon {
  width: 22px; height: 22px;
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--blue-bright);
  flex-shrink: 0;
  transition: all 0.3s ease;
  font-style: normal;
  line-height: 1;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(59,130,246,0.12);
  border-color: rgba(59,130,246,0.5);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin: 0 24px;
  margin-bottom: 22px;
}

/* ===========================
   CTA BANNER
   =========================== */
.cta-banner {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(29,78,216,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(59,130,246,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.4), transparent);
}
.cta-bg { display: none; }
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-content h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  line-height: 1.15;
}
.cta-content p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: rgba(4,7,15,0.95);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.3), transparent);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.footer-brand img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}
.footer-logo-text {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 4px;
  font-style: italic;
}
.footer-links {
  display: flex;
  gap: 52px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.footer-col a:hover { color: var(--text); padding-left: 4px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,130,246,0.05);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.25s ease;
}
.footer-social a:hover {
  border-color: rgba(59,130,246,0.4);
  color: var(--blue-bright);
  background: rgba(59,130,246,0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59,130,246,0.15);
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   SELECTION & SCROLLBAR
   =========================== */
::selection {
  background: rgba(59,130,246,0.3);
  color: #fff;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: rgba(59,130,246,0.3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(59,130,246,0.5); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--wide { grid-column: span 2; }
  .portfolio-placeholder { grid-template-columns: repeat(2, 1fr); }
  .hero { flex-direction: column; text-align: center; gap: 60px; }
  .hero-sub { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-stats { margin: 0 auto; }
  .logo-ring { width: 260px; height: 260px; }
  .logo-ring-inner { width: 240px; height: 240px; }
  .hero-logo-img { width: 200px; height: 200px; }
  .steps::before { display: none; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(4,7,15,0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; }
  .hamburger { display: flex; z-index: 1001; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: span 1; flex-direction: column; }
  .steps { flex-direction: column; }
  .portfolio-placeholder { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 32px; }
  .hero { padding-top: 110px; }
  .hero h1 { font-size: clamp(2.8rem, 8vw, 4rem); }
}

@media (max-width: 480px) {
  .portfolio-placeholder { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .hero-stats { flex-wrap: wrap; justify-content: center; }
  .stat-divider { display: none; }
}
