/* ============================================
   Mandelbrot — Showcase Site Styles v2
   Premium Redesign
   ============================================ */

/* --- Design tokens --- */
:root {
  --color-bg: #fafbfc;
  --color-bg-alt: #f0f4f8;
  --color-surface: #ffffff;
  --color-text: #0f1c28;
  --color-text-light: #475569;
  --color-text-muted: #7a8d9c;
  --color-accent: #0a6bcc;
  --color-accent-hover: #0854a0;
  --color-accent-subtle: rgba(10, 107, 204, 0.07);
  --color-accent-glow: rgba(10, 107, 204, 0.15);
  --color-accent-2: #7c3aed;
  --color-border: #e2e8f0;
  --color-white: #ffffff;
  --color-card-hover: #f8fafc;

  --gradient-accent: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  --hero-gradient: linear-gradient(135deg, #020b14 0%, #061e35 30%, #0a3d66 65%, #0d1f38 100%);
  --approach-gradient: linear-gradient(135deg, #061e35 0%, #0d2d50 50%, #081a2e 100%);
  --navbar-bg: rgba(250, 251, 252, 0.82);
  --navbar-border: rgba(0, 0, 0, 0.06);
  --footer-bg: #0a1420;
  --footer-text: rgba(255, 255, 255, 0.55);

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-mono: 'Roboto Mono', ui-monospace, monospace;

  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 0 40px rgba(10, 107, 204, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --container-max: 1200px;
  --nav-height: 72px;
}

/* --- Dark mode --- */
[data-theme="dark"] {
  --color-bg: #0d1117;
  --color-bg-alt: #151b23;
  --color-surface: #1c2128;
  --color-text: #e6edf3;
  --color-text-light: #adbac7;
  --color-text-muted: #8b949e;
  --color-accent: #4da3ff;
  --color-accent-hover: #79bbff;
  --color-accent-subtle: rgba(77, 163, 255, 0.1);
  --color-accent-glow: rgba(77, 163, 255, 0.18);
  --color-accent-2: #a78bfa;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-card-hover: #21262d;

  --gradient-accent: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  --hero-gradient: linear-gradient(135deg, #010810 0%, #0d1117 30%, #111d2b 65%, #0d1117 100%);
  --approach-gradient: linear-gradient(135deg, #0a1018 0%, #111d2b 50%, #0a1018 100%);
  --navbar-bg: rgba(13, 17, 23, 0.88);
  --navbar-border: rgba(255, 255, 255, 0.06);
  --footer-bg: #010409;
  --footer-text: rgba(255, 255, 255, 0.6);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --shadow-glow: 0 0 40px rgba(77, 163, 255, 0.12);
}

/* --- Forced dark mode prevention ---
   Native prefers-color-scheme tells browsers we handle dark mode ourselves,
   preventing Android/Samsung auto-dark-mode from mangling colors. */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0d1117;
    --color-bg-alt: #151b23;
    --color-surface: #1c2128;
    --color-text: #e6edf3;
    --color-text-light: #adbac7;
    --color-text-muted: #8b949e;
    --color-accent: #4da3ff;
    --color-accent-hover: #79bbff;
    --color-accent-subtle: rgba(77, 163, 255, 0.1);
    --color-accent-glow: rgba(77, 163, 255, 0.18);
    --color-accent-2: #a78bfa;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-card-hover: #21262d;
    --gradient-accent: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
    --hero-gradient: linear-gradient(135deg, #010810 0%, #0d1117 30%, #111d2b 65%, #0d1117 100%);
    --approach-gradient: linear-gradient(135deg, #0a1018 0%, #111d2b 50%, #0a1018 100%);
    --navbar-bg: rgba(13, 17, 23, 0.88);
    --navbar-border: rgba(255, 255, 255, 0.06);
    --footer-bg: #010409;
    --footer-text: rgba(255, 255, 255, 0.6);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.04);
    --shadow-glow: 0 0 40px rgba(77, 163, 255, 0.12);
    color-scheme: dark;
  }
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); overflow-x: hidden; color-scheme: light dark; }
[data-theme="light"] {
  color-scheme: light;
  --color-bg: #fafbfc;
  --color-bg-alt: #f0f4f8;
  --color-surface: #ffffff;
  --color-text: #0f1c28;
  --color-text-light: #475569;
  --color-text-muted: #7a8d9c;
  --color-accent: #0a6bcc;
  --color-accent-hover: #0854a0;
  --color-accent-subtle: rgba(10, 107, 204, 0.07);
  --color-accent-glow: rgba(10, 107, 204, 0.15);
  --color-accent-2: #7c3aed;
  --color-border: #e2e8f0;
  --color-card-hover: #f8fafc;
  --gradient-accent: linear-gradient(135deg, #0a6bcc, #7c3aed);
  --hero-gradient: linear-gradient(135deg, #020b14 0%, #061e35 30%, #0a3d66 65%, #0d1f38 100%);
  --approach-gradient: linear-gradient(135deg, #061e35 0%, #0d2d50 50%, #081a2e 100%);
  --navbar-bg: rgba(250, 251, 252, 0.82);
  --navbar-border: rgba(0, 0, 0, 0.06);
  --footer-bg: #0a1420;
  --footer-text: rgba(255, 255, 255, 0.55);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 0 40px rgba(10, 107, 204, 0.12);
}
[data-theme="dark"] { color-scheme: dark; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background var(--transition), color var(--transition);
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-heading);
  text-wrap: balance;
}
p {
  text-wrap: pretty;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
  color: var(--color-text);
  position: relative;
}
.section-title::before {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
  margin: 0 auto 1.25rem;
}
.section-title--left { text-align: left; }
.section-title--left::before { margin: 0 0 1.25rem; }

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 4rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Gradient text utility */
.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
}
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }
.stagger-6 { transition-delay: 0.48s; }

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-accent);
  z-index: 1001;
  pointer-events: none;
  transition: none;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.01em;
  position: relative;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: 0 4px 14px rgba(10, 107, 204, 0.3);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  box-shadow: 0 6px 24px rgba(10, 107, 204, 0.4);
}
.btn--glow {
  box-shadow: 0 4px 15px rgba(10, 107, 204, 0.35), 0 0 50px rgba(10, 107, 204, 0.08);
}
.btn--glow:hover {
  box-shadow: 0 6px 25px rgba(10, 107, 204, 0.45), 0 0 70px rgba(10, 107, 204, 0.12);
}
.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--full { width: 100%; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--navbar-bg);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--navbar-border);
  z-index: 1000;
  transition: box-shadow var(--transition), background var(--transition);
}
.navbar--scrolled { box-shadow: var(--shadow-md); }
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.navbar__logo-img {
  height: 48px;
  width: auto;
  transition: filter var(--transition);
}
[data-theme="dark"] .navbar__logo-img {
  filter: brightness(0) invert(1);
}
.navbar__logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text);
}
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.navbar__link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-light);
  transition: color var(--transition);
  position: relative;
  padding: 0.25rem 0;
}
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 1px;
  transition: width var(--transition);
}
.navbar__link:hover { color: var(--color-accent); }
.navbar__link:hover::after { width: 100%; }
.navbar__link--active { color: var(--color-accent); }
.navbar__link--active::after { width: 100%; }

/* Controls (lang + theme) */
.navbar__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.lang-switch {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.lang-switch__btn {
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--color-text-muted);
  transition: background var(--transition), color var(--transition);
}
.lang-switch__btn:hover { background: var(--color-accent-subtle); color: var(--color-text); }
.lang-switch__btn--active {
  background: var(--color-accent);
  color: var(--color-white);
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: all var(--transition);
}
.theme-toggle:hover {
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  border-color: var(--color-accent-subtle);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon,
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* Burger */
.navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.navbar__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.active span:nth-child(2) { opacity: 0; }
.navbar__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hero-gradient);
  overflow: hidden;
  padding: calc(var(--nav-height) + 2rem) 24px 6rem;
}
#fractal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  pointer-events: none;
  transition: transform 0.15s ease-out;
}
.hero__content {
  position: relative;
  text-align: center;
  color: var(--color-white);
  max-width: 800px;
}

/* Hero entrance animation */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__content > * {
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.hero__content > :nth-child(1) { animation-delay: 0.15s; }
.hero__content > :nth-child(2) { animation-delay: 0.3s; }
.hero__content > :nth-child(3) { animation-delay: 0.45s; }
.hero__content > :nth-child(4) { animation-delay: 0.6s; }
.hero__content > :nth-child(5) { animation-delay: 0.75s; }
.hero__content > :nth-child(6) { animation-delay: 0.9s; }

.hero__logo {
  height: auto;
  width: min(380px, 55vw);
  margin: 0 auto 2.5rem;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.hero__badge {
  display: inline-block;
  padding: 0.45rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.08em;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(10px);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, #a5d8ff 40%, #ffffff 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  line-height: 1.85;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero stats */
.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--color-accent), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="dark"] .hero__stat-number {
  background: linear-gradient(135deg, #4da3ff, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero__stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.03em;
}
.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  transition: border-color var(--transition);
}
.hero__scroll:hover { border-color: rgba(255, 255, 255, 0.5); }
.hero__scroll span {
  width: 3px;
  height: 7px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  margin-top: 7px;
  animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(14px); opacity: 0.2; }
}

/* Decorative gradient orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(10, 107, 204, 0.15), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent 65%);
  pointer-events: none;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 8rem 0;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}
.services::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-accent-subtle), transparent 70%);
  pointer-events: none;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  padding: 2.25rem 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: translateY(-4px);
  border-color: var(--color-accent-subtle);
}
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  border-radius: 14px;
  margin-bottom: 1.5rem;
  transition: all var(--transition);
}
.service-card:hover .service-card__icon {
  background: var(--color-accent);
  color: white;
  box-shadow: 0 6px 20px rgba(10, 107, 204, 0.25);
  transform: scale(1.05);
}
[data-theme="dark"] .service-card:hover .service-card__icon {
  box-shadow: 0 6px 20px rgba(77, 163, 255, 0.2);
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}
.service-card p {
  color: var(--color-text-light);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* ============================================
   APPROACH (Dark themed section)
   ============================================ */
.approach {
  padding: 8rem 0;
  background: var(--approach-gradient);
  position: relative;
  overflow: hidden;
}
.approach::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(10, 107, 204, 0.1), transparent 65%);
  pointer-events: none;
}
.approach::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.07), transparent 65%);
  pointer-events: none;
}
.approach .section-title {
  color: #ffffff;
}
.approach .section-title::before {
  background: linear-gradient(135deg, #4da3ff, #a78bfa);
}
.approach .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.approach__timeline {
  position: relative;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.approach__line {
  position: absolute;
  top: 28px;
  left: calc(1rem + 24px);
  right: calc(1rem + 24px);
  height: 2px;
  background: linear-gradient(90deg, rgba(77, 163, 255, 0.15), rgba(77, 163, 255, 0.4), rgba(77, 163, 255, 0.15));
  border-radius: 1px;
  z-index: 0;
}
.approach-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  align-self: stretch;
}
.approach-step__number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #4da3ff;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(77, 163, 255, 0.4);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  transition: all var(--transition);
  flex-shrink: 0;
  backdrop-filter: blur(8px);
}
.approach-step:hover .approach-step__number {
  background: #4da3ff;
  color: #ffffff;
  border-color: #4da3ff;
  transform: scale(1.1);
  box-shadow: 0 0 0 0 rgba(77, 163, 255, 0.4);
  animation: pulse 1.5s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(77, 163, 255, 0.4); }
  70% { box-shadow: 0 0 0 16px rgba(77, 163, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(77, 163, 255, 0); }
}
.approach-card {
  padding: 2rem 1.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  box-shadow: none;
  transition: all var(--transition);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
  text-align: center;
  flex: 1;
  backdrop-filter: blur(8px);
}
.approach-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.approach-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}
.approach-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  line-height: 1.8;
  text-align: left;
}

/* ============================================
   TECHNOLOGIES (dark themed section)
   ============================================ */
.technologies {
  padding: 8rem 0;
  background: linear-gradient(160deg, #020a14 0%, #0a1628 35%, #111d30 60%, #080e1a 100%);
  position: relative;
  overflow: hidden;
}
.technologies::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(77, 163, 255, 0.08), transparent 65%);
  pointer-events: none;
}
.technologies::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.06), transparent 65%);
  pointer-events: none;
}
.technologies .section-title { color: #ffffff; }
.technologies .section-title::before {
  background: linear-gradient(135deg, #4da3ff, #a78bfa);
}
.technologies .section-subtitle { color: rgba(255, 255, 255, 0.75); }

/* Bento grid */
.tech__bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(260px, auto);
  align-items: stretch;
  gap: 1.25rem;
}

/* Color per card */
.tech__bento > :nth-child(1) { --cc: #4da3ff; --cc-r: 77, 163, 255; }
.tech__bento > :nth-child(2) { --cc: #a78bfa; --cc-r: 167, 139, 250; }
.tech__bento > :nth-child(3) { --cc: #22d3ee; --cc-r: 34, 211, 238; }
.tech__bento > :nth-child(4) { --cc: #34d399; --cc-r: 52, 211, 153; }
.tech__bento > :nth-child(5) { --cc: #fb923c; --cc-r: 251, 146, 60; }
.tech__bento > :nth-child(6) { --cc: #f472b6; --cc-r: 244, 114, 182; }

/* Card base */
.tech-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(var(--cc-r), 0.12);
}

/* Card body */
.tech-card__body {
  position: relative;
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-top: 2px solid rgba(var(--cc-r), 0.45);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: background var(--transition), border-color var(--transition);
}
.tech-card:hover .tech-card__body {
  background: rgba(var(--cc-r), 0.04);
  border-color: rgba(var(--cc-r), 0.2);
  border-top-color: var(--cc);
}

/* Header: icon + title side by side */
.tech-card__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}
.tech-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--cc-r), 0.1);
  border: 1px solid rgba(var(--cc-r), 0.2);
  border-radius: 12px;
  color: var(--cc);
  transition: all var(--transition);
}
.tech-card:hover .tech-card__icon {
  background: var(--cc);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(var(--cc-r), 0.35);
}

/* Text */
.tech-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}
.tech-card__desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Tags */
.tech-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
}
.tech-tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(var(--cc-r), 0.75);
  background: rgba(var(--cc-r), 0.07);
  border: 1px solid rgba(var(--cc-r), 0.18);
  border-radius: 6px;
  white-space: nowrap;
  transition: all var(--transition-fast);
}
.tech-tag:hover {
  color: var(--cc);
  background: rgba(var(--cc-r), 0.14);
  border-color: rgba(var(--cc-r), 0.35);
}

/* Watermark number */
.tech-card__num {
  position: absolute;
  bottom: -1rem;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(var(--cc-r), 0.06);
  user-select: none;
  pointer-events: none;
  transition: color var(--transition);
}
.tech-card:hover .tech-card__num {
  color: rgba(var(--cc-r), 0.1);
}

/* ============================================
   TEAM
   ============================================ */
.team {
  padding: 8rem 0;
  background: var(--color-bg-alt);
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 820px;
  margin: 0 auto;
}
.team-card {
  text-align: center;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.team-card:hover {
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--color-accent-subtle);
}
.team-card__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  padding: 4px;
  background: var(--gradient-accent);
  margin: 0 auto 1.5rem;
  transition: box-shadow var(--transition);
}
.team-card:hover .team-card__photo {
  box-shadow: 0 0 0 6px var(--color-accent-subtle), 0 8px 24px rgba(10, 107, 204, 0.15);
}
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.team-card__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--color-text);
}
.team-card__role {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.team-card__bio {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.8;
  text-align: left;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 8rem 0;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-accent-subtle), transparent 70%);
  pointer-events: none;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact__info-desc {
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.contact__promises {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact__promises li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
}
.contact__promises svg {
  flex-shrink: 0;
  color: var(--color-accent);
}
.contact__scope {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}
.contact__scope-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}
.contact__scope-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-light);
}
.contact__form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-subtle);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error {
  display: block;
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  min-height: 1.1em;
}
.form-group.error input,
.form-group.error textarea {
  border-color: #ef4444;
}
.form-feedback {
  text-align: center;
  margin-top: 1.25rem;
  font-weight: 500;
  font-size: 0.95rem;
  min-height: 1.5em;
}
.form-feedback--success { color: #22c55e; }
.form-feedback--error { color: #ef4444; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 3.5rem 0 2.5rem;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-white);
  font-size: 1.1rem;
}
.footer__brand img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer__social {
  display: flex;
  gap: 1rem;
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}
.footer__social-link:hover {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__legal, .footer__copy {
  font-size: 0.8rem;
}

/* ============================================
   RESPONSIVE — Tablet (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .approach__timeline { gap: 1.5rem; }
  .tech__bento { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { gap: 3rem; }
}

/* ============================================
   RESPONSIVE — Mobile (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .navbar__burger { display: flex; }
  .navbar__nav {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
  }
  .navbar__nav.open { transform: translateY(0); }
  .navbar__link { font-size: 1.05rem; }

  .hero { min-height: 100svh; padding-bottom: 5rem; }
  .hero__logo { width: min(280px, 50vw); margin-bottom: 1.5rem; }
  .hero__stats { gap: 1.5rem; }
  .hero__stat-number { font-size: 1.4rem; }
  .hero__stat-divider { height: 28px; }
  .hero__scroll { bottom: 1.5rem; }

  .services { padding: 5rem 0; }
  .services__grid { grid-template-columns: 1fr; }

  .approach { padding: 5rem 0; }
  .approach__timeline {
    flex-direction: column;
    gap: 0;
  }
  .approach__line {
    top: 0;
    bottom: 0;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(77, 163, 255, 0.15), rgba(77, 163, 255, 0.4), rgba(77, 163, 255, 0.15));
  }
  .approach-step {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
    padding-bottom: 2rem;
  }
  .approach-step__number {
    margin-bottom: 0;
    width: 48px;
    height: 48px;
    font-size: 1rem;
    flex-shrink: 0;
  }
  .approach-card { text-align: left; }

  .technologies { padding: 5rem 0; }
  .tech__bento { grid-template-columns: 1fr; }

  .team { padding: 5rem 0; }
  .team__grid { grid-template-columns: 1fr; max-width: 420px; }

  .contact { padding: 5rem 0; }
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact__info { text-align: center; }
  .section-title--left { text-align: center; }
  .section-title--left::before { margin: 0 auto 1.25rem; }
  .contact__info-desc { text-align: center; }
  .contact__promises {
    align-items: center;
  }
  .contact__form { padding: 1.75rem; }

  .section-subtitle { margin-bottom: 2.5rem; }
  .footer__top { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
}

/* ============================================
   RESPONSIVE — Small Mobile (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero__title { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .hero__logo { width: min(220px, 50vw); margin-bottom: 1.25rem; }
  .hero__badge { font-size: 0.72rem; padding: 0.4rem 1rem; }
  .hero__stats { flex-direction: column; gap: 1rem; padding-top: 2rem; }
  .hero__stat { flex-direction: row; gap: 0.6rem; }
  .hero__stat-divider { width: 40px; height: 1px; }

  .service-card { padding: 1.75rem 1.5rem; }
  .approach-card { padding: 1.5rem 1.25rem; }
  .tech-card { padding: 1.5rem; }
  .tech-card__num { font-size: 5rem; }
  .team-card { padding: 2rem 1.5rem; }
  .contact__form { padding: 1.5rem; }

  .btn { padding: 0.8rem 1.6rem; font-size: 0.9rem; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 280px; }
}
