/* ===================================
   ScaleOnSteroids — Design System
   ================================= */

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

/* --- CSS Custom Properties --- */
:root {
  /* Colors — flat palette matching original site */
  --bg-primary: #0a0a0a;
  --bg-secondary: #141414;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --bg-surface: #111111;
  --bg-white: #ffffff;
  --bg-light: #f5f5f5;

  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-tertiary: rgba(255, 255, 255, 0.4);
  --text-dark: #0a0a0a;
  --text-dark-secondary: rgba(10, 10, 10, 0.65);

  --accent: #ffffff;
  --accent-soft: rgba(255, 255, 255, 0.06);
  --accent-secondary: #d4d4d4;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(255, 255, 255, 0.15);

  --gradient-hero: linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  --gradient-accent: linear-gradient(135deg, #ffffff 0%, #d4d4d4 100%);
  --gradient-dark-section: linear-gradient(180deg, #0a0a0a 0%, #0e0e0e 100%);

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 120px 0;
  --container-max: 1280px;
  --container-padding: 0 40px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows — flat, no glow */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.4);
  --shadow-glow: 0 4px 20px rgba(0,0,0,0.3);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

.section-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  display: none;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.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; }

/* ===================================
   1. NAVBAR
   ================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background-color var(--transition-base), backdrop-filter var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
  background: rgba(8, 8, 15, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

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

.navbar-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--bg-primary);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.navbar-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.navbar-links a.btn-primary {
  color: var(--bg-primary);
  padding: 10px 20px;
  margin-right: -4px;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
  border-radius: 1px;
}

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

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--text-primary);
  color: var(--bg-primary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}

.btn-primary .arrow {
  transition: transform var(--transition-fast);
}

.btn-primary:hover .arrow {
  transform: translateX(3px);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--text-primary);
  color: var(--bg-primary);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.btn-accent:hover::before {
  opacity: 1;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

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

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

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

/* ===================================
   2. HERO
   ================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  position: relative;
  overflow: visible;
  background: var(--gradient-hero);
}

/* Subtle ambient gradients - no color glow */
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.015) 0%, transparent 70%);
  bottom: -100px;
  left: -150px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #ededed;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,255,255,0.3); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  color: var(--text-secondary);
}

.hero-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Hero dashboard mockup */
.hero-dashboard {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-slow);
}

.hero-dashboard:hover {
  transform: scale(1.02);
}

.hero-dashboard img {
  width: 100%;
  height: auto;
  display: block;
}

/* Full-width image banner */
.image-banner {
  padding: 0;
  margin: 0;
}

.banner-wrapper {
  position: relative;
  width: 100%;
  min-height: 320px;
  max-height: 480px;
  overflow: hidden;
}

.banner-wrapper img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 480px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: brightness(0.6);
}

.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 64px 72px;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.4) 60%, transparent 100%);
}

.banner-overlay h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.banner-overlay p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.banner-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  transition: opacity var(--transition-fast);
}

.banner-link:hover {
  opacity: 0.7;
}

/* Image showcase row (pain points section) */
.image-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.showcase-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  transition: transform var(--transition-base);
}

.showcase-item:hover {
  transform: scale(1.03);
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.img-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 6px 14px;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
}

/* ===================================
   3. SOCIAL PROOF STATS BAR
   ================================= */
.stats-bar {
  padding: 0;
  position: relative;
  z-index: 2;
}

.stats-bar .container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  top: -40px;
  margin-bottom: -40px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
  line-height: 1.2;
}

.stat-label {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.4;
}

/* ===================================
   4. PAIN POINTS
   ================================= */
.pain-points {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

.pain-points .container {
  text-align: center;
}

.pain-points .section-title {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.pain-points .section-subtitle {
  margin: 0 auto 64px;
}

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

.pain-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.pain-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pain-card:hover::before {
  opacity: 1;
}

.pain-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.pain-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.pain-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===================================
   5. SERVICES
   ================================= */
.services {
  padding: var(--section-padding);
  background: var(--gradient-dark-section);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  gap: 40px;
}

.services-header .section-subtitle {
  text-align: right;
}

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

.service-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-soft) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.service-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.service-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.service-tag {
  padding: 4px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* ===================================
   6. HOW IT WORKS
   ================================= */
.how-it-works {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

.how-it-works .container {
  text-align: center;
}

.how-it-works .section-subtitle {
  margin: 0 auto 72px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}

.step-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px 32px 36px;
  position: relative;
  transition: all var(--transition-base);
}

.step-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  margin-bottom: 20px;
}

.step-timeline {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
}

.step-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.step-deliverables {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.step-deliverables h5 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}

.step-deliverables li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-deliverables li::before {
  content: '✓';
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

/* ===================================
   7. CASE STUDIES — CARD GRID
   ================================= */
.case-studies {
  padding: var(--section-padding);
  background: var(--gradient-dark-section);
}

.case-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.case-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.case-card-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.case-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.case-card-header h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
}

.case-card-header .case-location {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* Card metrics row */
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--border-subtle);
}

.case-metric {
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid var(--border-subtle);
  transition: background var(--transition-base);
}

.case-metric:last-child {
  border-right: none;
}

.case-metric:hover {
  background: var(--accent-soft);
}

.case-metric-value {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
  line-height: 1.2;
}

.case-metric-label {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.3;
}

/* Card body */
.case-card-body {
  padding: 24px 32px;
  flex: 1;
}

.case-card-body .case-problem {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.case-card-body h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}

.case-card-body ul {
  list-style: none;
  margin-bottom: 20px;
}

.case-card-body li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 3px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.case-card-body li::before {
  content: '→';
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}

/* Surprise insight */
.case-surprise {
  padding: 16px 32px 24px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.case-surprise p {
  font-size: 13px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.5;
}

.case-surprise p::before {
  content: '💡 ';
}

/* Timeline badge */
.case-timeline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  margin-top: 12px;
}

.case-timeline::before {
  content: '⏱';
}

/* ===================================
   7b. CRM CALCULATOR
   ================================= */
.calculator-section {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

.calculator-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.calculator-header {
  padding: 48px 48px 32px;
  text-align: center;
}

.calculator-header .section-title {
  margin-bottom: 12px;
}

.calculator-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.calc-inputs {
  padding: 32px 48px 48px;
  border-right: 1px solid var(--border-subtle);
}

.calc-field {
  margin-bottom: 24px;
}

.calc-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.calc-field select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  transition: border-color var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.calc-field select:focus {
  outline: none;
  border-color: var(--accent);
}

.calc-btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* Results panel */
.calc-results {
  padding: 32px 48px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
}

.calc-score-ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.6s ease;
}

.calc-score-ring.critical {
  border-color: #e74c3c;
  box-shadow: 0 0 30px rgba(231, 76, 60, 0.15);
}

.calc-score-ring.warning {
  border-color: #f39c12;
  box-shadow: 0 0 30px rgba(243, 156, 18, 0.15);
}

.calc-score-ring.good {
  border-color: #2ecc71;
  box-shadow: 0 0 30px rgba(46, 204, 113, 0.15);
}

.score-number {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.score-label {
  font-size: 12px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.calc-insight p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 320px;
}

.calc-revenue {
  text-align: center;
}

.revenue-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.revenue-value {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}

.calc-cta {
  font-size: 14px;
  padding: 14px 28px;
}

/* ===================================
   8. FOUNDER SECTION
   ================================= */
.founder {
  padding: var(--section-padding);
  background: var(--bg-primary);
}

.founder .container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
  max-width: 900px;
}

.founder-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.founder-image::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--gradient-accent);
  z-index: -1;
  opacity: 0.3;
}

.founder-content h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.founder-content h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.founder-content .bio {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.founder-credentials {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.credential {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-tertiary);
}

.credential .check {
  color: var(--accent);
  font-size: 16px;
}

/* ===================================
   9. CONTACT FORM
   ================================= */
.contact {
  padding: var(--section-padding);
  background: var(--gradient-dark-section);
}

.contact .container {
  max-width: 800px;
}

.contact-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 64px;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
}

.contact-header {
  text-align: center;
  margin-bottom: 48px;
}

.contact-header .section-subtitle {
  margin: 0 auto;
}

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

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

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

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23666' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

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

.form-submit {
  margin-top: 32px;
  text-align: center;
}

.form-submit .btn-accent {
  width: 100%;
  justify-content: center;
  padding: 18px 32px;
  font-size: 16px;
}

/* ===================================
   10. FOOTER
   ================================= */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-primary);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left p {
  font-size: 14px;
  color: var(--text-tertiary);
}

.footer-left .footer-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
}

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

/* Tablet */
/* --- Tablet --- */
@media (max-width: 1024px) {
  :root {
    --container-padding: 0 32px;
  }

  .navbar-links {
    gap: 20px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

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

  .hero-description {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-visual {
    max-width: 520px;
    margin: 0 auto;
  }

  /* Banner */
  .banner-wrapper {
    min-height: 260px;
    max-height: 360px;
  }

  .banner-wrapper img {
    min-height: 260px;
    max-height: 360px;
  }

  .banner-overlay {
    padding: 32px 40px;
  }

  .banner-overlay h3 {
    font-size: 22px;
  }

  /* Image showcase */
  .image-showcase {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
  }

  /* Stats */
  .stats-bar .container {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

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

  .services-header {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .services-header .section-subtitle {
    text-align: center;
  }

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

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

  .case-cards-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 48px auto 0;
  }

  .calculator-body {
    grid-template-columns: 1fr;
  }

  .calc-inputs {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .founder .container {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .contact-card {
    padding: 40px;
  }
}

/* --- Small Tablet --- */
@media (max-width: 768px) {
  .navbar-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 8, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: 999;
  }

  .navbar-links.active {
    transform: translateX(0);
  }

  .navbar-links a {
    font-size: 22px;
  }

  .navbar-links .btn-primary {
    font-size: 18px;
    padding: 16px 32px;
  }

  .menu-toggle {
    display: flex;
  }

  .image-showcase {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .image-showcase .showcase-item:last-child {
    grid-column: 1 / -1;
    max-width: 60%;
    margin: 0 auto;
  }
}

/* --- Mobile --- */
@media (max-width: 640px) {
  :root {
    --section-padding: 80px 0;
    --container-padding: 0 20px;
  }

  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn-accent,
  .hero-cta .btn-outline {
    justify-content: center;
    text-align: center;
  }

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

  /* Banner mobile */
  .banner-wrapper {
    min-height: 220px;
    max-height: 300px;
  }

  .banner-wrapper img {
    min-height: 220px;
    max-height: 300px;
  }

  .banner-overlay {
    padding: 24px 20px;
  }

  .banner-overlay h3 {
    font-size: 18px;
  }

  .banner-overlay p {
    font-size: 13px;
  }

  /* Image showcase mobile */
  .image-showcase {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
  }

  .image-showcase .showcase-item:last-child {
    grid-column: auto;
    max-width: 100%;
  }

  .showcase-item {
    aspect-ratio: 16 / 10;
  }

  /* Stats */
  .stats-bar .container {
    grid-template-columns: 1fr 1fr;
    padding: 24px 20px;
    gap: 20px;
  }

  .stat-number {
    font-size: 26px;
  }

  .stat-item::after {
    display: none !important;
  }

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

  .contact-card {
    padding: 28px 20px;
  }

  /* Footer */
  .footer .container {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .founder-credentials {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .case-metric {
    padding: 16px 10px;
  }

  .case-metric-value {
    font-size: 18px;
  }

  .case-card-header {
    padding: 24px 20px 20px;
  }

  .case-card-body {
    padding: 20px;
  }

  .case-surprise {
    padding: 14px 20px 20px;
  }

  .calc-inputs,
  .calc-results {
    padding: 24px 20px;
  }

  .calc-score-ring {
    width: 120px;
    height: 120px;
  }

  .score-number {
    font-size: 32px;
  }

  .revenue-value {
    font-size: 28px;
  }

  .step-card {
    padding: 28px 20px;
  }
}
