/* ============================================================
   Legal Leadz AI — Production Stylesheet
   "Legal Precision Meets Silicon Valley"
   Dark luxury tech aesthetic
   ============================================================ */

/* ---------- GOOGLE FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Barlow+Condensed:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
  --navy-950: #00152b;
  --navy-900: #001f3f;
  --navy-800: #002d5c;
  --navy-700: #003d7a;
  --gold-500: #d4a017;
  --gold-400: #e8b820;
  --gold-300: #f5cc40;
  --teal-500: #00b4d8;
  --teal-400: #48cae4;
  --teal-300: #90e0ef;
  --white: #ffffff;
  --gray-100: #f0f4f8;
  --gray-300: #b8c5d0;
  --gray-500: #6b7f8e;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sub: 'Barlow Condensed', sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --transition-fast: 0.18s ease;
  --transition-base: 0.28s ease;
  --transition-slow: 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.3);
  --shadow-gold-glow: 0 0 40px rgba(212, 160, 23, 0.25);
  --shadow-teal-glow: 0 0 30px rgba(0, 180, 216, 0.2);

  --max-width: 1280px;
  --section-pad: 100px;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--navy-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* ---------- UTILITY CLASSES ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Scroll-reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--teal-500);
  color: var(--white);
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  transition: background var(--transition-base), transform var(--transition-fast), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

.btn-primary:hover::after { left: 150%; }

.btn-primary:hover {
  background: var(--teal-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 180, 216, 0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  background: transparent;
  color: var(--gold-400);
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gold-500);
  transition: all var(--transition-base);
}

.btn-ghost:hover {
  background: rgba(212, 160, 23, 0.08);
  border-color: var(--gold-300);
  color: var(--gold-300);
  transform: translateY(-2px);
}

.btn-teal-outline {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: transparent;
  color: var(--teal-400);
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--teal-500);
  transition: all var(--transition-base);
}

.btn-teal-outline:hover {
  background: var(--teal-500);
  color: var(--white);
}

/* ---------- NAVIGATION ---------- */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.nav-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nav-header.scrolled {
  background: rgba(0, 31, 63, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

.nav-header.scrolled::after { opacity: 1; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--white);
  letter-spacing: -0.3px;
}

.logo-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-400);
  margin-left: 2px;
  vertical-align: super;
  box-shadow: 0 0 8px var(--gold-400);
}

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

.nav-links a {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.8px;
  color: var(--gray-300);
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

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

.btn-nav {
  padding: 10px 22px;
  background: var(--teal-500);
  color: var(--white) !important;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-nav::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

.btn-nav:hover::after { left: 150%; }

.btn-nav:hover {
  background: var(--teal-400) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 180, 216, 0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  color: var(--white);
  font-size: 22px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(0, 21, 43, 0.98);
  backdrop-filter: blur(16px);
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(212, 160, 23, 0.2);
  gap: 4px;
}

.mobile-menu a {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.6px;
  color: var(--gray-300);
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition-fast);
}

.mobile-menu a:hover { color: var(--white); }

.btn-mobile-cta {
  margin-top: 12px;
  padding: 14px 24px !important;
  background: var(--teal-500) !important;
  color: var(--white) !important;
  text-align: center;
  border-radius: var(--radius-full);
  border: none !important;
}

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-950);
  overflow: hidden;
  padding: 120px 0 80px;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-left {}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--teal-400);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal-500);
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 6vw, 88px);
  line-height: 1.0;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 8px;
}

.hero-headline .gold-gradient {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-300) 50%, var(--gold-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  color: var(--gray-300);
  margin-top: 24px;
  margin-bottom: 40px;
  max-width: 500px;
}

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

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sub);
  font-size: 13px;
  letter-spacing: 0.4px;
  color: var(--gray-500);
}

.hero-trust::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gray-500);
}

.hero-trust strong {
  color: var(--gray-300);
}

/* Dashboard Card */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.dashboard-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: rgba(0, 45, 92, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 0 60px rgba(212, 160, 23, 0.12), 0 20px 60px rgba(0, 0, 0, 0.5),
              inset 0 1px 0 rgba(255,255,255,0.08);
  animation: float 6s ease-in-out infinite;
}

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

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dashboard-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border: 1px solid rgba(212,160,23,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.dashboard-title {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--white);
}

.dashboard-subtitle {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 1px;
}

.dashboard-period {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--teal-400);
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}

.dash-metric {
  margin-bottom: 18px;
}

.dash-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 7px;
}

.dash-metric-label {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray-300);
}

.dash-metric-value {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}

.dash-metric-value .arrow-up {
  color: #22c55e;
  font-size: 11px;
}

.dash-progress {
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}

.dash-progress-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-400));
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dash-progress-fill.gold {
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
}

.dash-big-value {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.dash-big-label {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.dash-big-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dash-big-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sub);
  font-size: 12px;
  font-weight: 600;
  color: #22c55e;
  margin-top: 4px;
}

.dash-market {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-market-label {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray-300);
}

.dash-market-location {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 13px;
  color: var(--white);
  margin-top: 2px;
}

.dash-status {
  display: flex;
  gap: 10px;
  align-items: center;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--gray-500);
}

.status-dot::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.status-dot.optimizing::before {
  background: conic-gradient(var(--gold-400) 50%, transparent 50%);
  border: 1px solid var(--gold-500);
}

/* Metric Pills */
.metric-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: rgba(0, 21, 43, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3px;
  color: var(--white);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 3;
}

.metric-pill-icon { font-size: 13px; }

.pill-1 {
  top: 10%;
  right: -5%;
  animation: float-pill-1 7s ease-in-out infinite;
}

.pill-2 {
  bottom: 18%;
  left: -8%;
  animation: float-pill-2 8.5s ease-in-out infinite;
}

.pill-3 {
  top: 32%;
  right: -10%;
  animation: float-pill-3 6.5s ease-in-out infinite;
}

@keyframes float-pill-1 {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  33% { transform: translateY(-8px) translateX(3px); }
  66% { transform: translateY(4px) translateX(-2px); }
}

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

@keyframes float-pill-3 {
  0%, 100% { transform: translateY(0px); }
  40% { transform: translateY(7px); }
  80% { transform: translateY(-5px); }
}

/* ---------- STATS BAR ---------- */
.stats-bar {
  background: var(--navy-900);
  border-top: 1px solid rgba(212, 160, 23, 0.15);
  border-bottom: 1px solid rgba(212, 160, 23, 0.15);
  padding: 52px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.stat-item {
  text-align: center;
  padding: 16px 20px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-500), transparent);
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gray-300);
  text-transform: uppercase;
}

/* ---------- PROBLEM / SOLUTION SECTION ---------- */
.problem-solution {
  background: var(--white);
  padding: var(--section-pad) 0;
}

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

.ps-section-label {
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.ps-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  color: var(--navy-900);
  margin-bottom: 36px;
}

.ps-headline .gold-text {
  color: var(--gold-500);
}

.ps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ps-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ps-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

.ps-icon.cross {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.ps-icon.check {
  background: rgba(0, 180, 216, 0.1);
  color: var(--teal-500);
  border: 1px solid rgba(0, 180, 216, 0.2);
}

.ps-text {
  font-family: var(--font-body);
  font-size: 15px;
  color: #374151;
  line-height: 1.6;
}

.ps-divider {
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gray-300), transparent);
  display: none;
}

/* ---------- HOW IT WORKS ---------- */
.how-it-works {
  background: var(--navy-950);
  padding: var(--section-pad) 0;
  overflow: hidden;
}

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

.section-label {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 14px;
}

.section-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
}

.section-headline.dark { color: var(--navy-900); }

.section-sub {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--gray-300);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-sub.dark { color: var(--gray-500); }

.process-track {
  position: relative;
}

.process-line {
  display: none;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold-500) 0px,
    var(--gold-500) 8px,
    transparent 8px,
    transparent 16px
  );
  opacity: 0.4;
  background-size: 200% 100%;
  animation: march-dashes 4s linear infinite;
}

@keyframes march-dashes {
  from { background-position: 0 0; }
  to { background-position: 200% 0; }
}

.process-step {
  text-align: center;
  padding: 0 8px;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--gold-400);
  margin: 0 auto 20px;
  background: rgba(212, 160, 23, 0.05);
  position: relative;
  z-index: 1;
  transition: all var(--transition-base);
}

.process-step:hover .step-number {
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow: 0 0 24px rgba(212, 160, 23, 0.4);
}

.step-icon {
  font-size: 24px;
  margin-bottom: 12px;
  display: block;
}

.step-title {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: var(--white);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.step-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ---------- SERVICES GRID ---------- */
.services {
  background: var(--white);
  padding: var(--section-pad) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 0;
}

.service-card {
  background: var(--white);
  border: 1.5px solid #e8edf2;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  cursor: default;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1), var(--shadow-gold-glow);
  border-color: var(--gold-500);
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 180, 216, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 180, 216, 0.15);
  transition: background var(--transition-base), border-color var(--transition-base);
}

.service-card:hover .service-icon-wrap {
  background: rgba(0, 180, 216, 0.14);
  border-color: var(--teal-500);
}

.service-title {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.3px;
  color: var(--navy-900);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.service-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ---------- CASE STUDIES ---------- */
.case-studies {
  background: var(--navy-950);
  padding: var(--section-pad) 0;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.result-card {
  background: rgba(0, 29, 58, 0.5);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  cursor: default;
}

.result-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold-500), var(--gold-300));
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.4), var(--shadow-gold-glow);
  border-color: rgba(212, 160, 23, 0.2);
}

.result-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.result-firm {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.3px;
  color: var(--white);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.result-practice {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--teal-400);
  margin-bottom: 24px;
}

.result-metric-big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.result-metric-label {
  font-family: var(--font-sub);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--gray-500);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.result-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

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

.result-stat-value {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
}

.result-stat-label {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--gray-500);
}

.result-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--gray-300);
  line-height: 1.65;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.result-quote::before {
  content: '"';
  font-size: 40px;
  line-height: 0.5;
  vertical-align: -12px;
  color: var(--gold-500);
  font-style: normal;
  margin-right: 4px;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  background: var(--gray-100);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0, 31, 63, 0.06) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(0, 31, 63, 0.06);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.quote-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 80px;
  line-height: 0.6;
  color: var(--gold-400);
  margin-bottom: 20px;
  display: block;
  opacity: 0.7;
}

.testimonial-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  line-height: 1.7;
  color: #1e2d3d;
  margin-bottom: 24px;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.testimonial-author {}

.testimonial-name {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  color: var(--navy-900);
  text-transform: uppercase;
}

.testimonial-firm {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 2px;
}

.stars {
  display: flex;
  gap: 3px;
  color: var(--gold-400);
  font-size: 14px;
  margin-bottom: 8px;
}

.practice-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: var(--radius-full);
  font-family: var(--font-sub);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-top: 8px;
  display: block;
}

/* ---------- FAQ SECTION ---------- */
.faq-section {
  background: #f7f9fb;
  padding: var(--section-pad) 0;
}

.faq-container {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
}

.faq-item:first-child {
  border-top: 1px solid #e2e8f0;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  gap: 16px;
  transition: color var(--transition-fast);
  user-select: none;
}

.faq-question:hover .faq-q-text { color: var(--navy-700); }

.faq-q-text {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.2px;
  color: var(--navy-900);
  transition: color var(--transition-fast);
}

.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
  transition: all var(--transition-base);
}

.faq-item.open .faq-toggle {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding-bottom: 22px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.75;
}

/* ---------- FINAL CTA SECTION ---------- */
.final-cta {
  background: var(--navy-900);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 61, 122, 0.6) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 80% 100%, rgba(0, 180, 216, 0.08) 0%, transparent 60%);
  pointer-events: none;
  animation: cta-gradient-shift 8s ease-in-out infinite alternate;
}

@keyframes cta-gradient-shift {
  from { opacity: 1; }
  to { opacity: 0.6; }
}

.cta-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cta-left {}

.cta-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 0;
}

.cta-form {
  background: rgba(0, 45, 92, 0.4);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.form-title {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}

.form-subtitle {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full { grid-column: 1 / -1; }

.form-label {
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-500);
}

.form-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  width: 100%;
}

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

.form-input:focus {
  border-color: var(--teal-500);
  background: rgba(255,255,255,0.09);
}

.form-submit {
  width: 100%;
  padding: 15px;
  margin-top: 8px;
  background: var(--teal-500);
  color: var(--white);
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--transition-base), transform var(--transition-fast), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.form-submit::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

.form-submit:hover::after { left: 150%; }

.form-submit:hover {
  background: var(--teal-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 180, 216, 0.4);
}

.form-disclaimer {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--gray-500);
  text-align: center;
  margin-top: 12px;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--navy-950);
  border-top: 1px solid rgba(212, 160, 23, 0.12);
  padding: 72px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray-300);
  margin-bottom: 8px;
  line-height: 1.5;
  transition: color var(--transition-fast);
}

.footer-contact-item:hover { color: var(--white); }

.footer-contact-icon { font-size: 13px; flex-shrink: 0; margin-top: 1px; }

.footer-nav-title {
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 18px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray-300);
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray-300);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray-300);
  transition: color var(--transition-fast);
}

.footer-legal a:hover { color: var(--white); }

/* ---------- CONTACT FORM ---------- */
.contact-form-group {
  margin-bottom: 16px;
}

.contact-form-label {
  display: block;
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.contact-form-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--navy-900);
  outline: none;
  transition: border-color var(--transition-fast);
}

.contact-form-input::placeholder {
  color: var(--gray-500);
}

.contact-form-input:focus {
  border-color: var(--teal-500);
}

select.contact-form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7f8e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

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

/* ---------- LEGAL PAGES ---------- */
.legal-hero {
  background: var(--navy-950);
  padding: 160px 0 64px;
  text-align: center;
}

.legal-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  color: var(--white);
  margin-bottom: 12px;
}

.legal-hero p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-300);
}

.legal-body {
  padding: 80px 0;
  background: var(--white);
}

.legal-body-inner {
  max-width: 780px;
  margin: 0 auto;
}

.legal-body-inner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--navy-900);
  margin: 48px 0 16px;
}

.legal-body-inner h3 {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--navy-900);
  margin: 32px 0 12px;
}

.legal-body-inner p {
  font-family: var(--font-body);
  font-size: 15px;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-body-inner ul,
.legal-body-inner ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-body-inner li {
  font-family: var(--font-body);
  font-size: 15px;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 8px;
}

.legal-body-inner a {
  color: var(--teal-500);
  text-decoration: underline;
}

.legal-body-inner a:hover {
  color: var(--teal-400);
}

.legal-info-box {
  background: var(--gray-100);
  border: 1px solid #e8edf2;
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
}

.legal-info-box p {
  font-size: 14px;
  margin-bottom: 0;
}

.address-highlight {
  background: var(--gray-100);
  border: 1px solid #e8edf2;
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
}

.address-highlight h4 {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--navy-900);
  margin-bottom: 12px;
}

.address-highlight p {
  font-family: var(--font-body);
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 4px;
}

.address-highlight a {
  color: var(--teal-500);
}

.page-hero-badge {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal-400);
  padding: 6px 16px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: var(--radius-full);
}

/* ---------- SECTION DIVIDERS ---------- */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 160, 23, 0.2), transparent);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  :root { --section-pad: 80px; }

  .hero-content { grid-template-columns: 1fr; gap: 60px; }
  .hero-right { min-height: auto; }
  .pill-1, .pill-2, .pill-3 { display: none; }

  .ps-grid { gap: 48px; }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .process-steps::before { display: none; }

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

@media (max-width: 900px) {
  .container { padding: 0 24px; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .mobile-menu { display: flex; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .stat-item:nth-child(3)::after { display: none; }

  .ps-grid { grid-template-columns: 1fr; gap: 48px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .cta-content { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 640px) {
  :root { --section-pad: 60px; }

  .container { padding: 0 18px; }

  .hero { padding: 100px 0 60px; }
  .hero-headline { font-size: 44px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

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

  .process-steps { grid-template-columns: repeat(1, 1fr); }

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

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

  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .dashboard-card { max-width: 100%; }
}
