/* ================================================================
   MONARCH SOFTWARE SOLUTIONS — Design System
   Premium SaaS aesthetic with dark/light mode
   ================================================================ */

/* ─── FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400&family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ─── DESIGN TOKENS ─── */
:root {
  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', 'Inter', sans-serif;

  /* Primary Palette */
  --blue: #1a6bff;
  --blue-bright: #3d84ff;
  --blue-deep: #0b5ed7;
  --blue-rgb: 26, 107, 255;
  --teal: #06b6d4;
  --teal-rgb: 6, 182, 212;

  /* Dark tones */
  --black: #030712;
  --off-black: #0a0e1a;
  --dark: #0f1629;
  --dark-surface: #141b2d;
  --dark-border: rgba(255, 255, 255, 0.06);

  /* Light tones */
  --white: #ffffff;
  --off-white: #f8f9fc;
  --light-gray: #e2e8f0;
  --gray: #94a3b8;
  --text-dark: #0f172a;
  --text-muted: #64748b;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1a6bff 0%, #3b82f6 50%, #06b6d4 100%);
  --gradient-hero: linear-gradient(135deg, rgba(26, 107, 255, 0.1) 0%, rgba(59, 130, 246, 0.06) 50%, rgba(6, 182, 212, 0.03) 100%);
  --gradient-text: linear-gradient(135deg, #1a6bff 0%, #3b82f6 50%, #06b6d4 100%);
  --gradient-glow: radial-gradient(circle, rgba(26, 107, 255, 0.2) 0%, transparent 70%);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 60px rgba(26, 107, 255, 0.15);
  --shadow-glow-lg: 0 0 100px rgba(26, 107, 255, 0.25);

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 50rem;
}

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

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

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

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ─── SCROLL PROGRESS BAR ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 9999;
  transition: width 0.08s ease-out;
  box-shadow: 0 0 10px rgba(var(--blue-rgb), 0.5);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 0.8; transform: scale(1.05); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes particle-float {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 5vw;
  transition: all 0.4s ease;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  background: rgba(15, 22, 41, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1rem 0.6rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .navbar-inner {
  background: rgba(10, 14, 26, 0.95);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-logo span {
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  background: var(--gradient-primary);
  color: var(--white) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 700 !important;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s !important;
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  opacity: 0;
  transition: opacity 0.4s;
}
.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(var(--blue-rgb), 0.4) !important;
}
.nav-cta:hover::before { opacity: 1; }
.nav-cta span { position: relative; z-index: 1; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 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 overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--white);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--blue); }
.mobile-nav .close-btn {
  position: absolute;
  top: 20px; right: 5vw;
  background: none; border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 2rem;
  cursor: pointer;
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(var(--blue-rgb), 0.3);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  opacity: 0;
  transition: opacity 0.4s;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(var(--blue-rgb), 0.45);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-block;
  transition: all 0.3s;
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-block;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* ─── SECTION SCAFFOLDING ─── */
.section {
  padding: 120px 5vw;
  position: relative;
  overflow: hidden;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px; height: 2px;
  background: var(--blue);
}
.section-label.centered {
  justify-content: center;
}
.section-label.centered::before { display: none; }

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
  color: var(--text-dark);
  letter-spacing: 0.01em;
  max-width: 800px;
}
.section-headline em {
  font-style: normal;
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

.section-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 600px;
  margin-top: 1.5rem;
}

/* Section variants */
.section-dark {
  background: var(--black);
  color: var(--white);
}
.section-dark .section-headline { color: var(--white); }
.section-dark .section-sub { color: rgba(255, 255, 255, 0.5); }

.section-alt {
  background: var(--off-white);
}
.section-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(var(--blue-rgb), 0.03) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(var(--teal-rgb), 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.section-blue {
  background: var(--blue);
  color: var(--white);
}
.section-blue .section-headline { color: var(--white); }
.section-blue .section-label { color: rgba(255, 255, 255, 0.7); }
.section-blue .section-label::before { background: rgba(255, 255, 255, 0.5); }
.section-blue .section-headline em {
  background: linear-gradient(135deg, #0a3d91 0%, #1a5bc4 50%, #0e7490 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

/* Dot pattern overlay */
.section-dots::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(var(--blue-rgb), 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.5;
}

/* Grid overlay */
.section-grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--blue-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--blue-rgb), 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  opacity: 0.5;
}

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 5vw 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--blue-rgb), 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--blue-rgb), 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* Floating gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}
.hero-orb-1 {
  width: 700px; height: 700px;
  background: rgba(var(--blue-rgb), 0.15);
  top: -200px; right: -150px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: rgba(59, 130, 246, 0.1);
  bottom: -100px; left: -100px;
  animation-delay: -7s;
}
.hero-orb-3 {
  width: 400px; height: 400px;
  background: rgba(var(--teal-rgb), 0.08);
  top: 30%; left: 40%;
  animation-delay: -14s;
}

/* Particles container */
.particles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.particle {
  position: absolute;
  width: 4px; height: 4px;
  background: rgba(var(--blue-rgb), 0.4);
  border-radius: 50%;
  animation: particle-float linear infinite;
}
.particle:nth-child(odd) {
  background: rgba(59, 130, 246, 0.3);
}
.particle:nth-child(3n) {
  width: 6px; height: 6px;
  background: rgba(var(--teal-rgb), 0.25);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeUp 0.8s ease both;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 2px;
  background: var(--blue);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 9vw, 8.5rem);
  line-height: 0.92;
  color: var(--white);
  letter-spacing: 0.01em;
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero-headline em {
  font-style: normal;
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  max-width: 540px;
  line-height: 1.75;
  margin-top: 2rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  animation: fadeUp 0.8s 0.4s ease both;
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--white);
  line-height: 1;
}
.hero-stat-num span { color: var(--blue); }
.hero-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 4px;
}

/* ─── PROBLEM CARDS ─── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 4rem;
  background: var(--light-gray);
  border: 1px solid var(--light-gray);
}
.problem-card {
  background: var(--white);
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--gradient-primary);
  transition: height 0.4s ease;
}
.problem-card:hover::before { height: 100%; }
.problem-card:hover {
  background: #fafbff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.problem-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.problem-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.problem-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ─── SERVICE CARDS ─── */
.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: end;
}
.services-header p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.05);
}
.service-card {
  background: var(--dark-surface);
  padding: 3rem 2.5rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0;
  padding: 1px;
  background: var(--gradient-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover {
  background: #1a2035;
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}
.service-card:hover::before { opacity: 1; }

.service-num {
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(var(--blue-rgb), 0.1);
  line-height: 1;
  position: absolute;
  top: 1.5rem; right: 2rem;
  transition: color 0.3s;
}
.service-card:hover .service-num { color: rgba(var(--blue-rgb), 0.2); }

.service-icon-wrap {
  width: 52px; height: 52px;
  background: rgba(var(--blue-rgb), 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(var(--blue-rgb), 0.1);
}
.service-card:hover .service-icon-wrap {
  background: rgba(var(--blue-rgb), 0.2);
  box-shadow: 0 8px 25px rgba(var(--blue-rgb), 0.2);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.service-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.4);
}

/* ─── PROCESS STEPS ─── */
.process-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
  margin-top: 4rem;
}
.process-left {
  position: sticky;
  top: 120px;
}
.process-left p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

.process-steps {
  display: flex;
  flex-direction: column;
}
.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--light-gray);
  position: relative;
  transition: padding-left 0.3s;
}
.process-step:first-child { border-top: 1px solid var(--light-gray); }
.process-step:hover { padding-left: 12px; }

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--light-gray);
  line-height: 1;
  transition: color 0.3s;
}
.process-step:hover .step-num { color: var(--blue); }

.step-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.step-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ─── RESULTS / STATS SECTION ─── */
.results-bg-text {
  position: absolute;
  font-family: var(--font-display);
  font-size: 20vw;
  color: rgba(255, 255, 255, 0.04);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.02em;
}

.results-header {
  text-align: center;
  margin-bottom: 5rem;
}
.results-header .section-label { justify-content: center; }
.results-header .section-label::before { display: none; }
.results-header .section-headline {
  color: var(--white);
  margin: 0 auto;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255, 255, 255, 0.1);
}
.result-card {
  background: rgba(0, 0, 30, 0.2);
  padding: 3rem 2rem;
  text-align: center;
  transition: background 0.3s;
}
.result-card:hover {
  background: rgba(0, 0, 30, 0.35);
}
.result-num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 5vw, 5rem);
  color: var(--white);
  line-height: 1;
  display: block;
}
.result-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
  display: block;
}

/* ─── MOCK DASHBOARD ─── */
.dashboard-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
  margin-top: 4rem;
}
.dashboard-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
.dashboard-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.5);
  border-radius: var(--radius-md);
  border-left: 3px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.dashboard-point:hover {
  border-left-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.dp-icon {
  width: 40px; height: 40px;
  background: rgba(var(--blue-rgb), 0.08);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(var(--blue-rgb), 0.1);
}
.dp-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 3px;
}
.dp-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Mock dashboard UI */
.mock-dashboard {
  background: var(--dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25), var(--shadow-glow);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.mock-topbar {
  background: #1c2029;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }

.mock-body { padding: 20px; }

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.mock-kpi {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.mock-kpi-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  line-height: 1;
}
.mock-kpi-val.blue { color: var(--blue); }
.mock-kpi-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 4px;
}

.mock-chart {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  height: 100px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 16px;
}
.mock-bar {
  flex: 1;
  background: rgba(var(--blue-rgb), 0.25);
  border-radius: 3px 3px 0 0;
  transition: background 0.3s;
  position: relative;
}
.mock-bar.active { background: var(--blue); }
.mock-bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 30%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px 3px 0 0;
}

.mock-leads { display: flex; flex-direction: column; gap: 6px; }
.mock-lead-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.mock-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 700; color: white;
  flex-shrink: 0;
}
.mock-lead-name {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  flex: 1;
}
.mock-tag {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
}
.mock-tag.new { background: rgba(var(--blue-rgb), 0.2); color: var(--blue-bright); }
.mock-tag.warm { background: rgba(255, 160, 0, 0.15); color: #ffa000; }
.mock-tag.closed { background: rgba(0, 200, 100, 0.15); color: #00c864; }

/* ─── CTA SECTION ─── */
.cta-inner {
  background: var(--black);
  padding: 80px 8vw;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.cta-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: var(--gradient-glow);
  right: -150px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  animation: pulse-glow 4s ease-in-out infinite;
}
.cta-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}
.cta-content .section-label { margin-bottom: 1.5rem; }
.cta-content .section-headline { color: var(--white); }
.cta-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 460px;
}

/* ─── CONTACT FORM ─── */
.form-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-gray);
  max-width: 600px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: block;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(var(--blue-rgb), 0.15);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Flash messages */
.flash-message {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.flash-message.success {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.flash-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ─── PRIVACY POLICY PAGE ─── */
.privacy-container {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.privacy-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--light-gray);
}
.privacy-heading {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light-gray);
}
.privacy-heading:first-of-type {
  border-top: none;
  padding-top: 0;
}
.privacy-subheading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--blue);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.privacy-container p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.privacy-contact {
  margin-top: 1.5rem;
  padding: 1.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--blue);
}
.privacy-contact p {
  margin-bottom: 0.4rem;
}
.privacy-contact a {
  color: var(--blue);
  font-weight: 600;
  transition: color 0.2s;
}
.privacy-contact a:hover {
  color: var(--blue-deep);
}

/* ─── FOOTER ─── */
footer {
  background: var(--off-black);
  padding: 60px 5vw 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 0.04em;
}
.footer-logo span { color: var(--blue); }
.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 6px;
}

.footer-links-group {
  display: flex;
  gap: 4rem;
}
.footer-links-col h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 1rem;
}
.footer-links-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-links-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .services-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .process-layout { grid-template-columns: 1fr; gap: 3rem; }
  .process-left { position: static; }
  .dashboard-layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  /* Reduce reveal animation for mobile — less distance, faster */
  .reveal {
    transform: translateY(25px);
    transition-duration: 0.5s;
  }

  /* Fix hero height for mobile Safari address bar */
  #hero {
    min-height: 100dvh;
    min-height: calc(var(--vh, 1vh) * 100);
    padding: 100px 4vw 60px;
  }

  /* Contain gradient orbs on mobile — prevent overflow/scroll issues */
  .hero-orb {
    filter: blur(60px);
  }
  .hero-orb-1 {
    width: 350px; height: 350px;
    top: -100px; right: -80px;
  }
  .hero-orb-2 {
    width: 250px; height: 250px;
    bottom: -50px; left: -50px;
  }
  .hero-orb-3 {
    width: 200px; height: 200px;
  }

  .navbar { padding: 0.75rem 4vw; }
  .navbar-inner { padding: 0.5rem 1rem; }
  .nav-links { display: none; }
  .hamburger { display: flex !important; }

  .hero-headline { font-size: clamp(3rem, 13vw, 5rem); }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; gap: 0.75rem; }
  .hero-actions a,
  .hero-actions button { text-align: center; width: 100%; }
  .hero-stats { gap: 1.5rem; margin-top: 3rem; padding-top: 2rem; }
  .hero-stat-num { font-size: 2.2rem; }

  .section { padding: 80px 4vw; }
  .section-headline { font-size: clamp(2.2rem, 10vw, 3.5rem); }

  .problem-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .process-step { grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.75rem 0; }
  .step-num { font-size: 2rem; }

  .btn-primary, .btn-ghost, .btn-white {
    width: 100%;
    text-align: center;
    padding: 15px 24px;
  }

  .footer-top { flex-direction: column; gap: 2rem; }
  .footer-links-group { flex-direction: column; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .cta-inner { padding: 60px 6vw; }

  /* Reduce mock dashboard shadow complexity on mobile */
  .mock-dashboard {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  }
}

@media (max-width: 480px) {
  .hero-headline { font-size: clamp(2.8rem, 14vw, 4rem); }
  .results-grid { grid-template-columns: 1fr; }
  .mock-kpis { grid-template-columns: 1fr; }

  /* Even less reveal distance on small screens */
  .reveal {
    transform: translateY(15px);
  }
}

