/* --------
   Base
--------- */

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #111827 0, #020617 40%, #01030a 100%);
  color: #e5e7eb;
}

body {
  min-height: 100vh;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --------
   Layout helpers
--------- */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  padding: 4rem 0;
  background: rgba(15, 23, 42, 0.85);
  border-top: 1px solid rgba(51, 65, 85, 0.7);
  border-bottom: 1px solid rgba(30, 41, 59, 0.7);
}

/* --------
   Typography
--------- */

.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
}

.section-intro {
  margin: 0;
  max-width: 640px;
  color: #cbd5f5;
  font-size: 0.975rem;
  line-height: 1.7;
}

.section-intro .highlight {
  color: #22d3ee;
}

.section-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

.link {
  color: #22d3ee;
  text-decoration: underline;
}

/* --------
   Navbar
--------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(to right, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid rgba(30, 64, 175, 0.4);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #22d3ee, #0369a1 55%, #0b1120 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #e5e7eb;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.35);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-subtitle {
  font-size: 0.72rem;
  color: #9ca3af;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  font-size: 0.8rem;
  color: #cbd5f5;
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease, transform 0.08s ease;
}

.nav-link:hover {
  background: rgba(30, 64, 175, 0.35);
  color: #f9fafb;
  transform: translateY(-1px);
}

.nav-link-cta {
  border: 1px solid rgba(56, 189, 248, 0.8);
  background: radial-gradient(circle at 20% 0, rgba(56, 189, 248, 0.2), rgba(8, 47, 73, 0.8));
  padding-inline: 0.9rem;
}

/* --------
   Hero
--------- */

.hero {
  padding: 4rem 0 3.5rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.eyebrow {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: #22d3ee;
  margin: 0 0 0.5rem;
}

.hero-heading {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 650;
  margin: 0 0 0.75rem;
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  max-width: 640px;
  color: #cbd5f5;
  font-size: 0.98rem;
  line-height: 1.7;
}

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

.hero-trust {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  font-size: 0.8rem;
  color: #9ca3af;
}

.hero-trust li {
  margin-bottom: 0.2rem;
}

/* --------
   Buttons
--------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.08s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out, border-color 0.12s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(to right, #22d3ee, #0ea5e9);
  color: #020617;
  font-weight: 600;
  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.8),
    0 0 30px rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 0.9),
    0 0 40px rgba(56, 189, 248, 0.45);
}

.btn-outline {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.9);
}

.btn-outline:hover {
  border-color: #22d3ee;
  background: rgba(15, 23, 42, 0.9);
}

/* --------
   Cards & grids
--------- */

.grid-2 {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
}

.card {
  background: radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), rgba(15, 23, 42, 0.95));
  border-radius: 1rem;
  border: 1px solid rgba(30, 64, 175, 0.5);
  padding: 1.5rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.8);
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
}

.card-body {
  font-size: 0.9rem;
  color: #cbd5f5;
  line-height: 1.7;
  margin: 0;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.card-list li {
  margin-bottom: 0.35rem;
}

/* --------
   Process
--------- */

.process-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.process-step {
  padding: 1.25rem 1.3rem;
  border-radius: 1rem;
  border: 1px solid rgba(30, 64, 175, 0.45);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.08), rgba(15, 23, 42, 0.95));
}

.process-label {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #38bdf8;
  margin: 0 0 0.35rem;
}

.process-body {
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5f5;
  line-height: 1.7;
}

.process-cta {
  margin-top: 2rem;
}

/* --------
   EDUCATION
--------- */
#education .section-intro {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}


/* --------
   FAQ
--------- */

.faq-list {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: 0.9rem;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background: rgba(15, 23, 42, 0.95);
  padding: 0.9rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #e5e7eb;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 600;
  color: #64748b;
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0.6rem 0 0.1rem;
  font-size: 0.88rem;
  color: #cbd5f5;
  line-height: 1.7;
}

/* --------
   Contact / CTA
--------- */

.contact-section {
  text-align: center;
  border-top: 1px solid rgba(30, 64, 175, 0.6);
  background: radial-gradient(circle at top, rgba(30, 64, 175, 0.35), rgba(2, 6, 23, 0.98));
}

.contact-inner {
  max-width: 640px;
}

.contact-btn {
  margin-top: 1.8rem;
}

.contact-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* --------
   Footer
--------- */

.footer {
  margin-top: auto;
  border-top: 1px solid rgba(30, 64, 175, 0.7);
  background: #020617;
}

.footer-inner {
  padding: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

.footer-text {
  color: #94a3b8;
}

.footer-muted {
  opacity: 0.8;
}

/* --------
   Responsive
--------- */

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

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

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

  .hero {
    padding-top: 5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* keep it super simple for now */
  }

  .hero {
    padding-top: 3.25rem;
  }
}
