/* ============================================
   Amaro Tech — Redesign inspirado no Planhat
   Estética: Elegante, Editorial, Dark/Light
   ============================================ */

:root {
  /* Colors */
  --bg-dark: #0a0a0a;
  --bg-light: #F2F2EE;
  --bg-card: #ffffff;
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-light: rgba(0, 0, 0, 0.1);
  --text-dark: #f5f5f0;
  --text-muted-dark: rgba(245, 245, 240, 0.6);
  --text-light: #111111;
  --text-muted-light: rgba(17, 17, 17, 0.55);
  --accent: #c8ff00;
  --accent-dim: rgba(200, 255, 0, 0.1);
  --accent-glow: rgba(200, 255, 0, 0.2);
  
  /* Fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  
  /* Layout */
  --container: 1280px;
  --header-h: 68px;
  
  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

/* Global: canvas elements stay as decorative backgrounds */
.webgl-canvas {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
  z-index: 0 !important;
  opacity: 0.15;
}

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

.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

body:hover .cursor-glow { opacity: 0.3; }

/* ====================== HEADER ====================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.4s var(--ease-out), border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(242, 242, 238, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-light);
}

.header.hero-active {
  background: transparent;
}

.header.hero-active .nav-links a {
  color: rgba(245, 245, 240, 0.75);
}

.header.hero-active .nav-links a:hover {
  color: var(--text-dark);
}

.header.hero-active .logo-text {
  color: var(--text-dark);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

/* ===== LOGO MARK ===== */
.logo-mark-animated {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.logo-mark-animated svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}

/* A: large green triangle outline, draws itself */
.logo-a {
  stroke: var(--accent);
  stroke-width: 9;
  fill: none;
  stroke-linejoin: miter;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawLogoA 0.8s var(--ease-out) 0s forwards;
}

/* T: smaller green fill, sits inside A, slides in diagonally */
.logo-t {
  fill: var(--accent);
  opacity: 0;
  transform: translate(-16px, 16px);
  animation: slideTransversal 0.8s var(--ease-out) 0.55s forwards;
}

/* Hover glow */
.logo:hover .logo-a {
  filter: drop-shadow(0 0 6px var(--accent));
  transition: filter 0.3s;
}

.logo:hover .logo-t {
  filter: drop-shadow(0 0 4px var(--accent));
  transition: filter 0.3s;
}

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

@keyframes slideTransversal {
  0%   { opacity: 0; transform: translate(-16px, 16px); }
  20%  { opacity: 1; }
  100% { opacity: 1; transform: translate(0, 0); }
}

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

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted-light);
  transition: color 0.25s;
}

.nav-links a:hover { color: var(--text-light); }

.nav-cta {
  padding: 9px 20px !important;
  background: var(--text-light);
  color: var(--bg-light) !important;
  border-radius: 100px;
  transition: background 0.25s, transform 0.25s !important;
}

.nav-cta:hover {
  background: var(--accent) !important;
  color: #0a0a0a !important;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-light);
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.active span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle.active span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ====================== BUTTONS ====================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.btn-outline-hero {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid rgba(245, 245, 240, 0.4);
}

.btn-outline-hero:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(245, 245, 240, 0.7);
  transform: translateY(-2px);
}

.btn-ghost-hero {
  background: transparent;
  color: var(--text-muted-dark);
  border: none;
}

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

.btn-dark {
  background: var(--text-light);
  color: var(--bg-light);
}

.btn-dark:hover {
  background: #2a2a2a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-lg { padding: 16px 36px; font-size: 0.875rem; }
.btn-full { width: 100%; }

/* ====================== REVEAL ANIMATIONS ====================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.22s; }
.reveal[data-delay="3"] { transition-delay: 0.38s; }
.reveal[data-delay="4"] { transition-delay: 0.52s; }
.reveal[data-delay="5"] { transition-delay: 0.65s; }
.reveal[data-delay="6"] { transition-delay: 0.8s; }

/* ====================== SECTION COMMON ====================== */
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted-light);
  margin-bottom: 20px;
}

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

.section-header-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-light);
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted-light);
  line-height: 1.7;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-top: 24px;
  transition: gap 0.2s;
}

.link-arrow:hover {
  gap: 10px;
}

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

.hero-texture {
  position: absolute;
  inset: 0;
  background-image: url('../hero-bg.png');
  background-size: cover;
  background-position: center right;
  opacity: 0.65;
  z-index: 0;
}

.webgl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.webgl-canvas--counter {
  z-index: 0;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 140px;
  max-width: 780px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 245, 240, 0.5);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
}

.hero-title span {
  display: block;
}

.hero-title-accent {
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-muted-dark);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 245, 240, 0.3);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ====================== CLIENTS GRID ====================== */
.clients-grid {
  padding: 80px 0;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
}

.clients-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.clients-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted-light);
}

.clients-link {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted-light);
  transition: color 0.2s;
}

.clients-link:hover { color: var(--text-light); }

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}

.sector-cell {
  padding: 28px 32px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background 0.2s;
}

.sector-cell:hover { background: rgba(0,0,0,0.03); }
.sector-cell:nth-child(3n) { border-right: none; }
.sector-cell:nth-child(7), .sector-cell:nth-child(8), .sector-cell:nth-child(9) { border-bottom: none; }

.sector-cell span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted-light);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.sector-cell:hover span { color: var(--text-light); }

/* ====================== STATEMENT SPLIT ====================== */
.statement-split {
  padding: 120px 0;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
}

.statement-split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.statement-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-light);
}

.statement-right p {
  font-size: 1rem;
  color: var(--text-muted-light);
  line-height: 1.75;
}

/* ====================== STATS DARK ====================== */
.stats-dark {
  position: relative;
  padding: 120px 0;
  background: var(--bg-dark);
  overflow: hidden;
}

.stats-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
}

.stats-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 245, 240, 0.4);
  margin-bottom: 20px;
}

.stats-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.stats-sub {
  font-size: 1rem;
  color: var(--text-muted-dark);
  max-width: 520px;
  margin: 0 auto 80px;
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  overflow: hidden;
}

.stat-cell {
  padding: 48px 32px;
  border-right: 1px solid var(--border-dark);
  text-align: center;
}

.stat-cell:last-child { border-right: none; }

.stat-num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-dark);
}

.stat-prefix {
  font-size: 0.6em;
  color: var(--accent);
}

.stat-suffix {
  font-size: 0.55em;
  color: var(--text-muted-dark);
}

.digit-slot {
  width: 0.6em;
  height: 1em;
  overflow: hidden;
  line-height: 1;
}

.digit-roll {
  display: flex;
  flex-direction: column;
  transition: transform 2s cubic-bezier(0.25, 1, 0.5, 1);
}

.digit-roll span {
  display: block;
  height: 1em;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 245, 240, 0.35);
  line-height: 1.5;
}

/* ====================== SERVICES TABS ====================== */
.services-tabs {
  padding: 120px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
}

.tabs-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tabs-nav {
  display: flex;
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: rgba(0,0,0,0.02);
}

.tab-btn {
  flex: 1;
  padding: 16px 12px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted-light);
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-light);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: center;
  line-height: 1.3;
}

.tab-btn:last-child { border-right: none; }

.tab-btn:hover {
  background: rgba(0,0,0,0.04);
  color: var(--text-light);
}

.tab-btn.active {
  background: var(--text-light);
  color: var(--bg-light);
}

.tabs-panels {
  border: 1px solid var(--border-light);
  border-top: none;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 420px;
}

.tab-info {
  padding: 56px 48px;
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.tab-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--text-light);
  width: fit-content;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.tab-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-light);
  margin-bottom: 16px;
}

.tab-info > p {
  font-size: 0.9rem;
  color: var(--text-muted-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

.tab-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.tab-features li {
  font-size: 0.875rem;
  color: var(--text-muted-light);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tab-features li::before {
  content: '→';
  color: var(--accent);
  font-size: 0.8rem;
  background: var(--text-light);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.tab-visual {
  padding: 40px;
  background: rgba(0,0,0,0.02);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-card {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.tab-card-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  gap: 7px;
}

.tab-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
}

.tab-card-body {
  padding: 24px;
}

/* Mock chart */
.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  margin-bottom: 20px;
}

.mock-bar {
  flex: 1;
  background: linear-gradient(to top, #111, rgba(200,255,0,0.6));
  border-radius: 4px 4px 0 0;
  transition: height 0.5s;
}

.mock-stat {
  text-align: center;
}

.mock-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: -0.04em;
}

.mock-label {
  font-size: 0.72rem;
  color: var(--text-muted-light);
  margin-top: 4px;
}

/* Mock grid */
.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mock-grid-item {
  padding: 12px;
  background: var(--bg-light);
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text-muted-light);
  text-align: center;
}

/* Mock flow */
.mock-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 20px 0;
}

.mock-flow-item {
  padding: 10px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text-muted-light);
}

.mock-flow-item.accent {
  background: var(--text-light);
  color: var(--bg-light);
  border-color: var(--text-light);
}

.mock-flow-arrow {
  color: var(--accent);
  font-size: 1rem;
  background: var(--text-light);
  padding: 4px 8px;
  border-radius: 4px;
}

/* Mock modules */
.mock-modules {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.mock-module {
  padding: 10px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 0.7rem;
  color: var(--text-muted-light);
  text-align: center;
}

/* Mock pipeline */
.mock-pipeline {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.mock-stage {
  flex: 1;
  min-width: 80px;
}

.mock-stage-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted-light);
  margin-bottom: 8px;
  font-weight: 600;
}

.mock-deal {
  padding: 8px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 0.7rem;
  color: var(--text-muted-light);
  margin-bottom: 6px;
}

.mock-deal.accent {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.mock-deal.won {
  border-color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  color: #22863a;
}

/* Mock timeline */
.mock-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-tl-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted-light);
}

.tl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
  border: 2px solid var(--border-light);
  flex-shrink: 0;
}

.tl-dot.done {
  background: #4ade80;
  border-color: #4ade80;
}

.tl-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

/* Mock mobile app */
.mock-mobile {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mock-mobile-screen {
  width: 140px;
  background: var(--bg-light);
  border-radius: 20px;
  border: 2px solid var(--border-light);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.mock-mobile-bar {
  width: 40px;
  height: 4px;
  background: var(--border-light);
  border-radius: 2px;
  margin-bottom: 4px;
}

.mock-mobile-icon {
  font-size: 1.8rem;
}

.mock-mobile-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-light);
}

.mock-mobile-items {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.mock-mobile-item {
  padding: 6px 10px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 0.65rem;
  color: var(--text-muted-light);
}

/* ====================== HOW IT WORKS ====================== */
.how-it-works {
  padding: 120px 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
}

.how-it-works .section-tag {
  color: rgba(245, 245, 240, 0.4);
}

.how-it-works .section-title {
  color: var(--text-dark);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-top: 60px;
}

.step-item {
  padding: 40px 32px;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  transition: background 0.3s;
}

.step-item:hover {
  background: rgba(255,255,255,0.04);
}

.step-connector {
  display: flex;
  align-items: center;
  padding: 0 20px;
  margin-top: 60px;
  color: rgba(245,245,240,0.2);
  font-size: 1.2rem;
}

.step-connector::before {
  content: '→';
  font-size: 1.5rem;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(200, 255, 0, 0.12);
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.step-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.step-item p {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  line-height: 1.7;
}

/* ====================== TESTIMONIALS ====================== */
.testimonials {
  padding: 120px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 60px;
}

.testimonial-card {
  background: var(--bg-light);
  padding: 44px 36px;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-card:hover {
  background: var(--bg-card);
}

.testimonial-stars {
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--text-light);
}

.testimonial-card blockquote {
  font-size: 0.9rem;
  color: var(--text-muted-light);
  line-height: 1.75;
  flex: 1;
}

.testimonial-card footer {
  margin-top: auto;
}

.testimonial-card footer strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 4px;
}

.testimonial-card footer span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ====================== CTA SECTION ====================== */
.cta-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.cta-box {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 80px 60px;
  text-align: center;
  background: var(--bg-card);
  box-shadow: 0 2px 40px rgba(0,0,0,0.04);
}

.cta-box .section-tag {
  display: block;
  margin-bottom: 20px;
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-light);
  margin-bottom: 16px;
}

.cta-box h2 em {
  font-style: italic;
  color: var(--text-muted-light);
}

.cta-box > p {
  font-size: 0.95rem;
  color: var(--text-muted-light);
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ====================== CONTACT ====================== */
.contact {
  padding: 120px 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
}

.contact .section-tag { color: rgba(245,245,240,0.4); }
.contact .section-title { color: var(--text-dark); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-lead {
  color: var(--text-dark);
  font-size: 1.05rem;
  margin: 12px 0;
}

.contact-info > p:not(.contact-lead) {
  color: var(--text-muted-dark);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-options {
  list-style: none;
  margin-bottom: 40px;
}

.contact-options li {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-options li::before {
  content: '→';
  color: var(--accent);
  font-size: 0.8rem;
}

.contact-phone {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-phone span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(245,245,240,0.4);
}

.contact-phone a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.contact-phone a:hover { color: var(--accent); }

/* Contact form */
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(245,245,240,0.6);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(200, 255, 0, 0.4);
  background: rgba(255,255,255,0.08);
}

.form-group select option {
  background: #1a1a1a;
  color: var(--text-dark);
}

.form-note {
  font-size: 0.72rem;
  color: rgba(245,245,240,0.3);
  text-align: center;
}

/* ====================== FOOTER ====================== */
.footer {
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted-light);
  line-height: 1.7;
  margin-top: 20px;
  max-width: 240px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted-light);
  margin-bottom: 20px;
}

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

.footer-col ul li a,
.footer-col > a,
.footer-col > p {
  font-size: 0.875rem;
  color: var(--text-muted-light);
  transition: color 0.2s;
  line-height: 1.5;
  display: block;
}

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

.footer-col > p { margin-bottom: 8px; }

.footer-col > a {
  margin-top: 4px;
  color: var(--text-muted-light);
  transition: color 0.2s;
}

.footer-col > a:hover { color: var(--text-light); }

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted-light);
}

/* ====================== MOBILE ====================== */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-cell:nth-child(2) {
    border-right: none;
  }
  .stat-cell:nth-child(3) {
    border-top: 1px solid var(--border-dark);
    border-right: 1px solid var(--border-dark);
  }
  .stat-cell:nth-child(4) {
    border-top: 1px solid var(--border-dark);
  }
  
  .section-header-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .step-connector {
    display: none;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .statement-split-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .tab-panel-inner {
    grid-template-columns: 1fr;
  }
  
  .tab-visual {
    border-top: 1px solid var(--border-light);
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  
  .logo {
    position: relative;
    z-index: 1001;
  }
  
  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
  }
  
  /* Mobile Navigation Menu Overlay */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    inset: 0;
    background: #07070a;
    padding: var(--header-h) 24px 24px;
    gap: 24px;
    z-index: 999;
  }

  .nav-links.open li {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.open li:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .nav-links.open a {
    font-size: 1.4rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7) !important;
    transition: color 0.25s;
    display: block;
    width: 100%;
  }

  .nav-links.open a:hover {
    color: var(--accent) !important;
  }

  .nav-links.open .nav-cta {
    background: var(--accent) !important;
    color: #0a0a0a !important;
    padding: 12px 36px !important;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 10px;
    display: inline-block;
    width: auto;
  }

  .nav-links.open .nav-cta:hover {
    background: #fff !important;
    color: #0a0a0a !important;
  }

  /* Header styles when mobile menu is open */
  .header.menu-open {
    background: transparent !important;
    border-bottom-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .header.menu-open .logo-text {
    color: #fff !important;
  }

  .header.menu-open .menu-toggle span {
    background: #fff !important;
  }
  
  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }
  
  /* Sector Grid mobile styles */
  .sector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .sector-cell {
    border-right: 1px solid var(--border-light);
  }

  .sector-cell:nth-child(3n) {
    border-right: 1px solid var(--border-light); /* Reset desktop 3n override */
  }

  .sector-cell:nth-child(2n) {
    border-right: none; /* Hide border on right column cells */
  }
  
  .sector-cell:nth-child(7), .sector-cell:nth-child(8) {
    border-bottom: 1px solid var(--border-light);
  }
  
  .sector-cell:nth-child(9) {
    grid-column: span 2;
    border-right: none;
    border-bottom: none;
  }

  /* Clients Header mobile styles */
  .clients-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
  }
  
  .tabs-nav {
    flex-direction: column;
    border-radius: 12px 12px 0 0;
  }
  
  .tab-btn {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
    padding: 14px 20px;
  }
  
  .tab-btn:last-child { border-bottom: none; }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .cta-box {
    padding: 48px 28px;
  }
  
  .contact-form {
    padding: 28px 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Hero mobile */
  .hero {
    padding: 12px;
    padding-top: calc(var(--header-h) + 12px);
  }

  .hero-content {
    text-align: center;
    padding: 0 8px;
  }

  .hero-eyebrow {
    font-size: 0.65rem;
  }

  .hero-title {
    font-size: clamp(1.9rem, 9vw, 3rem) !important;
    line-height: 1.15;
  }

  .hero-sub {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-scroll {
    display: none;
  }

  /* Sections padding mobile */
  .clients-grid,
  .statement-split,
  .stats-section,
  .services-tabs,
  .how-it-works,
  .testimonials,
  .cta-section,
  .contact {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-title {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
  }

  /* Testimonials mobile: single column */
  .testimonials-masonry {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Services tabs mobile */
  .tabs-nav {
    overflow-x: auto;
    flex-direction: row !important;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tabs-nav::-webkit-scrollbar { display: none; }

  .tab-btn {
    white-space: nowrap;
    border-right: 1px solid var(--border-light) !important;
    border-bottom: none !important;
    flex-shrink: 0;
  }

  .tab-panel-inner {
    grid-template-columns: 1fr;
  }

  .tab-visual { display: none; }

  /* Steps mobile */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step-connector { display: none; }

  /* CTA mobile */
  .cta-box h2 { font-size: clamp(1.6rem, 7vw, 2.4rem); }

  /* Contact mobile */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-phone a {
    font-size: 1rem;
  }

  /* Footer mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand { max-width: 100%; }

  /* Statement split mobile */
  .statement-split-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Sector grid mobile */
  .sector-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Stats mobile */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-cell {
    padding: 28px 20px;
  }

  .stat-num {
    font-size: 2rem;
  }
}

/* ====================== HERO CARD (PremierCS style) ====================== */
.hero {
  background: #07070a;
  padding: 20px;
  padding-top: calc(var(--header-h) + 20px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.hero-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0d0d14;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 40px 0;
  text-align: center;
}

.hero-glow {
  position: absolute;
  width: 900px;
  height: 500px;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(120, 60, 220, 0.5) 0%, rgba(80, 30, 180, 0.2) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Animated mesh grid background */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  animation: meshDrift 20s linear infinite;
}

@keyframes meshDrift {
  from { background-position: 0 0; }
  to { background-position: 60px 60px; }
}

.hero-card .webgl-canvas {
  z-index: 0;
  opacity: 0.12;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-card .hero-content {
  position: relative;
  z-index: 2;
  padding: 0;
  max-width: 780px;
  text-align: center;
}

.hero-card .hero-eyebrow {
  color: rgba(200, 180, 255, 0.55);
}

.hero-card .hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
}

.hero-card .hero-title-accent {
  color: var(--accent);
}

.hero-card .hero-sub {
  margin-inline: auto;
  color: rgba(245, 245, 255, 0.6);
}

.hero-card .hero-actions {
  justify-content: center;
}

/* Hero CTA button — Muted Green with arrow */
.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #6c8a20, #4d6613);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 0 0 0 rgba(140, 180, 30, 0.4);
}

.btn-hero-cta:hover {
  background: linear-gradient(135deg, #7da02b, #5e7c18);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(140, 180, 30, 0.4);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* App Mockup */
.hero-mockup {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin: 60px auto 0;
  background: #13131f;
  border-radius: 16px 16px 0 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom: none;
  box-shadow: 0 -20px 80px rgba(120, 60, 220, 0.2), 0 0 0 1px rgba(255,255,255,0.06);
  overflow: hidden;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #0d0d1a;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-title {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

.mockup-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  height: 280px;
}

.mockup-sidebar {
  padding: 16px 12px;
  background: #0f0f1c;
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mockup-nav-item {
  padding: 8px 12px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.mockup-nav-item.active {
  background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(91,33,182,0.15));
  color: #a78bfa;
  border: 1px solid rgba(124,58,237,0.3);
}

.mockup-main {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-kpis {
  display: flex;
  gap: 12px;
}

.mockup-kpi {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 14px;
}

.mockup-kpi-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.mockup-kpi-val.green { color: #4ade80; }
.mockup-kpi-val.blue { color: #60a5fa; }
.mockup-kpi-val.purple { color: #a78bfa; }

.mockup-kpi-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
}

.mockup-chart-area {
  flex: 1;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-chart-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.5), transparent);
}

.mockup-bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.mockup-bar-item {
  flex: 1;
  background: linear-gradient(to top, #7c3aed, rgba(200,255,0,0.4));
  border-radius: 4px 4px 0 0;
  opacity: 0.8;
}

/* ====================== HEADER DARK OVERRIDE ====================== */
.header.hero-active {
  background: transparent;
}

.header.hero-active .nav-links a {
  color: rgba(245, 245, 240, 0.7);
}

.header.hero-active .nav-links a:hover {
  color: #fff;
}

.header.hero-active .logo-text {
  color: #fff;
}

.header.hero-active .menu-toggle span {
  background: #fff;
}

/* ====================== TESTIMONIALS DARK (PremierCS style) ====================== */
.testimonials {
  background: var(--bg-dark);
}

.testimonials .section-tag {
  color: rgba(245, 245, 240, 0.4);
}

.testimonials .section-title {
  color: var(--text-dark);
}

.testimonials-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
  align-items: stretch;
}

.testimonial-dark-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.testimonial-dark-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}

.tdc-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tdc-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #c8a050;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.tdc-top strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}

.tdc-top span {
  font-size: 0.72rem;
  color: rgba(245,245,240,0.4);
}

.tdc-company {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(245,245,240,0.3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tdc-stars {
  font-size: 0.7rem;
  color: #a78bfa;
  letter-spacing: 2px;
}

.testimonial-dark-card blockquote {
  font-size: 0.85rem;
  color: rgba(245,245,240,0.65);
  line-height: 1.7;
  flex: 1;
}

/* Review count card */
.tdc-count-card {
  background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(91,33,182,0.15));
  border: 1px solid rgba(124,58,237,0.35);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.tdc-count-stars {
  font-size: 0.75rem;
  color: #a78bfa;
  letter-spacing: 3px;
}

.tdc-count-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.04em;
}

.tdc-count-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* ====================== DARK FOOTER ====================== */
.footer-dark {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
}

.footer-dark .footer-brand p {
  color: var(--text-muted-dark);
}

.footer-dark .footer-col h4 {
  color: rgba(245,245,240,0.4);
}

.footer-dark .footer-col ul li a,
.footer-dark .footer-col > a,
.footer-dark .footer-col > p {
  color: rgba(245,245,240,0.5);
}

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

.footer-dark .footer-bottom {
  border-top-color: var(--border-dark);
}

.footer-dark .footer-bottom p {
  color: rgba(245,245,240,0.3);
}

.logo-light .logo-text {
  color: var(--text-dark);
}

/* ====================== RESPONSIVE UPDATES ====================== */
@media (max-width: 1024px) {
  .testimonials-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-mockup {
    max-width: 680px;
  }
  
  .mockup-body {
    grid-template-columns: 140px 1fr;
    height: 220px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 12px;
    padding-top: calc(var(--header-h) + 12px);
  }
  
  .hero-card {
    padding: 48px 24px 0;
    border-radius: 14px;
  }
  
  .hero-card .hero-title {
    font-size: clamp(1.9rem, 8vw, 3rem);
  }
  
  .testimonials-masonry {
    grid-template-columns: 1fr;
  }
  
  .mockup-sidebar {
    display: none;
  }
  
  .mockup-body {
    grid-template-columns: 1fr;
  }
}

