*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #050816;
  --bg-alt: #0e1424;
  --bg-light: #f5f7fb;
  --text: #161827;
  --text-light: #f8f9ff;
  --accent: #2f80ed;
  --accent-soft: rgba(47, 128, 237, 0.08);
  --accent-strong: #1c61c5;
  --border-soft: rgba(22, 24, 39, 0.08);
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 45px rgba(10, 25, 56, 0.16);
  --shadow-subtle: 0 8px 24px rgba(10, 25, 56, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background-color: #ffffff;
  line-height: 1.6;
}

/* Layout helpers */

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section-light {
  background-color: var(--bg-light);
}

.section-dark {
  background: radial-gradient(circle at top left, rgba(47, 128, 237, 0.18), transparent 55%),
              radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.14), transparent 55%),
              var(--bg);
  color: var(--text-light);
}

.section h2 {
  font-size: clamp(1.9rem, 2.1vw + 1.5rem, 2.6rem);
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 640px;
  margin-bottom: 2.5rem;
  color: rgba(22, 24, 39, 0.75);
}

.section-intro-light {
  color: rgba(248, 249, 255, 0.85);
}

.section-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .section-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
    align-items: start;
  }
}

/* Header / Nav */

.site-header {
  background: radial-gradient(circle at top left, rgba(47, 128, 237, 0.22), transparent 55%),
              radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.16), transparent 55%),
              var(--bg);
  color: var(--text-light);
  padding-bottom: 3.5rem;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.logo-icon {
  font-size: 1.3rem;
}

.logo-text {
  font-size: 1rem;
}

.logo-accent {
  color: #e5f0ff;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: rgba(248, 249, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: #ffffff;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: #ffffff;
  display: block;
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    inset: 60px 1.25rem auto 1.25rem;
    background: rgba(5, 8, 22, 0.96);
    border-radius: 16px;
    padding: 0.9rem 1.1rem;
    flex-direction: column;
    align-items: flex-start;
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    gap: 0.7rem;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
  }

  .nav-links.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle.nav-toggle-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle.nav-toggle-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.nav-toggle-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

/* Hero */

.hero {
  padding: 3.4rem 0 1.8rem;
}

.hero-content {
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw + 1.5rem, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero p {
  color: rgba(236, 240, 255, 0.88);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.7rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-tags span {
  font-size: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(229, 240, 255, 0.25);
  background: rgba(3, 9, 29, 0.65);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(10, 25, 56, 0.35);
}

.btn-outline {
  background: transparent;
  box-shadow: none;
  border: 1px solid rgba(229, 240, 255, 0.7);
  color: #f8f9ff;
}

.btn-outline:hover {
  background: rgba(5, 8, 22, 0.5);
  box-shadow: var(--shadow-subtle);
}

.btn-small {
  padding: 0.4rem 0.95rem;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
}

/* Stats */

.stats {
  display: grid;
  gap: 0.9rem;
}

.stat-card {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background-color: #ffffff;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-subtle);
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(22, 24, 39, 0.6);
  margin-bottom: 0.25rem;
}

.stat-value {
  font-weight: 600;
}

/* Credibility list */

.credibility {
  margin-top: 1.3rem;
}

.credibility h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(22, 24, 39, 0.7);
}

.credibility ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: rgba(22, 24, 39, 0.8);
}

/* Cards */

.card-grid {
  display: grid;
  gap: 1.6rem;
}

@media (min-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-subtle);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: rgba(22, 24, 39, 0.78);
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: rgba(22, 24, 39, 0.85);
}

/* Pills / Who we serve */

.pill-grid {
  display: grid;
  gap: 1.3rem;
}

@media (min-width: 800px) {
  .pill-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pill-card {
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  background: rgba(5, 8, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow-subtle);
}

.pill-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.pill-card p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(248, 249, 255, 0.85);
}

/* Markets */

.markets-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.markets-list li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.95rem;
}

.markets-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

/* Steps / Process */

.steps {
  display: grid;
  gap: 1.3rem;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.step {
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.3rem 1.4rem;
  border: 1px solid var(--border-soft);
  background: linear-gradient(145deg, #ffffff, #f6f7fb);
  box-shadow: var(--shadow-subtle);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 2.3rem;
  align-items: flex-start;
}

.contact-note {
  font-size: 0.9rem;
  color: rgba(248, 249, 255, 0.78);
}

.contact-note a {
  color: #ffffff;
  text-decoration: underline;
}

.contact-form {
  background: rgba(5, 8, 22, 0.86);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.55rem;
  color: rgba(248, 249, 255, 0.85);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.55rem 0.6rem;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(3, 7, 26, 0.96);
  color: #f8f9ff;
  font-family: inherit;
  font-size: 0.85rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(47, 128, 237, 0.6);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form label + label {
  margin-top: 0.7rem;
}

/* Footer */

.site-footer {
  background: #050816;
  color: rgba(248, 249, 255, 0.8);
  padding: 1.8rem 0 2.1rem;
}

.footer-content {
  text-align: center;
  font-size: 0.8rem;
}

.footer-small {
  margin-top: 0.3rem;
  color: rgba(248, 249, 255, 0.6);
}

/* Utilities */

.muted {
  color: rgba(22, 24, 39, 0.65);
  font-size: 0.9rem;
}

/* Responsive tweaks */

@media (max-width: 600px) {
  .hero {
    padding-top: 2.7rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .card,
  .pill-card,
  .step,
  .contact-form {
    padding: 1.2rem 1.2rem 1.3rem;
  }
}
