/* ============================================
   COPILOTO PROCESAL – Design System
   Precisión Jurídica en cada pixel
   Paleta: Azules (azulón → celeste)
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
  /* Primary Palette – Dark Background */
  --navy-900: #060E1F;
  --navy-800: #0A1628;
  --navy-700: #0F1F3A;
  --navy-600: #1B2A4A;
  --navy-500: #243B6A;
  --navy-400: #2D4F8A;

  /* Neutrals */
  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --white: #FFFFFF;
  --off-white: #F8FAFC;

  /* Accent – Blue Range (Azulón → Celeste) */
  --blue-deep: #1B4DDB;
  --blue-primary: #2563EB;
  --blue-medium: #3B82F6;
  --blue-bright: #60A5FA;
  --blue-celeste: #7DD3FC;
  --blue-light: #BAE6FD;

  /* Functional */
  --success: #10B981;
  --danger: #EF4444;
  --info: #3B82F6;

  /* Typography – Montserrat only */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;
  --container-padding: 0 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.25);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-medium: 0.4s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--gray-300);
  background-color: var(--navy-900);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

/* --- Utility --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 16px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-400);
  max-width: 640px;
  line-height: 1.8;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* --- Animated Elements --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--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;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.938rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-medium);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::after {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-deep) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  border-color: var(--blue-bright);
  color: var(--blue-bright);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 12px 24px;
  font-size: 0.875rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-medium);
}

.nav.scrolled {
  background: rgba(6, 14, 31, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 4px;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-400);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-bright);
  transition: width var(--transition-medium);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.813rem !important;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -300px;
  left: -300px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-bright);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--blue-bright);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue-celeste) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-medium) 0%, var(--blue-celeste) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.813rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-mockup {
  background: linear-gradient(145deg, var(--navy-700) 0%, var(--navy-800) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot.red {
  background: #FF5F57;
}

.mockup-dot.yellow {
  background: #FFBD2E;
}

.mockup-dot.green {
  background: #28CA41;
}

.mockup-content {
  padding: 24px;
}

.mockup-notification {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
  animation: slideInNotif 0.5s var(--ease-out) forwards;
  opacity: 0;
}

.mockup-notification:nth-child(1) {
  animation-delay: 0.5s;
}

.mockup-notification:nth-child(2) {
  animation-delay: 1s;
}

.mockup-notification:nth-child(3) {
  animation-delay: 1.5s;
}

@keyframes slideInNotif {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.notif-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.notif-icon.incoming {
  background: rgba(59, 130, 246, 0.15);
}

.notif-icon.classified {
  background: rgba(16, 185, 129, 0.15);
}

.notif-icon.alert {
  background: rgba(96, 165, 250, 0.15);
}

.notif-body {
  flex: 1;
  min-width: 0;
}

.notif-title {
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.notif-desc {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.notif-status {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.688rem;
  font-weight: 600;
  flex-shrink: 0;
}

.notif-status.new {
  background: rgba(59, 130, 246, 0.15);
  color: var(--info);
}

.notif-status.done {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
}

.notif-status.pending {
  background: rgba(96, 165, 250, 0.15);
  color: var(--blue-bright);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* ============================================
   PAIN SECTION (EL DOLOR)
   ============================================ */
.pain-section {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  position: relative;
}

.pain-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.pain-header {
  text-align: center;
  margin-bottom: 64px;
}

.pain-quote {
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--blue-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.pain-quote p {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gray-300);
  line-height: 1.8;
}

.pain-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pain-card {
  padding: 40px 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--danger), transparent);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.pain-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.pain-card:hover::before {
  opacity: 1;
}

.pain-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
  background: rgba(239, 68, 68, 0.1);
}

.pain-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 700;
}

.pain-card p {
  font-size: 0.938rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ============================================
   CALCULATOR SECTION
   ============================================ */
.calculator-section {
  padding: var(--section-padding);
  background: var(--navy-900);
  position: relative;
}

.calculator-header {
  text-align: center;
  margin-bottom: 60px;
}

.calculator-widget {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(15, 31, 58, 0.8) 0%, rgba(10, 22, 40, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.calculator-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright), var(--blue-celeste));
}

.calc-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.calc-inputs {
  padding: 48px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.calc-inputs-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 700;
}

.calc-inputs-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 36px;
}

.calc-group {
  margin-bottom: 28px;
}

.calc-group:last-child {
  margin-bottom: 0;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.calc-label-text {
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--gray-300);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.calc-label-value {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--blue-bright);
  min-width: 60px;
  text-align: right;
}

/* Custom Range Slider */
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--navy-600);
  outline: none;
  transition: background var(--transition-fast);
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-medium) 0%, var(--blue-deep) 100%);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.6);
}

.calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-medium) 0%, var(--blue-deep) 100%);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
  cursor: pointer;
  border: none;
}

/* Results Panel */
.calc-results {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-results-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 700;
}

.calc-results-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 36px;
}

.result-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.result-metric:last-of-type {
  border-bottom: none;
}

.result-metric-label {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.result-metric-value {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.result-metric-value.highlight-blue {
  background: linear-gradient(135deg, var(--blue-medium) 0%, var(--blue-celeste) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2rem;
}

.result-metric-value.highlight-success {
  color: var(--success);
}

.result-separator {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.3), transparent);
  margin: 20px 0;
}

.calc-cta-area {
  margin-top: 32px;
  text-align: center;
}

.calc-cta-area .btn {
  width: 100%;
}

.calc-cta-hint {
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-top: 12px;
}

/* Comparison Table (below calculator) */
.comparison-table-wrapper {
  max-width: 1100px;
  margin: 48px auto 0;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.comparison-table thead th {
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-400);
  text-align: left;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-table thead th:last-child {
  color: var(--blue-bright);
}

.comparison-table tbody td {
  padding: 18px 24px;
  font-size: 0.938rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody td:first-child {
  color: var(--gray-300);
  font-weight: 500;
}

.comparison-table tbody td:nth-child(2) {
  color: var(--gray-500);
}

.comparison-table tbody td:nth-child(3) {
  color: var(--white);
  font-weight: 600;
}

.comparison-table tbody td:last-child {
  color: var(--success);
  font-weight: 700;
}

/* ============================================
   SOLUTION SECTION
   ============================================ */
.solution-section {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-900) 100%);
}

.solution-header {
  text-align: center;
  margin-bottom: 72px;
}

.solution-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

/* Connecting line */
.solution-pillars::before {
  content: '';
  position: absolute;
  top: 72px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.3), rgba(37, 99, 235, 0.3), transparent);
  z-index: 0;
}

.pillar-card {
  padding: 48px 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-medium);
  position: relative;
  z-index: 1;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-glow);
}

.pillar-step {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-deep) 100%);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.pillar-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 700;
}

.pillar-card p {
  font-size: 0.938rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ============================================
   SECURITY SECTION
   ============================================ */
.security-section {
  padding: var(--section-padding);
  background: var(--navy-800);
  position: relative;
  overflow: hidden;
}

.security-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.security-header {
  text-align: center;
  margin-bottom: 64px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.security-card {
  padding: 40px 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.005) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: all var(--transition-medium);
}

.security-card:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.security-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.75rem;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.security-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 700;
}

.security-card p {
  font-size: 0.938rem;
  color: var(--gray-400);
  line-height: 1.7;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success);
}

/* ============================================
   SOCIAL PROOF SECTION
   ============================================ */
.social-section {
  padding: var(--section-padding);
  background: var(--navy-900);
}

.social-header {
  text-align: center;
  margin-bottom: 64px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.testimonial-card {
  padding: 40px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  position: relative;
  transition: all var(--transition-medium);
}

.testimonial-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-lg);
}

.testimonial-quote-mark {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--blue-primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: -12px;
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: 1.125rem;
}

.testimonial-author-info h4 {
  font-size: 0.938rem;
  font-weight: 600;
  color: var(--white);
}

.testimonial-author-info p {
  font-size: 0.813rem;
  color: var(--gray-500);
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  opacity: 0.4;
  flex-wrap: wrap;
}

.trust-logo {
  font-family: var(--font-heading);
  font-size: 0.938rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 1px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.faq-item.active {
  border-color: rgba(37, 99, 235, 0.25);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  transition: background var(--transition-fast);
  border: none;
  width: 100%;
  font-family: var(--font-body);
  text-align: left;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.04);
}

.faq-question h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  flex: 1;
  padding-right: 16px;
}

.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-medium);
}

.faq-toggle svg {
  width: 14px;
  height: 14px;
  stroke: var(--blue-bright);
  stroke-width: 2.5;
  fill: none;
  transition: transform var(--transition-medium);
}

.faq-item.active .faq-toggle {
  background: rgba(37, 99, 235, 0.2);
}

.faq-item.active .faq-toggle svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 0.938rem;
  color: var(--gray-400);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 80px 0 40px;
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-cta {
  text-align: center;
  padding-bottom: 60px;
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 700;
}

.footer-cta p {
  font-size: 1.063rem;
  color: var(--gray-400);
  margin-bottom: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--blue-bright);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--blue-bright);
  font-size: 1rem;
}

.footer-contact-info p {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.5;
}

.footer-contact-info a {
  display: inline;
  margin: 0;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.813rem;
  color: var(--gray-600);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.813rem;
  color: var(--gray-600);
}

.footer-legal a:hover {
  color: var(--gray-400);
}

/* ============================================
   LEAD CAPTURE MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 14, 31, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-medium);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: linear-gradient(145deg, var(--navy-700) 0%, var(--navy-800) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 500px;
  width: 100%;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-medium);
  position: relative;
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--gray-400);
  font-size: 1.125rem;
}

.modal-close:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(37, 99, 235, 0.05));
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
}

.modal h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 700;
}

.modal-subtitle {
  font-size: 0.938rem;
  color: var(--gray-400);
  margin-bottom: 32px;
  line-height: 1.7;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--gray-300);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.938rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input::placeholder {
  color: var(--gray-600);
}

.form-group input:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

.form-legal {
  font-size: 0.75rem;
  color: var(--gray-600);
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
}

.form-legal a {
  color: var(--gray-400);
  text-decoration: underline;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes counter-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.counter-animate {
  animation: counter-up 0.5s var(--ease-out) forwards;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-visual {
    order: -1;
    max-width: 560px;
    margin: 0 auto;
  }

  .hero {
    padding-top: 100px;
  }

  .pain-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .calc-body {
    grid-template-columns: 1fr;
  }

  .calc-inputs {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .solution-pillars {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .solution-pillars::before {
    display: none;
  }

  .security-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .testimonials {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-padding: 72px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(6, 14, 31, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .calc-inputs,
  .calc-results {
    padding: 32px 24px;
  }

  .btn {
    padding: 14px 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .modal {
    padding: 32px 24px;
  }

  .trust-logos {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .pain-quote {
    padding: 24px;
  }

  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 12px 14px;
    font-size: 0.813rem;
  }
}