:root {
  --primary: #2962ff;
  --primary-light: #5c7cff;
  --primary-dark: #0d47a1;
  --secondary: #00bcd4;
  --accent: #ffc107;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-soft: #e3f2fd;
  --text: #0a2455;
  --text-muted: #54687b;
  --border: #e0e8f0;
  --success: #4caf50;
  --warning: #ff9800;
  --error: #d32f2f;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 24px rgba(41, 98, 255, 0.12);
  --shadow-lg: 0 20px 48px rgba(41, 98, 255, 0.16);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.landing {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #f5f7fa 0%, #e3f2fd 100%);
  line-height: 1.6;
}

/* =====================
   HEADER & NAVIGATION
   ===================== */

.header-landing {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 32px;
  gap: 32px;
}

.navbar-brand {
  flex-shrink: 0;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 24px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .navbar {
    padding: 12px 16px;
    gap: 16px;
  }
}

/* =====================
   HERO SECTION
   ===================== */

.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 32px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(41, 98, 255, 0.08) 0%, rgba(0, 188, 212, 0.04) 100%);
  border: 1px solid rgba(41, 98, 255, 0.2);
  border-radius: 14px;
  width: fit-content;
}

.badge-logo {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(41, 98, 255, 0.15);
}

.badge-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(41, 98, 255, 0.1));
}

.badge-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.badge-brand {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  letter-spacing: 0.5px;
}

.badge-tagline {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
}

.badge-variant-official {
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 14px 18px;
  width: min(100%, 430px);
  border: 1px solid #cad6e3;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 6px 12px rgba(16, 35, 63, 0.08);
}

.badge-variant-official .badge-logo {
  width: 58px;
  height: 58px;
  border: 1px solid #e0e8f0;
  border-radius: 10px;
  background: #f7fafc;
  box-shadow: none;
}

.badge-variant-official .badge-kicker {
  margin: 0;
  color: #145a67;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
}

.badge-variant-official .badge-brand {
  color: #10233f;
  font-size: 0.94rem;
  letter-spacing: 0;
}

.badge-variant-official .badge-tagline {
  color: #40516c;
  font-size: 0.82rem;
  line-height: 1.35;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-eyebrow strong {
  font-weight: 700;
  color: var(--primary);
}

.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin: 0;
}

.hero-title strong {
  color: var(--primary);
}

.hero-description {
  font-size: 18px;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

.hero-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.hero-features-quick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.3s ease;
  cursor: default;
}

.feature-badge:hover {
  background: var(--surface-soft);
  border-color: var(--primary);
  color: var(--primary);
}

.feature-badge i {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.button-primary-lg,
.button-secondary-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.button-primary-lg {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  box-shadow: 0 8px 24px rgba(41, 98, 255, 0.3);
}

.button-primary-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(41, 98, 255, 0.4);
}

.button-secondary-lg {
  background: var(--surface);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.button-secondary-lg:hover {
  background: var(--surface-soft);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.hero-image-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--surface-soft) 0%, var(--surface) 100%);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-rocket-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(41, 98, 255, 0.15));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero {
    padding: 60px 24px;
    min-height: auto;
  }

  .hero-visual {
    max-height: 400px;
  }
}

/* =====================
   FEATURES SECTION
   ===================== */

.features {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 32px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(41, 98, 255, 0.1) 0%, rgba(0, 188, 212, 0.05) 100%);
  border-radius: 12px;
  color: var(--primary);
}

.feature-icon i {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* =====================
   STATS SECTION
   ===================== */

.stats {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 24px;
  margin-left: 32px;
  margin-right: 32px;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-number {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 16px;
  opacity: 0.9;
  font-weight: 500;
}

/* =====================
   DATA FLOW SECTION
   ===================== */

.data-flow {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 32px;
}

.flow-timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 64px;
  flex-wrap: wrap;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 200px;
  text-align: center;
  position: relative;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.flow-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 20px;
}

.flow-step h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.flow-step p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.flow-arrow {
  color: var(--primary);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
}

.flow-arrow i {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .flow-timeline {
    flex-direction: column;
    gap: 16px;
  }

  .flow-arrow {
    transform: rotate(90deg);
    margin: 0;
  }
}

/* =====================
   CTA SECTION
   ===================== */

.cta-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 32px;
  background: linear-gradient(135deg, rgba(41, 98, 255, 0.1) 0%, rgba(0, 188, 212, 0.05) 100%);
  border: 2px solid var(--primary);
  border-radius: 24px;
  text-align: center;
  margin: 80px auto;
}

.cta-content h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
}

.input-field {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  background: var(--surface);
  color: var(--text);
  transition: all 0.3s ease;
}

.input-field:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(41, 98, 255, 0.1);
}

.input-field::placeholder {
  color: var(--text-muted);
}

textarea.input-field {
  min-height: 96px;
  resize: vertical;
  font-family: inherit;
}

.cta-message {
  min-height: 22px;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.cta-message.success {
  color: #0d47a1;
}

.cta-message.error {
  color: #d32f2f;
}

/* =====================
   FOOTER
   ===================== */

.footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding-top: 80px;
  margin-top: 120px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px 48px;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-section p {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-section ul a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding: 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  opacity: 0.8;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.footer-bottom p {
  margin: 0;
}

.footer-tagline {
  font-size: 12px;
  letter-spacing: 0.5px;
  opacity: 0.7;
  font-weight: 600;
}

.footer-tagline strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
}

/* =====================
   RESPONSIVE
   ===================== */

@media (max-width: 768px) {
  .hero-cta {
    flex-direction: column;
  }

  .button-primary-lg,
  .button-secondary-lg {
    width: 100%;
    justify-content: center;
  }

  .hero-badge {
    width: 100%;
    justify-content: flex-start;
  }

  .badge-variant-official {
    padding: 12px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stats {
    margin-left: 16px;
    margin-right: 16px;
  }

  .cta-section {
    margin: 60px 16px;
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 12px 16px;
  }

  .hero {
    padding: 40px 16px;
  }

  .features,
  .data-flow {
    padding: 60px 16px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .hero-features-quick {
    grid-template-columns: 1fr 1fr;
  }

  .footer-content {
    gap: 32px;
  }
}

/* =====================
   ANIMATIONS
   ===================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.feature-card {
  animation: fadeInUp 0.6s ease-out;
}

.hero-content {
  animation: slideInLeft 0.8s ease-out;
}
