:root {
  color-scheme: dark;
  --bg: #05060d;
  --panel: rgba(18, 22, 42, 0.92);
  --panel-strong: rgba(10, 14, 30, 0.96);
  --surface: #11172c;
  --surface-soft: rgba(255, 255, 255, 0.04);
  --text: #e7e9ff;
  --text-muted: #a4adc8;
  --accent: #55b7ff;
  --accent-strong: #82f4ff;
  --accent-soft: rgba(85, 183, 255, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top, rgba(85, 183, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #070814 0%, #04050a 100%);
  color: var(--text);
}

body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.page-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(3, 8, 22, 0.9);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 16px;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  object-fit: cover;
  background: linear-gradient(135deg, #f9e58e, #5ab3ff);
  padding: 8px;
}

.brand-label {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.brand-subtitle {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--accent-strong);
}

.nav-action,
.btn {
  border: none;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.nav-action,
.btn-primary {
  background: linear-gradient(135deg, #55b7ff, #82f4ff);
  color: #040b18;
  padding: 14px 24px;
  box-shadow: 0 18px 40px rgba(57, 199, 255, 0.15);
}

.btn-secondary,
.card-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 14px 24px;
}

.nav-action:hover,
.btn:hover,
.card-btn:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  padding: 64px 0 64px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 4vw, 4.4rem);
  line-height: 0.96;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 24px 0 32px;
  max-width: 620px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-media {
  position: relative;
}

.hero-card {
  background: linear-gradient(145deg, rgba(34, 46, 84, 0.94), rgba(14, 19, 39, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 36px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-tag {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(82, 180, 255, 0.14);
  color: var(--accent-strong);
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  padding: 28px;
}

.hero-panel h2 {
  margin: 0 0 14px;
  font-size: 1.5rem;
}

.hero-panel p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.section-header {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.carousel-section,
.cards-section,
.footer-cta {
  margin-top: 48px;
}

.carousel-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.carousel-track {
  position: relative;
  min-height: 420px;
}

.carousel-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px;
  border-radius: 32px;
  background: rgba(7, 12, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.carousel-item.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.carousel-image {
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  min-height: 360px;
}

.image-school {
  background-image: linear-gradient(135deg, rgba(85, 183, 255, 0.5), rgba(255, 220, 98, 0.35)),
    url('./demo-img/school-lp-1.png');
}

.image-coaching {
  background-image: linear-gradient(135deg, rgba(255, 134, 121, 0.4), rgba(95, 63, 255, 0.3)),
    url('./demo-img/coaching-lp-1.png');
}

.image-testing {
  background-image: linear-gradient(135deg, rgba(62, 236, 156, 0.3), rgba(85, 183, 255, 0.3)),
    url('./demo-img/test-system-1.png');
}

.image-lms {
  background-image: linear-gradient(135deg, rgba(154, 76, 255, 0.3), rgba(255, 216, 84, 0.28)),
    url('');
}

.carousel-copy {
  display: grid;
  gap: 14px;
  align-items: start;
  color: var(--text);
}

.carousel-copy h3 {
  margin: 0;
  font-size: 1.8rem;
}

.carousel-copy p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.9;
}

.carousel-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(85, 183, 255, 0.24);
}

.card-content {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.card-content h3 {
  margin: 0;
  font-size: 1.4rem;
}

.card-content p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.card-btn {
  width: fit-content;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.card-btn:hover {
  background: rgba(85, 183, 255, 0.14);
  border-color: rgba(85, 183, 255, 0.25);
}

.card-img {
  transition: opacity 0.6s ease-in-out;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.card-img.fade-out {
  opacity: 0;
}

.footer-cta {
  margin-top: 56px;
  padding: 42px 36px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(10, 17, 36, 0.96), rgba(6, 11, 24, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-cta h2 {
  margin: 0;
  font-size: clamp(1.9rem, 2.2vw, 2.4rem);
  max-width: 780px;
}

@media (max-width: 980px) {
  .hero,
  .carousel-container,
  .footer-cta {
    grid-template-columns: 1fr;
  }

  .carousel-item {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 24px 18px 36px;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links {
    justify-content: center;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }

  .carousel-btn {
    display: none;
  }
}
