/* ===== HOME PAGE: REMOVE PARENT PADDING ===== */
.content:has(.hero-section) {
  padding: 0 !important;
}

/* ===== GLOBAL RESETS & VARIABLES ===== */
:root {
  --navy-dark: #0d2137;
  --navy: #1a365d;
  --navy-light: #2d5a87;
  --red: #c53030;
  --red-light: #e53e3e;
  --red-dark: #9b2c2c;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --gray-100: #f1f3f5;
  --gray-200: #e2e6ea;
  --gray-600: #4a5568;
  --gray-700: #2d3748;
  --gray-800: #1a202c;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.14);
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  background: #0a1628;
  color: white;
  overflow: hidden;
  padding: clamp(4rem, 10vh, 7rem) clamp(1.5rem, 5vw, 3rem);
}

.hero-background {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(45, 90, 135, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(26, 54, 93, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 10% 60%, rgba(197, 48, 48, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

/* Hero Logo */
.hero-logo-area {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.hero-logo {
  height: clamp(80px, 12vw, 110px);
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(45, 90, 135, 0.35) 0%, rgba(26, 54, 93, 0.1) 45%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: glowPulse 5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}

.hero-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.4);
}

.hero-title {
  font-size: clamp(2.25rem, 5vw + 0.5rem, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.text-gradient {
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(0.9375rem, 1.5vw + 0.25rem, 1.125rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 auto 2rem;
  max-width: 520px;
}

/* Hero Metrics Bar */
.hero-metrics {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.hero-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.metric-value {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.metric-label {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

.hero-metric-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* Hero Buttons */
.hero-actions {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn-primary {
  padding: 0.75rem 2rem;
  background: var(--red);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  box-shadow: 0 0 20px rgba(197, 48, 48, 0.25);
  transition: all 0.2s ease;
}

.hero-btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 0 30px rgba(197, 48, 48, 0.4);
  transform: translateY(-1px);
  color: white;
}

.hero-btn-secondary {
  padding: 0.75rem 2rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.hero-btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

/* ===== PLATFORM SECTION ===== */
.platform-section {
  padding: 3.5rem 0;
  background: var(--off-white);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.section-subtitle {
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.platform-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all 0.25s ease;
}

.platform-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-light);
}

.platform-card.featured {
  border-color: var(--red);
  border-width: 2px;
  position: relative;
}

.platform-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -10px;
  left: 1.75rem;
  background: var(--red);
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
}

.platform-icon {
  width: 52px;
  height: 52px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.platform-icon i {
  font-size: 1.5rem;
  color: white;
}

.platform-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.platform-desc {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.platform-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.platform-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.375rem 0;
  font-size: 0.875rem;
  color: var(--gray-700);
  font-weight: 500;
}

.platform-features li i {
  color: var(--red);
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* ===== CAPABILITIES SECTION ===== */
.capabilities-section {
  padding: 3.5rem 0;
  background: var(--white);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.capability-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 10px;
  background: var(--off-white);
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.capability-card:hover {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.capability-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.capability-icon i {
  font-size: 1.25rem;
  color: white;
}

.capability-icon.icon-alert {
  background: var(--red);
}

.capability-content h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.375rem;
}

.capability-content p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

/* ===== WORKFLOW SECTION ===== */
.workflow-section {
  padding: 3.5rem 0;
  background: var(--off-white);
}

.workflow-container {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  height: 100%;
}

.workflow-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
}

.workflow-title i {
  color: var(--red);
}

.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gray-100);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  opacity: 0.65;
}

.workflow-step.active {
  opacity: 1;
  background: linear-gradient(135deg, #ebf0f7, #dce4ef);
  border-left: 3px solid var(--navy);
}

.step-number {
  width: 26px;
  height: 26px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.step-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.8125rem;
  flex: 1;
}

.step-content i {
  font-size: 0.9375rem;
  color: var(--navy-light);
}

/* ===== STATS SECTION ===== */
.stats-section {
  padding: 3rem 0;
  background: linear-gradient(140deg, #0d2137 0%, #1a365d 60%, #2d5a87 100%);
  color: white;
}

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

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.stat-number {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.25rem;
  line-height: 1;
}

.stat-label {
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 600;
  opacity: 0.9;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.stat-compare {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===== MOBILE STICKY CTA ===== */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  border-top: 2px solid var(--red);
}

.mobile-cta .btn-primary {
  background: var(--red);
  border-color: var(--red);
  font-weight: 600;
}

.mobile-cta .btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

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

/* Tablet (768px+) */
@media (min-width: 768px) {
  .platform-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .platform-section,
  .capabilities-section,
  .workflow-section {
    padding: 4.5rem 0;
  }

  .stats-section {
    padding: 3.5rem 0;
  }

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

  .section-header {
    margin-bottom: 3rem;
  }

  .mobile-cta {
    display: none !important;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .platform-section,
  .capabilities-section,
  .workflow-section {
    padding: 5rem 0;
  }

  .stats-section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 3.5rem;
  }
}

@media (max-width: 767.98px) {
  .mobile-cta {
    display: block;
  }

  .hero-actions {
    padding-bottom: 1rem;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-metrics {
    gap: 0.875rem;
    padding: 0.875rem 1.25rem;
    width: 100%;
  }

  .metric-value {
    font-size: 1.125rem;
  }

  .metric-label {
    font-size: 0.5625rem;
  }

  .hero-metric-divider {
    height: 28px;
  }

  /* Disable animations on mobile for performance */
  * {
    animation: none !important;
    transition-duration: 0.15s !important;
  }
}
