/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-deep: #0a0e27;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.09);
  --cyan: #00d9ff;
  --purple: #a78bfa;
  --pink: #ff006e;
  --white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --border-glass: rgba(255, 255, 255, 0.12);
  --glow-cyan: 0 0 20px rgba(0, 217, 255, 0.4);
  --glow-purple: 0 0 20px rgba(167, 139, 250, 0.4);
  --glow-pink: 0 0 20px rgba(255, 0, 110, 0.4);
  --radius: 16px;
  --font-main: 'Space Grotesk', 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-deep);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 3px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: var(--bg-deep);
  box-shadow: 0 4px 24px rgba(0, 217, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 217, 255, 0.55);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 14, 39, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: background 0.3s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.5));
}

.nav-logo-text {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg-index.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 20% 50%, rgba(0, 217, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(167, 139, 250, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 60% 80%, rgba(255, 0, 110, 0.08) 0%, transparent 60%);
  z-index: 1;
  animation: heroGradientShift 8s ease-in-out infinite alternate;
}

@keyframes heroGradientShift {
  0% { opacity: 0.8; }
  100% { opacity: 1.2; }
}

/* Animated particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 40px;
  width: 100%;
}

.hero-cube-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#cube-canvas {
  width: 100%;
  max-width: 520px;
  height: 520px;
  cursor: grab;
  border-radius: 20px;
}

#cube-canvas:active {
  cursor: grabbing;
}

.cube-glow-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 217, 255, 0.15) 0%, transparent 70%);
  animation: pulseGlow 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}

.cube-hint {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.cube-hint svg {
  opacity: 0.6;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.2);
  font-size: 13px;
  color: var(--cyan);
  font-weight: 500;
  width: fit-content;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 8px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--cyan);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== SECTION BASE ===== */
.section {
  padding: 100px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== GLASS CARD ===== */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(167, 139, 250, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(167, 139, 250, 0.15);
}

/* ===== LEVELS SECTION ===== */
.levels-section {
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(167, 139, 250, 0.06) 0%, transparent 70%);
  padding: 100px 0;
}

.levels-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.level-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  cursor: pointer;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.level-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.level-card:hover::before {
  opacity: 1;
}

.level-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  border-color: rgba(0, 217, 255, 0.2);
  box-shadow: 0 24px 56px rgba(0, 217, 255, 0.1), 0 0 0 1px rgba(0, 217, 255, 0.05);
}

.level-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.level-icon.green { background: rgba(34, 197, 94, 0.15); }
.level-icon.cyan { background: rgba(0, 217, 255, 0.15); }
.level-icon.purple { background: rgba(167, 139, 250, 0.15); }
.level-icon.pink { background: rgba(255, 0, 110, 0.15); }

.level-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  width: fit-content;
  align-self: flex-start;
}

.level-tag.green { background: rgba(34, 197, 94, 0.12); color: #4ade80; }
.level-tag.cyan { background: rgba(0, 217, 255, 0.12); color: var(--cyan); }
.level-tag.purple { background: rgba(167, 139, 250, 0.12); color: var(--purple); }
.level-tag.pink { background: rgba(255, 0, 110, 0.12); color: #ff5fa0; }

.level-name {
  font-size: 22px;
  font-weight: 700;
}

.level-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.level-meta {
  display: flex;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--border-glass);
}

.level-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.level-meta-value {
  font-size: 18px;
  font-weight: 700;
}

.level-meta-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.level-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.level-btn:hover {
  background: rgba(0, 217, 255, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ===== HOW IT WORKS ===== */
.hiw-section {
  padding: 100px 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(255, 0, 110, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 50%, rgba(0, 217, 255, 0.05) 0%, transparent 60%);
}

.hiw-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  align-items: start;
}

.hiw-connector {
  position: absolute;
  top: 42px;
  left: calc(33.3% + 40px);
  width: calc(33.3% - 80px);
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  opacity: 0.4;
}

.hiw-connector:last-of-type {
  left: calc(66.6% + 40px);
}

.hiw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.hiw-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.hiw-step:nth-child(2) { transition-delay: 0.15s; }
.hiw-step:nth-child(3) { transition-delay: 0.3s; }

.hiw-icon-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hiw-icon-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.hiw-icon-inner {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hiw-number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--bg-deep);
  z-index: 2;
}

.hiw-step-title {
  font-size: 18px;
  font-weight: 700;
}

.hiw-step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 100px 0;
}

.features-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

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

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.2s; }
.feature-card:nth-child(4) { transition-delay: 0.05s; }
.feature-card:nth-child(5) { transition-delay: 0.15s; }
.feature-card:nth-child(6) { transition-delay: 0.25s; }

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(167, 139, 250, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(167, 139, 250, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.15), rgba(167, 139, 250, 0.15));
  border: 1px solid rgba(0, 217, 255, 0.15);
}

.feature-title {
  font-size: 17px;
  font-weight: 700;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 120px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(167, 139, 250, 0.08) 0%, transparent 70%);
}

.cta-border {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  padding: 72px 56px;
  overflow: hidden;
}

.cta-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, var(--cyan), var(--purple), var(--pink));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 400px;
  margin: 32px auto 0;
}

.newsletter-input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-glass);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.newsletter-input::placeholder {
  color: var(--text-muted);
}

.newsletter-input:focus {
  border-color: var(--cyan);
}

.newsletter-btn {
  padding: 12px 24px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: var(--bg-deep);
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-main);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-btn:hover {
  box-shadow: 0 8px 24px rgba(0, 217, 255, 0.4);
  transform: translateY(-1px);
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border-glass);
  padding: 56px 40px 32px;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-logo img {
  height: 32px;
  filter: drop-shadow(0 0 6px rgba(0, 217, 255, 0.4));
}

.footer-logo-text {
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 260px;
  line-height: 1.65;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ===== NEON LINE DECORATORS ===== */
.neon-line {
  width: 60px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  margin: 0 auto 24px;
}

/* ===== ANIMATED BACKGROUND GRID ===== */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(10, 14, 39, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 99;
  padding: 24px 32px;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-glass);
  transition: color 0.2s ease;
}

.mobile-menu a:hover {
  color: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .levels-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav {
    padding: 14px 20px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 40px 20px 60px;
    text-align: center;
  }

  .hero-cube-wrapper {
    order: -1;
  }

  #cube-canvas {
    height: 340px;
    max-width: 340px;
  }

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

  .hero-stats {
    justify-content: center;
  }

  .hero-sub {
    margin: 0 auto;
  }

  .hero-badge {
    margin: 0 auto;
  }

  .section {
    padding: 70px 20px;
  }

  .levels-section,
  .hiw-section,
  .features-section {
    padding: 70px 0;
  }

  .levels-inner,
  .hiw-inner,
  .features-inner {
    padding: 0 20px;
  }

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

  .hiw-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hiw-connector {
    display: none;
  }

  .hiw-step {
    opacity: 1;
    transform: none;
  }

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

  .feature-card {
    opacity: 1;
    transform: none;
  }

  .cta-section {
    padding: 80px 20px;
  }

  .cta-border {
    padding: 48px 28px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  footer {
    padding: 48px 20px 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 20px;
  }

  #cube-canvas {
    height: 280px;
  }
}
