:root {
  --bg: #05070c;
  --bg-soft: rgba(255,255,255,0.05);
  --text: #e7e9f3;
  --muted: #a6b0cf;
  --accent: #8bd0ff;
  --accent-2: #a3ffce;
  --accent-glow: rgba(139,208,255,0.3);
  --border: rgba(255,255,255,0.12);
  --card: rgba(12,16,26,0.7);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Satoshi", system-ui, sans-serif;
  background:
    radial-gradient(1000px 600px at 20% 0%, rgba(90,140,255,.22), transparent 60%),
    radial-gradient(1000px 600px at 85% 8%, rgba(0,255,200,.12), transparent 60%),
    linear-gradient(180deg, #0b1020, #05070c);
  color: var(--text);
  min-height: 100vh;
}

/* NAV */

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 28px;
  position: relative;
  z-index: 10;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  font-weight: 750;
  letter-spacing: 0.08em;
}

.logo-word {
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-right: auto;
}

.nav-links {
  display: flex;
  gap: 10px;
}

.nav-btn {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255,255,255,0.04);
  transition: background 140ms ease, border-color 140ms ease, transform 80ms ease;
}

.nav-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}

.nav-btn.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #041019;
  border: none;
  box-shadow: 0 10px 28px rgba(139,208,255,0.28);
}

.nav-btn.primary:hover {
  transform: translateY(-1px);
}

/* HERO */

.hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  padding-bottom: 60px;
}

.hero-content {
  max-width: 1080px;
  margin: 80px auto 0;
  text-align: center;
  padding: 0 26px;
  animation: fadeUp 1.2s ease forwards;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: clamp(2.6rem, 4.8vw, 4.6rem);
  line-height: 1.08;
  margin: 16px 0 14px;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  max-width: 720px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-glow {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at center,
      var(--accent-glow),
      transparent 60%);
  animation: pulse 8s ease-in-out infinite;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}

.orb-a { top: 12%; left: 12%; background: rgba(139,208,255,0.35); }
.orb-b { bottom: 8%; right: 8%; background: rgba(163,255,206,0.28); }

.stat-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.stat {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  text-align: left;
}

.stat-label {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.stat-value {
  font-weight: 620;
}

/* BUTTONS */

.btn {
  padding: 0.9rem 1.8rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255,255,255,0.04);
  transition: transform 120ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
  text-decoration: none;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #041019;
  border: none;
  box-shadow: 0 12px 30px rgba(139,208,255,0.25);
  font-weight: 650;
}

.btn.ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}

.btn.full {
  display: block;
  text-align: center;
}

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

/* SECTIONS */

.section {
  padding: 6rem 3rem;
  max-width: 1200px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 3rem;
}

/* FEATURES */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}

.card {
  background: var(--card);
  padding: 1.8rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  backdrop-filter: blur(12px);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(139,208,255,0.45);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* PRICING */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.pricing-card {
  background: var(--card);
  padding: 2.5rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  backdrop-filter: blur(10px);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139,208,255,0.4);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 20px 40px rgba(0,0,0,0.35);
}

.price {
  font-size: 2.5rem;
  margin: 1rem 0;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.pricing-card li {
  margin: 0.6rem 0;
}

/* CLOSING */

.closing {
  text-align: center;
  color: var(--muted);
}

/* EXPERIENCE / WORKFLOWS */

.experience {
  width: 100%;
  max-width: none;
  margin: 80px 0 60px;
  padding: 0 26px;
  position: relative;
}

.experience-head {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.experience-head .section-title {
  margin-bottom: 6px;
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.scroll-hint {
  font-size: 0.92rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.scroll-hint::after {
  content: "▾";
  display: inline-block;
  animation: bob 1.8s ease-in-out infinite;
  color: var(--accent);
}

.experience-rail {
  display: none;
}

.experience-grid {
  display: none;
}

.stack-pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(139,208,255,0.12);
  color: var(--text);
  border: 1px solid rgba(139,208,255,0.32);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.experience-item h3 {
  margin: 10px 0 8px;
}

.experience-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Full-slide experience */

.experience-slides {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24vh;
  scroll-snap-type: y mandatory;
}

.experience-slide {
  position: relative;
  min-height: 95vh;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: radial-gradient(120% 120% at 20% 20%, rgba(139,208,255,0.08), transparent 40%),
              radial-gradient(120% 120% at 70% 10%, rgba(163,255,206,0.08), transparent 45%),
              linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow: 0 20px 46px rgba(0,0,0,0.32);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(1.8rem, 4vw, 3rem);
  opacity: 0.25;
  transform: scale(0.94);
  transition: opacity 320ms ease, transform 320ms ease, border-color 320ms ease;
  scroll-snap-align: start;
}

.experience-slide.active {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(139,208,255,0.38);
}

.experience-slide.annotate::before { background: linear-gradient(160deg, rgba(139,208,255,0.16), transparent 40%), linear-gradient(45deg, rgba(255,255,255,0.06), transparent 50%); }
.experience-slide.import::before { background: linear-gradient(140deg, rgba(163,255,206,0.16), transparent 40%), linear-gradient(60deg, rgba(139,208,255,0.08), transparent 55%); }
.experience-slide.memorize::before { background: linear-gradient(150deg, rgba(255,215,128,0.18), transparent 40%), linear-gradient(30deg, rgba(139,208,255,0.08), transparent 55%); }

.slide-backdrop {
  position: absolute;
  right: 4%;
  bottom: 8%;
  font-size: clamp(3.2rem, 10vw, 6rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.08);
  pointer-events: none;
  text-transform: uppercase;
}

.experience-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(139,208,255,0.12), transparent 40%),
              linear-gradient(45deg, rgba(163,255,206,0.08), transparent 50%);
  opacity: 0.8;
  pointer-events: none;
}

.slide-num {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #041019;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 26px rgba(139,208,255,0.4);
}

.slide-body {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.slide-body h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 12px 0 10px;
}

.slide-body p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 640px;
}

.slide-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.slide-actions .hint {
  color: var(--muted);
  font-size: 0.95rem;
}

/* FOOTER */

.footer {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

/* ANIMATIONS */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
