/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Poppins", sans-serif;
  background-color: #ffffff;
  color: #111827;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Layout helpers */
.container {
  width: 90%;
  max-width: 1120px;
  margin: 0 auto;
}

/* Header / Nav */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.08);
}

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

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
}

.nav-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f4fa8;
}

.nav-title span {
  color: #1e88e5;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #4b5563;
}

.nav-links a {
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: #1e88e5;
  border-radius: 999px;
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: #1e88e5;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(30, 136, 229, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(30, 136, 229, 0.3);
  background: #1663b5;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #1f2933;
  transition: 0.25s;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: 80px 0 70px;
  background: radial-gradient(circle at top left, #eff6ff 0, #ffffff 45%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 14px;
}

.hero-title span {
  color: #1e88e5;
}

.hero-subtitle {
  font-size: 1rem;
  color: #4b5563;
  max-width: 460px;
  margin-bottom: 20px;
}

.hero-meta {
  display: flex;
  gap: 18px;
  font-size: 0.88rem;
  color: #6b7280;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta small {
  font-size: 0.8rem;
  color: #10b981;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.btn-primary {
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  outline: none;
  background: linear-gradient(135deg, #1e88e5, #0f4fa8);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(15, 79, 168, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px rgba(15, 79, 168, 0.5);
}

.btn-ghost {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-ghost:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.hero-note {
  font-size: 0.8rem;
  color: #9ca3af;
}

.hero-logo-card {
  justify-self: center;
  width: 260px;
  max-width: 100%;
  padding: 26px 22px 20px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(148, 163, 184, 0.16);
  text-align: center;
  animation: floatUp 3s ease-in-out infinite;
}

.hero-logo-card img {
  width: 120px;
  margin-bottom: 12px;
}

.hero-logo-card h3 {
  font-size: 1.05rem;
  color: #0f172a;
  margin-bottom: 6px;
}

.hero-logo-card p {
  font-size: 0.86rem;
  color: #6b7280;
  margin-bottom: 10px;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.hero-pill {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1e40af;
}

@keyframes floatUp {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* Features */
.section {
  padding: 60px 0;
}

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

.section-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
  margin-bottom: 6px;
}

.section-title {
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 8px;
}

.section-sub {
  font-size: 0.98rem;
  color: #6b7280;
  max-width: 520px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.feature-card {
  border-radius: 18px;
  padding: 18px 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1e88e5;
}

.feature-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: #111827;
}

.feature-body {
  font-size: 0.87rem;
  color: #6b7280;
}

/* CTA strip */
.cta-strip {
  margin: 50px 0 70px;
}

.cta-box {
  border-radius: 24px;
  padding: 22px 20px;
  background: radial-gradient(circle at top left, #e0f2fe 0, #1e88e5 45%, #0f4fa8 100%);
  color: #e5f2ff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cta-text {
  max-width: 420px;
}

.cta-text h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.cta-text p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cta-primary {
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #0f4fa8;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.cta-secondary {
  font-size: 0.8rem;
  opacity: 0.92;
}

/* Footer */
footer {
  border-top: 1px solid #e5e7eb;
  padding: 18px 0 26px;
  font-size: 0.8rem;
  color: #9ca3af;
}

footer .footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

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

.footer-links a {
  color: #9ca3af;
}

.footer-links a:hover {
  color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    inset: 56px 0 auto 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 5%;
    gap: 10px;
    border-bottom: 1px solid #e5e7eb;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-title,
  .hero-subtitle {
    max-width: 100%;
  }

  .hero-logo-card {
    margin-top: 10px;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}