/* ==========================================================================
   LIFAFA.DIGITAL - CSS DESIGN SYSTEM & STYLES
   Hostel-built, Desi, Gen-Z Friendly, Premium Web Experience
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CUSTOM PROPERTIES & TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - HSL Tailored for warmth & vibrance */
  --color-bg-page: #FDF9F4;          /* Warm off-white HSL(35, 60%, 98%) */
  --color-bg-card: #FFFFFF;
  --color-primary: #7F77DD;          /* Warm Deep Purple HSL(244, 61%, 66%) */
  --color-primary-dark: #635BBE;     /* Darker Purple HSL(244, 47%, 55%) */
  --color-primary-light: #F0EEFC;    /* Ultra-light Purple for soft highlights */
  
  --color-accent: #F59E0B;           /* Saffron Amber HSL(38, 92%, 50%) */
  --color-accent-orange: #E05E35;    /* Festive Saffron Orange HSL(14, 73%, 54%) */
  --color-accent-light: #FEF3C7;     /* Light amber background tint */
  
  --color-text-main: #2E2A38;        /* Charcoal main HSL(256, 14%, 20%) */
  --color-text-muted: #686473;       /* Muted grey */
  --color-success: #10B981;          /* Emerald Green for UPI success */
  
  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Layout & Spacing */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(127, 119, 221, 0.05), 0 4px 6px -2px rgba(127, 119, 221, 0.02);
  --shadow-lg: 0 25px 50px -12px rgba(127, 119, 221, 0.08);
  --shadow-glow: 0 0 30px rgba(245, 158, 11, 0.35);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS & STYLING
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset for sticky navbar */
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-page);
  color: var(--color-text-main);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

input, textarea, button {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Base layout container */
.section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

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

.hidden {
  display: none !important;
}

/* Dynamic Confetti Canvas */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* --------------------------------------------------------------------------
   3. REUSABLE COMPONENTS & UTILITIES
   -------------------------------------------------------------------------- */
.badge {
  display: inline-block;
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(127, 119, 221, 0.15);
}

.section-header {
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-title {
  font-size: 2.5rem;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

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

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

.accent-text {
  color: var(--color-accent-orange);
  position: relative;
}

/* Wavy Dividers */
.divider-wavy {
  width: 100%;
  height: auto;
  line-height: 0;
}

.divider-wavy svg {
  width: 100%;
  height: 40px;
  display: block;
}

.rotate-180 {
  transform: rotate(180deg);
}

/* Custom Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition-bounce);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 0 10px 20px rgba(127, 119, 221, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(127, 119, 221, 0.4);
}

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

.btn-ghost {
  background-color: transparent;
  color: var(--color-primary-dark);
  border: 2px solid var(--color-primary-light);
}

.btn-ghost:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-3px);
}

.animate-pulse {
  animation: pulseBtn 2s infinite ease-in-out;
}

@keyframes pulseBtn {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 20px rgba(127, 119, 221, 0.3);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(127, 119, 221, 0.5);
  }
}

/* --------------------------------------------------------------------------
   4. NAVBAR & NAVIGATION
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background-color: rgba(253, 249, 244, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(127, 119, 221, 0.08);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background-color: rgba(253, 249, 244, 0.95);
  box-shadow: var(--shadow-sm);
  height: 70px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-text-main);
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.logo-text span {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta {
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
}

/* Hamburger toggle for mobile */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  z-index: 1100;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-text-main);
  border-radius: 4px;
  transition: var(--transition-bounce);
  transform-origin: left;
}

/* Mobile navigation menu overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-bg-page);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav-overlay.open {
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-main);
}

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

/* Responsive Navbar Toggle */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-cta {
    display: none; /* Hide top CTA on small screens */
  }
}

/* Hamburger open state icon animation */
.mobile-menu-toggle.open span:first-child {
  transform: rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.open span:last-child {
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 140px;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 992px) {
  .hero-content {
    align-items: center;
  }
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  color: var(--color-text-main);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

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

.highlight-dil {
  color: var(--color-accent-orange);
  font-style: italic;
  display: inline-flex;
  align-items: center;
  gap: 0.1em;
}

.dil-heart {
  width: 32px;
  height: 32px;
  color: var(--color-accent-orange);
  animation: heartPulse 1.2s infinite ease-in-out;
}

@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  width: 100%;
}

@media (max-width: 576px) {
  .hero-ctas {
    flex-direction: column;
  }
}

.hero-btn {
  flex: 0 1 auto;
  min-width: 180px;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar-group {
  display: flex;
}

.avatar {
  font-size: 1.5rem;
  margin-right: -10px;
  background-color: var(--color-bg-page);
  border: 2px solid var(--color-bg-page);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-proof-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   5B. THE 3D ENVELOPE INTERACTIVE MODULE
   -------------------------------------------------------------------------- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.envelope-interactive-wrapper {
  position: relative;
  perspective: 1200px;
  padding: 40px 0;
}

.tap-hint {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-accent);
  color: var(--color-text-main);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
  z-index: 100;
  animation: floatHint 2s infinite ease-in-out;
  white-space: nowrap;
}

@keyframes floatHint {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -6px); }
}

.envelope-container {
  position: relative;
  width: 340px;
  height: 220px;
  background-color: var(--color-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transform-style: preserve-3d;
  transition: var(--transition-bounce), transform 0.5s ease;
}

.envelope-container:hover {
  transform: translateY(-8px) rotateY(4deg) rotateX(2deg);
}

/* Envelope parts */
.envelope-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #6a61cc; /* Inside shadow purple */
  border-radius: var(--radius-md);
  z-index: 1;
}

/* The pocket */
.envelope-front {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  border-radius: var(--radius-md);
  clip-path: polygon(0 30%, 50% 60%, 100% 30%, 100% 100%, 0 100%);
  z-index: 4;
  box-shadow: inset 0 20px 20px -20px rgba(0,0,0,0.2);
}

/* Envelope Flap */
.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background-color: #6a61cc;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  transform-origin: top;
  transition: transform 0.4s ease 0.2s, z-index 0.05s linear 0.4s;
  z-index: 5;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}

/* Envelope Opened State for Flap */
.envelope-container.is-open .envelope-flap {
  transform: rotateX(180deg);
  z-index: 2;
  transition: transform 0.4s ease, z-index 0.05s linear 0.1s;
}

/* The Envelope Card */
.envelope-card {
  position: absolute;
  bottom: 10px;
  left: 5%;
  width: 90%;
  height: 310px;
  background-color: var(--color-bg-card);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  z-index: 3;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.2) 0.3s, z-index 0.01s ease 0.4s;
  transform: translateY(0) scale(0.95);
  overflow: hidden;
}

/* Opened State for Card */
.envelope-container.is-open .envelope-card {
  transform: translateY(-165px) scale(1.02);
  z-index: 10;
  box-shadow: 0 20px 45px rgba(127, 119, 221, 0.25);
}

/* Inside the Card elements */
.card-inner {
  padding: 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid var(--color-accent-light);
  border-radius: var(--radius-md);
}

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

.shagun-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-accent-orange);
  background-color: var(--color-accent-light);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
}

.success-tick {
  width: 20px;
  height: 20px;
  background-color: var(--color-success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

.card-recipient {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

.card-amount {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin: 0.25rem 0;
}

.card-divider {
  height: 1px;
  background-color: rgba(127, 119, 221, 0.12);
  margin: 0.5rem 0;
}

.card-message {
  font-size: 0.8rem;
  color: var(--color-text-main);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

/* Audio Player inside card */
.voice-note-block {
  background-color: var(--color-primary-light);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.play-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-bounce);
}

.play-btn:hover {
  transform: scale(1.1);
  background-color: var(--color-primary-dark);
}

.play-btn svg {
  width: 14px;
  height: 14px;
}

.audio-waves {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  height: 18px;
}

.audio-waves span {
  display: block;
  width: 3px;
  height: 4px;
  background-color: var(--color-primary);
  border-radius: 3px;
  transition: height 0.3s ease;
}

/* When playing - active waves */
.audio-waves.playing span {
  animation: waveMotion 1.2s infinite ease-in-out;
}

.audio-waves.playing span:nth-child(2)  { animation-delay: 0.1s; }
.audio-waves.playing span:nth-child(3)  { animation-delay: 0.2s; }
.audio-waves.playing span:nth-child(4)  { animation-delay: 0.3s; }
.audio-waves.playing span:nth-child(5)  { animation-delay: 0.4s; }
.audio-waves.playing span:nth-child(6)  { animation-delay: 0.1s; }
.audio-waves.playing span:nth-child(7)  { animation-delay: 0.2s; }
.audio-waves.playing span:nth-child(8)  { animation-delay: 0.5s; }
.audio-waves.playing span:nth-child(9)  { animation-delay: 0.3s; }
.audio-waves.playing span:nth-child(10) { animation-delay: 0.4s; }

@keyframes waveMotion {
  0%, 100% { height: 4px; }
  50% { height: 18px; }
}

.duration {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

/* Mini Photo Attachment */
.card-photo-collage {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #FAF8F5;
  border: 1px dashed rgba(127, 119, 221, 0.2);
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
}

.photo-item {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background-color: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.collage-caption {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.card-footer {
  text-align: center;
}

.upi-powered {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8C8994;
}

/* --------------------------------------------------------------------------
   6. THE PROBLEM SECTION
   -------------------------------------------------------------------------- */
.problem-section {
  background-color: var(--color-bg-card);
}

.problem-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 4rem;
  align-items: stretch;
}

@media (max-width: 768px) {
  .problem-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.compare-card {
  background-color: var(--color-bg-page);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(127, 119, 221, 0.04);
}

.compare-badge {
  position: absolute;
  top: -12px;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.85rem;
}

.badge-cold {
  background-color: #E2E8F0;
  color: #475569;
}

.badge-warm {
  background-color: var(--color-accent-light);
  color: var(--color-accent-orange);
}

/* The boring way */
.gpay-box {
  background-color: #202124; /* Google GPay Dark Theme box style */
  color: #FFFFFF;
  border-radius: 18px;
  width: 100%;
  max-width: 320px;
  padding: 1.25rem;
  font-family: var(--font-body);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.gpay-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #9AA0A6;
  margin-bottom: 0.75rem;
}

.gpay-body {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gpay-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #3C4043;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.gpay-details {
  display: flex;
  flex-direction: column;
}

.gpay-details strong {
  font-size: 0.95rem;
}

.gpay-details span {
  font-size: 0.85rem;
  color: #E8EAED;
}

.gpay-sub {
  font-size: 0.7rem !important;
  color: #9AA0A6 !important;
  margin-top: 0.15rem;
}

.gpay-footer {
  font-size: 0.75rem;
  color: #9AA0A6;
  border-top: 1px solid #3C4043;
  margin-top: 1rem;
  padding-top: 0.75rem;
  font-style: italic;
  text-align: center;
}

/* The glowing way */
.lifafa-mini-glow {
  background-color: var(--color-bg-card);
  border-radius: 20px;
  width: 100%;
  max-width: 320px;
  padding: 1.5rem;
  box-shadow: var(--shadow-glow);
  border: 2px solid var(--color-accent);
  position: relative;
  animation: miniGlowFloat 3s infinite ease-in-out;
}

@keyframes miniGlowFloat {
  0%, 100% { transform: translateY(0); box-shadow: var(--shadow-glow); }
  50% { transform: translateY(-8px); box-shadow: 0 0 45px rgba(245, 158, 11, 0.55); }
}

.lifafa-glow-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lifafa-glow-envelope {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 12px;
  padding: 1.75rem 1rem;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.glow-emoji {
  font-size: 2rem;
  animation: glowEmojiSwing 1s infinite alternate ease-in-out;
}

@keyframes glowEmojiSwing {
  0% { transform: rotate(-8deg) scale(1); }
  100% { transform: rotate(8deg) scale(1.1); }
}

.glow-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}

.glow-subtext {
  font-size: 0.75rem;
  color: var(--color-primary-light);
  opacity: 0.9;
}

.lifafa-glow-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.glow-sender {
  font-weight: 700;
  color: var(--color-text-main);
}

/* --------------------------------------------------------------------------
   7. HOW IT WORKS SECTION
   -------------------------------------------------------------------------- */
.how-it-works {
  background-color: var(--color-bg-page);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

@media (max-width: 992px) {
  .steps-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.step-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(127, 119, 221, 0.04);
  position: relative;
  transition: var(--transition-bounce);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(127, 119, 221, 0.15);
}

.step-number {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-primary-light);
  line-height: 1;
}

.step-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-primary-light);
  border-radius: var(--radius-md);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.step-title {
  font-size: 1.35rem;
  color: var(--color-text-main);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   8. FEATURES GRID
   -------------------------------------------------------------------------- */
.features-section {
  background-color: var(--color-bg-card);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background-color: var(--color-bg-page);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
  border: 1px solid rgba(127, 119, 221, 0.02);
}

.feature-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
  background-color: #FFFFFF;
  border-color: rgba(127, 119, 221, 0.1);
}

.feature-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.4rem;
  color: var(--color-text-main);
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   9. OCCASIONS SHOWCASE (SLIDER)
   -------------------------------------------------------------------------- */
.occasions-section {
  background-color: var(--color-bg-page);
  overflow: hidden;
}

.occasions-slider-wrapper {
  margin-top: 3rem;
  position: relative;
  width: 100%;
}

.occasions-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1.5rem 0.5rem;
  -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar but allow swipe scrolling */
.occasions-slider::-webkit-scrollbar {
  display: none;
}

.occasions-card-spacer {
  flex-shrink: 0;
  width: 1px;
}

.occasion-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 340px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
  cursor: pointer;
}

.occasion-card:hover {
  transform: translateY(-10px) rotate(1deg);
  box-shadow: var(--shadow-lg);
}

.occasion-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.occasion-details {
  display: flex;
  flex-direction: column;
}

.occasion-tag {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  align-self: flex-start;
  margin-bottom: 0.5rem;
}

.occasion-name {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.occasion-hinglish {
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0.85;
}

/* Custom Gradients for Occasions */
.color-shaadi {
  background: linear-gradient(135deg, #D32F2F, #E05E35);
}

.color-diwali {
  background: linear-gradient(135deg, #5D1049, #F59E0B);
}

.color-birthday {
  background: linear-gradient(135deg, #EC4899, #7F77DD);
}

.color-eid {
  background: linear-gradient(135deg, #0F766E, #10B981);
}

.color-rakhi {
  background: linear-gradient(135deg, #F43F5E, #FBBF24);
}

.color-newyear {
  background: linear-gradient(135deg, #1E3A8A, #EC4899);
}

/* --------------------------------------------------------------------------
   10. LIVE BUILDER PLAYGROUND
   -------------------------------------------------------------------------- */
.playground-section {
  background-color: var(--color-bg-card);
}

.playground-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .playground-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.playground-controls {
  background-color: var(--color-bg-page);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(127, 119, 221, 0.08);
}

.controls-title {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-main);
  border-bottom: 2px dashed rgba(127, 119, 221, 0.15);
  padding-bottom: 0.75rem;
}

.control-group {
  margin-bottom: 1.5rem;
}

.control-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-main);
}

.preset-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.preset-btn {
  background-color: #FFFFFF;
  border: 2px solid rgba(127, 119, 221, 0.15);
  border-radius: var(--radius-md);
  padding: 0.6rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: left;
  transition: var(--transition-bounce);
}

.preset-btn:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.preset-btn.active {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.input-field {
  width: 100%;
  background-color: #FFFFFF;
  border: 2px solid rgba(127, 119, 221, 0.15);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-family: inherit;
  color: var(--color-text-main);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.input-field:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(127, 119, 221, 0.15);
}

.amount-input-wrapper {
  position: relative;
}

.rupee-symbol {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--color-text-muted);
}

.amount-input-wrapper input {
  padding-left: 2rem;
}

/* Preview Side Styling */
.playground-preview {
  display: flex;
  justify-content: center;
  align-items: center;
}

.preview-envelope-box {
  width: 100%;
  max-width: 380px;
  display: flex;
  justify-content: center;
}

.interactive-preview-card {
  width: 100%;
  height: 360px;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: white;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.preview-inner {
  padding: 1.25rem;
  height: 100%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.preview-badge {
  font-size: 0.75rem;
  font-weight: 800;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
}

.preview-status {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.preview-body {
  text-align: center;
  margin: auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.preview-emoji-holder {
  font-size: 3rem;
  margin-bottom: 0.25rem;
  animation: glowEmojiSwing 1.5s infinite alternate ease-in-out;
}

.preview-amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1;
}

.preview-msg-box {
  font-size: 0.875rem;
  line-height: 1.4;
  opacity: 0.95;
  min-height: 50px;
  word-break: break-word;
}

.preview-sender {
  font-weight: 700;
  font-size: 0.9rem;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin: 0.5rem auto 0 auto;
}

.preview-footer {
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  opacity: 0.6;
}

/* Custom Live Builder Themes */
.theme-shaadi {
  background: linear-gradient(135deg, #D32F2F, #E05E35);
  box-shadow: 0 20px 40px rgba(211, 47, 47, 0.3);
}

.theme-diwali {
  background: linear-gradient(135deg, #5D1049, #F59E0B);
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.35);
}

.theme-birthday {
  background: linear-gradient(135deg, #EC4899, #7F77DD);
  box-shadow: 0 20px 40px rgba(236, 72, 153, 0.3);
}

.theme-eid {
  background: linear-gradient(135deg, #0F766E, #10B981);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

/* --------------------------------------------------------------------------
   11. PRICING SECTION
   -------------------------------------------------------------------------- */
.pricing-section {
  background-color: var(--color-bg-page);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  align-items: stretch;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.price-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(127, 119, 221, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition-bounce);
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.price-header {
  text-align: center;
}

.tier-name {
  font-size: 1.35rem;
  color: var(--color-text-main);
  margin-bottom: 0.75rem;
}

.price-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 850;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.price-sub {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.price-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  min-height: 45px;
}

.price-divider {
  height: 1px;
  background-color: rgba(127, 119, 221, 0.08);
  margin: 1.5rem 0;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.price-features li {
  font-size: 0.95rem;
  color: var(--color-text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.price-features li span {
  color: var(--color-text-muted);
}

.price-features li strong {
  color: var(--color-text-main);
}

.price-btn {
  width: 100%;
}

/* Most Popular card custom elements */
.price-card.popular {
  border: 3px solid var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: scale(1.03);
}

@media (max-width: 992px) {
  .price-card.popular {
    transform: scale(1);
  }
}

.price-card.popular:hover {
  box-shadow: var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary);
  color: white;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.price-card.popular .tier-name {
  color: var(--color-primary-dark);
}

.price-card.popular .price-features li strong {
  color: var(--color-primary-dark);
}

/* --------------------------------------------------------------------------
/* --------------------------------------------------------------------------
   12. TEAM SECTION - REMOVED FOR ANONYMITY
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   13. EARLY ACCESS WAITLIST SECTION
   -------------------------------------------------------------------------- */
.waitlist-section {
  background-color: var(--color-bg-page);
}

.waitlist-box {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: var(--radius-lg);
  padding: 5rem 3rem;
  color: white;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.waitlist-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.waitlist-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0 auto;
}

.waitlist-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .waitlist-title {
    font-size: 2.25rem;
  }
}

.waitlist-subtitle {
  font-size: 1.15rem;
  color: var(--color-primary-light);
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.waitlist-form {
  display: flex;
  gap: 0.75rem;
  background-color: rgba(255, 255, 255, 0.12);
  padding: 0.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  margin-bottom: 1.5rem;
}

@media (max-width: 576px) {
  .waitlist-form {
    flex-direction: column;
    background-color: transparent;
    padding: 0;
    border: none;
    gap: 1rem;
    border-radius: 0;
  }
}

.waitlist-input {
  flex: 1;
  background-color: transparent;
  border: none;
  padding: 0.75rem 1.5rem;
  color: white;
  font-size: 1.05rem;
}

.waitlist-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 576px) {
  .waitlist-input {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-pill);
  }
}

.waitlist-btn {
  background-color: var(--color-accent);
  color: var(--color-text-main);
  box-shadow: 0 6px 15px rgba(245, 158, 11, 0.3);
}

.waitlist-btn:hover {
  background-color: #FFFFFF;
  color: var(--color-primary-dark);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.4);
}

.waitlist-note {
  font-size: 0.85rem;
  opacity: 0.8;
  color: var(--color-primary-light);
}

/* Success message on waitlist join */
.waitlist-success {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-emoji {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  animation: glowEmojiSwing 1s infinite alternate;
}

.waitlist-success h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.waitlist-success p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-primary-light);
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--color-text-main);
  color: #FFFFFF;
  padding: 5rem 0 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  flex: 1 1 350px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand .logo-text {
  color: white;
}

.footer-brand .logo-text span {
  color: var(--color-primary-light);
}

.footer-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 280px;
}

.footer-links-group {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}

@media (max-width: 576px) {
  .footer-links-group {
    gap: 2rem;
  }
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--color-primary-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

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

.desi-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-bounce);
}

.social-icon:hover {
  background-color: var(--color-primary);
  color: white;
  transform: translateY(-3px);
}
