:root {
  --background: #0b1b35;
  --background-alt: #f5f7fb;
  --surface: #ffffff;
  --surface-alt: #0f2448;
  --primary: #1f6bff;
  --primary-dark: #1248b0;
  --accent: #ffba49;
  --text: #091121;
  --text-muted: #3f4f6b;
  --text-on-dark: #f4f7ff;
  --shadow-lg: 0 30px 60px rgba(15, 36, 72, 0.25);
  --shadow-md: 0 12px 30px rgba(9, 17, 33, 0.18);
  --container-width: min(1100px, 92vw);
}

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

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

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

a:hover,
a:focus {
  color: var(--primary);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: var(--container-width);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 27, 53, 0.95);
  backdrop-filter: blur(18px);
  color: var(--text-on-dark);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-on-dark);
}

.brand img {
  width: 40px;
  height: 40px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-on-dark);
  transition: color 0.2s ease;
}

.nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(244, 247, 255, 0.4);
  border-radius: 999px;
}

.nav-cta:hover,
.nav-cta:focus {
  background: rgba(244, 247, 255, 0.1);
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.primary-button {
  background: linear-gradient(135deg, var(--primary), #5c8fff);
  color: white;
  box-shadow: var(--shadow-md);
}

.primary-button:hover,
.primary-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(31, 107, 255, 0.35);
}

.secondary-button {
  background: white;
  color: var(--primary-dark);
  border: 1px solid rgba(15, 36, 72, 0.15);
}

.secondary-button:hover,
.secondary-button:focus {
  color: var(--primary);
  border-color: rgba(31, 107, 255, 0.4);
}

.desktop-only {
  display: inline-flex;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(244, 247, 255, 0.35);
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  background: currentColor;
  border-radius: 999px;
  margin: 0 auto;
}

.hero {
  position: relative;
  background: radial-gradient(circle at top left, rgba(31, 107, 255, 0.85), rgba(11, 27, 53, 0.98));
  color: var(--text-on-dark);
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 186, 73, 0.18), transparent 55%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero .lead {
  font-size: 1.12rem;
  color: rgba(244, 247, 255, 0.85);
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 0.8rem;
}

.supporting-text {
  color: rgba(244, 247, 255, 0.7);
  font-size: 0.95rem;
}

.eyebrow {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-card {
  background: rgba(10, 18, 32, 0.7);
  border: 1px solid rgba(244, 247, 255, 0.2);
  border-radius: 24px;
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
  width: min(340px, 100%);
  backdrop-filter: blur(14px);
}

.floating-card h2 {
  font-size: 1.1rem;
  margin: 0 0 1.5rem;
}

.floating-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 1rem;
}

.floating-card li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
}

.floating-card .label {
  color: rgba(244, 247, 255, 0.7);
}

.floating-card .value {
  font-weight: 600;
  color: var(--text-on-dark);
}

.progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(244, 247, 255, 0.12);
  overflow: hidden;
}

.progress-bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #ffd37f);
}

.progress-caption {
  margin-top: 0.75rem;
  color: rgba(244, 247, 255, 0.75);
  font-size: 0.85rem;
}

.section {
  padding: 5rem 0;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  text-align: center;
}

.features {
  background: var(--background-alt);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

.card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.how-it-works {
  background: white;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.step {
  background: var(--surface);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  text-align: left;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(31, 107, 255, 0.12);
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

.results {
  background: var(--surface-alt);
  color: var(--text-on-dark);
}

.results-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.results-copy {
  max-width: 520px;
}

.results p,
.results li {
  color: rgba(244, 247, 255, 0.85);
}

.results-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: 0.8rem;
}

.results-card {
  background: rgba(11, 27, 53, 0.55);
  border: 1px solid rgba(244, 247, 255, 0.18);
  border-radius: 22px;
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
}

.results-card h3 {
  margin-top: 0;
}

.results-card dl {
  margin: 0;
  display: grid;
  gap: 1.2rem;
}

.results-card dt {
  font-size: 0.9rem;
  color: rgba(244, 247, 255, 0.7);
}

.results-card dd {
  margin: 0;
  font-weight: 600;
  font-size: 1.1rem;
}

.card-footnote {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(244, 247, 255, 0.7);
}

.testimonials {
  background: var(--background-alt);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: white;
  padding: 2rem;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.testimonial blockquote {
  margin: 0 0 1.2rem;
  font-style: italic;
  color: var(--text-muted);
}

.pricing {
  background: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 2.2rem;
  text-align: left;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  color: var(--text-muted);
}

.pricing-footnote {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--text-muted);
}

.faq {
  background: var(--background-alt);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.faq details {
  background: white;
  border-radius: 18px;
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-md);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin-top: 0.75rem;
  color: var(--text-muted);
}

.cta {
  background: linear-gradient(120deg, rgba(31, 107, 255, 0.12), rgba(255, 186, 73, 0.12));
}

.cta-card {
  background: white;
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.site-footer {
  background: #040915;
  color: rgba(244, 247, 255, 0.75);
  padding: 3rem 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  align-items: start;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.footer-brand p {
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.footer-links h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--text-on-dark);
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(244, 247, 255, 0.75);
}

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

.footer-note {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  color: rgba(244, 247, 255, 0.5);
}

.mailto-tooltip {
  position: absolute;
  z-index: 1000;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  background: rgba(9, 17, 33, 0.92);
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 10px 25px rgba(9, 17, 33, 0.25);
  opacity: 0;
  transform: translate(-50%, -6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.mailto-tooltip::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 2px;
  box-shadow: inherit;
}

.mailto-tooltip.is-visible {
  opacity: 1;
  transform: translate(-50%, -2px);
}

.mailto-tooltip.is-below {
  transform: translate(-50%, 6px);
}

.mailto-tooltip.is-below.is-visible {
  transform: translate(-50%, 2px);
}

.mailto-tooltip.is-below::after {
  top: -6px;
  bottom: auto;
}

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero .lead {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .floating-card {
    margin: 0 auto;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .desktop-only {
    display: none;
  }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    background: rgba(11, 27, 53, 0.96);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 5vw 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(244, 247, 255, 0.08);
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-nav.is-open {
    transform: scaleY(1);
    opacity: 1;
  }

  .site-header {
    padding: 0 5vw;
  }

  .nav-container {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }

  .card,
  .step,
  .pricing-card,
  .faq details,
  .testimonial {
    padding: 1.6rem;
  }

  .cta-card {
    padding: 2.4rem 1.6rem;
  }
}
