/* =====================================================
   VECTRA — Landing Page Stylesheet
   A modern IT service startup aesthetic
   ===================================================== */

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

:root {
  /* Colors */
  --bg: #0a0e27;
  --bg-2: #0d1233;
  --bg-3: #131841;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --surface-3: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);

  --text: #f1f4ff;
  --text-2: #c5cbe6;
  --text-3: #8b91b8;

  --primary: #7c5cff;
  --primary-2: #6ee7ff;
  --primary-3: #ff5ca8;
  --accent: #6ee7ff;

  --grad-1: linear-gradient(135deg, #6ee7ff 0%, #7c5cff 50%, #ff5ca8 100%);
  --grad-2: linear-gradient(135deg, #6ee7ff 0%, #7c5cff 100%);
  --grad-3: linear-gradient(135deg, #7c5cff 0%, #ff5ca8 100%);

  /* Spacing & radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 60px rgba(124, 92, 255, 0.35);

  /* Layout */
  --container: 1200px;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

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

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

.section { padding: 120px 0; position: relative; }

.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section__title {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.7;
}

.grad-text {
  background: var(--grad-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ===== Decorative background ===== */
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(124, 92, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 80%);
  z-index: -2;
  pointer-events: none;
}

.bg-glow {
  position: fixed; border-radius: 50%;
  filter: blur(120px); opacity: 0.5;
  z-index: -3; pointer-events: none;
}
.bg-glow--1 { width: 600px; height: 600px; background: #7c5cff; top: -200px; right: -100px; }
.bg-glow--2 { width: 500px; height: 500px; background: #6ee7ff; top: 400px; left: -150px; opacity: 0.3; }

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

/* ===== Brand ===== */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.brand__mark {
  width: 32px; height: 32px;
  display: inline-flex;
  filter: drop-shadow(0 0 12px rgba(124, 92, 255, 0.4));
}
.brand__mark svg { width: 100%; height: 100%; }

/* ===== Buttons ===== */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn:hover::before { transform: translateX(100%); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(124,92,255,0.35); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad-2);
  background-size: 200% 100%;
  background-position: 0% 0%;
  transition: background-position 0.4s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.btn--primary:hover { background-position: 100% 0%; box-shadow: 0 12px 32px rgba(124, 92, 255, 0.5); }

.btn--ghost {
  background: var(--surface);
  border-color: var(--border-2);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: var(--surface-2); border-color: var(--accent); }

.btn--sm { padding: 10px 18px; font-size: 0.875rem; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ===== Pill ===== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.pill__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ===== Navigation ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10, 14, 39, 0.6);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, height 0.3s;
}
.nav.scrolled {
  background: rgba(10, 14, 39, 0.85);
  border-bottom-color: var(--border);
  height: 64px;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav__links {
  display: flex;
  gap: 4px;
}
.nav__links a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--text); background: var(--surface); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--r-sm);
}
.nav__toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(10, 14, 39, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  z-index: 99;
}
.nav__mobile.open {
  transform: translateY(0);
  opacity: 1;
}
.nav__mobile a {
  padding: 12px 16px;
  color: var(--text-2);
  border-radius: var(--r-sm);
  font-weight: 500;
}
.nav__mobile a:hover { background: var(--surface); color: var(--text); }
.nav__mobile .btn { margin-top: 8px; }

/* ===== Hero ===== */
.hero {
  padding: calc(var(--nav-h) + 80px) 0 100px;
  position: relative;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.hero__title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat__num {
  font-family: 'Sora', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--grad-2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stat__label {
  font-size: 0.85rem;
  color: var(--text-3);
  margin-top: 4px;
}
.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--border-2);
}

/* ===== Hero Visual ===== */
.hero__visual {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.code-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: linear-gradient(180deg, rgba(19, 24, 65, 0.9), rgba(13, 18, 51, 0.95));
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
}
.code-card__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot--red { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green { background: #28c840; }
.code-card__title {
  margin-left: 12px;
  font-size: 0.8rem;
  color: var(--text-3);
  font-family: 'JetBrains Mono', 'Courier New', monospace;
}
.code-card__body {
  padding: 24px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text-2);
  overflow-x: auto;
}
.code-card__body .c-comment { color: var(--text-3); font-style: italic; }
.code-card__body .c-keyword { color: var(--primary-2); font-weight: 600; }
.code-card__body .c-flag { color: var(--primary-3); }
.code-card__body .c-success { color: #4ade80; }
.code-card__glow {
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.4), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

.hero__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface-3);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  color: var(--text);
}
.hero__chip svg { color: var(--primary-2); }
.hero__chip--1 { top: 8%; left: -10%; animation: float 6s ease-in-out infinite; }
.hero__chip--2 { bottom: 12%; right: -8%; animation: float 7s ease-in-out infinite 1s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== Logos strip ===== */
.logos { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logos__label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-3);
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}
.logos__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
}
.logo-item {
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-3);
  opacity: 0.7;
  transition: opacity 0.3s, color 0.3s;
  cursor: default;
}
.logo-item:hover { opacity: 1; color: var(--text-2); }

/* ===== Services Grid ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: all 0.3s ease;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-2);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
  border-radius: inherit;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-2);
  background: var(--surface-2);
  box-shadow: var(--shadow-md);
}
.service-card:hover::after { opacity: 1; }

.service-card__icon {
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-2);
  border-radius: var(--r-md);
  color: white;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.3);
}
.service-card__title {
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.service-card__desc {
  font-size: 0.95rem;
  color: var(--text-2);
  margin-bottom: 20px;
  line-height: 1.65;
}
.service-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.875rem;
  color: var(--text-3);
}
.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 12px;
  background: var(--grad-2);
  border-radius: 50%;
  opacity: 0.7;
}

/* ===== Why Vectra ===== */
.why__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.why__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-item__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(110, 231, 255, 0.1);
  color: var(--primary-2);
  border: 1px solid rgba(110, 231, 255, 0.2);
  border-radius: 50%;
}
.why-item h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}
.why-item p {
  font-size: 0.925rem;
  color: var(--text-3);
  line-height: 1.6;
}

/* Metric Card */
.metric-card {
  position: relative;
  padding: 32px;
  background: linear-gradient(180deg, rgba(19, 24, 65, 0.7), rgba(13, 18, 51, 0.8));
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}
.metric-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.metric-card__label {
  font-size: 0.85rem;
  color: var(--text-3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.metric-card__badge {
  padding: 4px 10px;
  background: rgba(110, 231, 255, 0.1);
  color: var(--primary-2);
  border: 1px solid rgba(110, 231, 255, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.metric-card__value {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}
.metric-card__num {
  font-family: 'Sora', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--grad-2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
}
.metric-card__trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}
.metric-card__caption {
  font-size: 0.875rem;
  color: var(--text-3);
  margin-bottom: 24px;
  line-height: 1.6;
}
.metric-card__bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bar {
  display: grid;
  grid-template-columns: 90px 1fr 32px;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
}
.bar span { color: var(--text-3); }
.bar b {
  font-weight: 600;
  color: var(--text);
  text-align: right;
}
.bar__track {
  height: 6px;
  background: var(--surface-3);
  border-radius: 100px;
  overflow: hidden;
}
.bar__fill {
  height: 100%;
  width: 0;
  background: var(--grad-2);
  border-radius: 100px;
  animation: fillBar 1.4s ease-out forwards;
}
@keyframes fillBar {
  to { width: var(--w); }
}

/* ===== Process ===== */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step {
  position: relative;
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: all 0.3s ease;
}
.process-step:hover {
  border-color: var(--primary);
  background: var(--surface-2);
  transform: translateY(-4px);
}
.process-step__num {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--grad-2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.9;
}
.process-step h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.process-step p {
  font-size: 0.9rem;
  color: var(--text-2);
  margin-bottom: 16px;
  line-height: 1.6;
}
.process-step__tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--surface-3);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-2);
}

/* ===== Stack ===== */
.stack__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stack-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all 0.3s ease;
}
.stack-card:hover {
  border-color: var(--border-2);
  background: var(--surface-2);
}
.stack-card h4 {
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}
.stack-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stack-card__tags span {
  padding: 6px 12px;
  background: var(--surface-3);
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text-2);
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.2s;
}
.stack-card__tags span:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ===== Testimonials ===== */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  border-color: var(--border-2);
  background: var(--surface-2);
  transform: translateY(-4px);
}
.testimonial-card__stars {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-card blockquote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
}
.testimonial-card figcaption strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}
.testimonial-card figcaption span {
  font-size: 0.85rem;
  color: var(--text-3);
}

/* ===== CTA ===== */
.cta { padding-top: 80px; }
.cta__card {
  position: relative;
  padding: 64px;
  background: linear-gradient(135deg, rgba(19, 24, 65, 0.9), rgba(13, 18, 51, 0.95));
  border: 1px solid var(--border-2);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta__glow {
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.3), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.cta__content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center; }
.cta__title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 16px 0 12px;
}
.cta__subtitle {
  font-size: 1.05rem;
  color: var(--text-2);
  margin-bottom: 36px;
}
.cta__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  margin-bottom: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.85rem;
  color: var(--text-2);
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: 0.95rem;
  transition: all 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(124, 92, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group select { cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b91b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}
.form-group select option { background: var(--bg-2); color: var(--text); }
.form-note {
  font-size: 0.85rem;
  text-align: center;
  color: #4ade80;
  min-height: 1em;
}

.cta__contact {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.cta__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-2);
  transition: color 0.2s;
}
.cta__contact-item:hover { color: var(--primary-2); }
.cta__contact-item svg { color: var(--primary-2); }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: linear-gradient(180deg, transparent, rgba(13, 18, 51, 0.5));
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}
.footer__brand p {
  font-size: 0.9rem;
  color: var(--text-3);
  margin: 16px 0;
  max-width: 320px;
  line-height: 1.6;
}
.footer__copy {
  font-size: 0.825rem;
  color: var(--text-3);
}
.footer__col h5 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 0.9rem;
  color: var(--text-3);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--primary-2); }

/* ===== Reveal Animation ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { min-height: 380px; }
  .why__grid { grid-template-columns: 1fr; gap: 48px; }
  .services__grid, .stack__grid, .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .container { padding: 0 20px; }
  .nav__links { display: none; }
  .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile { display: flex; }
  .hero { padding: calc(var(--nav-h) + 40px) 0 60px; }
  .hero__stats { gap: 20px; }
  .stat__num { font-size: 1.75rem; }
  .stat__divider { height: 32px; }
  .hero__actions .btn { flex: 1; min-width: 140px; }
  .cta__card { padding: 36px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .services__grid, .stack__grid, .testimonials__grid, .process__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 2.25rem; }
  .code-card__body { font-size: 0.78rem; padding: 16px; }
  .hero__chip { display: none; }
  .logos__row { gap: 24px; }
  .logo-item { font-size: 1rem; }
}

/* ===== Print ===== */
@media print {
  .nav, .bg-glow, .bg-grid, .bg-noise, .hero__chip, .cta__glow { display: none; }
  body { background: white; color: black; }
}
