/* ============================================
   AxS Insights Inc. — Strategic Clarity Design
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-alt: #F1F5F9;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --accent-primary: #D946EF;
  --accent-secondary: #06B6D4;
  --accent-warm: #F97316;
  --dark-bg: #0F172A;
  --dark-text: #F8FAFC;
  --dark-secondary: #CBD5E1;
  --gradient-brand: linear-gradient(135deg, #D946EF, #06B6D4);
  --gradient-warm: linear-gradient(135deg, #F97316, #D946EF);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --shadow-glow-fuchsia: 0 0 30px rgba(217, 70, 239, 0.15);
  --shadow-glow-cyan: 0 0 30px rgba(6, 182, 212, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 65ch;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--accent-secondary); }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: all var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.nav-logo .logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transition: width var(--transition);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--text-primary);
  color: white !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--accent-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-fuchsia);
}

.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   SECTION 1: HERO — Asymmetric Layout
   ============================================ */
.hero {
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.hero-inner {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 4rem;
}

.hero-content {
  flex: 0 0 58%;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
  background: rgba(217, 70, 239, 0.08);
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-heading {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--text-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-fuchsia);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--surface-alt);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--gradient-brand);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-fuchsia);
  color: white;
}

.hero-visual {
  flex: 0 0 42%;
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Radar/Geometric pattern — CSS only */
.radar-visual {
  position: relative;
  width: 320px;
  height: 320px;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(217, 70, 239, 0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.radar-ring:nth-child(1) { width: 100%; height: 100%; }
.radar-ring:nth-child(2) { width: 75%; height: 75%; }
.radar-ring:nth-child(3) { width: 50%; height: 50%; }
.radar-ring:nth-child(4) { width: 25%; height: 25%; border-color: rgba(6, 182, 212, 0.3); }

.radar-axis {
  position: absolute;
  background: rgba(15, 23, 42, 0.08);
  top: 50%;
  left: 50%;
  transform-origin: center;
}

.radar-axis-h { width: 100%; height: 1px; transform: translate(-50%, -50%); }
.radar-axis-v { width: 1px; height: 100%; transform: translate(-50%, -50%); }
.radar-axis-d1 { width: 1px; height: 100%; transform: translate(-50%, -50%) rotate(45deg); }
.radar-axis-d2 { width: 1px; height: 100%; transform: translate(-50%, -50%) rotate(-45deg); }

.radar-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
}

.radar-dot:nth-child(9) { top: 22%; left: 35%; background: var(--accent-secondary); width: 10px; height: 10px; }
.radar-dot:nth-child(10) { top: 28%; left: 65%; }
.radar-dot:nth-child(11) { top: 55%; left: 75%; background: var(--accent-warm); }
.radar-dot:nth-child(12) { top: 68%; left: 28%; }
.radar-dot:nth-child(13) { top: 42%; left: 48%; background: var(--accent-secondary); width: 12px; height: 12px; }

.radar-polygon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.12;
}

/* Floating stat badges */
.stat-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.stat-badge-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-badge-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

.stat-badge-1 {
  top: 8%;
  right: -10%;
  animation: floatSlow 6s ease-in-out infinite;
}

.stat-badge-2 {
  bottom: 12%;
  left: -8%;
  animation: floatSlow 5s ease-in-out infinite 1s;
}

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

/* ============================================
   SECTION 2: SERVICES — Masonry Layout
   ============================================ */
.services {
  padding: 100px 0;
  background: var(--bg);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.services-masonry {
  columns: 3;
  column-gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.service-card {
  break-inside: avoid;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.04);
  transition: all var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}

.service-card:nth-child(2)::before { background: linear-gradient(90deg, #06B6D4, #D946EF); }
.service-card:nth-child(3)::before { background: linear-gradient(90deg, #F97316, #D946EF); }
.service-card:nth-child(4)::before { background: linear-gradient(90deg, #06B6D4, #F97316); }
.service-card:nth-child(5)::before { background: linear-gradient(90deg, #D946EF, #F97316); }
.service-card:nth-child(6)::before { background: linear-gradient(90deg, #F97316, #06B6D4); }

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(217, 70, 239, 0.12);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(217, 70, 239, 0.06);
}

.service-card:nth-child(2) .service-icon { background: rgba(6, 182, 212, 0.06); }
.service-card:nth-child(3) .service-icon { background: rgba(249, 115, 22, 0.06); }
.service-card:nth-child(4) .service-icon { background: rgba(6, 182, 212, 0.08); }
.service-card:nth-child(5) .service-icon { background: rgba(217, 70, 239, 0.08); }
.service-card:nth-child(6) .service-icon { background: rgba(249, 115, 22, 0.08); }

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.service-card:nth-child(odd) { padding-bottom: 3.5rem; }
.service-card:nth-child(even) { padding-bottom: 2.2rem; }

/* ============================================
   SECTION 3: ABOUT — Quote + Narrative
   ============================================ */
.about {
  padding: 100px 0;
  background: var(--surface);
  position: relative;
}

.about-quote {
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
  position: relative;
}

.about-quote blockquote {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  max-width: 800px;
  padding-left: 3rem;
  border-left: 4px solid var(--accent-primary);
  position: relative;
}

.about-quote blockquote::before {
  content: '';
  position: absolute;
  left: -60px;
  top: -30px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(217, 70, 239, 0.1), rgba(6, 182, 212, 0.1));
  z-index: 0;
}

.about-quote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--text-muted);
  font-weight: 500;
}

.about-narrative {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.narrative-col h3 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.narrative-col p {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.pull-quote {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-primary);
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent-primary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.about-highlights {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.about-highlights h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.highlight-list {
  list-style: none;
}

.highlight-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.highlight-list li:last-child { border-bottom: none; }

.highlight-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--accent-primary);
}

.highlight-list li:nth-child(2) .highlight-dot { background: var(--accent-secondary); }
.highlight-list li:nth-child(3) .highlight-dot { background: var(--accent-warm); }
.highlight-list li:nth-child(4) .highlight-dot { background: var(--accent-primary); }
.highlight-list li:nth-child(5) .highlight-dot { background: var(--accent-secondary); }

/* ============================================
   SECTION 4: INSIGHTS HUB — Dashboard + Scroll
   ============================================ */
.insights {
  padding: 100px 0;
  background: var(--bg);
}

.insights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  margin-bottom: 3rem;
}

.insight-stat-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all var(--transition);
}

.insight-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.insight-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.insight-stat-card:nth-child(1) .insight-stat-icon { background: rgba(217, 70, 239, 0.08); }
.insight-stat-card:nth-child(2) .insight-stat-icon { background: rgba(6, 182, 212, 0.08); }
.insight-stat-card:nth-child(3) .insight-stat-icon { background: rgba(249, 115, 22, 0.08); }
.insight-stat-card:nth-child(4) .insight-stat-icon { background: rgba(217, 70, 239, 0.06); }

.insight-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.insight-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.insight-stat-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  line-height: 1.55;
}

/* Horizontal scroll cards */
.insights-scroll {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.insights-scroll-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--text-muted) transparent;
}

.insights-scroll-track::-webkit-scrollbar {
  height: 6px;
}

.insights-scroll-track::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 3px;
}

.insight-scroll-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border: 1px solid rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}

.insight-scroll-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.insight-scroll-card:nth-child(1)::before { background: linear-gradient(90deg, #D946EF, #06B6D4); }
.insight-scroll-card:nth-child(2)::before { background: linear-gradient(90deg, #F97316, #D946EF); }
.insight-scroll-card:nth-child(3)::before { background: linear-gradient(90deg, #06B6D4, #F97316); }
.insight-scroll-card:nth-child(4)::before { background: linear-gradient(90deg, #D946EF, #F97316); }
.insight-scroll-card:nth-child(5)::before { background: linear-gradient(90deg, #06B6D4, #D946EF); }

.insight-scroll-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.insight-scroll-card .scroll-stat {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-primary);
  letter-spacing: -0.03em;
}

.insight-scroll-card:nth-child(2) .scroll-stat { color: var(--accent-warm); }
.insight-scroll-card:nth-child(3) .scroll-stat { color: var(--accent-secondary); }
.insight-scroll-card:nth-child(4) .scroll-stat { color: var(--accent-primary); }
.insight-scroll-card:nth-child(5) .scroll-stat { color: var(--accent-warm); }

.insight-scroll-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* ============================================
   SECTION 5: SPECIALTIES — Pill Cloud
   ============================================ */
.specialties {
  padding: 100px 0;
  background: var(--surface);
}

.specialties-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.specialty-pill {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: var(--bg);
  transition: all var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.specialty-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  opacity: 0;
  transition: opacity var(--transition);
}

.specialty-pill:nth-child(3n+1)::before { background: linear-gradient(135deg, rgba(217, 70, 239, 0.06), rgba(6, 182, 212, 0.04)); }
.specialty-pill:nth-child(3n+2)::before { background: linear-gradient(135deg, rgba(6, 182, 212, 0.06), rgba(249, 115, 22, 0.04)); }
.specialty-pill:nth-child(3n+0)::before { background: linear-gradient(135deg, rgba(249, 115, 22, 0.06), rgba(217, 70, 239, 0.04)); }

.specialty-pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--text-primary);
}

.specialty-pill:hover::before {
  opacity: 1;
}

/* ============================================
   SECTION 6: CTA — Contained Card
   ============================================ */
.cta-section {
  padding: 100px 0;
  background: var(--bg);
}

.cta-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-xl);
  background: var(--gradient-brand);
  z-index: -1;
}

.cta-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: var(--surface);
  z-index: -1;
}

/* Floating geometric shapes */
.cta-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}

.cta-shape:nth-child(1) {
  width: 160px;
  height: 160px;
  background: var(--accent-primary);
  top: -40px;
  right: -40px;
}

.cta-shape:nth-child(2) {
  width: 100px;
  height: 100px;
  background: var(--accent-secondary);
  bottom: -20px;
  left: -20px;
}

.cta-shape:nth-child(3) {
  width: 60px;
  height: 60px;
  background: var(--accent-warm);
  top: 60px;
  left: 40px;
}

.cta-card h2 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.cta-card p {
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ============================================
   SECTION 7: TESTIMONIALS — Overlapping Grid
   ============================================ */
.testimonials {
  padding: 100px 0;
  background: var(--surface);
}

.testimonials-rows {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.testimonial-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.testimonial-row::-webkit-scrollbar { display: none; }

.testimonial-row:nth-child(2) {
  transform: translateX(-30px);
}

.testimonial-row:nth-child(3) {
  transform: translateX(20px);
}

.testimonial-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border: 1px solid rgba(15, 23, 42, 0.04);
  position: relative;
  transition: all var(--transition);
}

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

.testimonial-quote-symbol {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--accent-primary);
  font-weight: 700;
}

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0.5rem 0 1rem;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
}

.testimonial-card:nth-child(odd) .testimonial-avatar { background: var(--accent-primary); }
.testimonial-card:nth-child(even) .testimonial-avatar { background: var(--accent-secondary); }

.testimonial-author-info strong {
  font-size: 0.88rem;
  color: var(--text-primary);
  display: block;
}

.testimonial-author-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Logo placeholders row */
.client-logos {
  display: flex;
  gap: 3rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 2rem 0;
  opacity: 0.4;
}

.client-logo-placeholder {
  width: 80px;
  height: 28px;
  border-radius: 4px;
}

.client-logo-placeholder:nth-child(1) { background: rgba(15, 23, 42, 0.15); }
.client-logo-placeholder:nth-child(2) { background: rgba(15, 23, 42, 0.2); border-radius: 50%; width: 40px; height: 40px; }
.client-logo-placeholder:nth-child(3) { background: rgba(15, 23, 42, 0.12); width: 100px; }
.client-logo-placeholder:nth-child(4) { background: rgba(15, 23, 42, 0.18); border-radius: 50%; width: 36px; height: 36px; }
.client-logo-placeholder:nth-child(5) { background: rgba(15, 23, 42, 0.14); width: 90px; }

/* ============================================
   SECTION 8: FOOTER
   ============================================ */
.footer {
  background: var(--dark-bg);
  color: var(--dark-text);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}

.footer-brand p {
  color: var(--dark-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 1rem;
}

.footer-brand .footer-logo {
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo .logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  color: white;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
  color: var(--dark-secondary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer-col ul li a {
  color: var(--dark-secondary);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-newsletter input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--dark-text);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: all var(--transition);
  margin-bottom: 0.6rem;
}

.footer-newsletter input:focus {
  border-color: var(--accent-primary);
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.footer-newsletter .btn-signup {
  width: 100%;
  padding: 12px;
  border-radius: 50px;
  border: none;
  background: var(--accent-primary);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition);
}

.footer-newsletter .btn-signup:hover {
  background: var(--accent-secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--dark-secondary);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--dark-secondary);
}

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

/* ============================================
   ANIMATIONS — Scroll-triggered
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-masonry {
    columns: 2;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    flex: 1;
  }

  .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    min-height: 300px;
  }

  .stat-badge-1 { right: 0; }
  .stat-badge-2 { left: 0; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .about-narrative {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--surface);
    flex-direction: column;
    padding: 100px 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition);
    box-shadow: var(--shadow-lg);
    align-items: flex-start;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .services-masonry {
    columns: 1;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 2.5rem 1.5rem;
    margin: 0 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .radar-visual {
    width: 240px;
    height: 240px;
  }

  .testimonial-row:nth-child(2) {
    transform: none;
  }

  .testimonial-row:nth-child(3) {
    transform: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .specialties-cloud {
    gap: 8px;
  }

  .specialty-pill {
    padding: 10px 18px;
    font-size: 0.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

/* ============================================
   PRIVACY & TERMS PAGE STYLES
   ============================================ */
.legal-page {
  padding: 120px 0 80px;
}

.legal-layout {
  display: flex;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  align-items: flex-start;
}

.legal-sidebar {
  position: sticky;
  top: 100px;
  flex: 0 0 260px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
}

.legal-sidebar h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.legal-sidebar ul {
  list-style: none;
}

.legal-sidebar ul li {
  margin-bottom: 0.35rem;
}

.legal-sidebar ul li a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all var(--transition);
}

.legal-sidebar ul li a:hover,
.legal-sidebar ul li a.active {
  background: rgba(217, 70, 239, 0.06);
  color: var(--accent-primary);
}

.legal-content {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.legal-content h1 {
  font-size: 2.2rem;
  margin-bottom: 0.3rem;
}

.legal-content .legal-updated {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.legal-content section {
  margin-bottom: 2.5rem;
}

.legal-content section h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.legal-content section h2 .section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent-primary);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.legal-content section p {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  max-width: none;
}

.legal-content section ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content section ul li {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.legal-footer-contact {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 2rem;
}

.legal-footer-contact p {
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .legal-layout {
    flex-direction: column;
  }

  .legal-sidebar {
    position: static;
    width: 100%;
    flex: none;
  }

  .legal-content {
    padding: 1.5rem;
  }
}
