@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg-color: #ffffff;
  --bg-color-alt: #f4f6fb;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --primary: #1C4393;
  --primary-hover: #153568;
  --primary-light: #e7edf7;
  --accent: #0ea5e9;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(28, 67, 147, 0.1);
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Instrument Sans', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Effects */
.bg-glow {
  position: fixed;
  top: -20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(28, 67, 147, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
  pointer-events: none;
}
.bg-glow-2 {
  position: fixed;
  bottom: -20%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
}
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 5%;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}
.logo img {
  height: 35px;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid transparent;
  box-shadow: 0 4px 6px -1px rgba(28, 67, 147, 0.2);
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 10px 15px -3px rgba(28, 67, 147, 0.3);
  transform: translateY(-2px);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-light);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 7rem 5% 4rem;
  max-width: 900px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 750px;
  margin-inline: auto;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Features */
.features {
  padding: 5rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.glass-card {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(28, 67, 147, 0.2);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
}
.glass-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.glass-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* How it Works */
.how-it-works {
  padding: 5rem 5%;
  background: var(--bg-color-alt);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.how-container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 4rem;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 2rem;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -1.5rem;
  left: 0;
  font-size: 5rem;
  font-weight: 800;
  color: rgba(28, 67, 147, 0.05);
  z-index: 0;
}
.step h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}
.step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* Footer */
footer {
  text-align: center;
  padding: 4rem 5%;
  background: #ffffff;
  color: var(--text-secondary);
  font-size: 0.875rem;
}
.footer-logo {
  height: 24px;
  margin-bottom: 1rem;
  opacity: 0.6;
  transition: var(--transition);
  filter: grayscale(100%);
}
.footer-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 5%;
  }
  .nav-links {
    width: 100%;
    justify-content: center;
  }
  .hero {
    padding: 5rem 5% 3rem;
  }
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .steps-grid {
    gap: 2rem;
  }
}
