/* ==========================================================================
   Keep: Birthdays — Design System & Stylesheet
   Theme: Vibrant Orchid / Hero Magenta / Deep Midnight Purple (#B554C6, #C457D4, #A5057F)
   ========================================================================== */

:root {
  /* Brand Colors matching app theme.js & app.json */
  --primary: #B554C6;
  --primary-hover: #A340B4;
  --primary-light: #F3E5F5;
  --primary-glow: rgba(181, 84, 198, 0.45);
  --hero-magenta: #C457D4;
  --splash-purple: #A5057F;
  --midnight-bg: #0B0612;
  --midnight-card: #150C22;
  --midnight-surface: rgba(26, 14, 42, 0.75);
  --midnight-border: rgba(181, 84, 198, 0.22);
  --midnight-border-hover: rgba(181, 84, 198, 0.55);

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #FF6EC7 0%, #B554C6 50%, #7928CA 100%);
  --gradient-hero: linear-gradient(135deg, #C457D4 0%, #B554C6 50%, #9A2EAD 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(181, 84, 198, 0.05) 100%);
  --gradient-gold: linear-gradient(135deg, #FDE68A 0%, #F59E0B 50%, #D97706 100%);
  --gradient-dark: linear-gradient(180deg, #0B0612 0%, #150B24 100%);

  /* Accents */
  --accent-gold: #F59E0B;
  --accent-cyan: #38BDF8;
  --accent-green: #34D399;

  /* Typography */
  --text-main: #FFFFFF;
  --text-sub: #A79FB8;
  --text-muted: #726A82;
  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 10px 30px rgba(181, 84, 198, 0.35);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --shadow-mockup: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 40px rgba(181, 84, 198, 0.25);

  /* Layout */
  --container-width: 1160px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--midnight-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(circle at 20% 15%, rgba(181, 84, 198, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(165, 5, 127, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(121, 40, 202, 0.1) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Ambient Floating Glow Elements */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  top: 10%;
  left: 5%;
  width: 380px;
  height: 380px;
  background: rgba(181, 84, 198, 0.2);
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.orb-2 {
  top: 35%;
  right: 5%;
  width: 420px;
  height: 420px;
  background: rgba(165, 5, 127, 0.16);
  animation: floatOrb 15s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.1); }
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: #E29DF0;
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #FFFFFF;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.gold-gradient-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #FFFFFF;
  box-shadow: 0 6px 24px rgba(181, 84, 198, 0.45);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.6s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(181, 84, 198, 0.6);
  color: #FFFFFF;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-main);
  border: 1px solid var(--midnight-border);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(181, 84, 198, 0.45);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13.5px;
}

/* App Store & Google Play Badges */
.store-buttons-group {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 24px 0 16px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 26px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid var(--midnight-border);
  color: #FFF;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(14px);
  min-width: 210px;
}

.btn-playstore {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(181, 84, 198, 0.18) 100%);
  border-color: rgba(181, 84, 198, 0.45);
}

.btn-playstore:hover {
  transform: translateY(-3px) scale(1.02);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(181, 84, 198, 0.3) 100%);
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(181, 84, 198, 0.45);
  color: #FFF;
}

.btn-appstore-disabled {
  opacity: 0.75;
  cursor: default;
  background: rgba(255, 255, 255, 0.04);
  border-style: dashed;
}

.btn-appstore-disabled:hover {
  color: #FFF;
}

.store-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-subtitle {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-sub);
  line-height: 1.1;
}

.store-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.store-badge-tag {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  color: #E29DF0;
  vertical-align: middle;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(11, 6, 18, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--midnight-border);
  z-index: 1000;
  transition: background 0.3s;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.brand-icon-img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(181, 84, 198, 0.45);
  transition: transform 0.3s ease;
}

.brand:hover .brand-icon-img {
  transform: scale(1.06) rotate(3deg);
}

.brand-text {
  background: linear-gradient(135deg, #FFFFFF 60%, #E8BCF7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: var(--text-sub);
  font-size: 14.5px;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #FFF;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--midnight-border);
  color: #FFF;
  font-size: 22px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 20px 24px;
  background: rgba(18, 10, 30, 0.98);
  border-bottom: 1px solid var(--midnight-border);
  gap: 16px;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav .nav-link {
  font-size: 16px;
  padding: 8px 0;
}

/* Pill Badges */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(181, 84, 198, 0.18) 0%, rgba(26, 14, 42, 0.6) 100%);
  border: 1px solid rgba(181, 84, 198, 0.45);
  color: #F1C4FD;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(181, 84, 198, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  position: relative;
}

.pulse-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 10px #34D399;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.pill-badge-gold {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #FCD34D;
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.hero-glow-text {
  background: linear-gradient(135deg, #FF6EC7 0%, #C457D4 40%, #9A2EAD 80%, #7928CA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  filter: drop-shadow(0 0 25px rgba(196, 87, 212, 0.35));
}

.hero-description {
  font-size: 18.5px;
  color: #DDD6EC;
  line-height: 1.68;
  margin-bottom: 24px;
}

.hero-description strong {
  color: #FFFFFF;
  font-weight: 700;
}

/* Hero Quick Feature Chips */
.hero-chips-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--midnight-border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  color: #E2DFEB;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.hero-chip:hover {
  background: rgba(181, 84, 198, 0.15);
  border-color: rgba(181, 84, 198, 0.45);
  color: #FFF;
  transform: translateY(-2px);
}

/* Hero Rating Proof */
.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack-item {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #0B0612;
  margin-left: -8px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #FFF;
}

.avatar-stack-item:first-child {
  margin-left: 0;
}

.hero-rating-text {
  font-size: 13px;
  color: #DDD;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-rating-stars {
  color: #FBBF24;
  font-size: 13px;
  letter-spacing: 1px;
}

.cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.store-badge-row {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.store-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.store-badge-item span.check {
  color: var(--accent-green);
  font-weight: bold;
}

/* 3D Realistic Smartphone Mockup in CSS */
.hero-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  width: 320px;
  background: #180F27;
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow-mockup);
  border: 4px solid rgba(255, 255, 255, 0.12);
  position: relative;
  transform: perspective(1000px) rotateY(-4deg) rotateX(4deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.phone-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.8), 0 0 50px rgba(181, 84, 198, 0.4);
}

.phone-screen {
  background: #0D0714;
  border-radius: 34px;
  padding: 20px 16px 24px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-notch {
  width: 90px;
  height: 18px;
  background: #180F27;
  border-radius: 0 0 12px 12px;
  margin: -20px auto 14px;
}

.app-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.app-screen-title {
  font-size: 15px;
  font-weight: 800;
  color: #FFF;
}

.app-screen-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
}

/* App Mockup Hero Card */
.mockup-hero-card {
  background: var(--gradient-hero);
  border-radius: 20px;
  padding: 16px;
  color: #FFF;
  box-shadow: 0 10px 24px rgba(181, 84, 198, 0.4);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.mockup-hero-card::after {
  content: '🎈';
  position: absolute;
  right: -10px;
  bottom: -15px;
  font-size: 70px;
  opacity: 0.15;
}

.mockup-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.mockup-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 700;
}

.mockup-zodiac {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.9;
}

.mockup-name {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
}

.mockup-details {
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 12px;
}

.mockup-countdown-box {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mockup-countdown-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.mockup-countdown-value {
  font-size: 13px;
  font-weight: 800;
  color: #FFDF70;
  font-variant-numeric: tabular-nums;
}

/* Mockup Upcoming List */
.mockup-list-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mockup-contact-item {
  background: var(--midnight-surface);
  border: 1px solid var(--midnight-border);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.mockup-contact-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-contact-avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(181, 84, 198, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.mockup-contact-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #FFF;
}

.mockup-contact-sub {
  font-size: 10.5px;
  color: var(--text-muted);
}

.mockup-days-badge {
  font-size: 11px;
  font-weight: 700;
  color: #E29DF0;
  background: rgba(181, 84, 198, 0.15);
  padding: 3px 8px;
  border-radius: 8px;
}

/* Floating Confetti Pill badge on mockup */
.mockup-floating-badge {
  position: absolute;
  top: -15px;
  right: -20px;
  background: var(--midnight-card);
  border: 1.5px solid var(--primary);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 800;
  color: #FFF;
  box-shadow: var(--shadow-glow);
  animation: bounceSlow 3s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 6px;
}

@keyframes bounceSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Section Common Styling */
section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--midnight-surface);
  border: 1px solid var(--midnight-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--midnight-border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(181, 84, 198, 0.2);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(181, 84, 198, 0.14);
  border: 1px solid rgba(181, 84, 198, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 14px rgba(181, 84, 198, 0.2);
}

.feature-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(181, 84, 198, 0.15);
  color: #EBB6FA;
  border: 1px solid rgba(181, 84, 198, 0.3);
}

.feature-tag-gold {
  background: rgba(245, 158, 11, 0.15);
  color: #FCD34D;
  border-color: rgba(245, 158, 11, 0.35);
}

.feature-tag-green {
  background: rgba(52, 211, 153, 0.15);
  color: #6EE7B7;
  border-color: rgba(52, 211, 153, 0.35);
}

.feature-tag-blue {
  background: rgba(56, 189, 248, 0.15);
  color: #7DD3FC;
  border-color: rgba(56, 189, 248, 0.35);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #FFF;
}

.feature-card p {
  color: var(--text-sub);
  font-size: 14.5px;
  line-height: 1.6;
}

.feature-highlights-list {
  list-style: none;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.feature-highlights-list li {
  font-size: 13px;
  color: #DDD8E8;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.feature-highlights-list li:last-child {
  margin-bottom: 0;
}

.feature-highlights-list li .bullet-check {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}
}

/* ==========================================================================
   Interactive Live AI Wish Studio Sandbox
   ========================================================================== */
.sandbox-section {
  background: linear-gradient(180deg, rgba(21, 11, 36, 0.6) 0%, rgba(11, 6, 18, 0.8) 100%);
  border-top: 1px solid var(--midnight-border);
  border-bottom: 1px solid var(--midnight-border);
}

.sandbox-container {
  max-width: 860px;
  margin: 0 auto;
  background: var(--midnight-surface);
  border: 1px solid var(--midnight-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}

.sandbox-controls {
  margin-bottom: 28px;
}

.sandbox-group-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.chips-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.chip-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--midnight-border);
  color: var(--text-sub);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip-btn:hover {
  background: rgba(181, 84, 198, 0.15);
  color: #FFF;
}

.chip-btn.active {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #FFF;
  box-shadow: 0 4px 14px rgba(181, 84, 198, 0.4);
}

.sandbox-output-box {
  background: rgba(11, 6, 18, 0.85);
  border: 1px solid rgba(181, 84, 198, 0.3);
  border-radius: 18px;
  padding: 24px 28px;
  position: relative;
  min-height: 140px;
  margin-bottom: 24px;
}

.sandbox-wish-text {
  font-size: 17px;
  line-height: 1.7;
  color: #FFFFFF;
  white-space: pre-line;
  font-family: var(--font-body);
}

.sandbox-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.copy-toast {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-green);
  font-size: 13.5px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.copy-toast.show {
  opacity: 1;
}

/* ==========================================================================
   10 Visual Greeting Card Studio Showcase
   ========================================================================== */
.card-studio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.theme-card-preview {
  background: var(--midnight-surface);
  border: 1px solid var(--midnight-border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.theme-card-preview:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(181, 84, 198, 0.6);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.theme-card-sample {
  height: 110px;
  border-radius: 12px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  position: relative;
}

/* Bespoke Visual Theme Samples */
.theme-gold { background: linear-gradient(135deg, #1C150A 0%, #3D2B0F 50%, #1A1206 100%); border: 1.5px solid #F59E0B; }
.theme-gold .sample-icon { color: #F59E0B; font-size: 24px; }
.theme-gold .sample-title { color: #FDE68A; font-weight: 800; font-size: 11px; }

.theme-rave { background: linear-gradient(135deg, #050515 0%, #15002E 100%); border: 1.5px solid #00F0FF; box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.2); }
.theme-rave .sample-icon { color: #00F0FF; font-size: 24px; }
.theme-rave .sample-title { color: #FF007F; font-weight: 800; font-size: 11px; text-shadow: 0 0 5px #FF007F; }

.theme-glass { background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(181,84,198,0.2) 100%); border: 1.5px solid rgba(255,255,255,0.3); backdrop-filter: blur(10px); }
.theme-glass .sample-icon { font-size: 24px; }
.theme-glass .sample-title { color: #FFF; font-weight: 700; font-size: 11px; }

.theme-arcade { background: #000; border: 2px solid #39FF14; }
.theme-arcade .sample-icon { font-size: 24px; }
.theme-arcade .sample-title { color: #39FF14; font-family: monospace; font-weight: 800; font-size: 10px; }

.theme-zen { background: linear-gradient(135deg, #2E1B24 0%, #442432 100%); border: 1.5px solid #F472B6; }
.theme-zen .sample-icon { font-size: 24px; }
.theme-zen .sample-title { color: #FBCFE8; font-weight: 700; font-size: 11px; }

.theme-toon { background: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 100%); border: 2px solid #4ECDC4; }
.theme-toon .sample-icon { font-size: 24px; }
.theme-toon .sample-title { color: #1A1A1A; font-weight: 900; font-size: 11px; }

.theme-scrapbook { background: #FFF9F0; border: 2px dashed #D97706; }
.theme-scrapbook .sample-icon { font-size: 24px; }
.theme-scrapbook .sample-title { color: #78350F; font-weight: 800; font-size: 11px; }

.theme-sunset { background: linear-gradient(135deg, #FF512F 0%, #DD2476 100%); border: 1.5px solid #FFA07A; }
.theme-sunset .sample-icon { font-size: 24px; }
.theme-sunset .sample-title { color: #FFF; font-weight: 800; font-size: 11px; }

.theme-galaxy { background: radial-gradient(circle, #240046 0%, #10002B 100%); border: 1.5px solid #9D4EDD; }
.theme-galaxy .sample-icon { font-size: 24px; }
.theme-galaxy .sample-title { color: #E0AAFF; font-weight: 800; font-size: 11px; }

.theme-comic { background: #FFDE59; border: 3px solid #000; }
.theme-comic .sample-icon { font-size: 24px; }
.theme-comic .sample-title { color: #000; font-weight: 900; font-size: 11px; text-transform: uppercase; }

.theme-card-name {
  font-size: 14px;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 4px;
}

.theme-card-tag {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   Pricing & Keep: Birthdays+ Pro Showcase
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--midnight-surface);
  border: 1px solid var(--midnight-border);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(181, 84, 198, 0.15) 0%, rgba(26, 14, 42, 0.85) 100%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 35px rgba(181, 84, 198, 0.3);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #FFF;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(181, 84, 198, 0.5);
}

.pricing-card h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.pricing-price {
  font-size: 42px;
  font-weight: 900;
  color: #FFF;
  margin: 16px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-period {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-sub);
}

.pricing-features-list {
  list-style: none;
  margin: 24px 0 32px;
  flex-grow: 1;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: #DDD;
  margin-bottom: 12px;
}

.pricing-features-list li .check-icon {
  color: var(--primary);
  font-weight: 800;
}

/* ==========================================================================
   Testimonials & Social Proof
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--midnight-surface);
  border: 1px solid var(--midnight-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(12px);
}

.stars-row {
  color: #FBBF24;
  font-size: 16px;
  margin-bottom: 14px;
}

.testimonial-quote {
  font-size: 15.5px;
  color: #E2DFEB;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #FFF;
}

.author-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #FFF;
}

.author-role {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   Support & FAQ Accordion Component
   ========================================================================== */
.faq-search-wrapper {
  max-width: 600px;
  margin: 0 auto 36px;
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  background: var(--midnight-surface);
  border: 1px solid var(--midnight-border);
  border-radius: var(--radius-pill);
  color: #FFF;
  font-size: 15px;
  outline: none;
  transition: all 0.25s ease;
}

.faq-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(181, 84, 198, 0.3);
}

.faq-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-sub);
  font-size: 18px;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto 60px;
}

.faq-item {
  background: var(--midnight-surface);
  border: 1px solid var(--midnight-border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item.active {
  border-color: rgba(181, 84, 198, 0.5);
}

.faq-question-btn {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  color: #FFF;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-toggle-icon {
  font-size: 20px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-sub);
  font-size: 15.5px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px;
}

/* Enhanced Bottom Download CTA Card */
.cta-download-box {
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(181, 84, 198, 0.18) 0%, rgba(26, 14, 42, 0.95) 100%);
  border: 1.5px solid rgba(181, 84, 198, 0.4);
  border-radius: var(--radius-xl);
  padding: 56px 40px 48px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(181, 84, 198, 0.25);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.cta-download-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-brand);
}

.cta-app-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.cta-app-icon-img {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(181, 84, 198, 0.5);
  transition: transform 0.3s ease;
}

.cta-app-icon-wrapper:hover .cta-app-icon-img {
  transform: scale(1.08) rotate(3deg);
}

.cta-download-box h2 {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.cta-download-box .cta-subtext {
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto 12px;
  color: var(--text-sub);
  line-height: 1.6;
}

.trust-badges-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-sub);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-badge-item .badge-star {
  color: #FBBF24;
}

.cta-secondary-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.cta-secondary-link:hover {
  color: #FFF;
}

/* Contact Support Card */
.support-card {
  max-width: 650px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(181, 84, 198, 0.12) 0%, rgba(26, 14, 42, 0.9) 100%);
  border: 1.5px solid var(--midnight-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.support-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.support-card p {
  color: var(--text-sub);
  margin-bottom: 24px;
}

.support-email-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--midnight-border);
  margin-bottom: 16px;
}

.support-email-text {
  font-family: monospace;
  font-size: 16px;
  color: #FFF;
}

/* ==========================================================================
   Legal Content Styling (Privacy, Terms)
   ========================================================================== */
.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  margin: 40px 0 90px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 100px;
  background: var(--midnight-surface);
  border: 1px solid var(--midnight-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.legal-toc-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.legal-toc-list {
  list-style: none;
}

.legal-toc-list li {
  margin-bottom: 10px;
}

.legal-toc-link {
  color: var(--text-sub);
  font-size: 14px;
  font-weight: 600;
  display: block;
  padding: 4px 0;
}

.legal-toc-link:hover {
  color: #FFF;
  transform: translateX(4px);
}

.legal-card {
  background: var(--midnight-surface);
  border: 1px solid var(--midnight-border);
  border-radius: var(--radius-xl);
  padding: 44px;
  backdrop-filter: blur(16px);
}

.legal-card h1 {
  font-size: 38px;
  margin-bottom: 8px;
}

.legal-meta-badge {
  color: var(--text-muted);
  font-size: 13.5px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--midnight-border);
}

.legal-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 28px 0 36px;
}

.highlight-box {
  background: rgba(181, 84, 198, 0.08);
  border: 1px solid rgba(181, 84, 198, 0.25);
  border-radius: 14px;
  padding: 16px;
}

.highlight-box h4 {
  font-size: 14px;
  color: #E29DF0;
  margin-bottom: 4px;
}

.highlight-box p {
  font-size: 12.5px;
  color: var(--text-sub);
  line-height: 1.5;
  margin: 0;
}

.legal-card h2 {
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 12px;
  color: #FFF;
}

.legal-card p, .legal-card li {
  color: #D6D2E0;
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-card ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  border-top: 1px solid var(--midnight-border);
  background: rgba(11, 6, 18, 0.95);
  padding: 60px 0 40px;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-sub);
  font-size: 14.5px;
  margin-top: 12px;
  max-width: 320px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #FFF;
  margin-bottom: 18px;
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  color: var(--text-sub);
  font-size: 14px;
}

.footer-links-list a:hover {
  color: #FFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 13.5px;
}

/* ==========================================================================
   Responsive Media Queries & Fluid Layouts
   ========================================================================== */

/* Tablet & Smaller Laptops (<= 992px) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero-content {
    max-width: 640px;
    margin: 0 auto;
  }
  .hero .store-buttons-group {
    justify-content: center !important;
  }
  .store-badge-row {
    justify-content: center;
  }
  .phone-mockup {
    transform: none;
  }
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-sidebar {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Tablets & Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero {
    padding: 48px 0 40px;
  }
  .hero h1 {
    font-size: clamp(30px, 7vw, 42px);
    letter-spacing: -1px;
  }
  .hero-description {
    font-size: 16.5px;
    margin-bottom: 24px;
  }
  .section-title {
    font-size: clamp(26px, 6vw, 34px);
    letter-spacing: -0.5px;
  }
  .section-subtitle {
    font-size: 15.5px;
    margin-bottom: 36px;
  }
  section {
    padding: 64px 0;
  }
  
  /* Features Grid */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .feature-card {
    padding: 26px 22px;
  }
  
  /* Card Studio 2-Column Grid */
  .card-studio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .theme-card-preview {
    padding: 14px 10px;
  }
  .theme-card-sample {
    height: 85px;
    margin-bottom: 10px;
  }
  .theme-card-name {
    font-size: 13px;
  }
  .theme-card-tag {
    font-size: 10px;
  }

  /* Sandbox Controls */
  .sandbox-container {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }
  .sandbox-wish-text {
    font-size: 15.5px;
    line-height: 1.6;
  }
  .sandbox-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .sandbox-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .sandbox-actions > div {
    width: 100%;
    justify-content: space-between;
  }

  /* Download CTA Box */
  .cta-download-box {
    padding: 40px 20px 32px;
    border-radius: var(--radius-lg);
  }
  .cta-download-box h2 {
    font-size: 28px;
  }
  .cta-download-box .cta-subtext {
    font-size: 15.5px;
  }
  .trust-badges-row {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
  }

  /* FAQ Accordion */
  .faq-question-btn {
    padding: 16px 18px;
    font-size: 15.5px;
  }
  .faq-answer {
    padding: 0 18px;
    font-size: 14.5px;
  }
  .faq-item.active .faq-answer {
    padding: 0 18px 18px;
  }

  /* Legal Card */
  .legal-card {
    padding: 26px 20px;
  }
  .legal-card h1 {
    font-size: 30px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* Small Smart Phones (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero h1 {
    font-size: 28px;
    line-height: 1.15;
  }
  .pill-badge {
    font-size: 12px;
    padding: 5px 14px;
  }
  .store-buttons-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .btn-store {
    width: 100%;
    justify-content: center;
    min-width: 0;
  }
  .store-badge-row {
    flex-direction: column;
    gap: 8px;
  }
  .phone-mockup {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    border-radius: 36px;
  }
  .mockup-floating-badge {
    right: 0;
    top: -10px;
    font-size: 11px;
    padding: 5px 12px;
  }
  .chip-btn {
    font-size: 12.5px;
    padding: 6px 12px;
  }
  .support-card {
    padding: 24px 16px;
  }
  .support-email-text {
    font-size: 13.5px;
  }
}
