/* ============================================================
   ScaleRocket — Design System
   ============================================================ */

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

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --dark:     #0d0d0d;
  --dark-2:   #0a0a0a;
  --dark-3:   #111827;
  --card-bg:  #1e293b;
  --navy:     #1e3a8a;
  --blue:     #3b82f6;
  --blue-light: #60a5fa;
  --blue-dark:  #2563eb;
  --light:    #f1f5f9;
  --light-2:  #e2e8f0;
  --text-dark: #0d0d0d;
  --text-light: #f8fafc;
  --muted:    #64748b;
  --muted-light: #94a3b8;
  --white:    #ffffff;
  --success:  #10b981;
  --border-dark: rgba(255,255,255,0.08);
  --border-light: rgba(0,0,0,0.1);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-dark: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-blue: 0 4px 24px rgba(59,130,246,0.3);
  --shadow-card: 0 2px 16px rgba(0,0,0,0.3);

  --transition: 0.25s ease;
  --container: 1200px;
}

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

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

body {
  font-family: var(--font);
  color: var(--text-light);
  background: var(--dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

input, textarea, select {
  font-family: var(--font);
}

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

.section-pad {
  padding: 96px 0;
}

.section-pad-sm {
  padding: 64px 0;
}

.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-blue { color: var(--blue); }
.text-white { color: var(--white); }

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

/* Fade-in animation (JS adds .visible) */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s 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; }
.fade-in-delay-5 { transition-delay: 0.5s; }
.fade-in-delay-6 { transition-delay: 0.6s; }

/* ============================================================
   Typography
   ============================================================ */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-title .gradient {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted-light);
  max-width: 640px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

/* Dark section headings */
.on-dark .section-subtitle {
  color: var(--muted-light);
}

/* Light section headings */
.on-light .section-title {
  color: var(--text-dark);
}
.on-light .section-tag {
  color: var(--blue-dark);
  background: rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.3);
}
.on-light .section-subtitle {
  color: var(--muted);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(59,130,246,0.45);
  color: var(--white);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue-light);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1.5px solid var(--blue);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-outline:hover {
  background: rgba(59,130,246,0.1);
  color: var(--white);
  border-color: var(--blue-light);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,255,255,0.2);
  color: var(--navy);
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-logo span { color: var(--blue); }

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-light);
  padding: 8px 14px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.nav-links a.active {
  color: var(--blue-light);
}

.nav-cta { margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(13,13,13,0.98);
  border-top: 1px solid var(--border-dark);
  padding: 16px 24px 24px;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--muted-light);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-dark);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--white); }
.mobile-nav .btn-primary {
  margin-top: 12px;
  text-align: center;
  justify-content: center;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,13,13,0.97) 0%, rgba(30,58,138,0.35) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.3);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--white);
}

.hero h1 .gradient {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 60%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted-light);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 640px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-social-proof {
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-social-proof .stars { color: #fbbf24; }
.hero-social-proof .dot { color: var(--muted); opacity: 0.4; }

/* Page hero (inner pages) */
.page-hero {
  padding: 96px 0 80px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.15rem;
  color: var(--muted-light);
  max-width: 580px;
  margin: 0 auto;
}

/* ============================================================
   Stats Ticker
   ============================================================ */
.stats-ticker {
  background: var(--navy);
  padding: 0;
  overflow: hidden;
  position: relative;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 0;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}
.ticker-item .stat-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue-light);
}
.ticker-dot {
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
}

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

/* Static stats bar (for about/sections) */
.stats-bar {
  background: var(--navy);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item .stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.stat-item .stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ============================================================
   Cards
   ============================================================ */
/* Service Card */
.service-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border-top: 3px solid var(--blue);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(59,130,246,0.2);
  border-top-color: var(--blue-light);
}

/* Light bg service card */
.service-card.light {
  background: var(--white);
  border-top-color: var(--blue);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.service-card.light:hover {
  box-shadow: 0 12px 40px rgba(59,130,246,0.15);
}
.service-card.light .service-icon { background: rgba(59,130,246,0.08); }
.service-card.light .service-title { color: var(--text-dark); }
.service-card.light .service-desc { color: var(--muted); }

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(59,130,246,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--muted-light);
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-light);
  background: rgba(59,130,246,0.1);
  padding: 5px 12px;
  border-radius: 100px;
}

/* Case Study Card */
.case-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-dark);
  transition: transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.case-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59,130,246,0.3);
}

.case-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 12px;
}
.case-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.case-desc {
  font-size: 0.92rem;
  color: var(--muted-light);
  margin-bottom: 24px;
  line-height: 1.65;
}
.case-metrics {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.case-metric {
  text-align: center;
}
.case-metric .metric-val {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
}
.case-metric .metric-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Testimonial Card */
.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border-dark);
  transition: transform var(--transition), border-color var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59,130,246,0.2);
}
.testimonial-stars {
  color: #fbbf24;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--muted-light);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  flex-shrink: 0;
}
.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}
.author-role {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Team Card */
.team-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border-dark);
  transition: transform var(--transition), border-color var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59,130,246,0.3);
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  margin: 0 auto 20px;
  border: 3px solid rgba(59,130,246,0.3);
}
.team-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.88rem;
  color: var(--blue-light);
  font-weight: 600;
  margin-bottom: 12px;
}
.team-bio {
  font-size: 0.88rem;
  color: var(--muted-light);
  line-height: 1.6;
}

/* Feature/Value Card */
.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border-dark);
  transition: transform var(--transition), border-color var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59,130,246,0.25);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 0.92rem;
  color: var(--muted-light);
  line-height: 1.65;
}

/* ============================================================
   Grids
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ============================================================
   Section Backgrounds
   ============================================================ */
.bg-dark   { background: var(--dark); }
.bg-dark-2 { background: var(--dark-2); }
.bg-dark-3 { background: var(--dark-3); }
.bg-navy   { background: var(--navy); }
.bg-light  { background: var(--light); }
.bg-white  { background: var(--white); }

/* ============================================================
   CTA Banner
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--navy) 100%);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(96,165,250,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border-dark);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.footer-logo span { color: var(--blue); }
.footer-tagline {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 260px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--muted-light);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.social-icon:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--muted-light);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--muted-light);
}
.footer-contact-item .icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.83rem;
  color: var(--muted);
}

/* ============================================================
   Service Deep Dive Sections (services.html)
   ============================================================ */
.service-section {
  padding: 96px 0;
}
.service-section.alt { background: var(--light); }
.service-section.dark { background: var(--dark-3); }

.service-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.service-section-inner.reverse { direction: rtl; }
.service-section-inner.reverse > * { direction: ltr; }

.service-section-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
  box-shadow: var(--shadow-blue);
}
.service-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}
.service-section.alt .service-section-title { color: var(--text-dark); }
.service-section.dark .service-section-title { color: var(--white); }

.service-section p {
  margin-bottom: 16px;
  line-height: 1.75;
  font-size: 0.95rem;
}
.service-section.alt p { color: var(--muted); }
.service-section.dark p { color: var(--muted-light); }

.service-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 24px 0;
}
.service-section.alt .service-highlight {
  background: rgba(59,130,246,0.08);
}
.service-highlight .hl-icon { font-size: 1.5rem; }
.service-highlight .hl-text { font-size: 0.9rem; color: var(--blue-light); font-weight: 600; }
.service-section.alt .service-highlight .hl-text { color: var(--blue-dark); }

/* Pricing Table */
.pricing-table {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  overflow: hidden;
}
.service-section.alt .pricing-table {
  background: var(--white);
  border-color: var(--border-light);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.pricing-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  padding: 20px 24px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.8);
}
.pricing-tiers {
  display: flex;
  flex-direction: column;
}
.pricing-tier {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-dark);
  gap: 12px;
  transition: background var(--transition);
}
.pricing-tier:last-child { border-bottom: none; }
.pricing-tier:hover { background: rgba(59,130,246,0.04); }
.service-section.alt .pricing-tier { border-bottom-color: var(--border-light); }
.tier-name {
  font-size: 0.9rem;
  font-weight: 600;
}
.service-section.dark .tier-name { color: var(--white); }
.service-section.alt .tier-name { color: var(--text-dark); }
.tier-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blue);
  text-align: right;
}
.pricing-tier.featured {
  background: rgba(59,130,246,0.08);
  border-left: 3px solid var(--blue);
}

/* ============================================================
   Process Steps
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}
.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(59,130,246,0.4);
  border: 3px solid var(--dark);
}
.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.step-desc {
  font-size: 0.88rem;
  color: var(--muted-light);
  line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-dark);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.on-light {
  background: var(--white);
  border-color: var(--border-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.faq-item.open {
  border-color: rgba(59,130,246,0.35);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  gap: 12px;
}
.faq-item.on-light .faq-question { color: var(--text-dark); }
.faq-question:not(.on-light) { color: var(--white); }
.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(59,130,246,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--blue);
  transition: transform 0.3s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted-light);
}
.faq-item.on-light .faq-answer { color: var(--muted); }
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   Contact Form
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.contact-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  transition: border-color var(--transition), transform var(--transition);
}
.contact-card:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateX(4px);
}
.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}
.contact-card-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}
.contact-card-value a { color: var(--blue-light); }
.contact-card-value a:hover { color: var(--white); }

.contact-office {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border-dark);
  margin-top: 16px;
}
.contact-office h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}
.contact-office p {
  font-size: 0.92rem;
  color: var(--muted-light);
  line-height: 1.65;
}

.form-box {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-dark);
}
.form-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-light);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--border-dark);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group select option { background: var(--dark-3); color: var(--white); }
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  background: rgba(59,130,246,0.06);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-blue);
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(59,130,246,0.45);
}

/* ============================================================
   Story / Founder Quote
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.story-content p {
  font-size: 0.97rem;
  color: var(--muted-light);
  line-height: 1.8;
  margin-bottom: 18px;
}
.story-visual {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
}
.story-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
}
.story-visual-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.story-stat { text-align: center; }
.story-stat .num {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 6px;
}
.story-stat .lbl {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Founder Quote */
.founder-quote {
  background: linear-gradient(135deg, var(--navy) 0%, rgba(30,58,138,0.5) 100%);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 40px 48px;
  position: relative;
}
.founder-quote::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 28px;
  font-size: 6rem;
  color: rgba(59,130,246,0.2);
  font-family: Georgia, serif;
  line-height: 1;
}
.founder-quote blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.75;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.founder-cite {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue-light);
}
.founder-cite span { color: var(--muted-light); font-weight: 400; }

/* Awards */
.awards-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.award-badge {
  background: var(--card-bg);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 20px 28px;
  text-align: center;
  min-width: 180px;
  transition: transform var(--transition), border-color var(--transition);
}
.award-badge:hover {
  transform: translateY(-4px);
  border-color: rgba(59,130,246,0.3);
}
.award-badge .award-icon { font-size: 2rem; margin-bottom: 8px; }
.award-badge .award-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
}
.award-badge .award-sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-section-inner { grid-template-columns: 1fr; gap: 40px; }
  .service-section-inner.reverse { direction: ltr; }
  .story-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps::before { display: none; }
}

@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
  .section-pad-sm { padding: 48px 0; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: 80vh; }
  .hero-btns { flex-direction: column; align-items: flex-start; }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-6 { grid-template-columns: 1fr; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

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

  .process-steps { grid-template-columns: 1fr; }

  .awards-grid { flex-direction: column; align-items: center; }

  .founder-quote { padding: 32px 28px; }
  .founder-quote::before { font-size: 4rem; }
  .founder-quote blockquote { font-size: 1rem; }

  .case-metrics { gap: 12px; }

  .page-hero { padding: 64px 0 56px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .form-box { padding: 28px 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .story-visual-stats { grid-template-columns: 1fr 1fr; }
}
