/* ============================================================
   LOCAL ROOTS AI — styles.css
   Premium agency-quality stylesheet
   ============================================================ */

/* ── CSS Custom Properties ── */
:root {
  --navy:        #0d1b2a;
  --navy-mid:    #112236;
  --navy-light:  #1a2e45;
  --blue:        #2e86c1;
  --blue-light:  #3d9ad4;
  --blue-glow:   rgba(46, 134, 193, 0.25);
  --red:         #e74c3c;
  --red-dark:    #c0392b;
  --red-glow:    rgba(231, 76, 60, 0.3);
  --white:       #ffffff;
  --off-white:   #f8f9fb;
  --gray-100:    #f1f4f8;
  --gray-200:    #e2e8f0;
  --gray-400:    #94a3b8;
  --gray-600:    #475569;
  --gray-800:    #1e293b;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow:      0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.14);
  --shadow-xl:   0 24px 80px rgba(0,0,0,0.18);
  --transition:  0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h:       72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

/* ── Utility ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Fade-in animations (Intersection Observer) ── */
.fade-in-item {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* stagger children */
.serve-grid .fade-in-item:nth-child(2)  { transition-delay: 0.08s; }
.serve-grid .fade-in-item:nth-child(3)  { transition-delay: 0.16s; }
.serve-grid .fade-in-item:nth-child(4)  { transition-delay: 0.24s; }
.serve-grid .fade-in-item:nth-child(5)  { transition-delay: 0.32s; }
.serve-grid .fade-in-item:nth-child(6)  { transition-delay: 0.40s; }
.services-grid .fade-in-item:nth-child(2)  { transition-delay: 0.12s; }
.services-grid .fade-in-item:nth-child(3)  { transition-delay: 0.24s; }
.steps-grid .fade-in-item:nth-child(2)  { transition-delay: 0.12s; }
.steps-grid .fade-in-item:nth-child(3)  { transition-delay: 0.24s; }
.steps-grid .fade-in-item:nth-child(4)  { transition-delay: 0.36s; }
.pricing-highlights .pricing-highlight-card:nth-child(2) { transition-delay: 0.12s; }
.pricing-highlights .pricing-highlight-card:nth-child(3) { transition-delay: 0.24s; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-lg { padding: 17px 36px; font-size: 16px; border-radius: var(--radius-lg); }

.btn-full { width: 100%; }

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 4px 20px var(--red-glow);
}
.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--red-glow);
}

.btn-demo {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  font-size: 14px;
  padding: 10px 20px;
  box-shadow: 0 2px 12px var(--red-glow);
}
.btn-demo:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--red-glow);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ── Section Headers ── */
.section-tag {
  display: inline-block;
  background: rgba(46, 134, 193, 0.12);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-tag--light {
  background: rgba(46, 134, 193, 0.18);
  color: #7ec8f0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-title--light { color: var(--white); }

.section-sub {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
}

.section-sub--light { color: rgba(255,255,255,0.7); }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

#navbar.scrolled {
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 24px rgba(0,0,0,0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 40px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.logo-icon { font-size: 24px; line-height: 1; }

.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

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

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  margin-left: auto;
}

.hamburger:hover { background: rgba(255,255,255,0.08); }

.ham-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(46, 134, 193, 0.15) 0%, transparent 70%),
              radial-gradient(ellipse 60% 80% at 20% 70%, rgba(231, 76, 60, 0.08) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  max-width: 600px;
  margin-left: max(24px, calc(50vw - 580px));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46, 134, 193, 0.15);
  border: 1px solid rgba(46, 134, 193, 0.3);
  color: #7ec8f0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 100px;
}

.badge-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  box-shadow: 0 0 8px #2ecc71;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-headline {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.035em;
}

.headline-accent {
  background: linear-gradient(135deg, var(--blue) 0%, #7ec8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  max-width: 520px;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 8px;
  padding: 20px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* Phone Mockup */
.hero-image-wrap {
  position: absolute;
  right: max(24px, calc(50vw - 580px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.phone-mockup {
  position: relative;
  width: 280px;
}

.phone-screen {
  background: #0f172a;
  border-radius: 36px;
  padding: 16px;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 6px rgba(255,255,255,0.04),
    0 40px 80px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.1);
  overflow: hidden;
}

.phone-notch {
  width: 80px;
  height: 20px;
  background: #0a0f1a;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 16px;
}

.phone-ui { padding: 0 4px 8px; }

.phone-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 16px;
}

.phone-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--blue), #7ec8f0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}

.phone-info { flex: 1; }

.phone-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.phone-status {
  display: block;
  font-size: 11px;
  color: #2ecc71;
  font-weight: 500;
}

.phone-signal .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 6px #2ecc71;
  animation: pulse-dot 2s infinite;
}

.phone-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.msg {
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.5;
}

.msg-in {
  background: rgba(46,134,193,0.2);
  color: rgba(255,255,255,0.9);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.msg-out {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.msg-typing {
  background: rgba(46,134,193,0.15);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 12px 16px;
}

.typing-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 80%, 100% { transform: scale(0.8); opacity: 0.4; }
  40% { transform: scale(1.2); opacity: 1; }
}

.phone-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(46,134,193,0.4) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}

/* ============================================================
   WHO WE SERVE
   ============================================================ */
#who-we-serve {
  background: var(--off-white);
  padding: 100px 0;
}

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

.serve-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}

.serve-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46,134,193,0.3);
}

.serve-icon {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 18px;
  display: block;
}

.serve-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.serve-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ============================================================
   SERVICES
   ============================================================ */
#services {
  background: var(--white);
  padding: 100px 0;
}

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

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card--featured {
  background: var(--navy);
  border-color: transparent;
  box-shadow: var(--shadow-xl);
}

.service-card--featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 80px rgba(13,27,42,0.4);
}

.service-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue), #7ec8f0);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 16px var(--blue-glow);
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  background: rgba(46,134,193,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card--featured .service-icon-wrap {
  background: rgba(255,255,255,0.1);
}

.service-icon { font-size: 28px; line-height: 1; }

.service-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.service-card--featured .service-title { color: var(--white); }

.service-desc {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}
.service-card--featured .service-desc { color: rgba(255,255,255,0.68); }

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features li {
  font-size: 14px;
  color: var(--gray-600);
  padding-left: 22px;
  position: relative;
}
.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}
.service-card--featured .service-features li { color: rgba(255,255,255,0.7); }
.service-card--featured .service-features li::before { color: #7ec8f0; }

.service-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-from {
  font-size: 13px;
  color: var(--gray-400);
  margin-right: 2px;
}
.service-card--featured .price-from { color: rgba(255,255,255,0.5); }

.price-amount {
  font-size: 36px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1;
}
.service-card--featured .price-amount { color: var(--white); }

.price-period {
  font-size: 15px;
  color: var(--gray-400);
}
.service-card--featured .price-period { color: rgba(255,255,255,0.5); }

.service-card--featured .btn-outline-navy {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}
.service-card--featured .btn-outline-navy:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
#how-it-works {
  background: var(--off-white);
  padding: 100px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 64px;
}

.step-card {
  position: relative;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(13,27,42,0.2);
  margin-bottom: 24px;
}

.step-connector {
  position: absolute;
  top: 32px;
  left: calc(50% + 32px);
  right: calc(-50% + 32px);
  height: 2px;
  background: linear-gradient(90deg, var(--navy), rgba(46,134,193,0.4));
}

.step-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-content p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
}

.how-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-height: 420px;
  box-shadow: var(--shadow-xl);
}

.how-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: brightness(0.8);
}

.image-card-overlay {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: rgba(13,27,42,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 16px 24px;
  color: var(--white);
}

.overlay-stat strong {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
}

.overlay-stat span {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* ============================================================
   WHY US / COMPARISON
   ============================================================ */
#why-us {
  background: var(--navy);
  padding: 100px 0;
}

.comparison-wrap {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), var(--shadow-xl);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--navy-mid);
  min-width: 600px;
}

.comparison-table thead th {
  padding: 24px 28px;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.col-feature { color: rgba(255,255,255,0.5); width: 35%; }

.col-us {
  background: rgba(46,134,193,0.1);
  border-left: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  border-top: 2px solid var(--blue);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.th-logo {
  color: #7ec8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.col-diy { color: rgba(255,255,255,0.4); }

.comparison-table tbody tr {
  transition: background var(--transition);
}

.comparison-table tbody tr:hover {
  background: rgba(255,255,255,0.03);
}

.comparison-table tbody tr:last-child .td-us {
  border-bottom: 2px solid var(--blue);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.comparison-table tbody td {
  padding: 18px 28px;
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.td-us {
  background: rgba(46,134,193,0.07);
  border-left: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  color: rgba(255,255,255,0.88) !important;
  font-weight: 500;
}

.check-icon { margin-right: 6px; }
.cross-icon { margin-right: 6px; opacity: 0.7; }

/* ============================================================
   CUSTOM SOLUTIONS
   ============================================================ */
#custom-solutions {
  background: var(--navy);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#custom-solutions::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(46, 134, 193, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

#custom-solutions .section-header {
  max-width: 720px;
}

.custom-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 52px;
}

.custom-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.custom-card:hover {
  transform: translateY(-6px);
  background: rgba(46, 134, 193, 0.08);
  border-color: rgba(46, 134, 193, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.custom-card-icon {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}

.custom-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.custom-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.custom-tagline {
  font-size: 18px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 40px;
  letter-spacing: 0.01em;
}

.custom-cta {
  display: flex;
  justify-content: center;
}

/* Stagger for custom cards */
.custom-cards .custom-card:nth-child(2) { transition-delay: 0.12s; }
.custom-cards .custom-card:nth-child(3) { transition-delay: 0.24s; }

/* ============================================================
   PRICING
   ============================================================ */
#pricing {
  background: var(--white);
  padding: 100px 0;
}

.pricing-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-highlight-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pricing-highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46,134,193,0.3);
}

.pricing-highlight-icon {
  font-size: 44px;
  line-height: 1;
}

.pricing-highlight-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.pricing-highlight-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

.pricing-cta {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  background: var(--navy);
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.contact-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.68);
  line-height: 1.7;
  margin: 20px 0 40px;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(46,134,193,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
}

.contact-value {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition);
}

.contact-value:hover { color: #7ec8f0; }

/* Form */
.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(10px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--white);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: rgba(46,134,193,0.08);
  box-shadow: 0 0 0 3px rgba(46,134,193,0.2);
}

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

.form-disclaimer {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: -8px;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: #060d15;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 32px;
}

.footer-logo { margin-bottom: 12px; }

.footer-tagline {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a,
.footer-contact li a,
.footer-contact li span {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-links li a:hover,
.footer-contact li a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a {
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Tablet (< 1024px) ── */
@media (max-width: 1023px) {
  .hero-image-wrap {
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
    margin-top: 48px;
  }

  #hero {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero-content {
    max-width: 100%;
    margin: 0;
    padding: 120px 24px 40px;
    align-items: center;
    text-align: center;
  }

  .hero-sub { max-width: 100%; }

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

  .hero-stats { flex-wrap: wrap; gap: 16px; justify-content: center; }

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

  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  .step-connector { display: none; }

  .custom-cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 52px; }

  .pricing-highlights { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }

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

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

  .footer-brand { grid-column: 1 / -1; }
}

/* ── Mobile (< 768px) ── */
@media (max-width: 767px) {
  :root { --nav-h: 64px; }

  /* Hamburger visible */
  .hamburger { display: flex; }
  .nav-cta { display: none; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 24px 16px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 18px;
    padding: 16px 20px;
    border-radius: var(--radius);
    color: rgba(255,255,255,0.85);
  }

  .nav-links li:last-child {
    margin-top: 16px;
  }

  .nav-links li:last-child::after {
    content: '';
  }

  /* Add a demo button inside mobile nav */
  .nav-links::after {
    content: '';
  }

  /* Hero */
  .hero-content { padding: 96px 20px 32px; gap: 20px; }

  .hero-stats { padding: 16px 20px; gap: 0; }
  .stat { padding: 0 16px; }
  .stat-num { font-size: 22px; }

  .phone-mockup { width: 240px; }

  /* Sections */
  #who-we-serve,
  #services,
  #how-it-works,
  #why-us,
  #custom-solutions,
  #pricing,
  #contact { padding: 72px 0; }

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

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

  .steps-grid { grid-template-columns: 1fr; gap: 24px; }

  .step-card { align-items: flex-start; text-align: left; padding: 0; flex-direction: row; gap: 16px; }

  .step-number { width: 48px; height: 48px; font-size: 16px; margin-bottom: 0; flex-shrink: 0; }

  .contact-form-wrap { padding: 28px 20px; }

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

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

  .comparison-table thead th,
  .comparison-table tbody td { padding: 14px 16px; font-size: 13px; }
}

/* ── Small mobile (< 480px) ── */
@media (max-width: 479px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { display: none; }
  .phone-mockup { width: 200px; }
}
