/* ==========================================================================
   LTI TECHNOLOGY — DESIGN SYSTEM
   Ink/Paper/Indigo palette · Space Grotesk + Inter + JetBrains Mono
   ========================================================================== */

:root {
  /* --- Color tokens --- */
  --ink: #0B1220;
  --ink-soft: #131C2E;
  --paper: #FAFAF9;
  --paper-dim: #F1F1EE;
  --indigo: #3F3CFF;
  --indigo-bright: #5754FF;
  --indigo-deep: #1E1B4B;
  --indigo-tint: #EEEEFF;
  --slate: #5B6472;
  --slate-soft: #8A93A0;
  --line: #E4E4DF;
  --line-dark: rgba(255,255,255,0.10);
  --mint: #00C97D;
  --white: #FFFFFF;
  --card-bg: #FFFFFF;
  --card-border: rgba(0, 0, 0, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.42);
  --glass-border: rgba(255, 255, 255, 0.75);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);

  /* --- Type --- */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* --- Scale --- */
  --rail-w: 64px;
  --container: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  /* --- Motion --- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --ink: #F8FAFC;
  --ink-soft: #E2E8F0;
  --paper: #0A0E1A;
  --paper-dim: #121829;
  --indigo: #6366F1;
  --indigo-bright: #818CF8;
  --indigo-deep: #1E1B4B;
  --indigo-tint: rgba(99, 102, 241, 0.18);
  --slate: #94A3B8;
  --slate-soft: #64748B;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(255, 255, 255, 0.08);
  --white: #FFFFFF;
  --card-bg: #111827;
  --card-border: rgba(255, 255, 255, 0.10);
  --glass-bg: rgba(15, 23, 42, 0.48);
  --glass-border: rgba(255, 255, 255, 0.18);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--indigo); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Grain overlay for texture */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 64px 0;
  position: relative;
  scroll-margin-top: 74px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 22px;
}
.section-kicker-light { color: rgba(255,255,255,0.55); }

.kicker-index {
  color: var(--indigo);
  font-weight: 600;
}
.section-kicker-light .kicker-index { color: #8D8AFF; }

.section-title {
  font-size: clamp(34px, 4.6vw, 56px);
  margin-bottom: 4px;
}
.section-title-light { color: var(--white); }

.text-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  font-style: normal;
}
.text-outline-light { -webkit-text-stroke: 1.5px rgba(255,255,255,0.9); }

.section-sub {
  font-size: 17px;
  color: var(--slate);
  max-width: 560px;
  margin-top: 20px;
  line-height: 1.65;
}

.section-header { max-width: 720px; margin-bottom: 40px; }
.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  max-width: none;
  flex-wrap: wrap;
}
.section-header-split .section-sub { margin-top: 0; text-align: right; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.25s var(--ease-soft), color 0.25s var(--ease-soft), border-color 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft);
  border: 1px solid transparent;
}
.btn svg { transition: transform 0.3s var(--ease); flex-shrink: 0; }
.btn:hover svg { transform: translate(2px, -2px); }

.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--indigo);
  box-shadow: 0 8px 24px rgba(63,60,255,0.30);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 13.5px; }
.btn-lg { padding: 16px 30px; font-size: 15px; }
.btn-block { width: 100%; }

/* ==========================================================================
   RAIL (desktop side nav)
   ========================================================================== */
.rail {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-right: 1px solid var(--line);
  background: var(--paper);
  transition: background 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft);
}

.rail-top { color: var(--ink); }
.rail-mark {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  writing-mode: vertical-rl;
  letter-spacing: 0.18em;
  color: var(--ink);
  transition: color 0.3s var(--ease-soft), transform 0.3s var(--ease);
  display: inline-block;
  cursor: pointer;
}
.rail-top:hover .rail-mark {
  color: var(--indigo);
  transform: translateY(-2px);
}

/* Apple Dock Container Capsule */
.rail-dots {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding: 12px 6px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

[data-theme="dark"] .rail-dots {
  background: rgba(18, 24, 41, 0.75);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* Apple Dock Item */
.rail-dot {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  cursor: pointer;
  transform-origin: center left;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.rail-dot svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

/* Non-Disturbing Tooltip (compact floating badge right beside dock) */
.rail-dot span {
  position: absolute;
  left: 44px;
  top: 50%;
  transform: translateY(-50%) scale(0.85);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  background: #0B1220;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  z-index: 100;
}

.rail-dot:hover {
  background: var(--indigo);
  color: var(--white);
  border-color: var(--indigo);
  box-shadow: 0 6px 16px rgba(63, 60, 255, 0.4);
}

.rail-dot:hover span {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.rail-dot.active {
  background: var(--indigo);
  color: var(--white);
  border-color: var(--indigo-bright);
  box-shadow: 0 4px 14px rgba(63, 60, 255, 0.35);
}

.rail-bottom { writing-mode: vertical-rl; }
.rail-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--slate);
  text-transform: uppercase;
  transition: color 0.3s var(--ease-soft), transform 0.3s var(--ease);
  cursor: pointer;
}
.rail-status:hover {
  color: var(--ink);
  transform: translateY(-2px);
}

.rail-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(0,201,125,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,201,125,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(0,201,125,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,201,125,0); }
}

@media (max-width: 1024px) {
  .rail { display: none; }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  z-index: 150;
  background: linear-gradient(180deg, rgba(250, 250, 249, 0.05) 0%, rgba(250, 250, 249, 0.82) 100%);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: none;
  box-shadow: none;
  transition: background 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft);
}
.site-header.scrolled {
  background: linear-gradient(180deg, rgba(250, 250, 249, 0.25) 0%, rgba(250, 250, 249, 0.94) 100%);
  border-bottom: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .site-header {
  background: linear-gradient(180deg, rgba(10, 14, 26, 0.05) 0%, rgba(10, 14, 26, 0.88) 100%);
  border-bottom: none;
}
[data-theme="dark"] .site-header.scrolled {
  background: linear-gradient(180deg, rgba(10, 14, 26, 0.35) 0%, rgba(10, 14, 26, 0.96) 100%);
}
[data-theme="dark"] .brand-name {
  color: var(--ink);
}

/* Flips when the header overlaps a dark section (Why Us, Contact, Footer) */
.site-header.on-dark {
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.1) 0%, rgba(11, 18, 32, 0.92) 100%);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: none;
}
.site-header.on-dark .brand-mark,
.site-header.on-dark .brand-name { color: var(--white); }
.site-header.on-dark .brand-tag { color: rgba(255,255,255,0.45); }
.site-header.on-dark .main-nav a { color: rgba(255,255,255,0.65); }
.site-header.on-dark .main-nav a:hover { color: var(--white); }
.site-header.on-dark .btn-primary { background: var(--indigo); }
.site-header.on-dark .btn-primary:hover { background: var(--indigo-bright); }
.site-header.on-dark .nav-toggle span { background: var(--white); }

@media (max-width: 1024px) { .site-header { left: 0; } }

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #0B1220;
  padding: 5px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(11, 18, 32, 0.2);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
}
.brand-mark img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}
.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.08);
  border-color: var(--indigo);
  box-shadow: 0 6px 18px rgba(63, 60, 255, 0.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 16.5px; letter-spacing: -0.01em; }
.brand-tag { font-family: var(--font-mono); font-size: 10px; color: var(--slate); letter-spacing: 0.04em; }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate);
  position: relative;
  transition: color 0.25s var(--ease-soft);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1.5px;
  background: var(--indigo);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 26px; }
.nav-toggle span { display: block; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 24px 40px;
  background: var(--paper);
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 149;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease-soft), transform 0.3s var(--ease-soft), visibility 0.3s;
}
.mobile-menu a {
  padding: 15px 4px;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border: none; margin-top: 16px; text-align: center; }
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-actions .btn-sm { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { padding: 0 22px; height: 68px; }
}
@media (max-width: 1024px) {
  .section-inner { padding: 0 28px; }
}
@media (max-width: 620px) {
  .section-inner { padding: 0 20px; }
  .section { padding: 88px 0; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  margin-left: var(--rail-w);
  min-height: calc(100vh - 78px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 78px;
  padding-bottom: 24px;
  overflow: hidden;
}
@media (max-width: 1024px) { .hero { margin-left: 0; } }

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 90%);
  opacity: 0.6;
}

.hero-glow {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(63,60,255,0.18) 0%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

/* Vivid 3D Animated Background Object Scene */
.hero-3d-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  perspective: 1200px;
  contain: strict;
}

.hero-3d-object-wrap {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroOrbitMove 18s ease-in-out infinite alternate;
  opacity: 0.95;
  will-change: transform;
  transform: translate3d(-50%, -50%, 0);
  backface-visibility: hidden;
}

.hero-3d-sphere {
  position: absolute;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, #818CF8 0%, #4F46E5 40%, #00C97D 75%, #1E1B4B 100%);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 70px rgba(99, 102, 241, 0.5), inset 0 -22px 45px rgba(0, 0, 0, 0.35), inset 0 22px 45px rgba(255, 255, 255, 0.8);
  animation: heroSphereFloat 6s ease-in-out infinite alternate;
  opacity: 0.92;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.hero-3d-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
}

.hero-3d-ring-1 {
  width: 450px;
  height: 450px;
  border: 18px solid rgba(99, 102, 241, 0.6);
  border-top-color: rgba(0, 201, 125, 0.95);
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.45);
  animation: heroRingSpin1 10s linear infinite;
  opacity: 0.95;
  transform: translate3d(0, 0, 0);
}

.hero-3d-ring-2 {
  width: 380px;
  height: 380px;
  border: 14px solid rgba(0, 201, 125, 0.65);
  border-bottom-color: rgba(129, 140, 248, 0.95);
  box-shadow: 0 0 45px rgba(0, 201, 125, 0.4);
  animation: heroRingSpin2 14s linear infinite reverse;
  opacity: 0.95;
  transform: translate3d(0, 0, 0);
}

.hero-3d-cube {
  position: absolute;
  width: 85px;
  height: 85px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(99, 102, 241, 0.7));
  border: 2px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(63, 60, 255, 0.4);
  top: 5%;
  left: -20px;
  animation: heroCubeFloat 8s ease-in-out infinite alternate;
  opacity: 0.95;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

@keyframes heroOrbitMove {
  0% { transform: translate3d(-50%, -50%, 0) scale(1) rotate(0deg); }
  33% { transform: translate3d(calc(-50% + 120px), calc(-50% - 70px), 0) scale(1.15) rotate(120deg); }
  66% { transform: translate3d(calc(-50% - 140px), calc(-50% + 60px), 0) scale(0.9) rotate(240deg); }
  100% { transform: translate3d(calc(-50% + 40px), calc(-50% - 30px), 0) scale(1.05) rotate(360deg); }
}

@keyframes heroSphereFloat {
  0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50% { transform: translate3d(0, -35px, 0) scale(1.08) rotate(180deg); }
  100% { transform: translate3d(0, 25px, 0) scale(0.95) rotate(360deg); }
}

@keyframes heroRingSpin1 {
  0% { transform: rotateX(68deg) rotateY(25deg) rotateZ(0deg); }
  100% { transform: rotateX(68deg) rotateY(25deg) rotateZ(360deg); }
}

@keyframes heroRingSpin2 {
  0% { transform: rotateX(45deg) rotateY(-35deg) rotateZ(0deg); }
  100% { transform: rotateX(45deg) rotateY(-35deg) rotateZ(360deg); }
}

@keyframes heroCubeFloat {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(0, -40px, 0) rotate(90deg) scale(1.15); }
  100% { transform: translate3d(0, 20px, 0) rotate(180deg) scale(0.9); }
}

/* Theme Toggle Button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper-dim);
  color: var(--ink);
  transition: background 0.25s var(--ease-soft), border-color 0.25s var(--ease-soft), transform 0.25s var(--ease);
}
.theme-toggle:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  transform: rotate(15deg);
}
.sun-icon { display: none; }
.moon-icon { display: block; }

[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }

.hero-inner {
  position: relative;
  z-index: 10;
  padding-top: 24px;
  padding-bottom: 24px;
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: 44px;
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 660px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--indigo);
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  width: fit-content;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--indigo);
  box-shadow: 0 0 0 3px var(--indigo-tint);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.2vw, 54px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
  margin-top: 2px;
  animation: heroTextFloat 6s ease-in-out infinite alternate;
}
.hero-title-line { display: block; margin-top: 2px; }
.hero-title-highlight {
  font-style: normal;
  font-weight: 700;
  color: var(--indigo);
}
.hero-cursor {
  display: inline-block;
  color: var(--indigo);
  animation: blink 1.1s step-end infinite;
  font-weight: 400;
  margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-lede {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 600px;
  margin-top: 2px;
  animation: heroTextFloat 6s ease-in-out infinite alternate;
  animation-delay: -1.5s;
}
.hero-lede strong { color: var(--ink); font-weight: 600; }

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

.hero-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--card-bg);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  animation: heroTextFloat 5s ease-in-out infinite alternate;
}
.hero-pill:nth-child(2) {
  animation-delay: -2.5s;
}
.pill-check { color: var(--mint); font-weight: 700; }

/* Interactive Showcase Glassmorphic Mockup */
.hero-showcase {
  width: 100%;
  position: relative;
  z-index: 2;
  animation: heroBoxFloat 7s ease-in-out infinite alternate;
  will-change: transform;
}
.showcase-widget {
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(28px) saturate(1.9);
  -webkit-backdrop-filter: blur(28px) saturate(1.9);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(63, 60, 255, 0.15), 0 4px 20px rgba(0, 0, 0, 0.04), inset 0 1.5px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
[data-theme="dark"] .showcase-widget {
  background: rgba(17, 24, 39, 0.45);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), inset 0 1.5px 0 rgba(255, 255, 255, 0.15);
}
.showcase-widget:hover {
  transform: translateY(-4px) scale(1.008);
  box-shadow: 0 40px 85px rgba(63, 60, 255, 0.22), inset 0 2px 0 rgba(255, 255, 255, 1);
  border-color: rgba(63, 60, 255, 0.4);
}

.showcase-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  gap: 12px;
}
[data-theme="dark"] .showcase-bar {
  background: rgba(18, 24, 41, 0.45);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.showcase-dots { display: flex; gap: 6px; }
.showcase-address {
  flex: 1;
  max-width: 240px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 4px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-theme="dark"] .showcase-address {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(255, 255, 255, 0.15);
}

.showcase-status {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mint);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.showcase-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  overflow-x: auto;
  scrollbar-width: none;
}
.showcase-tabs::-webkit-scrollbar { display: none; }

.showcase-tab {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
  transition: all 0.25s var(--ease-soft);
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid transparent;
}
.showcase-tab:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
}
.showcase-tab.active {
  background: var(--indigo);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(63, 60, 255, 0.35);
}

.showcase-screen {
  position: relative;
  min-height: 290px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.2);
}
[data-theme="dark"] .showcase-screen {
  background: rgba(10, 14, 26, 0.25);
}

.showcase-panel {
  display: none;
  animation: fadeInScale 0.35s var(--ease);
}
.showcase-panel.active { display: block; }

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes heroBoxFloat {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -8px, 0) rotate(0.3deg); }
  100% { transform: translate3d(0, 5px, 0) rotate(-0.3deg); }
}

@keyframes heroTextFloat {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -5px, 0); }
  100% { transform: translate3d(0, 3px, 0); }
}

/* Showcase Content Templates - Firmly anchored inside box */
.preview-hero {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
  margin-bottom: 14px;
}
[data-theme="dark"] .preview-hero {
  background: rgba(18, 24, 41, 0.55);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.preview-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--indigo);
  font-weight: 600;
  margin-bottom: 6px;
}
.preview-title { font-size: 16px; font-weight: 600; line-height: 1.3; margin-bottom: 6px; }
.preview-desc { font-size: 12.5px; color: var(--slate); margin-bottom: 14px; line-height: 1.5; }
.preview-actions { display: flex; gap: 8px; }
.mini-btn {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-block;
}
.mini-btn-primary { background: var(--indigo); color: var(--white); }
.mini-btn-outline { border: 1px solid var(--line); color: var(--ink); }

.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.preview-card {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}
[data-theme="dark"] .preview-card {
  background: rgba(18, 24, 41, 0.55);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.preview-icon { font-size: 16px; display: block; margin-bottom: 4px; }
.preview-card h5 { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.preview-card p { font-size: 11px; color: var(--slate); }

.preview-store { display: flex; flex-direction: column; gap: 12px; }
.store-header { display: flex; justify-content: space-between; align-items: center; }
.store-header h4 { font-size: 15px; font-weight: 600; }
.mini-badge { font-size: 10.5px; background: var(--mint); color: #000; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.store-item {
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-sm);
  padding: 10px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}
[data-theme="dark"] .store-item {
  background: rgba(18, 24, 41, 0.55);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.store-img {
  height: 70px;
  border-radius: 6px;
  background: var(--paper-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 8px;
}
.store-info h6 { font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.store-price { font-size: 12px; font-weight: 700; color: var(--indigo); display: block; margin-bottom: 8px; }
.old-price { color: var(--slate); font-weight: 400; font-size: 10.5px; text-decoration: line-through; }
.mini-cart-btn {
  width: 100%;
  padding: 5px;
  font-size: 11px;
  font-weight: 600;
  background: var(--ink);
  color: var(--white);
  border-radius: 6px;
  transition: background 0.2s ease;
}
.mini-cart-btn:hover { background: var(--indigo); }

.preview-service { display: flex; flex-direction: column; gap: 14px; }
.service-banner { display: flex; gap: 12px; align-items: center; padding: 14px; background: var(--paper-dim); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.service-icon { font-size: 32px; }
.service-banner h4 { font-size: 14.5px; font-weight: 600; }
.service-banner p { font-size: 11.5px; color: var(--slate); }
.service-booking { padding: 14px; background: var(--paper); border-radius: var(--radius-sm); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.booking-row { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 500; }
.time-pill { font-size: 11px; background: var(--indigo-tint); color: var(--indigo); font-weight: 600; padding: 3px 8px; border-radius: 4px; }
.btn-book { width: 100%; padding: 8px; background: var(--mint); color: #000; font-weight: 700; font-size: 12px; border-radius: 6px; }

.preview-app { padding: 16px; background: var(--paper-dim); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.app-badge { font-size: 10px; font-family: var(--font-mono); background: var(--indigo); color: var(--white); padding: 2px 6px; border-radius: 4px; display: inline-block; margin-bottom: 8px; }
.preview-app h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.preview-app p { font-size: 12px; color: var(--slate); margin-bottom: 14px; }
.app-metrics { display: flex; gap: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.app-stat { display: flex; flex-direction: column; }
.app-stat strong { font-size: 16px; font-weight: 700; color: var(--indigo); }
.app-stat span { font-size: 10.5px; color: var(--slate); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 900px;
}
.stat-card {
  background: var(--card-bg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.3s var(--ease-soft);
}
.stat-card:hover { background: var(--paper-dim); }
.stat-card-accent { background: var(--ink); }
.stat-card-accent:hover { background: var(--indigo-deep); }
.stat-card-accent .stat-num { color: var(--white); }
.stat-card-accent .stat-label { color: rgba(255,255,255,0.55); }

.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--slate);
  letter-spacing: 0.01em;
}

@media (max-width: 760px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-soft);
}
.scroll-line { width: 1px; height: 40px; background: var(--line); position: relative; overflow: hidden; }
.scroll-line-fill { position: absolute; top: 0; left: 0; width: 100%; height: 40%; background: var(--indigo); animation: scrollFill 1.8s var(--ease-soft) infinite; }
@keyframes scrollFill { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }

/* ==========================================================================
   VISUAL PSYCHOLOGY COMPONENTS & 3D GLASS CARDS
   ========================================================================== */

.split-3d-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .split-3d-grid { grid-template-columns: 1fr; gap: 32px; }
}

.pill-dot-live {
  color: var(--mint);
  margin-right: 4px;
  font-size: 10px;
}

.about-visual-card {
  width: 100%;
}
.visual-glass-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-lg);
  background: var(--card-bg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.visual-glass-frame:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 60px rgba(63, 60, 255, 0.16);
}
.visual-3d-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.visual-glass-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  padding: 12px 18px;
  background: rgba(11, 18, 32, 0.78);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
}
.glass-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.glass-metric {
  font-size: 12px;
  font-weight: 700;
  color: var(--mint);
}

/* Service Visual Component Cards */
.service-visual-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-widget-frame {
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 18px;
}
.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--slate);
  margin-bottom: 10px;
}
.widget-title { font-weight: 600; color: var(--ink); }
.widget-badge {
  font-size: 10px;
  background: var(--indigo-tint);
  color: var(--indigo);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.widget-body {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.widget-body.flex-row {
  display: flex;
  gap: 8px;
  padding: 8px;
}
.code-preview-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  margin-bottom: 6px;
}
.code-tag { color: var(--indigo); font-weight: 600; }
.code-val { color: var(--mint); font-weight: 600; }
.widget-speed-bar {
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.speed-fill {
  width: 100%;
  height: 100%;
  background: var(--mint);
  border-radius: 999px;
}

.swatch {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 8px 4px;
  border-radius: 4px;
  color: var(--white);
}
.swatch-indigo { background: var(--indigo); }
.swatch-cyan { background: var(--mint); color: #000; }
.swatch-dark { background: var(--ink); }

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.cart-summary-row strong { color: var(--indigo); font-size: 13px; }

.stat-pill-row {
  display: flex;
  gap: 8px;
}
.pill-stat {
  font-size: 10.5px;
  font-family: var(--font-mono);
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--paper-dim);
  color: var(--slate);
}
.pill-stat.highlight {
  background: var(--indigo);
  color: var(--white);
  font-weight: 600;
}

.motion-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--indigo);
}
.motion-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--indigo);
  box-shadow: 0 0 0 3px var(--indigo-tint);
}
@media (max-width: 900px) { .scroll-cue { display: none; } }

/* ==========================================================================
   TRUST STRIP / MARQUEE
   ========================================================================== */
.trust-strip {
  margin-left: var(--rail-w);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 22px 0;
  overflow: hidden;
}
@media (max-width: 1024px) { .trust-strip { margin-left: 0; } }

.marquee { width: 100%; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--slate-soft);
  white-space: nowrap;
}
.marquee-track .dot { color: var(--line); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
  margin-left: var(--rail-w);
  background: var(--white);
}
@media (max-width: 1024px) { .about { margin-left: 0; } }

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  margin-bottom: 80px;
}

.about-head { position: sticky; top: 110px; align-self: start; }

.about-lede {
  font-size: 21px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 24px;
}
.about-lede strong { color: var(--indigo); font-weight: 600; }

.about-body-text {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 32px;
}
.about-body-text strong { color: var(--ink); font-weight: 600; }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--slate);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.about-stat { display: flex; flex-direction: column; gap: 6px; }
.about-stat-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--indigo);
}
.about-stat-label { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.about-stat-desc { font-size: 13px; color: var(--slate); line-height: 1.5; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-head { position: static; }
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { margin-left: var(--rail-w); background: var(--paper); }
@media (max-width: 1024px) { .services { margin-left: 0; } }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--white);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  transition: background 0.35s var(--ease-soft);
  position: relative;
}
.service-card:hover { background: var(--paper-dim); }

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 26px;
}
.service-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--indigo-tint);
  color: var(--indigo);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease-soft), color 0.3s var(--ease-soft);
}
.service-card:hover .service-icon {
  background: var(--ink);
  color: var(--white);
  transform: rotate(-6deg) scale(1.05);
}
.service-index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate-soft);
}

.service-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tags span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--slate);
}

.service-card-cta {
  background: var(--ink);
  display: flex;
  align-items: flex-end;
}
.service-card-cta:hover { background: var(--indigo-deep); }
.service-cta-content h3 { color: var(--white); font-size: 21px; margin-bottom: 10px; }
.service-cta-content p { color: rgba(255,255,255,0.55); margin-bottom: 22px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: inherit;
}
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }
.service-card-cta .link-arrow { color: var(--white); }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   SOLUTIONS / INDUSTRY WEBSITE EXAMPLES
   ========================================================================== */
.solutions {
  margin-left: var(--rail-w);
  background: var(--paper-dim);
  border-top: 1px solid var(--line);
}
@media (max-width: 1024px) { .solutions { margin-left: 0; } }

.solutions-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding: 6px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: fit-content;
  box-shadow: var(--shadow-sm);
}

.solutions-filter-btn {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--slate);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease-soft);
  cursor: pointer;
}
.solutions-filter-btn:hover {
  color: var(--ink);
  background: var(--paper-dim);
}
.solutions-filter-btn.active {
  background: var(--indigo);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(63, 60, 255, 0.35);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
@media (max-width: 1100px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 700px) {
  .solutions-grid { grid-template-columns: 1fr; gap: 20px; }
}

.solution-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  will-change: transform;
}
.solution-card:hover {
  transform: translateY(-6px) scale(1.008);
  box-shadow: 0 20px 40px rgba(63, 60, 255, 0.14);
  border-color: var(--indigo);
}
.solution-card.hidden {
  display: none !important;
}

.solution-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9.5;
  overflow: hidden;
  background: var(--paper-dim);
}
.solution-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.solution-card:hover .solution-media img {
  transform: scale(1.05);
}

.solution-badge-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 18, 32, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.02em;
}

.solution-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.1) 0%, rgba(11, 18, 32, 0.82) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s var(--ease-soft);
}
.solution-card:hover .solution-hover-overlay {
  opacity: 1;
}

.solution-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: #0B1220;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(8px);
  transition: transform 0.3s var(--ease);
}
.solution-card:hover .solution-view-btn {
  transform: translateY(0);
}

.solution-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.solution-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.solution-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--indigo);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.solution-delivery {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--mint);
  background: rgba(0, 201, 125, 0.12);
  padding: 3px 8px;
  border-radius: 999px;
}

.solution-content h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}
.solution-content p {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.solution-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.solution-features span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-soft);
  background: var(--paper-dim);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
}

.solutions-footer-cta {
  margin-top: 16px;
}
.solutions-cta-box {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 860px) {
  .solutions-cta-box { flex-direction: column; text-align: center; padding: 28px 24px; }
}
.solutions-cta-text h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.solutions-cta-text p {
  font-size: 14.5px;
  color: var(--slate);
  margin: 0;
}

/* ==========================================================================
   WORK / PORTFOLIO
   ========================================================================== */
.work { margin-left: var(--rail-w); background: var(--white); }
@media (max-width: 1024px) { .work { margin-left: 0; } }

.work-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.work-item {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--white);
  align-items: stretch;
}
.work-item:nth-child(even) { direction: rtl; }
.work-item:nth-child(even) > * { direction: ltr; }

.work-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10.5;
  background: var(--paper-dim);
}
.work-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.work-media:hover img { transform: scale(1.055); }

.work-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,18,32,0) 40%, rgba(11,18,32,0.72) 100%);
  display: flex;
  align-items: flex-end;
  padding: 26px;
  opacity: 0;
  transition: opacity 0.4s var(--ease-soft);
}
.work-media:hover .work-media-overlay { opacity: 1; }

.work-visit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 14.5px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
}

.work-info {
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.work-info-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.work-category {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--indigo);
  padding: 5px 12px;
  background: var(--indigo-tint);
  border-radius: 999px;
}
.work-num { font-family: var(--font-mono); font-size: 13px; color: var(--slate-soft); }

.work-info h3 { font-size: 30px; margin-bottom: 14px; }
.work-info h3 a { transition: color 0.25s var(--ease-soft); }
.work-info h3 a:hover { color: var(--indigo); }
.work-info p { font-size: 15.5px; color: var(--slate); line-height: 1.7; margin-bottom: 22px; max-width: 420px; }

.work-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.work-tags span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--slate);
}

.work-cta {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.work-cta p { color: var(--slate); font-size: 15px; }

@media (max-width: 900px) {
  .work-item { grid-template-columns: 1fr; }
  .work-item:nth-child(even) { direction: ltr; }
  .work-info { padding: 34px 6px 0; }
  .work-media { aspect-ratio: 16/11; }
}

/* ==========================================================================
   WHY US (dark section)
   ========================================================================== */
.why {
  margin-left: var(--rail-w);
  background: var(--ink);
  color: var(--white);
  position: relative;
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  margin-top: -40px;
  padding-top: 180px;
}
@media (max-width: 1024px) { .why { margin-left: 0; } }
@media (max-width: 620px) { .why { clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%); margin-top: -20px; padding-top: 108px; } }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 64px;
}
.why-card {
  background: var(--ink-soft);
  padding: 44px 38px;
  transition: background 0.35s var(--ease-soft);
}
.why-card:hover { background: #1A2438; }
.why-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #8D8AFF;
  margin-bottom: 20px;
}
.why-card h3 { color: var(--white); font-size: 21px; margin-bottom: 14px; line-height: 1.25; }
.why-card p { color: rgba(255,255,255,0.55); font-size: 14.5px; line-height: 1.7; }

.why-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 48px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(63,60,255,0.12), transparent);
  flex-wrap: wrap;
  gap: 24px;
}
.why-banner-item { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.why-banner-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  color: var(--white);
}
.why-banner-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255,255,255,0.5);
}
.why-banner-divider { width: 1px; height: 44px; background: var(--line-dark); }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .why-banner { justify-content: center; }
  .why-banner-divider { display: none; }
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing { margin-left: var(--rail-w); background: var(--paper); }
@media (max-width: 1024px) { .pricing { margin-left: 0; } }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease-soft);
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -20px rgba(11,18,32,0.14);
  border-color: var(--line);
}

.price-card-featured {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.price-card-featured:hover { box-shadow: 0 30px 60px -20px rgba(63,60,255,0.35); }

.price-badge {
  position: absolute;
  top: -13px;
  left: 30px;
  background: var(--indigo);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.price-card-head { margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.price-card-featured .price-card-head { border-bottom-color: rgba(255,255,255,0.12); }

.price-tier {
  display: block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 14px;
}
.price-card-featured .price-tier { color: #8D8AFF; }

.price-value { display: flex; align-items: flex-start; gap: 2px; margin-bottom: 14px; }
.price-currency { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-top: 6px; }
.price-amount { font-family: var(--font-display); font-size: 42px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.price-amount-text { font-size: 30px; }
.price-plus { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-top: 6px; }

.price-desc { font-size: 14px; color: var(--slate); line-height: 1.6; margin-bottom: 16px; }
.price-card-featured .price-desc { color: rgba(255,255,255,0.6); }

.price-delivery {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--mint);
  background: rgba(0,201,125,0.10);
  padding: 5px 12px;
  border-radius: 999px;
}

.price-features { display: flex; flex-direction: column; gap: 13px; margin-bottom: 26px; flex-grow: 1; }
.price-features li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
}
.price-card-featured .price-features li { color: rgba(255,255,255,0.85); }
.price-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 14px; height: 14px;
  border-radius: 4px;
  background: var(--indigo-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%233F3CFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.price-card-featured .price-features li::before { background-color: rgba(141,138,255,0.18); }
.price-features li strong { color: var(--indigo); font-weight: 600; }
.price-card-featured .price-features li strong { color: #8D8AFF; }

.price-features-compact { gap: 10px; margin-bottom: 0; }
.price-features-compact li { font-size: 13px; }

.price-best-for {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 26px;
}
.price-best-for span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--slate);
}
.price-card-featured .price-best-for span { border-color: rgba(255,255,255,0.18); color: rgba(255,255,255,0.6); }

.price-card-featured .btn-primary { background: var(--indigo); }
.price-card-featured .btn-primary:hover { background: var(--indigo-bright); }
.price-card-featured .btn-outline { border-color: rgba(255,255,255,0.3); color: var(--white); }
.price-card-featured .btn-outline:hover { background: var(--white); color: var(--ink); }

.price-card-enterprise { background: var(--paper-dim); border-style: dashed; }
.price-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 26px; flex-grow: 1; }
.price-column-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-soft);
  margin-bottom: 14px;
}

.pricing-footnote {
  margin-top: 44px;
  text-align: center;
  font-size: 13px;
  color: var(--slate-soft);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1180px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-columns { grid-template-columns: 1fr; gap: 20px; }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials { margin-left: var(--rail-w); background: var(--white); }
@media (max-width: 1024px) { .testimonials { margin-left: 0; } }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.testimonial-card {
  background: var(--white);
  padding: 40px 40px 34px;
  display: flex;
  flex-direction: column;
  transition: background 0.3s var(--ease-soft);
}
.testimonial-card:hover { background: var(--paper-dim); }

.quote-mark { color: var(--indigo-tint); margin-bottom: 18px; }
.testimonial-card p {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 28px;
  flex-grow: 1;
}
.testimonial-card footer { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--indigo-tint);
  color: var(--indigo);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}
.testimonial-meta { display: flex; flex-direction: column; }
.testimonial-meta strong { font-size: 14.5px; }
.testimonial-meta span { font-size: 13px; color: var(--slate); }

@media (max-width: 760px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  margin-left: var(--rail-w);
  background: var(--ink);
  color: var(--white);
  position: relative;
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  margin-top: -40px;
  padding-top: 180px;
}
@media (max-width: 1024px) { .contact { margin-left: 0; } }
@media (max-width: 620px) { .contact { clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%); margin-top: -20px; padding-top: 108px; } }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
}

.contact-lede {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 440px;
  margin: 24px 0 44px;
}

.contact-channels { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; }
.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  transition: background 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft), transform 0.3s var(--ease);
}
.contact-channel:hover {
  background: rgba(63,60,255,0.10);
  border-color: rgba(63,60,255,0.4);
  transform: translateX(4px);
}
.contact-channel-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: #8D8AFF;
  flex-shrink: 0;
}
.contact-channel-text { display: flex; flex-direction: column; gap: 2px; }
.contact-channel-text strong { font-size: 15px; }
.contact-channel-text span { font-size: 13.5px; color: rgba(255,255,255,0.5); font-family: var(--font-mono); }

.contact-social-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 14px;
}
.contact-social-links { display: flex; gap: 12px; }
.contact-social-links a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: background 0.25s var(--ease-soft), color 0.25s var(--ease-soft), border-color 0.25s var(--ease-soft);
}
.contact-social-links a:hover { background: var(--indigo); color: var(--white); border-color: var(--indigo); }

.contact-form {
  background: var(--ink-soft);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-dark);
}
.form-header-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-row .field { margin-bottom: 0; }
.field label { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.65); }
.field input, .field textarea, .field select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14.5px;
  color: var(--white);
  transition: border-color 0.25s var(--ease-soft), background 0.25s var(--ease-soft);
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.3); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--indigo);
  background: rgba(63,60,255,0.06);
  outline: none;
}
.field select { 
  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' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='rgba(255,255,255,0.7)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); 
  background-repeat: no-repeat; 
  background-position: right 16px center; 
  color: #FFFFFF;
}
.field select option {
  background-color: #111827;
  color: #FFFFFF;
  padding: 10px;
}
.field textarea { resize: vertical; min-height: 110px; font-family: var(--font-body); }

.contact-form .btn-primary { margin-top: 6px; }
.btn-text-sent { display: none; }
.btn.sent .btn-text-default { display: none; }
.btn.sent .btn-text-sent { display: inline; }
.btn.sent { background: var(--mint) !important; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 18px; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  margin-left: var(--rail-w);
  background: var(--indigo-deep);
  color: var(--white);
  padding: 72px 0 28px;
}
@media (max-width: 1024px) { .site-footer { margin-left: 0; } }

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  flex-wrap: wrap;
}
.footer-brand { max-width: 340px; }
.footer-brand .brand-mark { color: var(--white); }
.footer-brand .brand-mark img { width: 30px; height: 30px; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-top: 18px; }

.footer-links { display: flex; gap: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 13px; }
.footer-col span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.7); transition: color 0.25s var(--ease-soft); }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 700px) {
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links { gap: 36px; flex-wrap: wrap; }
}

/* ==========================================================================
   TO TOP BUTTON
   ========================================================================== */
.to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #0B1220;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease-soft), transform 0.3s var(--ease-soft), background 0.25s var(--ease-soft), visibility 0.3s;
  box-shadow: 0 12px 28px -8px rgba(11,18,32,0.4);
}
.to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--indigo); color: #FFFFFF; }

[data-theme="dark"] .to-top {
  background: var(--indigo);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .to-top:hover {
  background: var(--indigo-bright);
  color: #FFFFFF;
}

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.05s; }
.reveal[data-delay="2"] { transition-delay: 0.15s; }
.reveal[data-delay="3"] { transition-delay: 0.25s; }
.reveal[data-delay="4"] { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   WORK MEDIA — CUSTOM BROWSER MOCKUPS
   (replaces hotlinked screenshots with self-contained, reliable visuals)
   ========================================================================== */
.work-media-mock {
  background: var(--paper-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.mock-browser {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 50px -18px rgba(11,18,32,0.28);
  display: flex;
  flex-direction: column;
  transition: transform 0.6s var(--ease);
}
.work-media:hover .mock-browser { transform: scale(1.02) translateY(-4px); }

.mock-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #F0F0EE;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: #D8D8D3; flex-shrink: 0; }
.mock-dot:nth-child(1) { background: #FF6259; }
.mock-dot:nth-child(2) { background: #FFBD2E; }
.mock-dot:nth-child(3) { background: #27C93F; }
.mock-url {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--slate-soft);
  background: var(--white);
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex-shrink: 1;
}

.mock-browser-body {
  flex-grow: 1;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow: hidden;
}

/* --- Nav row --- */
.mock-nav { display: flex; align-items: center; gap: 16px; }
.mock-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--indigo);
  background: var(--indigo-tint);
  padding: 4px 9px;
  border-radius: 5px;
}
.mock-navlink { width: 34px; height: 6px; border-radius: 3px; background: var(--line); }
.mock-cart { margin-left: auto; width: 20px; height: 20px; border-radius: 5px; background: var(--indigo-tint); }

/* --- E-commerce hero block --- */
.mock-hero { display: flex; gap: 20px; align-items: center; }
.mock-hero-text { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.mock-line { display: block; border-radius: 3px; background: var(--line); }
.mock-line-lg { width: 85%; height: 11px; background: var(--ink); opacity: 0.85; }
.mock-line-md { width: 60%; height: 8px; }
.mock-chip {
  margin-top: 8px;
  width: 70px; height: 18px;
  border-radius: 999px;
  background: var(--indigo);
}
.mock-hero-visual {
  width: 78px; height: 78px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--indigo-tint), #DCDBFF);
  flex-shrink: 0;
}

.mock-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock-card { aspect-ratio: 1; border-radius: 8px; background: var(--paper-dim); border: 1px solid var(--line); }

/* --- Dark portfolio variant --- */
.mock-browser-dark { background: var(--ink); }
.mock-browser-body-dark { background: var(--ink); }
.mock-nav-dark { border-bottom: 1px solid var(--line-dark); padding-bottom: 16px; }
.mock-logo-dark { background: rgba(141,138,255,0.16); color: #8D8AFF; }
.mock-navlink-dark { background: rgba(255,255,255,0.14); }

.mock-portfolio-hero { display: flex; flex-direction: column; gap: 12px; padding: 8px 0; }
.mock-tag { width: 90px; height: 16px; border-radius: 999px; background: rgba(141,138,255,0.16); }
.mock-line-xl { height: 16px; }
.mock-line-sm { height: 7px; width: 45%; }
.mock-line-dark { background: rgba(255,255,255,0.16); }

.mock-case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mock-case-card {
  aspect-ratio: 16/10;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(141,138,255,0.14), rgba(255,255,255,0.03));
  border: 1px solid var(--line-dark);
}

@media (max-width: 900px) {
  .work-media-mock { padding: 18px; }
  .mock-hero-visual { display: none; }
  .mock-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process { margin-left: var(--rail-w); background: var(--white); }
@media (max-width: 1024px) { .process { margin-left: 0; } }

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 8px;
}

.process-line {
  position: absolute;
  top: 24px;
  left: calc(12.5% - 1px);
  right: calc(12.5% - 1px);
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.process-line-fill {
  height: 100%;
  width: 0%;
  background: var(--indigo);
  transition: width 1.4s var(--ease) 0.3s;
}
.process-track.in-view .process-line-fill { width: 100%; }

.process-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.process-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate-soft);
  margin-bottom: 14px;
}

.process-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo);
  margin-bottom: 22px;
  transition: border-color 0.3s var(--ease-soft), transform 0.4s var(--ease), background 0.3s var(--ease-soft);
}
.process-step:hover .process-icon {
  border-color: var(--indigo);
  background: var(--ink);
  color: var(--white);
  transform: scale(1.08);
}

.process-step h3 { font-size: 20px; margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--slate); line-height: 1.65; margin-bottom: 18px; flex-grow: 1; }

.process-time {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--indigo);
  background: var(--indigo-tint);
  padding: 5px 12px;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .process-track { grid-template-columns: 1fr; gap: 40px; }
  .process-line { display: none; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .process-track { grid-template-columns: repeat(2, 1fr); gap: 44px 32px; }
  .process-line { display: none; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { margin-left: var(--rail-w); background: var(--paper); }
@media (max-width: 1024px) { .faq { margin-left: 0; } }

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
}

.faq-head { position: sticky; top: 110px; align-self: start; }
.faq-head .section-sub { margin-bottom: 20px; }

.faq-list { display: flex; flex-direction: column; }

.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--ink);
  transition: color 0.25s var(--ease-soft);
}
.faq-question:hover { color: var(--indigo); }

.faq-toggle {
  position: relative;
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  transition: border-color 0.3s var(--ease-soft), background 0.3s var(--ease-soft), transform 0.4s var(--ease);
}
.faq-toggle::before, .faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--ink);
  transition: background 0.25s var(--ease-soft), transform 0.35s var(--ease);
}
.faq-toggle::before { width: 9px; height: 1.4px; transform: translate(-50%, -50%); }
.faq-toggle::after { width: 1.4px; height: 9px; transform: translate(-50%, -50%); }

.faq-question[aria-expanded="true"] .faq-toggle {
  background: var(--indigo);
  border-color: var(--indigo);
  transform: rotate(180deg);
}
.faq-question[aria-expanded="true"] .faq-toggle::before,
.faq-question[aria-expanded="true"] .faq-toggle::after { background: var(--white); }
.faq-question[aria-expanded="true"] .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.faq-answer > p {
  overflow: hidden;
  min-height: 0;
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.75;
  padding-right: 46px;
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer > p { padding-bottom: 24px; }
/* grid-rows trick needs the paragraph wrapped so overflow can animate cleanly */
.faq-answer { overflow: hidden; }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-head { position: static; }
}
@media (max-width: 620px) {
  .faq-question { font-size: 15px; padding: 20px 2px; gap: 16px; }
  .faq-answer > p { padding-right: 0; }
}

/* ==========================================================================
   DARK MODE — COMPREHENSIVE VISIBILITY OVERRIDES
   Every section: background, cards, text, borders, inputs are all covered.
   ========================================================================== */

/* ---- Section backgrounds that use var(--white) need explicit dark overrides ---- */
[data-theme="dark"] .about,
[data-theme="dark"] .work,
[data-theme="dark"] .testimonials,
[data-theme="dark"] .process,
[data-theme="dark"] .trust-strip {
  background: var(--paper);
}

[data-theme="dark"] .services {
  background: var(--paper-dim);
}

[data-theme="dark"] .pricing,
[data-theme="dark"] .faq {
  background: var(--paper);
}

[data-theme="dark"] .solutions {
  background: var(--paper-dim);
  border-top-color: var(--line);
}

/* ---- Trust strip text ---- */
[data-theme="dark"] .trust-strip {
  border-top-color: var(--line);
  border-bottom-color: var(--line);
}
[data-theme="dark"] .marquee-track span {
  color: var(--slate);
}
[data-theme="dark"] .marquee-track .dot {
  color: var(--line);
}

/* ---- About section ---- */
[data-theme="dark"] .about-lede { color: var(--ink); }
[data-theme="dark"] .about-body-text { color: var(--slate); }
[data-theme="dark"] .about-body-text strong { color: var(--ink); }
[data-theme="dark"] .about-lede strong { color: var(--indigo-bright); }
[data-theme="dark"] .about-stat-label { color: var(--ink); }
[data-theme="dark"] .about-stat-desc { color: var(--slate); }
[data-theme="dark"] .about-stats { border-top-color: var(--line); }
[data-theme="dark"] .pill {
  border-color: var(--line);
  color: var(--slate);
}
[data-theme="dark"] .visual-glass-frame {
  background: var(--card-bg);
  border-color: var(--card-border);
}

/* ---- Services section ---- */
[data-theme="dark"] .services-grid {
  background: var(--line);
  border-color: var(--line);
}
[data-theme="dark"] .service-card {
  background: var(--card-bg);
}
[data-theme="dark"] .service-card:hover {
  background: var(--paper-dim);
}
[data-theme="dark"] .service-card h3 { color: var(--ink); }
[data-theme="dark"] .service-card p { color: var(--slate); }
[data-theme="dark"] .service-index { color: var(--slate-soft); }
[data-theme="dark"] .service-tags span {
  border-color: var(--line);
  color: var(--slate);
}
[data-theme="dark"] .service-widget-frame {
  background: rgba(15, 23, 42, 0.7);
  border-color: var(--line);
}
[data-theme="dark"] .widget-body {
  background: rgba(10, 14, 26, 0.5);
  border-color: var(--line);
}
[data-theme="dark"] .widget-title { color: var(--ink); }
[data-theme="dark"] .pill-stat {
  background: var(--paper-dim);
  color: var(--slate);
}
[data-theme="dark"] .service-banner {
  background: var(--paper-dim);
  border-color: var(--line);
}
[data-theme="dark"] .service-banner h4 { color: var(--ink); }
[data-theme="dark"] .service-banner p { color: var(--slate); }
[data-theme="dark"] .service-booking {
  background: var(--card-bg);
  border-color: var(--line);
}
[data-theme="dark"] .booking-row { color: var(--ink); }
[data-theme="dark"] .preview-app {
  background: var(--paper-dim);
  border-color: var(--line);
}
[data-theme="dark"] .preview-app h4 { color: var(--ink); }
[data-theme="dark"] .preview-app p { color: var(--slate); }

/* ---- Solutions section ---- */
[data-theme="dark"] .solutions-filter-bar {
  background: var(--card-bg);
  border-color: var(--line);
}
[data-theme="dark"] .solutions-filter-btn {
  color: var(--slate);
}
[data-theme="dark"] .solutions-filter-btn:hover {
  color: var(--ink);
  background: var(--paper-dim);
}
[data-theme="dark"] .solution-card {
  background: var(--card-bg);
  border-color: var(--card-border);
}
[data-theme="dark"] .solution-content h3 { color: var(--ink); }
[data-theme="dark"] .solution-content p { color: var(--slate); }
[data-theme="dark"] .solution-features span {
  background: var(--paper-dim);
  border-color: var(--line);
  color: var(--slate-soft);
}
[data-theme="dark"] .solutions-cta-box {
  background: var(--card-bg);
  border-color: var(--card-border);
}
[data-theme="dark"] .solutions-cta-text h3 { color: var(--ink); }
[data-theme="dark"] .solutions-cta-text p { color: var(--slate); }

/* ---- Work / Portfolio section ---- */
[data-theme="dark"] .work-list {
  background: var(--line);
}
[data-theme="dark"] .work-item {
  background: var(--card-bg);
}
[data-theme="dark"] .work-item:hover {
  background: var(--paper-dim);
}
[data-theme="dark"] .work-info h3 { color: var(--ink); }
[data-theme="dark"] .work-info h3 a { color: var(--ink); }
[data-theme="dark"] .work-info h3 a:hover { color: var(--indigo-bright); }
[data-theme="dark"] .work-info p { color: var(--slate); }
[data-theme="dark"] .work-tags span {
  border-color: var(--line);
  color: var(--slate);
}
[data-theme="dark"] .work-num { color: var(--slate-soft); }
[data-theme="dark"] .work-cta {
  border-top-color: var(--line);
}
[data-theme="dark"] .work-cta p { color: var(--slate); }
[data-theme="dark"] .work-media { background: var(--paper-dim); }

/* ---- Why Us section (already dark, minor tweaks for dark theme) ---- */
[data-theme="dark"] .why {
  background: #080C18;
}
[data-theme="dark"] .why-card {
  background: #0F1526;
}
[data-theme="dark"] .why-card:hover { background: #151E33; }
[data-theme="dark"] .why-card h3 { color: #FFFFFF; }
[data-theme="dark"] .why-card p { color: #94A3B8; }
[data-theme="dark"] .why-banner {
  border-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] .why-banner-num { color: var(--white); }
[data-theme="dark"] .why-banner-label { color: rgba(255,255,255,0.5); }

/* ---- Pricing section ---- */
[data-theme="dark"] .price-card {
  background: var(--card-bg);
  border-color: var(--card-border);
}
[data-theme="dark"] .price-card:hover {
  background: var(--paper-dim);
}
[data-theme="dark"] .price-card-featured {
  background: #1E1B4B;
  border-color: #4F46E5;
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.25);
}
[data-theme="dark"] .price-card-enterprise {
  background: var(--paper-dim);
  border-color: var(--line);
}
[data-theme="dark"] .price-card-head {
  border-bottom-color: var(--line);
}
[data-theme="dark"] .price-desc { color: var(--slate); }
[data-theme="dark"] .price-features li { color: var(--ink); }
[data-theme="dark"] .price-best-for span {
  border-color: var(--line);
  color: var(--slate);
}
[data-theme="dark"] .price-column-label { color: var(--slate-soft); }
[data-theme="dark"] .pricing-footnote { color: var(--slate-soft); }

/* ---- Process section ---- */
[data-theme="dark"] .process-track {
  gap: 24px;
}
[data-theme="dark"] .process-step {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 24px;
  border-radius: var(--radius-md);
}
[data-theme="dark"] .process-step h3 { color: var(--ink); }
[data-theme="dark"] .process-step p { color: var(--slate); }
[data-theme="dark"] .process-num { color: var(--slate-soft); }
[data-theme="dark"] .process-icon {
  background: var(--paper-dim);
  border-color: var(--line);
  color: var(--indigo-bright);
}
[data-theme="dark"] .process-step:hover .process-icon {
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--white);
}
[data-theme="dark"] .process-line {
  background: var(--line);
}
[data-theme="dark"] .process-time {
  color: var(--indigo-bright);
  background: var(--indigo-tint);
}

/* ---- Testimonials section ---- */
[data-theme="dark"] .testimonial-grid {
  background: var(--line);
  border-color: var(--line);
}
[data-theme="dark"] .testimonial-card {
  background: var(--card-bg);
}
[data-theme="dark"] .testimonial-card:hover {
  background: var(--paper-dim);
}
[data-theme="dark"] .testimonial-card p { color: var(--ink); }
[data-theme="dark"] .testimonial-meta strong { color: var(--ink); }
[data-theme="dark"] .testimonial-meta span { color: var(--slate); }
[data-theme="dark"] .avatar {
  background: var(--indigo-tint);
  color: var(--indigo-bright);
}
[data-theme="dark"] .quote-mark { color: var(--indigo-tint); }

/* ---- FAQ section ---- */
[data-theme="dark"] .faq-item {
  border-bottom-color: var(--line);
}
[data-theme="dark"] .faq-item:first-child {
  border-top-color: var(--line);
}
[data-theme="dark"] .faq-question { color: var(--ink); }
[data-theme="dark"] .faq-question:hover { color: var(--indigo-bright); }
[data-theme="dark"] .faq-answer > p { color: var(--slate); }
[data-theme="dark"] .faq-toggle {
  border-color: var(--line);
}
[data-theme="dark"] .faq-toggle::before,
[data-theme="dark"] .faq-toggle::after {
  background: var(--ink);
}

/* ---- Contact section (already dark-toned, but ensure consistency) ---- */
[data-theme="dark"] .contact {
  background: #07090F;
}
[data-theme="dark"] .contact-form {
  background: #111827;
  border-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] .field label { color: #CBD5E1; }
[data-theme="dark"] .field input,
[data-theme="dark"] .field textarea,
[data-theme="dark"] .field select {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}
[data-theme="dark"] .field input::placeholder,
[data-theme="dark"] .field textarea::placeholder { color: #64748B; }
[data-theme="dark"] .field input:focus,
[data-theme="dark"] .field textarea:focus,
[data-theme="dark"] .field select:focus {
  border-color: var(--indigo);
  background: rgba(99, 102, 241, 0.08);
}

/* ---- Stat cards in hero ---- */
[data-theme="dark"] .hero-stats {
  background: var(--line);
  border-color: var(--line);
}
[data-theme="dark"] .stat-card {
  background: var(--card-bg);
}
[data-theme="dark"] .stat-card:hover { background: var(--paper-dim); }
[data-theme="dark"] .stat-num { color: var(--ink); }
[data-theme="dark"] .stat-label { color: var(--slate); }

/* ---- Hero eyebrow / pills ---- */
[data-theme="dark"] .eyebrow {
  background: var(--card-bg);
  border-color: var(--line);
}
[data-theme="dark"] .hero-pill {
  background: var(--card-bg);
  border-color: var(--line);
  color: var(--ink);
}

/* ---- Buttons ---- */
[data-theme="dark"] .btn-primary {
  background: var(--indigo);
  color: var(--white);
}
[data-theme="dark"] .btn-primary:hover {
  background: var(--indigo-bright);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}
[data-theme="dark"] .btn-ghost {
  color: var(--ink);
  border-color: var(--line);
}
[data-theme="dark"] .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--ink);
}
[data-theme="dark"] .btn-outline {
  color: var(--ink);
  border-color: var(--line);
}
[data-theme="dark"] .btn-outline:hover {
  background: var(--white);
  color: #0B1220;
}


/* ==========================================================================
   MOBILE — FULL NATIVE-FEELING OPTIMIZATION
   Designed to feel like a purpose-built mobile app, not a squeezed desktop.
   Breakpoints: 1024px (tablet), 768px (mobile), 480px (small mobile)
   ========================================================================== */

/* ── Tablet adjustments (< 1024px) ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .section-inner { padding: 0 28px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-head { position: static; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .process-line { display: none; }
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-head { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 40px; }
}

/* ── Full Mobile Layout (< 768px) ──────────────────────────────────────── */
@media (max-width: 768px) {

  /* ---- Global base ---- */
  html { font-size: 15px; }
  .section {
    padding: 52px 0;
    scroll-margin-top: 64px;
  }
  .section-inner { padding: 0 20px; }
  .section-title {
    font-size: clamp(24px, 7.5vw, 34px);
    line-height: 1.18;
    letter-spacing: -0.025em;
  }
  .section-sub {
    font-size: 14.5px;
    margin-top: 12px;
    line-height: 1.65;
  }
  .section-header { margin-bottom: 28px; }
  .section-header-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .section-header-split .section-sub { text-align: left; margin-top: 0; }

  /* ---- Header ---- */
  .site-header { left: 0; }
  .header-inner {
    height: 60px;
    padding: 0 16px;
    gap: 12px;
  }
  .brand-name { font-size: 15px; }
  .brand-tag { display: none; }
  /* Keep "Get a Quote" button visible on mobile */
  .header-actions .btn-sm {
    display: inline-flex;
    padding: 8px 14px;
    font-size: 13px;
  }

  /* ---- Mobile menu ---- */
  .mobile-menu {
    top: 60px;
    padding: 12px 16px 32px;
    gap: 2px;
  }
  .mobile-menu a {
    padding: 14px 8px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu a:last-child {
    border: none;
    margin-top: 12px;
    text-align: center;
  }

  /* ---- Hero — mobile-first layout ---- */
  .hero {
    padding-top: 60px;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .hero-content {
    max-width: 100%;
    gap: 14px;
    text-align: left;
  }
  .eyebrow {
    font-size: 11px;
    padding: 5px 12px;
    letter-spacing: 0.06em;
  }
  .hero-title {
    font-size: clamp(28px, 9vw, 40px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.03em;
  }
  .hero-lede {
    font-size: 14.5px;
    line-height: 1.65;
    max-width: 100%;
  }
  .hero-cta {
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
    font-size: 14.5px;
    border-radius: 14px;
  }
  .hero-pills {
    gap: 8px;
    margin-top: 6px;
    flex-wrap: wrap;
  }
  .hero-pill {
    font-size: 11px;
    padding: 5px 10px;
    gap: 5px;
  }

  /* Hero stats — 2x2 grid */
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    border-radius: var(--radius-md);
    margin-top: 4px;
  }
  .stat-card { padding: 16px 14px; }
  .stat-num { font-size: 24px; }
  .stat-label { font-size: 10.5px; }

  /* Hide 3D hero showcase on mobile to save space; keep sphere as bg */
  .hero-showcase { display: none; }
  .scroll-cue { display: none; }

  /* 3D scene — keep but make decorative only, smaller and behind */
  .hero-3d-object-wrap {
    width: 240px;
    height: 240px;
    opacity: 0.35;
    top: 30%;
    left: 65%;
  }
  .hero-3d-sphere { width: 130px; height: 130px; }
  .hero-3d-ring-1 { width: 220px; height: 220px; border-width: 10px; }
  .hero-3d-ring-2 { width: 175px; height: 175px; border-width: 8px; }
  .hero-3d-cube { width: 44px; height: 44px; }

  /* ---- Trust Strip ---- */
  .trust-strip { padding: 16px 0; }
  .marquee-track span { font-size: 12.5px; }

  /* ---- About ---- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 36px;
  }
  .about-head { position: static; }
  .about-lede { font-size: 17px; line-height: 1.55; }
  .about-body-text { font-size: 14.5px; margin-bottom: 24px; }
  .tag-row { gap: 7px; }
  .pill { font-size: 11px; padding: 6px 12px; }
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-top: 28px;
  }
  .about-stat-num { font-size: 32px; }
  .about-stat-label { font-size: 13.5px; }
  .about-stat-desc { font-size: 12px; }

  /* About visual card — hide on mobile to save space */
  .about-visual-card { display: none; }
  /* But show the split grid as single col */
  .split-3d-grid { grid-template-columns: 1fr; gap: 28px; }

  /* ---- Services ---- */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 24px 20px; }
  .service-card h3 { font-size: 17px; margin-bottom: 8px; }
  .service-card p { font-size: 13.5px; margin-bottom: 16px; }
  .service-tags span { font-size: 11px; padding: 4px 9px; }
  /* Hide the service visual card CTA on mobile, keep it clean */
  .service-card-cta { padding: 28px 20px; }
  .service-cta-content h3 { font-size: 18px; }
  .service-cta-content p { font-size: 13.5px; }

  /* ---- Solutions ---- */
  .solutions-filter-bar {
    width: 100%;
    border-radius: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    flex-wrap: nowrap;
    padding: 5px;
    gap: 6px;
  }
  .solutions-filter-bar::-webkit-scrollbar { display: none; }
  .solutions-filter-btn {
    white-space: nowrap;
    padding: 7px 14px;
    font-size: 11.5px;
    flex-shrink: 0;
    border-radius: 999px;
  }
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .solution-content { padding: 18px; }
  .solution-content h3 { font-size: 16px; }
  .solution-content p { font-size: 13px; }
  .solution-features { gap: 5px; }
  .solution-features span { font-size: 10.5px; padding: 3px 8px; }
  .solutions-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 22px 16px;
    gap: 16px;
  }
  .solutions-cta-text h3 { font-size: 17px; }
  .solutions-cta-text p { font-size: 13.5px; }

  /* ---- Work ---- */
  .work-list { gap: 0; }
  .work-item {
    grid-template-columns: 1fr;
    border-bottom: 1px solid var(--line);
  }
  .work-item:nth-child(even) { direction: ltr; }
  .work-media { aspect-ratio: 16 / 10; }
  .work-info {
    padding: 22px 20px 28px;
  }
  .work-info-top { margin-bottom: 12px; }
  .work-category { font-size: 10.5px; padding: 4px 10px; }
  .work-num { font-size: 11px; }
  .work-info h3 { font-size: 20px; margin-bottom: 8px; }
  .work-info p { font-size: 13.5px; margin-bottom: 14px; max-width: 100%; }
  .work-tags span { font-size: 10.5px; padding: 4px 9px; }
  .work-cta {
    margin-top: 28px;
    padding-top: 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .work-cta p { font-size: 13.5px; }
  .work-cta .btn { width: 100%; justify-content: center; border-radius: 12px; }

  /* ---- Why Us ---- */
  .why {
    clip-path: polygon(0 16px, 100% 0, 100% 100%, 0 100%);
    margin-top: -16px;
    padding-top: 88px;
  }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 24px 18px; }
  .why-card h3 { font-size: 17px; margin-bottom: 10px; }
  .why-card p { font-size: 13.5px; }
  .why-num { font-size: 12px; margin-bottom: 14px; }
  .why-banner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    gap: 16px;
  }
  .why-banner-num { font-size: 30px; }
  .why-banner-label { font-size: 10.5px; }
  .why-banner-divider { display: none; }

  /* ---- Pricing ---- */
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .price-card { padding: 24px 18px; border-radius: var(--radius-md); }
  .price-card-featured { order: -1; } /* Featured first on mobile */
  .price-tier { font-size: 11px; margin-bottom: 10px; }
  .price-amount { font-size: 34px; }
  .price-currency { font-size: 18px; }
  .price-desc { font-size: 13px; }
  .price-features { gap: 10px; margin-bottom: 18px; }
  .price-features li { font-size: 13.5px; }
  .price-best-for span { font-size: 10px; padding: 3px 8px; }
  .price-card-head { margin-bottom: 18px; padding-bottom: 18px; }
  .price-columns { grid-template-columns: 1fr; gap: 14px; }
  .pricing-footnote { font-size: 12px; margin-top: 28px; }

  /* ---- Process ---- */
  .process-track {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 0;
  }
  .process-line { display: none; }
  .process-step {
    padding: 20px 18px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
  }
  .process-num { margin-bottom: 8px; font-size: 11px; display: flex; align-items: center; gap: 8px; }
  .process-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
  }
  .process-step h3 { font-size: 16px; margin-bottom: 6px; }
  .process-step p { font-size: 13.5px; margin-bottom: 10px; }
  .process-time { font-size: 10.5px; }

  /* ---- Testimonials ---- */
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 24px 20px 20px; }
  .testimonial-card p { font-size: 16px; line-height: 1.55; margin-bottom: 20px; }
  .testimonial-meta strong { font-size: 13.5px; }
  .testimonial-meta span { font-size: 12px; }

  /* ---- FAQ ---- */
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .faq-head { position: static; }
  .faq-question {
    font-size: 14.5px;
    padding: 18px 4px;
    gap: 14px;
    line-height: 1.4;
  }
  .faq-toggle { width: 20px; height: 20px; flex-shrink: 0; }
  .faq-answer > p {
    font-size: 13.5px;
    padding-right: 0;
    line-height: 1.7;
  }

  /* ---- Contact ---- */
  .contact {
    clip-path: polygon(0 16px, 100% 0, 100% 100%, 0 100%);
    margin-top: -16px;
    padding-top: 88px;
  }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-lede { font-size: 14.5px; margin: 14px 0 24px; }
  .contact-channel { padding: 14px 14px; gap: 12px; }
  .contact-channel-icon { width: 38px; height: 38px; }
  .contact-channel-text strong { font-size: 13.5px; }
  .contact-channel-text span { font-size: 12px; }
  .contact-channels { gap: 10px; margin-bottom: 28px; }
  .contact-social-links a { width: 38px; height: 38px; }
  .contact-form { padding: 20px 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-header { font-size: 12px; margin-bottom: 20px; padding-bottom: 16px; }
  .field { margin-bottom: 14px; }
  .field label { font-size: 12.5px; }
  .field input, .field textarea, .field select {
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 10px;
  }
  .field textarea { min-height: 90px; }

  /* ---- Footer ---- */
  .site-footer { padding: 48px 0 24px; }
  .footer-top {
    flex-direction: column;
    gap: 32px;
    padding-bottom: 28px;
  }
  .footer-brand { max-width: 100%; }
  .footer-brand p { font-size: 13px; }
  .footer-links { flex-wrap: wrap; gap: 24px; }
  .footer-col { gap: 10px; }
  .footer-col span { font-size: 10.5px; }
  .footer-col a { font-size: 13.5px; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    font-size: 12px;
  }

  /* ---- Buttons ---- */
  .btn { border-radius: 12px; }
  .btn-lg { padding: 14px 22px; font-size: 14.5px; }
  .btn-sm { padding: 9px 16px; font-size: 13px; }

  /* ---- To-top button ---- */
  .to-top { bottom: 20px; right: 16px; width: 42px; height: 42px; }
}

/* ── Small Mobile (< 480px) ────────────────────────────────────────────── */
@media (max-width: 480px) {
  .section { padding: 44px 0; }
  .section-inner { padding: 0 16px; }
  .section-title { font-size: clamp(22px, 8vw, 30px); }

  .header-inner { padding: 0 14px; height: 56px; }
  .brand-name { font-size: 14px; }

  .hero { padding-top: 56px; }
  .hero-title { font-size: clamp(26px, 9.5vw, 36px) !important; }
  .hero-cta .btn { padding: 14px 18px; font-size: 14px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-card { padding: 13px 10px; }
  .stat-num { font-size: 20px; }
  .stat-label { font-size: 10px; }

  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .about-stat-num { font-size: 28px; }

  .solutions-filter-bar { gap: 4px; }
  .solutions-filter-btn { padding: 6px 11px; font-size: 11px; }

  .why-card { padding: 20px 14px; }
  .why-banner { padding: 20px 14px; }
  .why-banner-num { font-size: 26px; }

  .price-card { padding: 20px 16px; }
  .price-amount { font-size: 30px; }

  .process-step { padding: 16px 14px; }
  .process-icon { width: 36px; height: 36px; margin-bottom: 10px; }

  .testimonial-card { padding: 20px 16px 16px; }
  .testimonial-card p { font-size: 14.5px; }

  .faq-question { font-size: 14px; padding: 16px 2px; }

  .contact-form { padding: 16px 14px; }
  .contact { padding-top: 80px; }

  .footer-links { gap: 20px; }
}

/* ==========================================================================
   TOAST NOTIFICATION & SPINNER STYLES
   ========================================================================== */
.lti-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 12px;
  background: rgba(11, 18, 32, 0.92);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  pointer-events: none;
  max-width: calc(100vw - 32px);
}

.lti-toast--visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.toast-icon--success {
  background: rgba(0, 201, 125, 0.18);
  color: var(--mint);
  border: 1px solid rgba(0, 201, 125, 0.4);
}

.toast-icon--error {
  background: rgba(255, 77, 77, 0.18);
  color: #FF5555;
  border: 1px solid rgba(255, 77, 77, 0.4);
}

.toast-icon--loading {
  background: rgba(99, 102, 241, 0.18);
  color: var(--indigo-bright);
  border: 1px solid rgba(99, 102, 241, 0.4);
  animation: lti-spin 1s linear infinite;
}

.spin-icon {
  animation: lti-spin 0.8s linear infinite;
  transform-origin: center;
}

@keyframes lti-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
  .lti-toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
    font-size: 13.5px;
    padding: 12px 16px;
  }
}


