:root {
  --color-accent: #1800ad;
  --color-accent-dark: #12007d;
  --color-accent-soft: #eeebff;
  --color-accent-2: #2e1fd8;
  --color-accent-3: #2d1fd6;
  --color-accent-4: #1a00b8;
  --color-accent-light-1: #6b44ff;
  --color-accent-light-2: #a78bfa;

  --color-accent-rgb: 24, 0, 173;

  --color-text: #111827;
  --color-text-muted: #6b7280;
  --color-text-soft: #374151;

  --color-border: #e5e7eb;
  --color-border-strong: #d1d5db;
  --color-surface-soft: #f9fafb;

  --color-star: #fbbf24;

  --radius-md: 12px;
  --radius-pill: 999px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
}

.gradient-text {
  background: linear-gradient(
    130deg,
    var(--color-accent) 0%,
    var(--color-accent-light-1) 60%,
    var(--color-accent-light-2) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-bg {
  background:
    radial-gradient(
      ellipse 80% 60% at 70% -10%,
      rgba(var(--color-accent-rgb), 0.07) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 50% at -5% 80%,
      rgba(var(--color-accent-rgb), 0.05) 0%,
      transparent 55%
    ),
    #ffffff;
}

.card-hover {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(var(--color-accent-rgb), 0.11);
}

.accent-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.check-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.star {
  width: 16px;
  height: 16px;
  color: var(--color-star);
  fill: currentColor;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px rgba(var(--color-accent-rgb), 0.3);
  transition:
    background 0.18s,
    box-shadow 0.18s,
    transform 0.15s;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  box-shadow: 0 8px 32px rgba(var(--color-accent-rgb), 0.38);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  background: transparent;
  color: var(--color-text-soft);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  transition:
    border-color 0.15s,
    background 0.15s;
  text-decoration: none;
}
.btn-ghost:hover {
  border-color: var(--color-border-strong);
  background: var(--color-surface-soft);
}

.course-card-featured {
  background: linear-gradient(
    145deg,
    var(--color-accent) 0%,
    var(--color-accent-2) 60%,
    var(--color-accent) 100%
  );
  position: relative;
  overflow: hidden;
}
.course-card-featured::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}
.course-card-featured::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.cta-section {
  background: linear-gradient(
    140deg,
    var(--color-accent) 0%,
    var(--color-accent-3) 40%,
    var(--color-accent-4) 100%
  );
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

[data-price]:empty::before {
  content: '';
  display: inline-block;
  width: 3.5ch;
  height: 0.8em;
  vertical-align: -0.05em;
  border-radius: 4px;
  background: currentColor;
  opacity: 0.12;
  animation: price-skeleton-pulse 1.2s ease-in-out infinite;
}

@keyframes price-skeleton-pulse {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.22;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-price]:empty::before {
    animation: none;
  }
}

.founder-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 4 / 5;
  background: var(--color-accent-soft);
  isolation: isolate;
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.founder-card:hover .founder-photo {
  transform: scale(1.04);
}

.founder-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 18px 14px;
  color: #fff;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0) 100%
  );
}

.founder-overlay-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.founder-overlay-role {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 2px;
}

.process-connector-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.process-connector {
  position: relative;
}
.process-connector:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 23px;
  left: calc(50% + 24px);
  width: calc(100% - 24px);
  height: 2px;
  background: var(--color-accent);
}

@media (max-width: 1023px) {
  .process-connector::after {
    display: none;
  }
}

.nav-link {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color 0.15s;
  text-decoration: none;
  font-weight: 500;
}
.nav-link:hover {
  color: var(--color-text);
}

/* Hero split layout: вмикається тільки на десктопі (≥1024px).
   Мобільна верстка не зачіпається — виглядає як один колонковий блок. */
.hero-layout {
  display: block;
}

@media (min-width: 1024px) {
  .hero-layout {
    display: flex;
    align-items: center;
    gap: 56px;
  }

  .hero-content {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }
}

/* Value Pack — права колонка hero, тільки десктоп */
.value-pack {
  display: none;
}

@media (min-width: 1024px) {
  .value-pack {
    display: block;
    flex: 0 0 520px;
    width: 520px;
  }
}

.value-pack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.value-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.value-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--color-accent-rgb), 0.18);
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.05),
    0 18px 40px rgba(var(--color-accent-rgb), 0.1);
}

.value-card--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    var(--color-accent-soft) 130%
  );
  border-color: rgba(var(--color-accent-rgb), 0.18);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.value-icon svg {
  width: 20px;
  height: 20px;
}

.value-card-body {
  flex: 1;
  min-width: 0;
}

.value-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.value-desc {
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .value-card {
    transition: none;
  }
  .value-card:hover {
    transform: none;
  }
}

#mobile-menu {
  height: calc(100vh - 64px);
}

#mobile-menu > div > div {
  margin-top: auto !important;
}
