@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap');

:root {
  --glass-bg: rgba(255,255,255,0.12);
  --glass-border: rgba(255,255,255,0.25);
  --glass-shadow: rgba(0,0,0,0.08);
  --glass-blur: 20px;
  --accent: #0A84FF;
  --accent2: #5AC8FA;
  --accent3: #30D158;
  --text: #f5f5f7;
  --text-muted: rgba(245,245,247,0.6);
}

* { margin:0; padding:0; box-sizing:border-box; }

html { scroll-snap-type: y mandatory; scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ═══ SLIDE BASE ═══ */
.slide {
  width: 100vw; height: 100vh;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-inner {
  width: 100%; max-width: 1600px;
  padding: 60px 80px;
  position: relative; z-index: 2;
  text-align: center;
}

/* ═══ MESH GRADIENT BACKGROUNDS ═══ */
.bg-mesh { position: absolute; inset: 0; z-index: 0; }
.bg-mesh::before, .bg-mesh::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.4;
}

.bg-1 { background: linear-gradient(135deg, #0a0a1a 0%, #0d1b2a 50%, #1b2838 100%); }
.bg-1 .bg-mesh::before { width: 600px; height: 600px; top: -10%; left: -10%; background: radial-gradient(circle, #0A84FF, transparent 70%); }
.bg-1 .bg-mesh::after { width: 500px; height: 500px; bottom: -15%; right: -5%; background: radial-gradient(circle, #5AC8FA, transparent 70%); }

.bg-2 { background: linear-gradient(160deg, #0a0f1a 0%, #0d1117 50%, #161b22 100%); }
.bg-2 .bg-mesh::before { width: 500px; height: 500px; top: 5%; right: -5%; background: radial-gradient(circle, #da5cff44, transparent 70%); }
.bg-2 .bg-mesh::after { width: 400px; height: 400px; bottom: 10%; left: 5%; background: radial-gradient(circle, #0A84FF33, transparent 70%); }

.bg-3 { background: linear-gradient(140deg, #0a1628 0%, #0d1b2a 100%); }
.bg-3 .bg-mesh::before { width: 700px; height: 700px; top: -20%; left: 30%; background: radial-gradient(circle, #0A84FF22, transparent 60%); }
.bg-3 .bg-mesh::after { width: 500px; height: 500px; bottom: -10%; right: 10%; background: radial-gradient(circle, #30D15822, transparent 60%); }

.bg-4 { background: linear-gradient(150deg, #0c0c1d 0%, #1a1a2e 50%, #0d1117 100%); }
.bg-4 .bg-mesh::before { width: 600px; height: 600px; top: 10%; left: -10%; background: radial-gradient(circle, #5AC8FA22, transparent 60%); }
.bg-4 .bg-mesh::after { width: 400px; height: 400px; bottom: 0; right: 20%; background: radial-gradient(circle, #0A84FF33, transparent 70%); }

/* ═══ GLASS CARD ═══ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 
    0 8px 32px var(--glass-shadow),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.img-container {
  margin-top: 24px;
  padding: 12px;
  border-radius: 20px;
  overflow: hidden;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.img-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ═══ TYPOGRAPHY ═══ */
.title-hero {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-slide {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.subtitle {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.5;
}

.label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.title-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(10,132,255,0.12);
  border: 1px solid rgba(10,132,255,0.25);
  border-radius: 100px;
  font-size: 13px; font-weight: 500; color: var(--accent);
}

.accent-line {
  width: 40px; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 1px;
  margin: 20px 0;
}

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.anim-fade { opacity: 0; }
.slide.active .anim-fade { animation: fadeUp 0.8s ease-out forwards; }
.anim-d1 { animation-delay: 0.1s; }
.anim-d2 { animation-delay: 0.2s; }
.anim-d3 { animation-delay: 0.3s; }
.anim-d4 { animation-delay: 0.4s; }

/* ═══ CONTROLS ═══ */
.nav-dots {
  position: fixed; right: 24px; top: 50%; transform: translateY(-50%);
  z-index: 100; display: flex; flex-direction: column; gap: 8px;
}
.nav-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.2); border: none; cursor: pointer;
  transition: all 0.3s ease;
}
.nav-dot.active {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  transform: scale(1.3);
}

.progress-bar {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  z-index: 200;
  transition: width 0.1s linear;
}

.back-button {
  position: fixed; top: 30px; left: 30px; z-index: 100;
  color: var(--text); text-decoration: none;
  font-size: 14px; font-weight: 500; padding: 10px 16px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px; transition: all 0.3s ease;
}
.back-button:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.3); }

.orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  pointer-events: none; animation: float 8s ease-in-out infinite;
}

.key-hint {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 100; font-size: 12px; color: rgba(255,255,255,0.25);
  opacity: 1; transition: opacity 1s ease;
}
.key-hint.hidden { opacity: 0; }
