/* ============================================
   SATURN AESTHETIC - DARK SPACE GLASS
   Premium, Cinematic, Immersive
   ============================================ */

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

:root {
  /* Colors adapted for Dark Space Theme */
  --app-bg: #0f172a;
  /* Fallback */
  --app-text: #ffffff;
  --app-text-soft: #cbd5e1;
  /* Slate 300 */

  --primary: #818cf8;
  /* Indigo 400 */
  --primary-soft: rgba(99, 102, 241, 0.2);
  --accent: #f472b6;
  /* Pink 400 */
  --success: #34d399;
  /* Emerald 400 */
  --error: #f87171;
  /* Red 400 */

  --glass-bg: rgba(15, 23, 42, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: 12px;

  --bubble-user: #6366f1;
  --bubble-doc: rgba(255, 255, 255, 0.1);

  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-float: 0 10px 30px rgba(0, 0, 0, 0.5);
  /* Dark Blue Glass */
  --glass-border: rgba(99, 102, 241, 0.2);
  /* Subtle Indigo Border */
  --glass-blur: 20px;

  --card-bg: rgba(30, 41, 59, 0.7);
  /* Slate 800 */
  --font-main: 'Inter', sans-serif;

  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --font-mono: "Spline Sans Mono", monospace;

  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
  position: relative;
}

/*
   LAYERED BACKGROUND SYSTEM
   1. Starfield (Rotating)
   2. Saturn (3D Canvas - Handled by JS)
*/

/* Background Video Container */
#video-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  /* Slight dim for text readability */
}

/* Layer 1: Stars (Fallback/Overlay) */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/images/stars_v2.png') repeat;
  background-size: 1000px 1000px;
  opacity: 0.4;
  /* Reduced opacity to blend with video */
  z-index: -1;
  mix-blend-mode: screen;
  pointer-events: none;
}

@keyframes stars-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Layer 2: 3D Saturn Container (Restored) */
#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Removed 2D Saturn Image */
/* body::after {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  width: 110vh;
  height: 110vh;
  transform: translate(-50%, -50%);
  background: url('assets/images/saturn_v5.png') no-repeat center center;
  background-size: contain;
  z-index: -1;
  mix-blend-mode: screen;
  animation: planet-float 12s ease-in-out infinite;
} */

/* @keyframes planet-float {

  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-15px);
  }
} */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ============================================
   HEADER (GLASS)
   ============================================ */

.gen-z-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  padding: var(--space-md) 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  border: 1px solid var(--glass-border);
}

.logo-emoji {
  font-size: 1.2rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.lang-pill {
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  color: #fff;
}

.lang-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-pill {
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-lifestyle {
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.pulsing-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 10px #ef4444;
}

@keyframes pulse {

  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-headline {
  font-size: clamp(3.5rem, 6vw, 5rem);
  line-height: 1;
  font-weight: 800;
  margin-bottom: var(--space-md);
  letter-spacing: -0.04em;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.highlight-text {
  display: block;
  background: linear-gradient(135deg, #818cf8 0%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(129, 140, 248, 0.4));
}

.hero-sub {
  font-size: 1.3rem;
  color: var(--app-text-soft);
  margin-bottom: var(--space-lg);
  max-width: 500px;
  line-height: 1.5;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-campaign-stats {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

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

.stat-val {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.stat-lbl {
  font-size: 0.9rem;
  color: var(--app-text-soft);
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.btn-mega {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: white;
  border: none;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px var(--accent-glow);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-mega:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--accent-glow);
}

.btn-mega.full {
  width: 100%;
  text-align: center;
}

.btn-link {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
}

/* Hero Visual: Phone Mockup */
.hero-visual-phone {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

/* Phone Mockup - Premium Dark Blue Style */
.phone-mockup {
  width: 340px;
  height: 680px;
  background: rgba(15, 23, 42, 0.3);
  /* Darker, more transparent */
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: 48px;
  border: 1px solid var(--glass-border);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.8),
    inset 0 0 20px rgba(99, 102, 241, 0.1);
  /* Indigo inner glow */
  position: relative;
  overflow: hidden;
  transform: rotateY(-10deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.phone-mockup:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-5px);
}

/* Centered Phone for Limitations */
.hero-visual-phone.centered-phone {
  margin: 0 auto;
  perspective: 1000px;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 28px;
  background: #000;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  z-index: 10;
}

.phone-screen {
  height: 100%;
  background: transparent;
  display: flex;
  flex-direction: column;
}

.chat-header {
  padding: 20px;
  background: rgba(15, 23, 42, 0.8);
  /* Darker header */
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-doc {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  /* Indigo Gradient */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  box-shadow: 0 0 10px var(--accent-glow);
}

.chat-info .name {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.chat-info .status {
  display: block;
  font-size: 0.8rem;
  color: var(--success);
  font-weight: 600;
}

.chat-body {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  /* Hide overflow for scroll animation */
  position: relative;
}

/* Scroll Container for Animation */
.chat-scroll-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: chat-scroll 120s linear infinite;
  /* Slowed down to match planet */
  padding-bottom: 100px;
}

/* Pause scroll on hover */
.chat-body:hover .chat-scroll-content {
  animation-play-state: paused;
}

@keyframes chat-scroll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }

  /* Adjust based on content length */
}

.msg-bubble {
  max-width: 85%;
  padding: 14px 18px;
  border-radius: 20px;
  font-size: 0.95rem;
  /* Slightly larger text */
  line-height: 1.5;
  word-wrap: break-word;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Doctor Bubble - White Text (Sunlight) */
.msg-bubble.doc {
  background: rgba(99, 102, 241, 0.2);
  /* Indigo Tint */
  border: 1px solid var(--glass-border);
  color: #e2e8f0;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

/* Patient Bubble - Saturn Color (Gold/Beige) */
.msg-bubble.user {
  background: #334155;
  /* Slate 700 */
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* Specific style for the long message to ensure readability */
.msg-bubble.doc.long-msg {
  font-size: 0.9rem;
  line-height: 1.6;
}

.msg-photo {
  max-width: 85%;
  border-radius: 20px;
  overflow: hidden;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.msg-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.photo-caption {
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  font-size: 0.85rem;
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  width: fit-content;
  margin-top: auto;
  margin-bottom: 8px;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: #94a3b8;
  border-radius: 50%;
  animation: bounce 1s infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.chat-input-area {
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 20;
  /* Ensure above scroll */
}

.fake-input {
  flex: 1;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 22px;
}

.send-btn {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Float Cards */
.float-card {
  position: absolute;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 4s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.float-card i {
  color: var(--accent);
}

.c1 {
  top: 25%;
  left: -50px;
  animation-delay: 0s;
}

.c2 {
  bottom: 25%;
  right: -30px;
  animation-delay: 2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ============================================
   COMPARISON SECTION (GLASS)
   ============================================ */

.comparison-art {
  padding: var(--space-xl) 0;
  /* Transparent to show Saturn */
  background: transparent;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.comparison-card {
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* The Old Way - Ghostly */
.comparison-card.old {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #94a3b8;
}

.comparison-card.old .card-header h3 {
  color: #cbd5e1;
}

.comparison-card.old .big-icon {
  opacity: 0.5;
  filter: grayscale(100%);
}

/* The Karma Way - Vibrant Glass */
.comparison-card.new {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.2);
  position: relative;
}

.comparison-card.new:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 60px rgba(99, 102, 241, 0.4);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.card-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.status-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge.error {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-badge.success {
  background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
  border: none;
}

.card-visual.centered {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  margin-bottom: 32px;
}

.big-icon {
  font-size: 6rem;
  transition: all 0.3s ease;
}

/* Optimized Icon Styling - Less "Emoji" */
.comparison-card.new .big-icon {
  /* Removed blur/glow for sharpness */
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  transform: scale(1);
  color: #818cf8;
}

@keyframes pulse-glow {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.friction-color {
  color: #64748b;
}

.flow-color {
  color: #818cf8;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.feature-list.dim li {
  color: #94a3b8;
}

.feature-list.dim i {
  color: #ef4444;
  opacity: 0.8;
  font-size: 1.2rem;
  /* Slightly smaller icons */
}

.feature-list.bright li {
  color: #fff;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.feature-list.bright i {
  color: var(--success);
  filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.5));
  font-size: 1.2rem;
}

.highlight {
  background: rgba(99, 102, 241, 0.3);
  color: #e0e7ff !important;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(99, 102, 241, 0.4);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.highlight i {
  color: #818cf8 !important;
}

/* ============================================
   MISSION MANIFESTO (GLASS)
   ============================================ */

.mission-manifesto {
  padding: var(--space-xl) 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  color: #fff;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mission-content {
  max-width: 800px;
  margin: 0 auto;
}

.mission-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mission-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #cbd5e1;
  margin-bottom: var(--space-md);
}

.mission-highlight {
  color: var(--primary);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(129, 140, 248, 0.4);
}

/* ============================================
   APP FEATURES (GLASS)
   ============================================ */

.app-features {
  padding: var(--space-xl) 0;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  margin: var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.center-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  color: #fff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  padding-top: var(--space-lg);
}

.feature-card {
  background: rgba(15, 23, 42, 0.6);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.3);
}

.f-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.feature-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.feature-card p {
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ============================================
   LIMITATIONS NOTICE (GLASS)
   ============================================ */
.limitations-section {
  padding: var(--space-lg) 0;
  background: transparent;
}

.notice-card {
  background: rgba(254, 243, 199, 0.1);
  /* Glassy Yellow */
  border: 1px solid rgba(252, 211, 77, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  backdrop-filter: blur(10px);
}

.notice-icon {
  font-size: 2rem;
}

.notice-content h4 {
  color: #fcd34d;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.notice-content p {
  color: #fde68a;
  font-size: 1rem;
  line-height: 1.6;
}

/* ============================================
   SOCIAL FEED (GLASS)
   ============================================ */

.social-feed {
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  margin-top: var(--space-lg);
}

.ticker {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.feed-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-size: 1rem;
  color: #fff;
  backdrop-filter: blur(5px);
}

.u-avatar {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.u-name {
  font-weight: 600;
  font-size: 0.95rem;
}

/* ============================================
   PLEDGE SECTION (GLASS)
   ============================================ */

.pledge-section {
  padding: var(--space-xl) 0;
}

.center-sub {
  text-align: center;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  font-size: 1.2rem;
}

.tier-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.tier-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  position: relative;
  transition: all 0.2s;
  backdrop-filter: blur(12px);
}

.tier-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.tier-card.featured {
  border-color: var(--accent);
  background: rgba(244, 114, 182, 0.1);
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  box-shadow: 0 0 15px rgba(244, 114, 182, 0.5);
}

.tier-emoji {
  font-size: 3.5rem;
  margin-bottom: var(--space-sm);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.tier-name {
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 4px;
  color: #fff;
}

.tier-price {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: var(--space-md);
  text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.tier-desc {
  color: #94a3b8;
  margin-bottom: var(--space-lg);
  font-size: 1rem;
}

.btn-tier {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
  font-size: 1rem;
}

.btn-tier:hover {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.btn-tier.primary {
  background: #fff;
  color: #0f172a;
  border: none;
}

/* ============================================
   MODAL (GLASS)
   ============================================ */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: rgba(15, 23, 42, 0.9);
  margin: auto;
  padding: 32px;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.3);
  animation: slideUp 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  color: #94a3b8;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

.modal-close:hover,
.modal-close:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #fff;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: border-color 0.2s;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
}

.form-group input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.error-message {
  color: var(--error);
  margin-top: 10px;
  font-size: 0.9rem;
  display: none;
}

.error-message.show {
  display: block;
}

/* ============================================
   FOOTER (GLASS)
   ============================================ */
.gen-z-footer {
  background: rgba(0, 0, 0, 0.4);
  padding: var(--space-xl) 0;
  margin-top: var(--space-xl);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.f-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
}

.f-links {
  display: flex;
  gap: var(--space-lg);
}

.f-links a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.f-links a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.f-social {
  display: flex;
  gap: var(--space-md);
}

.f-social i {
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s;
}

.f-social i:hover {
  transform: scale(1.1);
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary);
}

@media (max-width: 768px) {
  .footer-flex {
    flex-direction: column;
    text-align: center;
  }

  .f-links {
    flex-direction: column;
    gap: var(--space-md);
  }
}

/* Signature Block Styling */
.signature {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  font-style: italic;
  opacity: 0.9;
}