* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Design System Colors */
  --primary-navy: #1a1a1a;
  --primary-charcoal: #2a2a2a;
  --primary-blue: #007bff;
  --primary-blue-hover: #0066cc;

  --emerald-green: #10b981;
  --coral-pink: #ff6b6b;
  --warm-orange: #ff8c42;
  --soft-purple: #8b5cf6;
  --sky-blue: #38bdf8;

  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-lighter: #f1f3f4;
  --text-dark: #1a1a1a;
  --text-gray: #6b7280;
  --text-light: #9ca3af;

  /* Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --border-radius: 12px;
  --border-radius-small: 8px;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.12);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #e5e7eb;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-navy);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-blue);
}

.cta-button {
  background: var(--primary-blue);
  color: white !important;
  padding: 12px 24px;
  border-radius: var(--border-radius-small);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.cta-button:hover {
  background: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="gradient" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:%23007bff;stop-opacity:0.03"/><stop offset="100%" style="stop-color:%23007bff;stop-opacity:0"/></radialGradient></defs><circle cx="500" cy="500" r="500" fill="url(%23gradient)"/></svg>') center/contain no-repeat;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--emerald-green);
  color: white;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-gray);
  margin-bottom: 40px;
  line-height: 1.5;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.6s both;
}

.btn-primary {
  background: var(--primary-blue);
  color: white;
  padding: 16px 32px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--primary-blue-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  padding: 16px 32px;
  border: 2px solid #e5e7eb;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-badge {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary-blue);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary-navy);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--border-radius);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-blue), var(--sky-blue));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: #d1d5db;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-blue), var(--sky-blue));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary-navy);
}

.feature-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-light);
}

.steps-container {
  max-width: 1000px;
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.step {
  text-align: center;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -20px;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, var(--primary-blue), var(--sky-blue));
  z-index: 1;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-blue), var(--sky-blue));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-navy);
}

.step p {
  color: var(--text-gray);
  font-size: 14px;
}

/* Scoring Section */
.scoring {
  padding: 100px 0;
  background: var(--bg-white);
}

.scoring-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
  margin-top: 60px;
}

.scoring-factors {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

/* Main Overall Score Card */
.metric-card-main {
  background: var(--emerald-green);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  color: white;
  box-shadow: var(--shadow-medium);
  min-width: 280px;
}

.metric-icon-circle {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.metric-score-large {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
}

.metric-label-main {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.metric-description-main {
  font-size: 14px;
  opacity: 0.9;
}

/* Individual Metric Cards */
.metric-card {
  padding: 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.metric-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-soft);
}

.metric-pink {
  background: #ffe2e5;
}

.metric-orange {
  background: #fff4de;
}

.metric-mint {
  background: #dcfce7;
}

.metric-blue {
  background: #def1f8;
}

.metric-purple {
  background: #f3e8ff;
}

.metric-icon-small {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 12px;
  flex-shrink: 0;
}

.metric-pink .metric-icon-small {
  background: #ff6b6b;
}

.metric-orange .metric-icon-small {
  background: #ff8c42;
}

.metric-mint .metric-icon-small {
  background: #10b981;
}

.metric-blue .metric-icon-small {
  background: #38bdf8;
}

.metric-purple .metric-icon-small {
  background: #8b5cf6;
}

.metric-content-inline {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.metric-score {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-navy);
  min-width: 80px;
}

.metric-details {
  flex: 1;
}

.metric-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.metric-desc {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.4;
}

.scoring-note {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--border-radius);
}

.scoring-note p {
  color: var(--text-gray);
  font-size: 16px;
}

.scoring-note strong {
  color: var(--emerald-green);
  font-weight: 600;
}

/* Privacy Section */
.privacy {
  padding: 100px 0;
  background: var(--bg-light);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.privacy-card {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.privacy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.privacy-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--emerald-green), var(--soft-purple));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-charcoal) 100%);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: white;
  color: var(--primary-navy);
  padding: 16px 32px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.btn-outline {
  background: transparent;
  color: white;
  padding: 16px 32px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
  background: var(--primary-navy);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Brand Name Style */
.brand-name {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }

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

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 32px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .scoring-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .metric-card-main {
    min-width: unset;
    padding: 30px;
  }

  .metric-content-inline {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 0 60px;
  }

  .features,
  .how-it-works,
  .scoring,
  .privacy,
  .cta-section {
    padding: 60px 0;
  }

  .feature-card,
  .privacy-card {
    padding: 24px;
  }
}