* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f8faff;
  --bg-soft: #f3f4ff;
  --white: #ffffff;
  --text: #111827;
  --text-soft: #6b7280;
  --border: #e5e7eb;
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --gradient: linear-gradient(135deg, #6366f1, #8b5cf6);
  --shadow: 0 12px 35px rgba(99, 102, 241, 0.10);
  --shadow-hover: 0 20px 50px rgba(99, 102, 241, 0.16);
  --radius: 20px;
  --container: 1120px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  color: var(--text-soft);
  font-size: 0.97rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--primary);
}

/* HERO */
.hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.10), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f6f7ff 100%);
}

.hero-wrap {
  text-align: center;
  max-width: 860px;
}

.eyebrow,
.section-tag {
  display: inline-block;
  padding: 8px 14px;
  background: #eef2ff;
  color: var(--primary);
  border: 1px solid #dfe3ff;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -1.6px;
  margin-bottom: 16px;
}

.hero-text {
  max-width: 700px;
  margin: 0 auto 30px;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.btn-dark {
  background: var(--gradient);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.28);
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(99, 102, 241, 0.35);
}

.btn-light {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-light:hover {
  background: #f9fafb;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mini-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.mini-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.mini-card span {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* SECTIONS */
.section {
  padding: 84px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  text-align: center;
  margin-bottom: 42px;
}

.section-head.left {
  text-align: left;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -1.2px;
  margin-bottom: 10px;
}

.section-subtext {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-soft);
}

/* TEST CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.test-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.test-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
}

.card-top {
  margin-bottom: 14px;
}

.badge {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 999px;
  background: #f3f4ff;
  border: 1px solid #e4e7ff;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.test-card h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

.test-card p {
  color: var(--text-soft);
  margin-bottom: 20px;
}

.card-btn {
  display: inline-block;
  background: var(--gradient);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.card-btn:hover {
  transform: translateY(-1px);
}

/* CATEGORY */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.category-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.category-card p {
  color: var(--text-soft);
}

/* ABOUT */
.text-block p {
  color: var(--text-soft);
  font-size: 1.03rem;
  margin-bottom: 18px;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.faq-item h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--text-soft);
  margin-bottom: 0;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: #ffffff;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-brand {
  font-weight: 800;
  margin-bottom: 4px;
}

.footer-copy {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary);
}

/* MOBILE */
@media (max-width: 920px) {
  .hero-points,
  .cards-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 66px 0;
  }

  .hero {
    padding: 78px 0 56px;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn,
  .card-btn {
    width: 100%;
    text-align: center;
  }

  .test-card,
  .category-card,
  .mini-card,
  .faq-item {
    padding: 22px;
  }
}