/* ============================================
   Sulvi.online — Design System & Layout
   ============================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f9ff;
  --primary: #22a06b;
  --primary-dark: #1b7a52;
  --primary-soft: #e8f8f0;
  --accent: #f4b740;
  --accent-soft: #fef3d0;
  --highlight: #3b82f6;
  --highlight-soft: #dbeafe;
  --text: #1f2937;
  --text-muted: #6b7280;
  --border: #e6edf3;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(31, 41, 55, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 41, 55, 0.08);
  --shadow-lg: 0 16px 40px rgba(31, 41, 55, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --header-h: 72px;
  --font-display: "Urbanist", system-ui, sans-serif;
  --font-body: "Mulish", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}

h1 {
  font-size: clamp(2.15rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.2rem;
}

p {
  color: var(--text-muted);
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 2.5rem, 720px);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-xs);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 3px solid var(--highlight);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(34, 160, 107, 0.28);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 18px rgba(34, 160, 107, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
}

.btn-ghost {
  color: var(--text-muted);
  padding-inline: 0.85rem;
}

.btn-ghost:hover {
  color: var(--primary);
}

.btn-lg {
  padding: 1rem 1.6rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.875rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo-dot {
  color: var(--primary);
  font-weight: 700;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-list a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(244, 183, 64, 0.18), transparent 55%),
    radial-gradient(ellipse 55% 50% at 10% 80%, rgba(34, 160, 107, 0.12), transparent 50%),
    linear-gradient(180deg, #f4f9ff 0%, #ffffff 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}

.brand-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
}

.hero-lead {
  font-size: 1.125rem;
  margin-top: 1.15rem;
  max-width: 34rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.85rem;
}

.hero-illustration {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  filter: drop-shadow(0 20px 40px rgba(59, 130, 246, 0.12));
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.section-header p {
  margin-top: 0.75rem;
  font-size: 1.05rem;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  max-width: none;
  gap: 1.5rem;
}

.section-header-row > div:first-child {
  max-width: 480px;
}

/* Learning Paths */
.paths {
  background: var(--bg-soft);
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.path-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s ease;
}

.path-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.path-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--icon-bg);
  color: var(--icon-color);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}

.path-card h3 {
  margin-bottom: 0.4rem;
}

.path-card > p {
  font-size: 0.95rem;
  margin-bottom: 1.15rem;
}

.path-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
}

.badge-beginner {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.badge-intermediate {
  background: var(--highlight-soft);
  color: #1d4ed8;
}

.badge-advanced {
  background: #ede9fe;
  color: #6d28d9;
}

.meta-time {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Planner */
.planner-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.planner-copy h2 {
  margin-bottom: 0.85rem;
}

.check-list {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-list li {
  position: relative;
  padding-left: 1.85rem;
  font-weight: 500;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5l3 3 6-6' stroke='%2322A06B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.dash {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.dash-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.dash-month {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.dash-stat {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.dash-stat.highlight {
  background: var(--primary-soft);
}

.dash-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dash-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
}

.dash-chart {
  margin-bottom: 1.25rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 72px 1fr 36px;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.bar-track {
  height: 10px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: var(--bar-color, var(--primary));
  transition: width 1.1s var(--ease);
}

.dash-progress .progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.progress-pct {
  color: var(--primary);
  font-family: var(--font-display);
}

.progress-track {
  height: 12px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), #3ecf8e);
  border-radius: 99px;
  transition: width 1.2s var(--ease);
}

/* How it works */
.how {
  background: var(--bg-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  counter-reset: none;
}

.steps::before {
  content: "";
  position: absolute;
  top: 52px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--highlight), var(--accent), #6366f1);
  opacity: 0.35;
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-visual {
  width: 100px;
  height: 84px;
  margin: 0 auto 1rem;
}

.step-visual svg {
  width: 100%;
  height: 100%;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.step h3 {
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.92rem;
}

/* Stories */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.story-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.story-top {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.15rem;
}

.story-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
}

.story-goal {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.15rem;
}

.story-time {
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

.story-card blockquote {
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.6;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}

/* Resources */
.resources {
  background: var(--bg-soft);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.resource-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s ease;
}

.resource-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.resource-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.resource-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.resource-text strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
}

.resource-text span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Courses */
.slider-controls {
  display: flex;
  gap: 0.5rem;
}

.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.slider-btn:focus-visible {
  outline: 3px solid var(--highlight);
  outline-offset: 2px;
}

.course-slider-wrap {
  overflow: hidden;
  margin-inline: -0.25rem;
  padding: 0.25rem;
}

.course-slider {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.course-slider::-webkit-scrollbar {
  display: none;
}

.course-card {
  flex: 0 0 min(300px, 80vw);
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.course-cover svg {
  width: 100%;
  height: auto;
}

.course-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.course-body h3 {
  margin-bottom: 0.4rem;
}

.course-meta {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.rating {
  color: #d97706;
  font-weight: 700;
}

/* Community */
.community {
  background: var(--bg-soft);
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.community-copy h2 {
  margin-bottom: 0.85rem;
}

.community-copy .btn {
  margin-top: 1.75rem;
}

.community-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.community-features li {
  display: flex;
  gap: 0.9rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.community-features li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.cf-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--cf) 14%, white);
  color: var(--cf);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.community-features strong {
  font-family: var(--font-display);
  display: block;
  margin-bottom: 0.25rem;
}

.community-features p {
  font-size: 0.88rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.price-card-featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  position: relative;
  background: linear-gradient(180deg, #f0faf5 0%, #ffffff 40%);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.3rem 0.85rem;
  border-radius: 99px;
}

.price-card h3 {
  margin-bottom: 0.5rem;
}

.price {
  margin-bottom: 1.25rem;
}

.price-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--text);
}

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

.price-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.price-card li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--text);
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.price-card .btn {
  width: 100%;
}

/* FAQ */
.faq {
  background: var(--bg-soft);
}

.accordion-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-item h3 {
  font-size: 1rem;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.15rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
}

.accordion-trigger:hover {
  color: var(--primary);
}

.accordion-trigger:focus-visible {
  outline: 3px solid var(--highlight);
  outline-offset: -3px;
}

.accordion-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-soft);
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.25s var(--ease);
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--primary);
  border-radius: 1px;
}

.accordion-icon::before {
  width: 10px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.accordion-icon::after {
  width: 2px;
  height: 10px;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  background: var(--primary-soft);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon::after {
  opacity: 0;
}

.accordion-panel {
  padding: 0 1.25rem 1.2rem;
}

.accordion-panel[hidden] {
  display: none;
}

.accordion-panel p {
  font-size: 0.98rem;
}

/* Final CTA */
.final-cta {
  padding-bottom: 5.5rem;
}

.cta-panel {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(244, 183, 64, 0.25), transparent 55%),
    radial-gradient(ellipse 50% 70% at 85% 40%, rgba(59, 130, 246, 0.22), transparent 50%),
    linear-gradient(135deg, #1b7a52 0%, #22a06b 45%, #2bb673 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.cta-panel h2 {
  color: var(--white);
  max-width: 560px;
  margin: 0 auto;
}

.cta-panel > p {
  color: rgba(255, 255, 255, 0.9);
  margin: 1rem auto 0;
  max-width: 420px;
  font-size: 1.1rem;
}

.cta-panel .hero-ctas {
  justify-content: center;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 4rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  margin-top: 0.85rem;
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 240px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.site-footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
}

.copyright {
  font-size: 0.85rem;
  color: #64748b;
}

.footer-legal {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 1.25rem !important;
}

.social-links {
  display: flex !important;
  flex-direction: row !important;
  gap: 0.5rem !important;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: #cbd5e1;
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .path-card:hover,
  .story-card:hover,
  .course-card:hover,
  .resource-item:hover,
  .price-card:hover,
  .community-features li:hover {
    transform: none;
  }

  .bar-fill,
  .progress-fill {
    transition: none;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .paths-grid,
  .stories-grid,
  .resources-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .steps::before {
    display: none;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 1rem 1.25rem 1.25rem;
  }

  .nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list a {
    display: block;
    padding: 0.85rem 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .header-actions .btn-ghost {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .planner-grid,
  .community-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-visual {
    order: -1;
  }

  .hero-illustration {
    max-width: 400px;
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .paths-grid,
  .stories-grid,
  .resources-grid,
  .pricing-grid,
  .community-features {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .dash-stats {
    grid-template-columns: 1fr;
  }

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

  .hero-ctas .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-panel {
    padding: 3rem 1.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}
