:root {
  --indigo: #2f3ccf;
  --violet: #7c3cff;
  --lime: #b8ff42;
  --snow: #fbfcff;
  --soft: #eef2f8;
  --ink: #111827;
  --muted: #647084;
  --line: rgba(17, 24, 39, 0.1);
  --shadow: 0 24px 70px rgba(38, 48, 130, 0.15);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(47, 60, 207, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(124, 60, 255, 0.035) 1px, transparent 1px),
    var(--snow);
  background-size: 42px 42px;
  line-height: 1.6;
}

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

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
}

.section {
  padding: 96px 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(251, 252, 255, 0.82);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(251, 252, 255, 0.96);
  box-shadow: 0 12px 35px rgba(38, 48, 130, 0.12);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(184, 255, 66, 0.35);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #263044;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-panel a:not(.btn):hover {
  color: var(--indigo);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.module-card button:hover,
.price-card button:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  box-shadow: 0 16px 36px rgba(88, 72, 235, 0.28);
}

.btn-secondary {
  color: var(--indigo);
  background: #fff;
  border: 1px solid rgba(47, 60, 207, 0.18);
}

.btn-small {
  min-height: 40px;
  padding: 10px 16px;
}

.hero {
  min-height: 760px;
  padding-top: 150px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(47, 60, 207, 0.08), transparent 34%),
    radial-gradient(circle at 82% 16%, rgba(184, 255, 66, 0.34), transparent 24%),
    radial-gradient(circle at 58% 52%, rgba(124, 60, 255, 0.2), transparent 26%),
    linear-gradient(180deg, #f7f9ff 0%, #fbfcff 62%, #eef2f8 100%);
  overflow: hidden;
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.badge,
.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  color: #263044;
  background: rgba(184, 255, 66, 0.55);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 7vw, 5rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.06;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero-copy p,
.section-copy p,
.final-panel p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.stars {
  color: #f5b301;
  letter-spacing: 0;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -34px -24px auto auto;
  width: 74%;
  height: 64%;
  border: 1px solid rgba(124, 60, 255, 0.28);
  border-radius: 8px;
  transform: rotate(5deg);
}

.photo-frame {
  position: relative;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(47, 60, 207, 0.1), transparent 42%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.18), transparent 44%);
  pointer-events: none;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.photo-frame:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}

.hero-photo {
  height: 520px;
  transform: rotate(-1.6deg);
}

.hero-photo::before {
  content: "SkillUp Live";
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 2;
  padding: 9px 12px;
  border-radius: 999px;
  color: #172554;
  background: rgba(184, 255, 66, 0.92);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-float {
  position: absolute;
  right: -10px;
  bottom: 34px;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.price-float span,
.price-card p,
.testimonial span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-float strong {
  display: block;
  color: var(--indigo);
  font-size: 1.4rem;
}

.spark-float {
  position: absolute;
  left: -18px;
  top: 78px;
  display: grid;
  width: 132px;
  min-height: 132px;
  place-items: center;
  padding: 18px;
  border-radius: 50%;
  color: #172554;
  background: var(--lime);
  text-align: center;
  box-shadow: 0 18px 42px rgba(184, 255, 66, 0.38);
}

.spark-float strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.spark-float span {
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.problem-grid,
.card-grid,
.story-grid,
.process-line {
  display: grid;
  gap: 20px;
}

.problem-grid {
  grid-template-columns: repeat(5, 1fr);
}

.mini-card,
.feature-card,
.module-card,
.story-block,
.step,
.price-card,
.testimonial,
.signup-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(30, 41, 59, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mini-card:hover,
.feature-card:hover,
.module-card:hover,
.story-block:hover,
.price-card:hover,
.testimonial:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 60, 255, 0.3);
  box-shadow: var(--shadow);
}

.mini-card {
  padding: 22px;
  font-weight: 850;
}

.solution,
.pricing,
.faq {
  background: var(--soft);
}

.class-card {
  height: 440px;
  transform: rotate(1deg);
}

.class-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 16px 18px;
  border-radius: 8px;
  color: #fff;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(12px);
}

.class-card figcaption strong {
  display: block;
  color: var(--lime);
  font-size: 2rem;
  line-height: 1;
}

.class-card figcaption span {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
}

.check-list,
.price-card ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.price-card li {
  margin: 10px 0;
  color: #263044;
}

.check-list li::before,
.price-card li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--lime);
}

.four {
  grid-template-columns: repeat(4, 1fr);
}

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

.feature-card,
.module-card,
.testimonial {
  padding: 26px;
}

.feature-card,
.module-card,
.price-card {
  background:
    linear-gradient(135deg, rgba(47, 60, 207, 0.045), transparent 42%),
    #fff;
}

.icon,
.module-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--indigo);
  font-weight: 900;
}

.module-card small {
  display: block;
  margin: 18px 0;
  color: var(--muted);
  font-weight: 800;
}

.module-card button,
.price-card button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  color: var(--indigo);
  background: rgba(47, 60, 207, 0.08);
  font-weight: 850;
  cursor: pointer;
}

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

.story-block {
  padding: 16px;
}

.story-block h3,
.story-block p {
  padding: 0 8px;
}

.story-image {
  display: block;
  width: 100%;
  height: 210px;
  margin-bottom: 18px;
  border-radius: 8px;
  object-fit: cover;
}

.process-line {
  grid-template-columns: repeat(4, 1fr);
}

.step {
  padding: 24px;
}

.step span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #fff;
  background: var(--violet);
  font-weight: 900;
}

.price-card {
  position: relative;
  padding: 32px;
}

.price-card.featured,
.price-card.selected {
  border-color: var(--violet);
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.price-card strong {
  display: block;
  margin: 12px 0 4px;
  font-size: 2.4rem;
  line-height: 1;
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--lime);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.conversion {
  background:
    linear-gradient(135deg, rgba(23, 37, 84, 0.96), rgba(68, 56, 202, 0.9) 58%, rgba(109, 40, 217, 0.92)),
    url("assets/img/mentor-online.jpg") center / cover;
  color: #fff;
}

.conversion-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 28px;
  align-items: center;
}

.conversion .badge {
  background: rgba(184, 255, 66, 0.95);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stats strong {
  font-size: 1.45rem;
}

.stats span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.testimonial p {
  color: #263044;
  font-size: 1.04rem;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  padding: 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 850;
  cursor: pointer;
}

.faq-item button::after {
  content: "+";
  float: right;
  color: var(--indigo);
}

.faq-item.active button::after {
  content: "-";
}

.faq-item p {
  max-height: 0;
  margin: 0;
  padding: 0 20px;
  color: var(--muted);
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
}

.faq-item.active p {
  max-height: 160px;
  padding: 0 20px 20px;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  color: var(--indigo);
  font-weight: 800;
}

.signup-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.signup-form label {
  display: grid;
  gap: 7px;
  color: #263044;
  font-weight: 800;
}

.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #f9fbff;
  color: var(--ink);
  outline: none;
}

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(124, 60, 255, 0.1);
}

.final-cta {
  padding-top: 0;
}

.final-panel {
  padding: 56px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.78), rgba(47, 60, 207, 0.72)),
    linear-gradient(90deg, #2f3ccf, #7c3cff);
}

.final-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.footer {
  padding: 44px 0;
  color: rgba(255, 255, 255, 0.75);
  background: #0f172a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr auto 1fr;
  gap: 28px;
  align-items: start;
}

.footer .logo {
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer a:hover {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-panel {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-panel.open {
    display: grid;
  }

  .hero-grid,
  .split,
  .conversion-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .four,
  .three,
  .story-grid,
  .process-line {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    padding-top: 120px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .hero-actions,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .problem-grid,
  .four,
  .three,
  .story-grid,
  .process-line {
    grid-template-columns: 1fr;
  }

  .hero-photo,
  .class-card {
    height: 360px;
    transform: none;
  }

  .spark-float {
    left: 12px;
    top: 18px;
    width: 104px;
    min-height: 104px;
  }

  .price-float {
    position: static;
    margin-top: 14px;
  }

  .conversion-panel,
  .stats {
    text-align: left;
  }

  .final-panel {
    padding: 32px 22px;
  }
}
