/* ==========================================================================
   Google Material Design 3 - Ultra-Dark Multi-Color Gen-Z Aesthetic
   ========================================================================== */
:root {
  /* Ultra-Deep Obsidian Dark Base */
  --md-sys-color-background: #08060d;
  --md-sys-color-on-background: #fbf9fe;
  --md-sys-color-surface: #100d18;
  --md-sys-color-surface-variant: #262035;
  --md-sys-color-on-surface: #ffffff;
  --md-sys-color-on-surface-variant: #d4cee0;

  --md-sys-color-surface-container-low: #120f1c;
  --md-sys-color-surface-container: #181424;
  --md-sys-color-surface-container-high: #211b33;
  --md-sys-color-surface-container-highest: #2b2342;

  /* Primary (Electric Lavender) */
  --md-sys-color-primary: #d0bcff;
  --md-sys-color-on-primary: #190533;
  --md-sys-color-primary-container: #4f378b;
  --md-sys-color-on-primary-container: #f1e7ff;

  /* Secondary (Cyber Neon Cyan / Mint) */
  --md-sys-color-secondary: #80deea;
  --md-sys-color-on-secondary: #00262b;
  --md-sys-color-secondary-container: #004d40;
  --md-sys-color-on-secondary-container: #b2ebf2;

  /* Tertiary (Radiant Rose / Coral) */
  --md-sys-color-tertiary: #ff80ab;
  --md-sys-color-on-tertiary: #380318;
  --md-sys-color-tertiary-container: #661839;
  --md-sys-color-on-tertiary-container: #ffd8e4;

  /* Accent Colors */
  --md-sys-color-cyan: #00e5ff;
  --md-sys-color-rose: #ff4081;
  --md-sys-color-amber: #ffab40;
  --md-sys-color-purple: #b388ff;

  /* Outline */
  --md-sys-color-outline: rgba(208, 188, 255, 0.2);
  --md-sys-color-outline-variant: rgba(255, 255, 255, 0.08);

  /* Shadows */
  --md-sys-elevation-1: 0 4px 20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --md-sys-elevation-2: 0 12px 36px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --md-sys-elevation-3: 0 20px 50px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  
  /* Easing */
  --md-sys-motion-easing-standard: cubic-bezier(0.2, 0, 0, 1);
  --md-sys-motion-easing-emphasized: cubic-bezier(0.05, 0.7, 0.1, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto Flex', sans-serif;
  background-color: var(--md-sys-color-background);
  color: var(--md-sys-color-on-background);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Typography Classes (Big, Bold, Aesthetic)
   ========================================================================== */
.display-font {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.headline-massive {
  font-size: clamp(2.8rem, 8vw, 8.5rem);
  color: var(--md-sys-color-on-background);
  margin-bottom: 2rem;
  word-break: break-word;
}

.text-white {
  color: #ffffff;
  text-shadow: 0 0 35px rgba(255, 255, 255, 0.2);
}

.gradient-title {
  background: linear-gradient(135deg, #ffffff 30%, #d0bcff 70%, #80deea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-primary {
  background: linear-gradient(135deg, #ffffff 15%, #d0bcff 60%, #80deea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(208, 188, 255, 0.35));
}

.gradient-text-tertiary {
  background: linear-gradient(135deg, #ff4081 0%, #ff80ab 50%, #ffd8e4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 64, 129, 0.35));
}

.color-primary { color: var(--md-sys-color-primary); }
.color-tertiary { color: var(--md-sys-color-tertiary); }

.body-large {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.65;
  color: var(--md-sys-color-on-surface-variant);
  max-width: 620px;
  width: 100%;
  margin: 0 auto 3rem;
}

.body-medium {
  font-size: 1rem;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.6;
}

.body-small {
  font-size: 0.875rem;
  color: var(--md-sys-color-on-surface-variant);
}

.text-centered {
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 0.75rem;
  text-align: center;
}

/* Badges & Pills */
.m3-hero-badge, .m3-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(208, 188, 255, 0.08);
  border: 1px solid rgba(208, 188, 255, 0.25);
  color: var(--md-sys-color-primary);
  box-shadow: 0 0 20px rgba(124, 77, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 10px #00e676;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* ==========================================================================
   Stunning Animated Dark Ambient M3 Background
   ========================================================================== */
.m3-bg-mesh {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: var(--md-sys-color-background);
}

/* Interactive Canvas */
#m3-interactive-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Dynamic Mouse Cursor Glow Aura (Dark Ambient) */
.m3-cursor-glow {
  position: absolute;
  top: 0; left: 0;
  width: 550px; height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.15) 0%, rgba(0, 229, 255, 0.08) 40%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.m3-cursor-glow.active {
  opacity: 1;
}

/* Deep Ambient Blobs (Non-Washed Out) */
.m3-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.18;
  animation: blobOrbit 28s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
  will-change: transform;
}

.m3-blob-1 {
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, #651fff 0%, #311b92 70%);
  top: -20%; left: -10%;
  animation-duration: 30s;
}

.m3-blob-2 {
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, #00b0ff 0%, #006064 70%);
  top: 35%; right: -20%;
  animation-duration: 34s;
  animation-delay: -6s;
}

.m3-blob-3 {
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, #f50057 0%, #880e4f 70%);
  bottom: -20%; left: 10%;
  animation-duration: 28s;
  animation-delay: -12s;
}

.m3-blob-4 {
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, #ff6d00 0%, #bf360c 70%);
  top: 20%; left: 30%;
  animation-duration: 32s;
  animation-delay: -8s;
  opacity: 0.12;
}

@keyframes blobOrbit {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(12vw, 8vh) scale(1.12) rotate(45deg); }
  66% { transform: translate(-8vw, 14vh) scale(0.92) rotate(90deg); }
  100% { transform: translate(4vw, -10vh) scale(1.06) rotate(135deg); }
}

/* Textures */
.m3-bg-grid {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.08;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
  z-index: 3;
}

.m3-bg-noise {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  z-index: 4;
}

.content-wrapper {
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 24px;
}

.brand-logo {
  font-family: 'Kapakana', 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: #ffffff;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-shadow: 0 0 25px rgba(208, 188, 255, 0.3);
}

.social-icons a {
  color: var(--md-sys-color-on-surface-variant);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s var(--md-sys-motion-easing-standard);
}

.social-icons a svg {
  width: 100%;
  height: 100%;
}

.social-icons a:hover {
  color: var(--md-sys-color-primary);
  transform: scale(1.15);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 0 80px;
  min-height: calc(100svh - 80px);
  justify-content: center;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Buttons (M3 Pill Shapes & Glowing Highlights)
   ========================================================================== */
.m3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 34px;
  border-radius: 28px;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--md-sys-motion-easing-standard);
}

.m3-glow-btn, .m3-btn-filled {
  background: linear-gradient(135deg, #d0bcff 0%, #b388ff 100%);
  color: #120427 !important;
  font-weight: 700;
  box-shadow: 0 0 25px rgba(208, 188, 255, 0.45), 0 8px 24px rgba(0, 0, 0, 0.5);
}

.m3-glow-btn:hover, .m3-btn-filled:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 35px rgba(208, 188, 255, 0.65), 0 12px 28px rgba(0, 0, 0, 0.6);
  background: linear-gradient(135deg, #eaddff 0%, #c499ff 100%);
}

.m3-btn-tonal {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.m3-btn-tonal:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(208, 188, 255, 0.45);
  box-shadow: 0 0 25px rgba(208, 188, 255, 0.2);
  transform: translateY(-3px);
}

.full-width {
  width: 100%;
}

/* ==========================================================================
   Multi-Color Bento Box (Gen-Z & Material You)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(210px, auto);
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
}

.bento-item {
  position: relative;
  overflow: hidden;
  padding: 36px 32px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(18, 14, 26, 0.75);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.4s var(--md-sys-motion-easing-standard), box-shadow 0.4s ease, border-color 0.3s ease;
}

/* Dynamic Interactive Mouse Spotlight Layer */
.bento-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  background: radial-gradient(350px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(255, 255, 255, 0.12), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.bento-item:hover::before {
  opacity: 1;
}

.bento-item > * {
  position: relative;
  z-index: 2;
}

.bento-item h3 {
  color: #ffffff;
  margin-bottom: 8px;
  font-size: 1.6rem;
}

.bento-item p {
  color: var(--md-sys-color-on-surface-variant);
  margin: 0;
}

/* Multi-Color Bento Themes */
.bento-theme-purple {
  background: linear-gradient(145deg, rgba(124, 77, 255, 0.22) 0%, rgba(18, 14, 28, 0.88) 100%);
  border: 1px solid rgba(208, 188, 255, 0.25);
}
.bento-theme-purple:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px -10px rgba(124, 77, 255, 0.4), inset 0 1px 1px rgba(208, 188, 255, 0.3);
  border-color: rgba(208, 188, 255, 0.55);
}

.bento-theme-cyan {
  background: linear-gradient(145deg, rgba(0, 229, 255, 0.18) 0%, rgba(12, 22, 32, 0.88) 100%);
  border: 1px solid rgba(128, 222, 234, 0.25);
}
.bento-theme-cyan:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px -10px rgba(0, 229, 255, 0.35), inset 0 1px 1px rgba(128, 222, 234, 0.3);
  border-color: rgba(128, 222, 234, 0.55);
}

.bento-theme-rose {
  background: linear-gradient(145deg, rgba(245, 0, 87, 0.2) 0%, rgba(28, 12, 22, 0.88) 100%);
  border: 1px solid rgba(239, 184, 200, 0.25);
}
.bento-theme-rose:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px -10px rgba(245, 0, 87, 0.35), inset 0 1px 1px rgba(239, 184, 200, 0.3);
  border-color: rgba(239, 184, 200, 0.55);
}

.bento-theme-amber {
  background: linear-gradient(145deg, rgba(255, 171, 64, 0.2) 0%, rgba(28, 18, 12, 0.88) 100%);
  border: 1px solid rgba(255, 204, 128, 0.25);
}
.bento-theme-amber:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px -10px rgba(255, 171, 64, 0.35), inset 0 1px 1px rgba(255, 204, 128, 0.3);
  border-color: rgba(255, 204, 128, 0.55);
}

.bento-tall {
  grid-row: span 2;
  border-radius: 40px 14px 40px 14px;
}

.bento-wide {
  grid-column: span 2;
  border-radius: 14px 40px 14px 40px;
}

/* Bento Badges */
.bento-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: auto;
  margin-bottom: 24px;
}

.tag-purple {
  background: rgba(208, 188, 255, 0.15);
  color: #d0bcff;
  border: 1px solid rgba(208, 188, 255, 0.35);
  box-shadow: 0 0 15px rgba(208, 188, 255, 0.2);
}

.tag-cyan {
  background: rgba(128, 222, 234, 0.15);
  color: #80deea;
  border: 1px solid rgba(128, 222, 234, 0.35);
  box-shadow: 0 0 15px rgba(128, 222, 234, 0.2);
}

.tag-rose {
  background: rgba(239, 184, 200, 0.15);
  color: #efb8c8;
  border: 1px solid rgba(239, 184, 200, 0.35);
  box-shadow: 0 0 15px rgba(239, 184, 200, 0.2);
}

.tag-amber {
  background: rgba(255, 204, 128, 0.15);
  color: #ffcc80;
  border: 1px solid rgba(255, 204, 128, 0.35);
  box-shadow: 0 0 15px rgba(255, 204, 128, 0.2);
}

/* Bento Responsiveness */
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-tall, .bento-wide { grid-column: span 1; grid-row: span 1; border-radius: 24px; }
}

/* ==========================================================================
   Multi-Color Pill Banners (Links)
   ========================================================================== */
.pill-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 840px;
  margin: 0 auto;
}

.pill-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 42px;
  border-radius: 100px;
  text-decoration: none;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  transition: all 0.4s var(--md-sys-motion-easing-standard), border-color 0.3s ease;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pill-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  background: radial-gradient(350px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(255, 255, 255, 0.15), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.pill-banner:hover::before {
  opacity: 1;
}

.pill-banner > * {
  position: relative;
  z-index: 2;
}

.pill-banner h3 { color: #ffffff; margin-bottom: 4px; font-size: 1.4rem; }
.pill-banner p { color: var(--md-sys-color-on-surface-variant); margin: 0; }

.pill-action { 
  border-radius: 50%; 
  padding: 12px; 
  display: flex; 
  transition: all 0.3s ease;
}

.pill-theme-purple {
  background: linear-gradient(90deg, rgba(124, 77, 255, 0.22) 0%, rgba(18, 14, 28, 0.9) 100%);
  border: 1px solid rgba(208, 188, 255, 0.25);
}
.pill-theme-purple .pill-action {
  background: rgba(208, 188, 255, 0.15);
  color: #d0bcff;
}
.pill-theme-purple:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px -5px rgba(124, 77, 255, 0.35);
  border-color: rgba(208, 188, 255, 0.55);
}

.pill-theme-cyan {
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.18) 0%, rgba(12, 22, 32, 0.9) 100%);
  border: 1px solid rgba(128, 222, 234, 0.25);
}
.pill-theme-cyan .pill-action {
  background: rgba(128, 222, 234, 0.15);
  color: #80deea;
}
.pill-theme-cyan:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px -5px rgba(0, 229, 255, 0.35);
  border-color: rgba(128, 222, 234, 0.55);
}

.pill-theme-rose {
  background: linear-gradient(90deg, rgba(245, 0, 87, 0.2) 0%, rgba(28, 12, 22, 0.9) 100%);
  border: 1px solid rgba(239, 184, 200, 0.25);
}
.pill-theme-rose .pill-action {
  background: rgba(239, 184, 200, 0.15);
  color: #efb8c8;
}
.pill-theme-rose:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px -5px rgba(245, 0, 87, 0.35);
  border-color: rgba(239, 184, 200, 0.55);
}

.pill-banner:hover .pill-action {
  transform: translateX(8px);
}

@media (max-width: 600px) {
  .pill-banner { flex-direction: column; text-align: center; gap: 16px; border-radius: 32px; padding: 24px 20px; }
  .pill-action { transform: rotate(90deg); }
  .pill-banner:hover .pill-action { transform: rotate(90deg) translateX(8px); }
}

/* ==========================================================================
   Multi-Color Glowing Timeline (How It Works)
   ========================================================================== */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 840px;
  margin: 0 auto;
  position: relative;
  padding-left: 20px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0; left: 30px;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, #d0bcff 0%, #80deea 35%, #ff80ab 70%, #ffcc80 100%);
  opacity: 0.45;
  box-shadow: 0 0 15px rgba(208, 188, 255, 0.5);
}

.timeline-item {
  position: relative;
  padding: 32px 0 32px 80px;
  transition: transform 0.3s ease;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 40px; left: 24px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--md-sys-color-primary);
  box-shadow: 0 0 15px var(--md-sys-color-primary);
  border: 2px solid #08060d;
}

.timeline-item-1::before { background: #d0bcff; box-shadow: 0 0 15px #d0bcff; }
.timeline-item-2::before { background: #80deea; box-shadow: 0 0 15px #80deea; }
.timeline-item-3::before { background: #efb8c8; box-shadow: 0 0 15px #efb8c8; }
.timeline-item-4::before { background: #ffcc80; box-shadow: 0 0 15px #ffcc80; }

.timeline-watermark {
  position: absolute;
  top: -24px; left: 40px;
  font-family: 'Outfit', sans-serif;
  font-size: 8.5rem;
  font-weight: 900;
  z-index: 0;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.timeline-item-1 .timeline-watermark { color: rgba(208, 188, 255, 0.08); }
.timeline-item-2 .timeline-watermark { color: rgba(128, 222, 234, 0.08); }
.timeline-item-3 .timeline-watermark { color: rgba(239, 184, 200, 0.08); }
.timeline-item-4 .timeline-watermark { color: rgba(255, 204, 128, 0.08); }

.timeline-content {
  position: relative;
  z-index: 1;
}

.timeline-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.badge-purple { background: rgba(208, 188, 255, 0.15); color: #d0bcff; border: 1px solid rgba(208, 188, 255, 0.3); }
.badge-cyan { background: rgba(128, 222, 234, 0.15); color: #80deea; border: 1px solid rgba(128, 222, 234, 0.3); }
.badge-rose { background: rgba(239, 184, 200, 0.15); color: #efb8c8; border: 1px solid rgba(239, 184, 200, 0.3); }
.badge-amber { background: rgba(255, 204, 128, 0.15); color: #ffcc80; border: 1px solid rgba(255, 204, 128, 0.3); }

.timeline-content h3 {
  color: #ffffff;
  margin-bottom: 8px;
  font-size: 2rem;
}

@media (max-width: 600px) {
  .timeline-container::before { left: 10px; }
  .timeline-item { padding: 24px 0 24px 44px; }
  .timeline-item::before { left: 4px; top: 32px; }
  .timeline-watermark { font-size: 5rem; left: 10px; top: 0; }
}

/* ==========================================================================
   Review & Subscribe Forms (Frosted Obsidian Glass)
   ========================================================================== */
.review-card, .subscribe-card {
  max-width: 620px;
  margin: 0 auto;
  padding: 40px 36px;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(25, 20, 36, 0.85) 0%, rgba(12, 10, 18, 0.95) 100%);
  border: 1px solid rgba(208, 188, 255, 0.2);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.m3-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.m3-text-field {
  position: relative;
  width: 100%;
}

.m3-text-field input,
.m3-text-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border: 1px solid rgba(208, 188, 255, 0.2);
  border-radius: 18px;
  padding: 20px 18px 12px;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: all 0.25s var(--md-sys-motion-easing-standard);
}

.m3-text-field textarea {
  resize: vertical;
}

.m3-text-field label {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 1rem;
  color: var(--md-sys-color-on-surface-variant);
  pointer-events: none;
  transition: all 0.25s var(--md-sys-motion-easing-standard);
  background: transparent;
  padding: 0 4px;
}

.m3-text-field input:focus,
.m3-text-field textarea:focus {
  border-color: var(--md-sys-color-primary);
  background: rgba(208, 188, 255, 0.08);
  box-shadow: 0 0 20px rgba(208, 188, 255, 0.25);
}

.m3-text-field input:focus ~ label,
.m3-text-field textarea:focus ~ label,
.m3-text-field input:not(:placeholder-shown) ~ label,
.m3-text-field textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  left: 14px;
  font-size: 0.75rem;
  color: var(--md-sys-color-primary);
  background: #141020;
  border-radius: 4px;
}

.m3-text-field input:not(:focus):not(:placeholder-shown) ~ label,
.m3-text-field textarea:not(:focus):not(:placeholder-shown) ~ label {
  color: var(--md-sys-color-on-surface-variant);
}

/* Star Rating */
.rating-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}

.star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  gap: 4px;
}

.star-rating-input input { display: none; }
.star-rating-input label {
  color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}

.star-rating-input label:hover {
  transform: scale(1.2);
}

.star-rating-input label .material-symbols-rounded {
  font-size: 36px;
  font-variation-settings: 'FILL' 0;
}

.star-rating-input label:hover .material-symbols-rounded,
.star-rating-input label:hover ~ label .material-symbols-rounded,
.star-rating-input input:checked ~ label .material-symbols-rounded {
  color: #ffd700;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
  font-variation-settings: 'FILL' 1;
}

#review-status-msg, #subscribe-status-msg {
  text-align: center;
  margin-top: 10px;
  font-weight: 500;
}

.m3-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(208, 188, 255, 0.25), transparent);
  margin: 2.5rem 0;
}

/* Heart Button */
.heart-container {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

.heart-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  padding: 20px;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--md-sys-color-on-surface-variant);
  display: flex;
  align-items: center;
  justify-content: center;
}

.heart-btn .material-symbols-rounded {
  font-size: 48px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.heart-btn:hover {
  background-color: rgba(255, 64, 129, 0.15);
  border-color: rgba(255, 64, 129, 0.4);
  color: #ff4081;
  transform: scale(1.15);
  box-shadow: 0 0 30px rgba(255, 64, 129, 0.3);
}

.heart-btn.liked {
  color: #ff4081;
  background-color: rgba(255, 64, 129, 0.2);
  border-color: rgba(255, 64, 129, 0.5);
  box-shadow: 0 0 35px rgba(255, 64, 129, 0.45);
}

.heart-btn.liked .material-symbols-rounded {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  animation: heartBurst 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes heartBurst {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.subscribe-section {
  margin-bottom: 100px;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 600px) {
  .subscribe-form {
    flex-direction: row;
    align-items: flex-start;
  }
  .subscribe-form .m3-text-field {
    flex: 1;
  }
  .subscribe-form .m3-btn {
    height: 56px;
  }
}

/* ==========================================================================
   Modal Overlay
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-surface {
  background-color: #120e1d;
  border: 1px solid rgba(208, 188, 255, 0.2);
  box-shadow: 0 25px 60px rgba(0,0,0,0.8);
  width: 95%;
  max-width: 1400px;
  height: 95vh;
  max-height: 95vh;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 600px) {
  .modal-surface {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
}

.modal-overlay.active .modal-surface {
  transform: translateY(0);
}

.modal-header {
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(25, 20, 36, 0.9);
}

.modal-body {
  padding: 32px 36px;
  overflow-y: auto;
  line-height: 1.7;
  color: #e6e0eb;
}

.modal-body h1, .modal-body h2, .modal-body h3 {
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.modal-body a {
  color: var(--md-sys-color-primary);
  text-decoration: none;
}
.modal-body a:hover {
  text-decoration: underline;
}

.modal-footer {
  padding: 16px 28px;
  display: flex;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(25, 20, 36, 0.9);
}

.icon-btn {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.icon-btn:hover {
  background-color: rgba(208, 188, 255, 0.2);
  color: var(--md-sys-color-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.bottom-footer {
  text-align: center;
  padding: 40px 24px;
  margin-top: 60px;
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0, 0, 1);
}

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

.js-enabled .reveal-stagger {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0, 0, 1);
}

.js-enabled .reveal-stagger.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 960px) {
  .hero {
    padding: 40px 0 60px;
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .top-bar {
    padding: 20px 16px;
  }
  .hero {
    padding: 30px 0 50px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  .m3-btn {
    width: 100%;
    justify-content: center;
  }
  .review-card, .subscribe-card {
    padding: 30px 20px;
    border-radius: 24px;
  }
}

