/* ==========================================
   MIQA Memories Landing Page Stylesheet
   ========================================== */

/* --- Custom Properties & Themes --- */
:root {
  --font-body: 'Montserrat', sans-serif;
  --font-display: 'Fredoka', sans-serif;
  --transition-speed: 0.3s;
}

/* Cozy Pastel Theme (Default) */
.cozy-theme {
  --bg-gradient: linear-gradient(135deg, #FFF5F5 0%, #FFF0F0 40%, #FCCCCC 100%);
  --text-main: #4A354F;
  --text-muted: #7B6282;
  --primary: #F75F8A;
  --primary-glow: rgba(247, 95, 138, 0.4);
  --secondary: #8A4FD0;
  --secondary-glow: rgba(138, 79, 208, 0.3);
  --accent: #FF9B9B;
  --card-bg: rgba(255, 255, 255, 0.75);
  --card-border: rgba(255, 255, 255, 0.5);
  --navbar-bg: rgba(255, 255, 255, 0.7);
  --shadow-color: rgba(247, 95, 138, 0.12);
  --shadow-strong: rgba(247, 95, 138, 0.25);
  --phone-bezel: #2D1E2F;
  --notch-color: #2D1E2F;
  --panel-bg: #FFFFFF;
  --input-bg: #FFF0F2;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 8px;
}

/* Neon Midnight Theme (Dark) */
.midnight-theme {
  --bg-gradient: linear-gradient(135deg, #0F0712 0%, #1D0B24 50%, #14051D 100%);
  --text-main: #FFF0F5;
  --text-muted: #C0B0C4;
  --primary: #FF7EA3;
  --primary-glow: rgba(255, 126, 163, 0.6);
  --secondary: #B385FF;
  --secondary-glow: rgba(179, 133, 255, 0.5);
  --accent: #FFA6A6;
  --card-bg: rgba(28, 14, 34, 0.65);
  --card-border: rgba(255, 126, 163, 0.15);
  --navbar-bg: rgba(15, 7, 18, 0.85);
  --shadow-color: rgba(179, 133, 255, 0.25);
  --shadow-strong: rgba(255, 126, 163, 0.4);
  --phone-bezel: #0F0712;
  --notch-color: #0F0712;
  --panel-bg: #231229;
  --input-bg: #2B1633;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 8px;
}

/* --- Base Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-gradient);
  color: var(--text-main);
  overflow-x: hidden;
  transition: background var(--transition-speed), color var(--transition-speed);
  min-height: 100vh;
}

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

p {
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Floating Hearts Background --- */
.hearts-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.heart-particle {
  position: absolute;
  bottom: -20px;
  color: var(--primary);
  opacity: 0.3;
  animation: floatHeart 12s linear infinite;
}

@keyframes floatHeart {
  0% {
    transform: translateY(0) scale(0.5) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-105vh) scale(1.2) rotate(360deg);
    opacity: 0;
  }
}

/* --- Utilities & Common Elements --- */
.accent-text {
  color: var(--primary);
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pulse {
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-glow);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-purple {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary-glow);
  color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px var(--shadow-color);
  border-radius: var(--border-radius-lg);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed), border var(--transition-speed);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 15px;
  border: none;
}

.primary-btn {
  background: linear-gradient(135deg, var(--primary) 0%, #E04E75 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(247, 95, 138, 0.4);
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(247, 95, 138, 0.6);
}

.secondary-btn {
  background: var(--card-bg);
  color: var(--text-main);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
}

.secondary-btn:hover {
  background: #FFFFFF;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px var(--shadow-color);
}

/* --- Header / Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--navbar-bg);
  border-bottom: 1px solid var(--card-border);
  backdrop-filter: blur(15px);
  z-index: 1000;
  transition: background var(--transition-speed), border var(--transition-speed);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  font-size: 15px;
  transition: color var(--transition-speed);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

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

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

.nav-btn {
  background: var(--primary);
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: all 0.25s ease;
}

.nav-btn:hover {
  background: var(--secondary);
  box-shadow: 0 4px 15px var(--secondary-glow);
  transform: translateY(-2px);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.theme-toggle-btn {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  height: 40px;
  width: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed);
  font-size: 18px;
}

.theme-toggle-btn:hover {
  transform: scale(1.1);
  background: var(--primary-glow);
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-main);
  cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 24px 80px 24px;
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

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

.hero-title {
  font-size: 54px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 18px;
  margin-bottom: 35px;
  max-width: 550px;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.platform-indicators {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  color: var(--text-muted);
}

.platform-icons {
  display: flex;
  gap: 12px;
  font-size: 20px;
}

.platform-icons i {
  color: var(--primary);
  transition: transform 0.2s;
}

.platform-icons i:hover {
  transform: scale(1.2);
}

/* --- Hero Smartphone Mockup --- */
.hero-mockup-wrapper {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.phone-mockup-3d {
  transform-style: preserve-3d;
  transform: rotateX(6deg) rotateY(-8deg) rotateZ(2deg);
  transition: transform 0.5s ease;
  filter: drop-shadow(15px 25px 35px rgba(0, 0, 0, 0.15));
}

.phone-mockup-3d:hover {
  transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.02);
}

.phone-case {
  width: 320px;
  height: 640px;
  background: var(--phone-bezel);
  border-radius: 44px;
  padding: 12px;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2), inset 0 -4px 8px rgba(0, 0, 0, 0.4);
}

.phone-notch {
  width: 140px;
  height: 25px;
  background: var(--notch-color);
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--panel-bg);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Phone Status Bar */
.phone-status-bar {
  height: 35px;
  padding: 12px 24px 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  z-index: 5;
  color: var(--text-main);
}

.status-icons {
  display: flex;
  gap: 5px;
}

/* Phone App Bar */
.phone-app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: var(--panel-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 5;
}

.app-bar-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--primary);
}

.app-bar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-bar-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}

.app-bar-actions {
  color: var(--text-muted);
  font-size: 14px;
}

/* Viewport & Screens */
.phone-screen-viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.mock-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 15px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(30px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.mock-screen.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

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

.screen-header h3 {
  font-size: 17px;
  color: var(--text-main);
}

.tag-filter {
  font-size: 10px;
  background: var(--primary-glow);
  color: var(--primary);
  padding: 4px 8px;
  border-radius: 20px;
  font-weight: 600;
}

/* Feed Scroll */
.mock-feed-scroll {
  flex: 1;
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-width: none; /* Firefox */
}

.mock-feed-scroll::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.mock-post {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.post-header {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.post-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: #FFF;
}

.post-meta {
  display: flex;
  flex-direction: column;
}

.post-author {
  font-size: 11px;
  font-weight: 700;
}

.post-time {
  font-size: 9px;
  color: var(--text-muted);
}

.post-body p {
  font-size: 11px;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.4;
}

.post-image-placeholder {
  height: 110px;
  border-radius: var(--border-radius-sm);
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  overflow: hidden;
}

.post-image-placeholder.sunset-bg {
  background: linear-gradient(180deg, #FF7E5F 0%, #FEB47B 100%);
}

.heart-overlay {
  font-size: 32px;
  color: #FFF;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.post-image-placeholder:hover .heart-overlay {
  opacity: 0.8;
  transform: scale(1.1);
}

.post-footer {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.03);
  padding-top: 8px;
}

.post-action-btn {
  background: none;
  border: none;
  font-size: 11px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.post-action-btn i {
  font-size: 12px;
}

.post-action-btn.liked i {
  color: var(--primary);
}

/* Countdown Screen */
.countdown-display {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0 25px 0;
}

.love-counter-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background: var(--card-bg);
  box-shadow: 0 8px 20px var(--primary-glow);
}

.beating-heart {
  position: absolute;
  bottom: -10px;
  font-size: 24px;
  color: var(--primary);
  animation: heartBeat 1.2s infinite;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  20% { transform: scale(1.25); }
  40% { transform: scale(1.05); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.counter-number {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
}

.counter-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
  text-transform: uppercase;
}

.upcoming-milestones {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.milestone-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.milestone-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--card-bg);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--card-border);
}

.milestone-icon {
  font-size: 16px;
}

.milestone-info {
  display: flex;
  flex-direction: column;
}

.m-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-main);
}

.m-date {
  font-size: 9px;
  color: var(--text-muted);
}

/* Bucket List Screen */
.bucket-list-scroll {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bucket-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  transition: background 0.3s;
}

.bucket-item.completed {
  background: rgba(247, 95, 138, 0.05);
  border-color: rgba(247, 95, 138, 0.15);
}

.bucket-item.completed .bucket-text {
  text-decoration: line-through;
  color: var(--text-muted);
  font-weight: 400;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
}

.checkbox-container input {
  display: none;
}

.checkmark {
  width: 16px;
  height: 16px;
  border: 2px solid var(--primary);
  border-radius: 4px;
  display: inline-block;
  position: relative;
  transition: all 0.2s;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary);
}

.checkbox-container input:checked ~ .checkmark::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Mood Screen */
.moods-couple-view {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 15px 0 25px 0;
}

.mood-avatar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mood-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  margin-bottom: 8px;
  background: #FFF;
  object-fit: cover;
}

.mood-name {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 5px;
}

.mood-bubble {
  font-size: 10px;
  background: var(--input-bg);
  color: var(--text-main);
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid var(--card-border);
}

.mood-divider {
  font-size: 18px;
  color: var(--text-muted);
}

.update-mood-section {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  padding: 12px;
}

.update-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
  text-align: center;
}

.mood-selectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mood-btn-select {
  background: var(--panel-bg);
  border: 1px solid var(--card-border);
  font-size: 18px;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.mood-btn-select:hover {
  transform: scale(1.1);
  background: var(--primary-glow);
}

.mood-btn-select.active {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 8px var(--primary-glow);
  transform: scale(1.05);
}

/* Phone Navigation */
.phone-bottom-nav {
  height: 55px;
  background: var(--panel-bg);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 5;
}

.nav-item {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-item i {
  font-size: 16px;
}

.nav-item.active {
  color: var(--primary);
}

/* --- Features Section --- */
.features-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
  position: relative;
  z-index: 1;
}

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

.sub-heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1.5px;
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  padding: 40px 30px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: all var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px var(--shadow-strong);
  border-color: var(--primary);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  color: #FFFFFF;
}

.bg-pink { background: linear-gradient(135deg, #FF6B97 0%, #F75F8A 100%); }
.bg-purple { background: linear-gradient(135deg, #A871EA 0%, #8A4FD0 100%); }
.bg-peach { background: linear-gradient(135deg, #FFA0A0 0%, #FF7F7F 100%); }
.bg-blue { background: linear-gradient(135deg, #5CA9F8 0%, #3B82F6 100%); }
.bg-orange { background: linear-gradient(135deg, #FFA25F 0%, #F97316 100%); }
.bg-teal { background: linear-gradient(135deg, #4DD0E1 0%, #00ACC1 100%); }

.feature-card-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card-desc {
  font-size: 14px;
}

/* --- Pairing Section --- */
.pairing-section {
  background: rgba(247, 95, 138, 0.04);
  padding: 100px 24px;
  position: relative;
  z-index: 1;
}

.pairing-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.pairing-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pairing-img {
  max-width: 90%;
  height: auto;
  filter: drop-shadow(10px 15px 30px rgba(0, 0, 0, 0.1));
  animation: floatAnim 6s ease-in-out infinite;
}

@keyframes floatAnim {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

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

.pairing-title {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.pairing-desc {
  font-size: 16px;
  margin-bottom: 30px;
}

.interactive-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-bottom: 35px;
}

.step-row {
  display: flex;
  gap: 20px;
  padding: 15px;
  border-radius: var(--border-radius-md);
  border: 1px solid transparent;
  transition: all 0.3s;
}

.step-row.active {
  background: var(--card-bg);
  border-color: var(--card-border);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--secondary-glow);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.step-row.active .step-num {
  background: var(--primary);
  color: #FFFFFF;
}

.step-body h4 {
  font-family: var(--font-body);
  font-size: 16px;
  margin-bottom: 4px;
}

.step-body p {
  font-size: 13px;
}

/* Pairing Simulator Box */
.pairing-simulator {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  padding: 24px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 25px var(--shadow-color);
}

.sim-header {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary);
  text-align: center;
}

.sim-input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.sim-input-group input {
  flex: 1;
  background: var(--input-bg);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  padding: 12px 18px;
  border-radius: var(--border-radius-sm);
  font-family: monospace;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
}

.sim-btn {
  background: var(--secondary);
  color: #FFFFFF;
  border: none;
  padding: 0 18px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.sim-btn:hover {
  background: var(--primary);
}

.sim-status {
  font-size: 12px;
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.sim-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border: none;
  padding: 14px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.sim-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--primary-glow);
}

/* --- Bubu & Dudu Corner --- */
.playroom-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 24px;
  position: relative;
  z-index: 1;
}

.playroom-container {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: 50px 30px;
  box-shadow: 0 15px 35px var(--shadow-color);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.playroom-badge {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.playroom-title {
  font-size: 36px;
  margin-bottom: 15px;
}

.playroom-desc {
  max-width: 600px;
  margin: 0 auto 40px auto;
}

.playroom-interactive {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.bubble-chat {
  background: var(--panel-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 18px 24px;
  max-width: 480px;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 30px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.bubble-chat::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: var(--panel-bg) transparent;
  display: block;
  width: 0;
}

.bears-display {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  height: 120px;
}

.interactive-bear {
  height: 100%;
  width: auto;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.interactive-bear:hover {
  transform: scale(1.15) rotate(5deg);
}

.bear-jump {
  animation: bearJump 0.6s ease;
}

@keyframes bearJump {
  0% { transform: translateY(0); }
  50% { transform: translateY(-25px); }
  100% { transform: translateY(0); }
}

.interaction-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.interact-btn {
  background: var(--panel-bg);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

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

/* --- Download / Registration Section --- */
.download-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 24px 100px 24px;
  position: relative;
  z-index: 1;
}

.download-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--border-radius-lg);
  padding: 60px 40px;
  color: white;
  box-shadow: 0 20px 45px rgba(138, 79, 208, 0.3);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
}

.download-content {
  max-width: 750px;
  margin: 0 auto;
}

.download-content h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.download-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  margin-bottom: 40px;
}

/* Early Access Form */
.early-access-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

.form-row {
  display: flex;
  gap: 15px;
}

.early-access-form input {
  flex: 1;
  padding: 15px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.15);
  color: white;
  font-family: var(--font-body);
  font-size: 15px;
  backdrop-filter: blur(5px);
  transition: all 0.3s;
}

.early-access-form input::placeholder {
  color: rgba(255,255,255,0.7);
}

.early-access-form input:focus {
  background: rgba(255, 255, 255, 0.25);
  outline: none;
  border-color: white;
  box-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.submit-btn {
  background: white;
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

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

.form-response-msg {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all 0.3s;
}

.form-response-msg.success {
  opacity: 1;
  height: auto;
  color: #CCFFDC;
  margin-top: 10px;
}

.badges-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.store-badge {
  height: 48px;
  width: auto;
  cursor: pointer;
  transition: transform 0.2s;
}

.store-badge:hover {
  transform: scale(1.05);
}

.apple-badge-placeholder {
  background: #000000;
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 18px;
  border-radius: 8px;
  cursor: pointer;
  height: 48px;
  transition: transform 0.2s;
  border: 1px solid rgba(255,255,255,0.1);
  text-align: left;
}

.apple-badge-placeholder:hover {
  transform: scale(1.05);
}

.apple-badge-placeholder i {
  font-size: 26px;
}

.apple-badge-placeholder .sub {
  font-size: 9px;
  display: block;
  text-transform: uppercase;
  font-family: sans-serif;
  letter-spacing: 0.5px;
}

.apple-badge-placeholder .main {
  font-size: 15px;
  font-weight: 600;
  display: block;
  font-family: sans-serif;
  line-height: 1.1;
}

/* --- Footer Section --- */
.footer {
  background: var(--navbar-bg);
  border-top: 1px solid var(--card-border);
  padding: 80px 24px 30px 24px;
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.6fr);
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}

.footer-logo img {
  height: 36px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--text-main);
}

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

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.footer-column a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--card-border);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
}

/* --- Scroll Animation Reveals --- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive Adaptations --- */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 44px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* Mobile menu handles this */
  }
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-ctas {
    justify-content: center;
  }
  .pairing-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    flex-direction: column;
    gap: 15px;
  }
  .download-card {
    padding: 40px 20px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Custom Store Buttons on CTA */
.download-btn-store {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #000000;
  color: #FFFFFF;
  padding: 10px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
  cursor: pointer;
  min-width: 170px;
  text-align: left;
  text-decoration: none;
}

.download-btn-store:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.download-btn-store i {
  font-size: 28px;
}

.download-btn-store .btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.download-btn-store .sub {
  font-size: 9px;
  text-transform: uppercase;
  font-family: sans-serif;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.7);
}

.download-btn-store .main {
  font-size: 16px;
  font-weight: 600;
  font-family: sans-serif;
}

/* Pairing Phone Mockup Custom Screen Layouts */
.pairing-phone .phone-case {
  filter: drop-shadow(-15px 25px 35px rgba(0, 0, 0, 0.15));
}

.pairing-phone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 5px;
  height: 100%;
}

.pairing-phone-img {
  width: 90px;
  height: auto;
  margin-bottom: 12px;
}

.pairing-phone-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.pairing-phone-desc {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 15px;
  padding: 0 10px;
}

.pairing-phone-code-box {
  background: var(--input-bg);
  border: 1px dashed var(--primary);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  margin-bottom: 15px;
}

.pairing-phone-code-box .code-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pairing-phone-code-box .code-value {
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

.pairing-phone-input-sim {
  width: 100%;
  text-align: left;
  margin-bottom: 15px;
}

.pairing-phone-input-sim .input-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.sim-input-box {
  background: var(--panel-bg);
  border: 1px solid var(--card-border);
  padding: 10px 12px;
  border-radius: var(--border-radius-sm);
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.5px;
  min-height: 38px;
  display: flex;
  align-items: center;
}

.pairing-phone-btn {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 8px var(--primary-glow);
}

.pairing-phone-btn:hover {
  background: var(--secondary);
}

/* Status screens inside phone mockup */
.pairing-phone-status-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 20px;
}

.pairing-phone-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.spinner-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 80px !important;
  opacity: 0.3;
}

.status-text-bold {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.status-text-muted {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

.pairing-phone-success-hearts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.paired-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  object-fit: cover;
  background: white;
}

.avatar-left {
  animation: floatLeftAvatar 3s ease-in-out infinite alternate;
}

.avatar-right {
  animation: floatRightAvatar 3s ease-in-out infinite alternate;
}

@keyframes floatLeftAvatar {
  0% { transform: translateY(0) rotate(-5deg); }
  100% { transform: translateY(-5px) rotate(5deg); }
}

@keyframes floatRightAvatar {
  0% { transform: translateY(-5px) rotate(5deg); }
  100% { transform: translateY(0) rotate(-5deg); }
}

.success-heart {
  font-size: 28px;
  color: var(--primary);
  animation: heartBeat 1s infinite;
}

.success-text {
  color: #00BFA6 !important;
}

.success-btn {
  background: #00BFA6;
  box-shadow: 0 4px 8px rgba(0, 191, 166, 0.3);
  margin-top: 20px;
}

.success-btn:hover {
  background: #009e89;
}

