:root {
  --bg: #f3f7fc;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --text: #162944;
  --muted: #556a85;
  --accent: #0b5fc3;
  --accent-dark: #06428d;
  --line: #d7e3f1;
  --highlight: #08295d;
  --shadow: 0 18px 45px rgba(8, 41, 93, 0.1);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(20, 106, 212, 0.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(6, 66, 141, 0.1), transparent 28%),
    linear-gradient(180deg, #f9fcff 0%, #f3f7fc 48%, #edf3fa 100%);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(249, 252, 255, 0.9);
  border-bottom: 1px solid rgba(215, 227, 241, 0.9);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  display: block;
  width: auto;
  height: 46px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--highlight);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--highlight);
}

.hero,
.page-hero {
  padding: 84px 0 56px;
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
}

h1 {
  margin-bottom: 18px;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  color: var(--highlight);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  color: var(--highlight);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

p {
  margin-top: 0;
  color: var(--muted);
}

.hero-copy {
  max-width: 620px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hero-stats div,
.hero-card,
.info-card,
.blog-card,
.highlight-box,
.contact-panel,
.contact-form,
.cta-banner {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(232, 221, 207, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-stats div {
  padding: 18px;
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.5rem;
  color: var(--highlight);
}

.hero-card {
  padding: 34px;
}

.card-label,
.blog-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #e4f0ff;
  color: var(--accent-dark);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.feature-list li + li {
  margin-top: 12px;
}

.section {
  padding: 34px 0 70px;
}

.section-alt {
  background: rgba(8, 41, 93, 0.045);
}

.section-head {
  max-width: 740px;
  margin-bottom: 28px;
}

.card-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.info-card,
.blog-card,
.highlight-box,
.contact-panel,
.contact-form {
  padding: 28px;
}

.steps {
  display: grid;
  gap: 18px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(232, 221, 207, 0.95);
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--highlight);
  color: #ffffff;
  font-weight: 800;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  font-weight: 700;
  color: var(--highlight);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  font: inherit;
  color: var(--text);
  background: #fffdfa;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(217, 108, 47, 0.22);
  border-color: var(--accent);
}

.form-status {
  margin: 4px 0 0;
  color: var(--accent-dark);
  font-weight: 700;
}

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid rgba(232, 221, 207, 0.95);
}

.admin-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.admin-shell {
  width: min(1080px, 100%);
}

.admin-shell > .brand {
  margin-bottom: 26px;
}

.admin-card {
  padding: clamp(24px, 5vw, 44px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.login-card {
  width: min(520px, 100%);
}

.dashboard-head,
.dashboard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-actions {
  flex-wrap: wrap;
}

.lead-table-wrap {
  overflow-x: auto;
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.lead-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  text-align: left;
}

.lead-table th,
.lead-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.lead-table th {
  color: var(--highlight);
  background: #eef5ff;
}

.lead-table tr:last-child td {
  border-bottom: 0;
}

.lead-table a {
  color: var(--accent-dark);
  text-decoration: underline;
}

.form-error {
  color: #a12525;
  font-weight: 700;
}

.site-footer .brand img {
  height: 42px;
}

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

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
}

/* Responsive CTA text */
.cta-text-desktop {
  display: inline;
}
.cta-text-mobile {
  display: none;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 26px;
  color: var(--highlight);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.1s ease;
}

.menu-toggle:hover {
  background: rgba(11, 95, 195, 0.06);
}

.menu-toggle:active {
  transform: scale(0.95);
}

.menu-toggle .close-icon {
  display: none;
}

.menu-toggle.open .hamburger-icon {
  display: none;
}

.menu-toggle.open .close-icon {
  display: inline;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .split-grid,
  .card-grid,
  .blog-grid,
  .hero-stats,
  .cta-banner,
  .footer-wrap {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(249, 252, 255, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(215, 227, 241, 0.9);
    padding: 24px 20px;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(8, 41, 93, 0.08);
    z-index: 99;
    align-items: stretch;
    text-align: center;
  }

  .site-nav.open {
    display: flex;
    animation: slideDown 0.25s ease forwards;
  }

  .site-nav a {
    display: block;
    padding: 12px 16px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .site-nav a:hover,
  .site-nav a.active {
    background: rgba(11, 95, 195, 0.08);
    color: var(--accent);
  }

  .site-header .btn {
    width: auto;
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .dashboard-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .page-hero {
    padding-top: 52px;
  }
}

@media (max-width: 600px) {
  .cta-text-desktop {
    display: none;
  }
  .cta-text-mobile {
    display: inline;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .info-card,
  .blog-card,
  .highlight-box,
  .contact-panel,
  .contact-form,
  .hero-card,
  .cta-banner {
    padding: 22px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
  /* ================================
   THANK YOU PAGE
================================ */

.thank-you-section {
  min-height: calc(100vh - 150px);
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.thank-you-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 50px;
  text-align: center;

  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(215, 227, 241, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.thank-you-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;

  font-size: 38px;
  font-weight: 800;
}

.thank-you-card .eyebrow {
  margin-bottom: 12px;
}

.thank-you-card h1 {
  margin-bottom: 18px;
}

.thank-you-text {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.08rem;
}

.thank-you-actions {
  justify-content: center;
  margin-top: 30px;
}

@media (max-width: 640px) {

  .thank-you-section {
    padding: 50px 0;
  }

  .thank-you-card {
    padding: 40px 22px;
  }

  .thank-you-actions {
    flex-direction: column;
  }
}
}
