@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --sand: #fff6d6;
  --text: #1f1c18;
  --accent: #1f6feb;
  --accent-dark: #174ea6;
  --amber: #ffe172;
  --muted: #5f574f;
  --card: #ffffff;
  --border: rgba(17, 14, 9, 0.08);
  --shadow: 0 18px 45px rgba(15, 11, 6, 0.12);
  --gradient: radial-gradient(circle at 20% 22%, rgba(255, 214, 102, 0.55), transparent 52%),
    radial-gradient(circle at 82% 6%, rgba(31, 111, 235, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 248, 221, 0.95), rgba(255, 241, 198, 0.92));
}

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--sand);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(circle at 12% 18%, rgba(255, 214, 102, 0.38), transparent 44%),
    radial-gradient(circle at 80% 6%, rgba(31, 111, 235, 0.08), transparent 42%);
}

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

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

main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 48px;
}

section {
  scroll-margin-top: 110px;
}

.section-inner {
  width: min(100%, 1140px);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 32px);
}

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

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 12px;
}

.section-heading {
  max-width: 620px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin: 0;
  line-height: 1.2;
}

.section-heading .subcopy {
  margin-top: 12px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 15px 35px rgba(31, 111, 235, 0.35);
}

.btn.primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn.secondary {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn.secondary:hover {
  background: #f3f2ef;
}

.btn.ghost {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn.ghost:hover {
  background: rgba(31, 111, 235, 0.1);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(255, 250, 234, 0.82);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(205, 143, 37, 0.2);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31, 111, 235, 0.08), transparent 30%, rgba(255, 225, 114, 0.12));
  pointer-events: none;
}

.header-inner {
  position: relative;
  width: min(100%, 1140px);
  margin: 0 auto;
  padding: 18px clamp(20px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1rem;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
  color: var(--muted);
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
  background: rgba(31, 111, 235, 0.08);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.link-ghost {
  font-weight: 600;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.link-ghost:hover {
  background: rgba(31, 28, 24, 0.07);
  transform: translateY(-1px);
}

.header-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffffff;
  font-weight: 600;
  color: #1f1c18;
  border: 1px solid rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  background: #f4f4f4;
}

.header-cta:active {
  transform: translateY(0);
  background: #ededed;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient);
}

.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 210, 90, 0.42), transparent 58%);
  top: -80px;
  right: -60px;
  filter: blur(6px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(31, 111, 235, 0.08), transparent 52%);
  bottom: -20px;
  left: 22%;
  filter: blur(14px);
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin: 0;
  line-height: 1.1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 111, 235, 0.18);
  box-shadow: 0 10px 26px rgba(15, 11, 6, 0.08);
  margin-bottom: 10px;
  backdrop-filter: blur(6px);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #1f1c18;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.hero-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.hero-tags {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags li {
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-metrics {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-metrics li {
  flex: 1 1 160px;
  min-width: 140px;
  background: #fff;
  padding: 16px 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.metric {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
}

.label {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-media {
  position: relative;
}

.hero-illustration {
  border-radius: 30px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 32px;
  box-shadow: var(--shadow);
}

.floating-card {
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  max-width: 320px;
  position: absolute;
  bottom: -30px;
  right: 10%;
}

.floating-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--amber);
}

.floating-title {
  margin: 0;
  font-weight: 600;
}

.floating-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.trust-bar {
  background: #fff8d7;
}

.trust-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.trust-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 520px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.trust-logos span {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(31, 28, 24, 0.08);
  text-align: center;
}

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

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

.feature-grid article {
  background: var(--card);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.feature-grid h3 {
  margin-top: 0;
}

.course-highlight {
  background: #fff;
}

.highlight-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: start;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.bullet-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.highlight-card {
  background: var(--sand);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.highlight-card .label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 8px;
  display: inline-block;
}

.highlight-card a {
  color: var(--accent);
  font-weight: 600;
}

.ai-explainer {
  background: #fff;
}

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

.explainer-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.explainer-steps li {
  display: flex;
  gap: 16px;
  background: var(--card);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.explainer-steps span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f6feb, #ffd54f);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #1f1005;
}

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

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

.testimonial-grid article {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 30px rgba(15, 11, 6, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.author .name {
  margin: 0;
  font-weight: 600;
}

.author .meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.faq {
  background: #fff;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

details {
  background: var(--sand);
  border-radius: 16px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.cta-banner {
  background: linear-gradient(120deg, #1f6feb, #ffd54f);
  color: #1b1005;
}

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

.banner-layout h2 {
  margin-top: 8px;
  margin-bottom: 12px;
}

.banner-layout .btn.primary {
  background: #1f1c18;
  color: #fff;
  box-shadow: none;
}

.site-footer {
  background: #1f1c18;
  color: #f5f0e6;
}

.footer-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-block: 32px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #f5f0e6;
  font-weight: 600;
}

.auth-body {
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, rgba(255, 225, 114, 0.35), transparent 38%),
    radial-gradient(circle at 82% 6%, rgba(31, 111, 235, 0.14), transparent 38%),
    #fffaf0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 6vw, 56px) clamp(16px, 5vw, 32px);
}

.auth-shell {
  width: min(520px, 100%);
}

.auth-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 28px;
  padding: clamp(28px, 6vw, 42px) clamp(22px, 6vw, 40px);
  border: 1px solid rgba(17, 14, 9, 0.08);
  box-shadow: 0 34px 90px rgba(15, 11, 6, 0.12);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.auth-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--amber);
  box-shadow: 0 14px 36px rgba(15, 11, 6, 0.16);
}

.auth-brand-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  color: var(--text);
}

.auth-brand-dot {
  color: var(--accent);
}

.auth-headline {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-headline h1 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2rem);
  letter-spacing: -0.01em;
}

.auth-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-form label {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
}

.auth-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  font: inherit;
  color: var(--text);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.8);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.auth-form input:focus {
  outline: none;
  border-color: rgba(31, 111, 235, 0.6);
  box-shadow: 0 0 0 4px rgba(31, 111, 235, 0.12);
}

.full-width {
  width: 100%;
}

.auth-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
}

.auth-meta a {
  font-weight: 600;
  color: var(--muted);
}

.auth-meta a:hover {
  color: var(--text);
}

.form-feedback {
  min-height: 18px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-feedback.error {
  color: #c0392b;
}

.form-feedback.success {
  color: #1a7f37;
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .floating-card {
    position: static;
    margin-top: 16px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 16px 20px;
  }

  .hero-metrics {
    flex-direction: column;
  }
}
