* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(180deg, #f3f7ff 0%, #ffffff 60%, #eef3ff 100%);
  color: #1f2933;
  line-height: 1.6;
  padding-top: 90px;   /* space for fixed nav */
  padding-bottom: 80px; /* space for footer breathing room */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   Glassy Top Navigation
   =========================== */
header {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 99%;
  max-width: 1600px;
  z-index: 1100;

  background: rgba(42, 123, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-radius: 20px;
  padding: 3px 20px;

  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 8px 32px rgba(15, 35, 80, 0.25);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  color: #eaf2ff;
  letter-spacing: 0.03em;
}

.logo-icon {
  margin-right: 10px;
  font-size: 28px;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 18px;
}

nav ul li a {
  color: #e6f0ff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  transition: all 0.25s ease;
  opacity: 0.95;
}

nav ul li a:hover {
  background: rgba(255,255,255,0.16);
  color: #ffffff;
}

/* Auth buttons */
#login-btn,
#signup-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.7);
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: #0b3a8f;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 4px 14px rgba(15,23,42,0.2);
  transition: all 0.25s ease;
  white-space: nowrap;
}

#login-btn {
  background: transparent;
  color: #eaf2ff;
  border-color: rgba(234,242,255,0.8);
}

#login-btn:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}

#signup-btn {
  background: #ffffff;
  color: #0b4fbf;
}

#signup-btn:hover {
  background: #e9f1ff;
  transform: translateY(-1px);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-subtitle,
.hero-tagline,
.hero-note {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #0b1f4f;
  margin-bottom: 12px;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #4b5563;
  max-width: 650px;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 0.95rem;
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37,99,235,0.35);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37,99,235,0.45);
}

.hero-note {
  font-size: 0.9rem;
  color: #6b7280;
}

.hero-note strong {
  color: #1d4ed8;
}

/* ===========================
   Features Section
   =========================== */
.features {
  padding: 40px 0 20px;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  color: #0b1f4f;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: #6b7280;
  margin-bottom: 28px;
  font-size: 0.98rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 14px 40px rgba(15,23,42,0.08);
  border: 1px solid rgba(209,213,219,0.8);
  text-align: left;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(37,99,235,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #0b1f4f;
}

.feature-card p {
  font-size: 0.95rem;
  color: #4b5563;
}

/* ===========================
   How It Works
   =========================== */
.how-it-works {
  padding: 40px 0 40px;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 20px;
}

.step {
  text-align: center;
  max-width: 260px;
}

.step-number {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #2563eb;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(37,99,235,0.4);
}

.step h3 {
  color: #0b1f4f;
  margin-bottom: 6px;
  font-size: 1rem;
}

.step p {
  color: #4b5563;
  font-size: 0.95rem;
}

/* ===========================
   Testimonials
   =========================== */
.testimonials {
  padding: 40px 0 40px;
}

.testimonial-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.testimonial {
  flex: 1 1 320px;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 14px 35px rgba(15,23,42,0.08);
  border: 1px solid rgba(209,213,219,0.85);
}

.testimonial-quote {
  font-style: italic;
  color: #374151;
  margin-bottom: 12px;
}

.testimonial-author {
  font-weight: 600;
  color: #2563eb;
  font-size: 0.95rem;
}

/* ===========================
   Final CTA
   =========================== */
.cta-section {
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  border-radius: 24px;
  margin-bottom: 50px;
}

.cta-section h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.cta-section p {
  max-width: 680px;
  margin: 0 auto 22px;
  font-size: 0.98rem;
}

.cta-section .btn-primary {
  background: #ffffff;
  color: #1d4ed8;
  box-shadow: 0 12px 30px rgba(15,23,42,0.35);
}

.cta-section .btn-primary:hover {
  background: #e3ecff;
}

/* ===========================
   Footer
   =========================== */
footer {
  background: #020617;
  color: #cbd5f5;
  padding: 40px 0 24px;
  margin-top: 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 28px;
  margin-bottom: 24px;
}

.footer-column h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  color: #e5e7eb;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: #9ca3af;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #60a5fa;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-icon:hover {
  border-color: #60a5fa;
  color: #dbeafe;
  transform: translateY(-1px);
}

.footer-bottom {
  border-top: 1px solid rgba(55,65,81,0.85);
  padding-top: 12px;
  font-size: 0.8rem;
  color: #6b7280;
  text-align: center;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 110px;
  }

  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-container {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  nav ul {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 60px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 520px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
