/* Root variables */
:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-strong: #eff6ff;
  --surface-muted: #f1f5f9;
  --text: #0f172a;
  --text-muted: #475569;
  --primary: #2563eb;
  --primary-soft: rgba(37, 99, 235, 0.12);
  --accent: #14b8a6;
  --accent-soft: rgba(20, 184, 166, 0.12);
  --border: #e2e8f0;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
  --radius: 28px;
  --radius-sm: 18px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input,
textarea,
a {
  font: inherit;
}

button {
  border: none;
  cursor: pointer;
}

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

button,
input,
textarea {
  border-radius: 14px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-weight: 700;
  letter-spacing: -0.03em;
}

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

.nav-links a {
  color: var(--text);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
}

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

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

.button {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.15);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  background: #1d4ed8;
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
}

.hero {
  padding: 5rem 1.5rem 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 3rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-copy {
  max-width: 620px;
}

.hero-copy p {
  font-size: 1.06rem;
  color: var(--text-muted);
  margin-top: 1.4rem;
}

.hero-copy .hero-meta {
  display: inline-flex;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0;
}

.hero-copy .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(20, 184, 166, 0.06));
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: 5rem 1.5rem;
}

.section-title {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-title h2 {
  font-size: clamp(2rem, 2.5vw, 2.7rem);
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0 auto;
  max-width: 640px;
}

.grid {
  display: grid;
  gap: 1.75rem;
}

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

.grid-cols-2-wide {
  grid-template-columns: 1.1fr 0.9fr;
}

.grid-cols-2-narrow {
  grid-template-columns: 1fr 0.8fr;
}

.card {
  background: var(--surface);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.card-strong {
  border-color: rgba(20, 184, 166, 0.18);
}

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

.card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

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

.card li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: var(--text-muted);
}

.card li::before {
  content: "•";
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1;
}

.stats-grid {
  display: grid;
  gap: 1rem;
}

.stat {
  background: var(--surface-muted);
  padding: 1.6rem;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
}

.stat strong {
  display: block;
  font-size: 1.65rem;
  margin-bottom: 0.35rem;
}

.stat span {
  color: var(--text-muted);
}

.topic-card {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  display: grid;
  gap: 1rem;
}

.topic-icon {
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.35rem;
}

.topic-card h4 {
  margin: 0;
}

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

/* Testimonial styles removed (no verified testimonials) */

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

.input-group {
  display: grid;
  gap: 0.75rem;
}

.input-group label {
  font-size: 0.95rem;
  color: var(--text);
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: var(--text);
}

.input-group input:focus,
.input-group textarea:focus,
button:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.3);
  outline-offset: 3px;
}

textarea {
  min-height: 180px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.form-note {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cta-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(20, 184, 166, 0.08));
  border-radius: 28px;
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.footer {
  padding: 2rem 1.5rem;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.footer .footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid #e2e8f0;
  color: var(--text);
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

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

@media (max-width: 900px) {
  .hero-grid,
  .section-grid,
  .grid,
  .grid-cols-3,
  .grid-cols-2-wide,
  .grid-cols-2-narrow {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .navbar {
    padding: 1rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 1rem 1.5rem 1.25rem;
    flex-direction: column;
    background: rgba(248, 250, 252, 0.98);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-image {
    min-height: 360px;
  }
}

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

  .hero {
    padding-bottom: 2rem;
  }

  .card,
  .topic-card,
  .cta-panel {
    padding: 1.5rem;
  }
}
