/* =============================================
   CODEINK STUDIO — DESIGN SYSTEM
   Vercel / Stripe / Linear grade
   ============================================= */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Design Tokens ---- */
:root {
  /* Brand */
  --accent:        #90F89F;
  --accent-dim:    rgba(144, 248, 159, 0.12);
  --accent-border: rgba(144, 248, 159, 0.25);

  /* Neutrals */
  --bg:            #060608;
  --bg-2:          #0c0c0f;
  --bg-3:          #111115;
  --surface:       rgba(255,255,255,0.028);
  --surface-hover: rgba(255,255,255,0.055);
  --border:        rgba(255,255,255,0.07);
  --border-hi:     rgba(255,255,255,0.13);

  /* Text */
  --text-1:  #ededf0;
  --text-2:  #9898a6;
  --text-3:  #52525e;

  /* Sizing */
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Layout */
  --max-w:   1200px;
  --nav-h:   68px;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 160ms;
  --med:  320ms;
  --slow: 600ms;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.5);
  --shadow-md: 0 4px 28px rgba(0,0,0,0.55);
  --shadow-lg: 0 12px 52px rgba(0,0,0,0.65);
}

/* ---- Light Mode Tokens ---- */
[data-theme="light"] {
  --accent:        #16a34a;
  --accent-dim:    rgba(22, 163, 74, 0.08);
  --accent-border: rgba(22, 163, 74, 0.22);

  --bg:            #f9f9fb;
  --bg-2:          #f1f1f5;
  --bg-3:          #e8e8f0;
  --surface:       rgba(0,0,0,0.030);
  --surface-hover: rgba(0,0,0,0.055);
  --border:        rgba(0,0,0,0.08);
  --border-hi:     rgba(0,0,0,0.14);

  --text-1:  #0f0f12;
  --text-2:  #525260;
  --text-3:  #9898a8;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 28px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 52px rgba(0,0,0,0.14);
}

/* ---- Theme toggle button ---- */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--accent-dim);
  border-color: var(--accent-border);
  color: var(--accent);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon { transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease); }

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

/* ---- Light mode overrides for specific components ---- */
[data-theme="light"] .navbar {
  background: rgba(249,249,251,0.85);
  border-bottom-color: var(--border);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(249,249,251,0.95);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

[data-theme="light"] .btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

[data-theme="light"] .btn-primary:hover {
  background: #15803d;
  border-color: #15803d;
}

[data-theme="light"] .btn-outline {
  color: var(--text-1);
  border-color: var(--border-hi);
}

[data-theme="light"] .hero {
  background: var(--bg);
}

[data-theme="light"] .hero-title {
  color: var(--text-1);
}

[data-theme="light"] .section-title {
  color: var(--text-1);
}

/* logo swap handled via .logo-dark / .logo-light classes */

[data-theme="light"] .card,
[data-theme="light"] .service-card,
[data-theme="light"] .work-card,
[data-theme="light"] .stat-box,
[data-theme="light"] .process-step,
[data-theme="light"] .team-card {
  background: #fff;
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .tech-icon-card {
  background: #fff;
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .tech-icon-card .invert-icon {
  filter: none;
}

[data-theme="light"] .tm-card {
  background: #fff;
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .work-card-visual {
  border-color: var(--border);
}

[data-theme="light"] .section-eyebrow {
  background: var(--accent-dim);
  border-color: var(--accent-border);
  color: var(--accent);
}

[data-theme="light"] footer {
  background: #f1f1f5;
  border-top-color: var(--border);
}

[data-theme="light"] .cta-section {
  background: linear-gradient(135deg, #f1f5f1 0%, #e8f0e8 100%);
  border-top-color: var(--border);
  border-bottom-color: var(--border);
}

[data-theme="light"] .cta-section h2,
[data-theme="light"] .cta-section p {
  color: var(--text-1);
}

[data-theme="light"] .page-hero {
  background: var(--bg-2);
}

[data-theme="light"] .hero-stat-val,
[data-theme="light"] .stat-box strong {
  color: var(--text-1);
}

[data-theme="light"] .badge {
  background: rgba(22,163,74,0.08);
  border-color: rgba(22,163,74,0.2);
  color: var(--accent);
}

[data-theme="light"] .status-dot {
  background: var(--accent);
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--med) var(--ease), color var(--med) var(--ease);
}

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

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 120px 0;
}

.section-header {
  margin-bottom: 72px;
}

.section-header.centered {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.08;
  color: var(--text-1);
  margin-bottom: 18px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 560px;
}

.centered .section-sub { margin: 0 auto; }

.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* =============================================
   SURFACE / CARD
   ============================================= */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: background var(--med) var(--ease),
              border-color var(--med) var(--ease),
              transform var(--med) var(--ease),
              box-shadow var(--med) var(--ease);
}

.card:hover {
  background: var(--surface-hover);
  border-color: var(--border-hi);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 10px;
  transition: all var(--med) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #060608;
}

.btn-primary:hover {
  background: #a8fbb4;
  box-shadow: 0 0 30px rgba(144,248,159,0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--border-hi);
}

.btn-outline:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  padding: 10px 16px;
  font-size: 0.875rem;
}

.btn-ghost:hover { color: var(--text-1); }

.btn-lg {
  font-size: 1rem;
  padding: 16px 34px;
  border-radius: 12px;
}

.btn svg { width: 16px; height: 16px; }

/* =============================================
   BADGES & TAGS
   ============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
}

.tag {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-2);
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--med) var(--ease),
              border-color var(--med) var(--ease);
}

.navbar.scrolled {
  background: rgba(6,6,8,0.88);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-1);
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--fast), background var(--fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-1);
  background: var(--surface-hover);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: all var(--med) var(--ease);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

/* ---- Hero V2 — Centered + Perspective Mockup ---- */
.hero-v2 {
  flex-direction: column;
  align-items: center;
  padding-top: var(--nav-h);
  padding-bottom: 0;
  min-height: unset;
}

/* Animated gradient mesh background */
.hero-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: meshFloat 8s ease-in-out infinite alternate;
}

.mesh-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(144,248,159,0.22) 0%, transparent 70%);
  top: -200px; left: 50%;
  transform: translateX(-60%);
  animation-duration: 9s;
}

.mesh-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(144,248,159,0.12) 0%, transparent 70%);
  top: 100px; right: -100px;
  animation-duration: 11s;
  animation-direction: alternate-reverse;
}

.mesh-orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(80,160,255,0.06) 0%, transparent 70%);
  bottom: 0; left: -80px;
  animation-duration: 13s;
}

@keyframes meshFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, -40px) scale(1.08); }
}

/* Centered content block */
.hero-v2-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 100px 32px 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-v2-title {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text-1);
  margin: 24px 0 20px;
}

.hero-v2-accent {
  background: linear-gradient(90deg, var(--accent) 0%, #60e878 60%, #90F89F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-v2-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 36px;
}

.hero-v2-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.hero-v2-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-v2-stat {
  text-align: center;
}

.hero-v2-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-1);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-v2-stat span {
  font-size: 0.72rem;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-v2-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* Perspective visual */
.hero-v2-visual-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  perspective: 1200px;
}

.hero-v2-visual {
  position: relative;
  transform: rotateX(6deg) scale(0.97);
  transform-origin: center top;
  transition: transform 0.6s var(--ease);
}

.hero-v2-visual-wrap:hover .hero-v2-visual {
  transform: rotateX(2deg) scale(0.99);
}

.hero-v2-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200px;
  background: radial-gradient(ellipse, rgba(144,248,159,0.12) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

/* Floating metric cards */
.hv2-card {
  position: absolute;
  background: rgba(12,12,18,0.85);
  border: 1px solid var(--border-hi);
  border-radius: 14px;
  padding: 14px 18px;
  backdrop-filter: blur(12px);
  z-index: 10;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.hv2-card-revenue {
  top: -28px;
  right: 60px;
  animation: floatA 4s ease-in-out infinite alternate;
}

.hv2-card-status {
  display: flex;
  align-items: center;
  gap: 8px;
  top: -20px;
  left: 60px;
  animation: floatB 5s ease-in-out infinite alternate;
}

.hv2-card-score {
  bottom: 60px;
  right: -20px;
  animation: floatC 4.5s ease-in-out infinite alternate;
}

/* Browser chrome */
.hv2-browser {
  position: relative;
  z-index: 2;
  border: 1px solid var(--border-hi);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
}

.hv2-titlebar {
  background: #111116;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border);
}

.hv2-urlbar {
  flex: 1;
  max-width: 260px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.68rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
}

.hv2-screen {
  display: block;
  line-height: 0;
}

.hv2-screen svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Bottom fade so it bleeds into next section */
.hero-v2-visual-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
  pointer-events: none;
  z-index: 5;
}

/* Light mode hero adjustments */
[data-theme="light"] .hero-v2 { background: var(--bg); }
[data-theme="light"] .hv2-card {
  background: rgba(255,255,255,0.92);
  border-color: var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
[data-theme="light"] .hv2-browser { border-color: var(--border); }
[data-theme="light"] .hv2-titlebar { background: var(--bg-3); border-color: var(--border); }
[data-theme="light"] .mesh-orb-1 { opacity: 0.2; }
[data-theme="light"] .mesh-orb-2 { opacity: 0.1; }

@media (max-width: 768px) {
  .hero-v2-content { padding: 80px 20px 40px; }
  .hero-v2-title   { font-size: 2.2rem; }
  .hero-v2-visual-wrap { padding: 0 12px; }
  .hv2-card-revenue { right: 8px; }
  .hv2-card-status  { left: 8px; }
  .hv2-card-score   { display: none; }
}

/* ---- Logo: swap dark/light versions ---- */
.logo-dark  { display: block; }
.logo-light { display: none; }
[data-theme="light"] .logo-dark  { display: none; }
[data-theme="light"] .logo-light { display: block; }

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg-glow {
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(144,248,159,0.055) 0%, transparent 65%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 10%, transparent 70%);
  opacity: 0.45;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 32px 100px;
}

.hero-content { max-width: 860px; }

.hero-badge { margin-bottom: 36px; }

.hero-title {
  font-size: clamp(3rem, 6.8vw, 5.8rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.hero-title .accent   { color: var(--accent); }
.hero-title .gradient {
  background: linear-gradient(135deg, var(--text-1) 0%, var(--text-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-2);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat strong {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-1);
  line-height: 1;
}

.hero-stat span {
  font-size: 0.78rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-2);
  margin-left: auto;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.2s ease infinite;
}

/* =============================================
   LOGOBAR (Trusted By)
   ============================================= */
.logobar {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.logobar-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 32px;
}

.logobar-scroll {
  display: flex;
  overflow: hidden;
  gap: 0;
}

.logobar-track {
  display: flex;
  align-items: center;
  gap: 72px;
  padding: 0 36px;
  width: max-content;
  animation: marquee 28s linear infinite;
  flex-shrink: 0;
}

.logobar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-3);
  transition: color var(--med);
}

.logobar-item:hover { color: var(--text-2); }

.logobar-item svg {
  width: 22px;
  height: 22px;
  opacity: 0.4;
}

/* =============================================
   ABOUT
   ============================================= */
.about-split {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: start;
}

.about-content .lead {
  font-size: 1.15rem;
  color: var(--text-1);
  line-height: 1.75;
  margin-bottom: 24px;
  font-weight: 400;
}

.about-content p {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--med);
}

.pillar:hover { border-color: var(--border-hi); }

.pillar-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 8px;
  flex-shrink: 0;
  font-size: 17px;
}

.pillar-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 3px;
}

.pillar-text p {
  font-size: 0.81rem;
  color: var(--text-3);
  line-height: 1.5;
  margin: 0 !important;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-box {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--med);
}

.stat-box:hover { border-color: var(--border-hi); }

.stat-box strong {
  display: block;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-1);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-box em {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

/* =============================================
   SERVICES
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--med) var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--med);
}

.service-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-hi);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 22px;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--text-1);
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* =============================================
   PROCESS
   ============================================= */
.process-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 60px;
  bottom: 60px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent-border) 0%, transparent 100%);
}

.process-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.process-step:last-child { border-bottom: none; }

.step-num {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  border: 1px solid var(--border-hi);
  border-radius: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--accent);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-body { padding-top: 14px; }

.step-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-body p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 14px;
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* =============================================
   TECHNOLOGY STACK
   ============================================= */
.tech-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tech-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tech-category {
  padding: 24px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: center;
  transition: border-color var(--med);
}

.tech-category:hover { border-color: var(--border-hi); }

.tech-cat-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.tech-icons {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.tech-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  transition: transform var(--med) var(--ease);
}

.tech-icon:hover { transform: translateY(-3px); }

.tech-icon img,
.tech-icon svg {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.tech-icon span {
  font-size: 10px;
  color: var(--text-3);
  font-weight: 500;
  white-space: nowrap;
}

/* =============================================
   CASE STUDIES / WORK
   ============================================= */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--med) var(--ease);
}

.work-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.work-card-visual {
  aspect-ratio: 16/9;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  position: relative;
  overflow: hidden;
}

.work-card-visual-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.work-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(144,248,159,0.08), transparent);
  pointer-events: none;
}

.work-card-body {
  padding: 28px 32px;
}

.work-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.work-industry {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.work-card-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.work-card-body p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 24px;
}

.work-results {
  display: flex;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.result-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.result-item strong {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.result-item span {
  font-size: 0.73rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* =============================================
   TEAM
   ============================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--med) var(--ease);
  overflow: hidden;
}

.team-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.team-card-body {
  padding: 22px 24px 24px;
}

.team-role {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 6px;
}

.team-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.team-card p {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 16px;
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(144,248,159,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

.cta-inner h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 20px;
}

.cta-inner p {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 44px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.contact-info > p {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--med);
}

.contact-item:hover { border-color: var(--border-hi); }

.contact-item-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 8px;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 0.76rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 2px;
}

.contact-item-value {
  font-size: 0.875rem;
  color: var(--text-1);
  font-weight: 500;
}

.contact-form {
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 0.9rem;
  color: var(--text-1);
  font-family: var(--font-sans);
  outline: none;
  transition: border-color var(--fast), box-shadow var(--fast);
  -webkit-appearance: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a5a68' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group select option { background: var(--bg-2); }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  border-top: 1px solid var(--border);
  padding: 72px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.footer-logo span { color: var(--accent); }

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-2);
  font-size: 14px;
  transition: all var(--fast);
  text-decoration: none;
}

.social-btn:hover {
  border-color: var(--border-hi);
  color: var(--text-1);
  background: var(--surface-hover);
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-3);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-2);
  transition: color var(--fast);
}

.footer-col ul li a:hover { color: var(--text-1); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-3);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-3);
  transition: color var(--fast);
}

.footer-links a:hover { color: var(--text-2); }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 96px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(144,248,159,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 0%, transparent 65%);
  opacity: 0.35;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero-content h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-bottom: 24px;
}

.page-hero-content p {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.8;
  max-width: 620px;
}

/* =============================================
   SOLUTIONS PAGE
   ============================================= */
.solution-card {
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all var(--med) var(--ease);
  height: 100%;
}

.solution-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.solution-number {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.solution-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}

.solution-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 24px;
}

.solution-includes {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.solution-includes li {
  font-size: 0.845rem;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.solution-includes li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 7px;
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--slow) var(--ease),
              transform var(--slow) var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =============================================
   KEYFRAMES
   ============================================= */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(0.82); }
}

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

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hero content entrance */
.hero-content > * {
  animation: fadeUp 0.7s var(--ease) both;
}

.hero-badge   { animation-delay: 0.05s; }
.hero-title   { animation-delay: 0.15s; }
.hero-sub     { animation-delay: 0.27s; }
.hero-actions { animation-delay: 0.38s; }
.hero-meta    { animation-delay: 0.5s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .about-split   { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 1024px) {
  .container        { padding: 0 24px; }
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .tech-category    { grid-template-columns: 1fr; gap: 14px; }
  .work-grid        { grid-template-columns: 1fr; }
  .contact-split    { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .section    { padding: 80px 0; }
  .container  { padding: 0 20px; }

  /* Nav mobile */
  .nav-links,
  .nav-cta .btn:not(.btn-primary) { display: none; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(6,6,8,0.97);
    backdrop-filter: blur(24px);
    padding: 24px 20px 32px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    animation: fadeUp 0.2s var(--ease);
    z-index: 99;
  }

  .nav-links.open a {
    display: block;
    padding: 13px 16px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .hamburger { display: flex; }

  /* Hero */
  .hero-inner     { padding: 60px 20px 80px; }
  .hero-meta      { gap: 24px; flex-wrap: wrap; }
  .hero-actions   { gap: 12px; }
  .hero-status    { display: none; }

  /* Grids */
  .grid-2,
  .grid-3,
  .grid-4         { grid-template-columns: 1fr; }
  .services-grid  { grid-template-columns: 1fr; }
  .team-grid      { grid-template-columns: 1fr; }
  .work-grid      { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; }

  /* Process */
  .process-timeline::before { display: none; }

  /* Contact */
  .contact-form { padding: 24px 20px; }

  /* Footer */
  .footer-bottom  { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links   { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-title      { font-size: 2.5rem; }
  .btn-lg          { padding: 14px 24px; font-size: 0.9rem; }
  .cta-inner h2    { font-size: 2rem; }
  .contact-form    { padding: 20px 16px; }
}

/* =============================================
   LOGO
   ============================================= */
.nav-logo img {
  height: 18px;
  width: auto;
  /* display controlled by .logo-dark / .logo-light — do not override here */
}

.footer-logo img {
  height: 16px;
  width: auto;
  margin-bottom: 14px;
  /* display controlled by .logo-dark / .logo-light — do not override here */
}

/* =============================================
   TEAM PHOTOS — Grayscale with colour hover
   ============================================= */
.team-photo-wrap {
  width: 100%;
  height: 280px;
  border-radius: 0;
  overflow: hidden;
  margin: 0;
  border: none;
  flex-shrink: 0;
  position: relative;
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.5s var(--ease), transform 0.5s var(--ease);
}

.team-card:hover .team-photo-wrap img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.04);
}

.team-card:hover .team-photo-wrap {
  box-shadow: none;
}

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color var(--med), transform var(--med) var(--ease);
}

.testimonial-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: #f5c518;
  font-size: 14px;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}

.testimonial-text::before { content: '\201C'; }
.testimonial-text::after  { content: '\201D'; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 2px;
}

.testimonial-meta {
  font-size: 0.75rem;
  color: var(--text-3);
}

.testimonial-source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-3);
  margin-left: auto;
  padding: 4px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

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

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

/* =============================================
   VISUAL LAYER — SVG Animations & Rich Graphics
   ============================================= */

/* ---- Hero split grid ---- */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 60px;
  align-items: center;
}

/* ---- Hero Visual Panel ---- */
.hero-visual {
  position: relative;
  height: 520px;
  flex-shrink: 0;
}

/* background glow orb behind the visual panel */
.hero-visual-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(144,248,159,0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* SVG constellation overlay */
.hero-constellation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

/* ---- Browser Mockup ---- */
.hv-browser {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  background: var(--bg-3);
  border: 1px solid var(--border-hi);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  z-index: 1;
  animation: floatA 7s ease-in-out infinite;
}

.hv-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.hv-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hv-dot-r { background: #ff5f57; }
.hv-dot-y { background: #febc2e; }
.hv-dot-g { background: #28c840; }

.hv-url-bar {
  flex: 1;
  margin-left: 10px;
  height: 22px;
  background: var(--bg);
  border-radius: 6px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-3);
}

.hv-screen { display: block; width: 100%; }
.hv-screen svg { display: block; width: 100%; height: auto; }

/* ---- Floating Metric Card ---- */
.hv-metric {
  position: absolute;
  bottom: 64px;
  right: -28px;
  width: 168px;
  padding: 18px 20px;
  background: var(--bg-2);
  border: 1px solid var(--border-hi);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
  z-index: 3;
  animation: floatB 8s ease-in-out infinite;
}

.hv-metric-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-3);
  margin-bottom: 6px;
}

.hv-metric-value {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}

.hv-sparkline {
  width: 100%;
  height: 30px;
  overflow: visible;
}

.hv-sparkline polyline {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: drawLine 2.2s var(--ease) 0.6s forwards;
}

/* ---- Floating Status Badge ---- */
.hv-status {
  position: absolute;
  top: 140px;
  right: -40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border-hi);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 3;
  animation: floatC 5.5s ease-in-out infinite;
}

.hv-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
  flex-shrink: 0;
}

/* ---- Floating Stack Badge ---- */
.hv-stack {
  position: absolute;
  bottom: 4px;
  left: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border-hi);
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 3;
  animation: floatD 9s ease-in-out infinite;
}

.hv-stack-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hv-stack img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* Float animations */
@keyframes floatA {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

@keyframes floatB {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-8px) rotate(1deg); }
}

@keyframes floatC {
  0%, 100% { transform: translateY(-4px); }
  50%       { transform: translateY(6px); }
}

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

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* Hero sparkline loop */
@keyframes sparkLoop {
  0%   { stroke-dashoffset: 220; }
  65%  { stroke-dashoffset: 0; }
  90%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 220; }
}
.hv2-card-revenue polyline {
  stroke-dasharray: 220;
  animation: sparkLoop 3.2s ease-in-out infinite;
}

/* Performance ring fill loop */
@keyframes ringFill {
  0%   { stroke-dasharray: 20 94; }
  60%  { stroke-dasharray: 85 94; }
  90%  { stroke-dasharray: 85 94; }
  100% { stroke-dasharray: 20 94; }
}
.hv2-card-score svg circle:last-of-type {
  animation: ringFill 3s ease-out infinite;
}

/* Status dot glow pulse */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 5px #90F89F; opacity: 1; }
  50%       { box-shadow: 0 0 14px #90F89F, 0 0 24px rgba(144,248,159,0.3); opacity: 0.8; }
}
.hv-status-dot {
  animation: glowPulse 1.8s ease-in-out infinite;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* SVG animated node pulse */
@keyframes nodePulse {
  0%, 100% { r: 4; opacity: 0.8; }
  50%       { r: 6; opacity: 0.4; }
}

@keyframes lineDash {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -24; }
}

/* ---- Animated Service Icons ---- */
.service-icon-svg {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  margin-bottom: 24px;
  flex-shrink: 0;
  transition: background var(--med), box-shadow var(--med);
}

.service-card:hover .service-icon-svg {
  background: rgba(144,248,159,0.18);
  box-shadow: 0 0 24px rgba(144,248,159,0.2);
}

.service-icon-svg svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--med) var(--ease);
}

.service-card:hover .service-icon-svg svg {
  transform: scale(1.1);
}

/* Animated chart bars inside analytics icon */
.icon-bar {
  transform-origin: bottom;
  animation: growBar 2s ease-in-out infinite alternate;
}

.icon-bar:nth-child(2) { animation-delay: 0.15s; }
.icon-bar:nth-child(3) { animation-delay: 0.3s; }

@keyframes growBar {
  from { transform: scaleY(0.6); }
  to   { transform: scaleY(1); }
}

/* Animated AI nodes */
.icon-node {
  animation: iconNodePulse 2.5s ease-in-out infinite;
}

.icon-node:nth-child(2) { animation-delay: 0.5s; }
.icon-node:nth-child(3) { animation-delay: 1s; }

@keyframes iconNodePulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ---- Work Card Visual SVGs ---- */
.work-svg-mockup {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.work-svg-mockup svg {
  width: 100%;
  height: 100%;
}

/* Animated mockup elements */
.svg-animate-bar {
  animation: svgBarGrow 1.5s var(--ease) both;
}

@keyframes svgBarGrow {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}

/* ---- CTA Rings ---- */
.cta-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  width: 0;
  height: 0;
}

.cta-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent-border);
  transform: translate(-50%, -50%);
  animation: ringExpand 4.5s ease-out infinite;
  top: 0;
  left: 0;
}

.cta-ring:nth-child(1) { animation-delay: 0s; }
.cta-ring:nth-child(2) { animation-delay: 1.5s; }
.cta-ring:nth-child(3) { animation-delay: 3s; }

@keyframes ringExpand {
  0%   { width: 80px;  height: 80px;  opacity: 0.7; }
  100% { width: 700px; height: 700px; opacity: 0; }
}

/* ---- About Orbital Decoration ---- */
.about-visual-wrap {
  position: relative;
}

.orbital-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent-border);
  opacity: 0.25;
  pointer-events: none;
  animation: orbitSpin linear infinite;
}

@keyframes orbitSpin {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

/* ---- Section glow dot accents ---- */
.glow-dot {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(144,248,159,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- Gradient border card (accent) ---- */
.card-gradient-border {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card-gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent-border), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---- SVG animated path drawing ---- */
.draw-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 2s var(--ease);
}

.draw-path.drawn { stroke-dashoffset: 0; }

/* ---- Process animated SVG line ---- */
.process-svg-line {
  position: absolute;
  left: 27px;
  top: 0;
  bottom: 0;
  width: 2px;
  pointer-events: none;
  z-index: 0;
}

.process-line-track {
  fill: none;
  stroke: var(--accent-border);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
  animation: lineDash 1.5s linear infinite;
}

/* ---- Noise texture overlay ---- */
.noise-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* ---- Responsive visual ---- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-visual { display: none; }
}

/* ==============================================
   TECH STACK — Infinite Icon Marquee Rows
   ============================================== */
.tech-icon-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  margin-bottom: 16px;
}

.tech-icon-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: techScrollLeft 30s linear infinite;
}

.tech-icon-track.reverse {
  animation: techScrollRight 35s linear infinite;
}

@keyframes techScrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes techScrollRight {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.tech-icon-row:hover .tech-icon-track {
  animation-play-state: paused;
}

.tech-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 88px;
  min-width: 88px;
  height: 88px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
  cursor: default;
  flex-shrink: 0;
}

.tech-icon-card:hover {
  background: var(--accent-dim);
  border-color: var(--accent-border);
  transform: translateY(-3px);
}

.tech-icon-card img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.tech-icon-card .invert-icon {
  filter: invert(1);
}

.tech-icon-card span {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-3);
  text-align: center;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

/* ==============================================
   TECH STACK — Category Column Grid (Shajeel-style)
   ============================================== */
.tech-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.tech-cat-col {
  padding: 28px 24px 32px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tech-cat-col:last-child {
  border-right: none;
}

.tech-cat-col-header {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.tech-tag-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tech-tag-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease);
  cursor: default;
}

.tech-tag-item:hover {
  background: var(--accent-dim);
  border-color: var(--accent-border);
}

.tech-tag-item img,
.tech-tag-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
}

.tech-tag-item span {
  font-size: 0.82rem;
  color: var(--text-2);
  font-weight: 500;
  transition: color var(--fast) var(--ease);
}

.tech-tag-item:hover span {
  color: var(--text-1);
}

@media (max-width: 1024px) {
  .tech-cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .tech-cat-col:nth-child(3) { border-right: none; }
  .tech-cat-col:nth-child(4) { border-top: 1px solid var(--border); }
  .tech-cat-col:nth-child(5) { border-top: 1px solid var(--border); border-right: none; }
}

@media (max-width: 640px) {
  .tech-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-cat-col:nth-child(odd):not(:last-child) { border-right: 1px solid var(--border); }
  .tech-cat-col:nth-child(even) { border-right: none; }
  .tech-cat-col:nth-child(n+3) { border-top: 1px solid var(--border); }
}

/* ==============================================
   TESTIMONIALS — Infinite Marquee Wall
   ============================================== */
.testimonials-section {
  padding-left: 0;
  padding-right: 0;
}

.tm-rows-wrap {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 0 24px;
}

.tm-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  margin-bottom: 16px;
}

.tm-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: tmScrollLeft 40s linear infinite;
}

.tm-track.tm-right {
  animation: tmScrollRight 45s linear infinite;
}

@keyframes tmScrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes tmScrollRight {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.tm-row:hover .tm-track {
  animation-play-state: paused;
}

.tm-card {
  width: 320px;
  min-width: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
  transition: border-color var(--fast) var(--ease);
}

.tm-card:hover {
  border-color: var(--border-hi);
}

.tm-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tm-platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tm-platform.upwork { color: #14a800; }
.tm-platform.fiverr { color: #1dbf73; }

.tm-stars {
  color: #f5c518;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.tm-quote {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
}

.tm-author {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.tm-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7b5ea7, #4a3f7a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.tm-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.2;
}

.tm-role {
  font-size: 0.72rem;
  color: var(--text-3);
  margin-top: 2px;
}

/* ==============================================
   TESTIMONIALS CAROUSEL (Shajeel-style)
   ============================================== */
.testimonial-carousel-wrap {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 120px;
  box-sizing: border-box;
}

.testimonial-slide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 52px;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-slide-card::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 36px;
  font-size: 120px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.08;
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial-slide-card:hover {
  border-color: var(--border-hi);
}

.tsc-platform {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.tsc-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tsc-platform-badge.upwork {
  background: rgba(20, 168, 0, 0.1);
  border: 1px solid rgba(20, 168, 0, 0.25);
  color: #14a800;
}

.tsc-platform-badge.fiverr {
  background: rgba(29, 191, 115, 0.1);
  border: 1px solid rgba(29, 191, 115, 0.25);
  color: #1dbf73;
}

.tsc-stars {
  color: #f5c518;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.tsc-quote {
  font-size: 1.05rem;
  color: var(--text-1);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 32px;
}

.tsc-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tsc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.tsc-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.3;
}

.tsc-meta {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-top: 2px;
}

/* Nav controls */
.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.testimonial-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}

.testimonial-btn:hover {
  background: var(--accent-dim);
  border-color: var(--accent-border);
  color: var(--accent);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--border-hi);
  cursor: pointer;
  transition: background var(--fast) var(--ease), width var(--fast) var(--ease);
}

.testimonial-dot.active {
  background: var(--accent);
  width: 20px;
}

/* Rating summary bar */
.tsc-rating-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.tsc-rating-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-2);
}

.tsc-rating-item strong {
  color: var(--text-1);
}

.tsc-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
}

@media (max-width: 768px) {
  .testimonial-slide {
    padding: 0 16px;
  }
  .testimonial-slide-card {
    padding: 32px 28px;
  }
}

