/* Base & Variables */
:root {
  /* Colors - Modern, Warm, Emotional */
  --primary: #FF5A7E;
  --primary-hover: #E04D6B;
  --secondary: #8B5CF6;
  --secondary-hover: #7C3AED;
  --accent-pink: #FF85A1;
  --accent-purple: #A78BFA;
  --accent-orange: #FFB067;
  --accent-teal: #2DD4BF;
  
  --bg-main: #FAFBFC;
  --bg-light: #F3F4F6;
  --surface: #FFFFFF;
  
  --text-dark: #1F2937;
  --text-body: #4B5563;
  --text-light: #9CA3AF;
  
  --gradient-main: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-pink: linear-gradient(135deg, var(--primary), var(--accent-pink));
  --gradient-purple: linear-gradient(135deg, var(--secondary), var(--accent-purple));
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  
  /* Tyopgraphy */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows & Radius */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(255, 90, 126, 0.1), 0 8px 10px -6px rgba(255, 90, 126, 0.05);
  --shadow-glow: 0 0 20px rgba(255, 90, 126, 0.3);
  
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-pill: 9999px;
  
  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 5rem;
  --space-8: 8rem;
}

/* Reset & Scaffolding */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; margin-bottom: var(--space-2); }
h3 { font-size: 1.5rem; margin-bottom: var(--space-1); }

p {
  font-size: 1.125rem;
  color: var(--text-body);
  margin-bottom: var(--space-3);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center {
  text-align: center;
}

.bg-light { background-color: var(--bg-light); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn i {
  font-size: 1.25rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 10px rgba(255, 90, 126, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 90, 126, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

.justify-center {
  justify-content: center;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 90, 126, 0.1);
  color: var(--primary);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-purple {
  background: rgba(139, 92, 246, 0.1);
  color: var(--secondary);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.logo i {
  color: var(--primary);
  font-size: 1.75rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  font-weight: 500;
  color: var(--text-body);
}

.nav-links li a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,126,0.15) 0%, rgba(139,92,246,0.05) 50%, rgba(255,255,255,0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  flex: 1;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: var(--space-4);
}

.hero-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

/* Device Mockup */
.mockup {
  background: white;
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  width: 300px;
  height: 600px;
  position: relative;
  z-index: 2;
  border: 4px solid #F3F4F6;
  transform: rotateY(-15deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.mockup:hover {
  transform: rotateY(-5deg) rotateX(2deg);
}

.mockup-screen {
  background: var(--bg-light);
  border-radius: 32px;
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.mockup-header {
  background: white;
  padding: 1.5rem 1rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.couple-avatars {
  display: flex;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid white;
  background: var(--gradient-pink);
}

.avatar-2 {
  background: var(--gradient-purple);
  margin-left: -10px;
}

.bond-pill {
  background: #FEF3C7;
  color: #D97706;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mockup-body {
  padding: 1.5rem 1rem;
  flex: 1;
  background: #fafafa;
}

.mockup-body h3 {
  font-size: 1.125rem;
  text-align: center;
}

.progress-bar {
  background: #eee;
  height: 8px;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.progress {
  background: var(--gradient-main);
  height: 100%;
  border-radius: 4px;
}

.mockup-card {
  background: white;
  padding: 1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  text-align: center;
}

.mockup-card h4 {
  font-size: 0.875rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.mockup-card p {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.pet-placeholder {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.floating-badge {
  position: absolute;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

.badge-1 {
  top: 20%;
  right: -20px;
  color: var(--secondary);
}

.badge-2 {
  bottom: 30%;
  left: -40px;
  color: var(--primary);
  animation-delay: 2s;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Sections Common */
section {
  padding: var(--space-8) 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-6);
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.02);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: white;
}

.bg-pink { background: var(--gradient-pink); }
.bg-purple { background: var(--gradient-purple); }
.bg-orange { background: linear-gradient(135deg, #FFB067, #FF7E5F); }
.bg-teal { background: linear-gradient(135deg, #2DD4BF, #0D9488); }

/* Progression */
.progression-content {
  display: flex;
  align-items: center;
  gap: 6rem;
}

.progression-text {
  flex: 1;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
}

.benefit-list i {
  color: var(--primary);
  font-size: 1.5rem;
}

.progression-visual {
  flex: 1;
}

.level-path {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
}

.level-node {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.level-node.active {
  opacity: 1;
  box-shadow: var(--shadow-md);
  transform: scale(1.05);
  border: 2px solid rgba(255, 90, 126, 0.2);
}

.level-node i {
  font-size: 2.5rem;
  color: var(--text-light);
}

.level-node.active i {
  color: var(--primary);
}

.level-node span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}

.level-node small {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-light);
  display: block;
  font-size: 0.875rem;
}

.level-line {
  height: 60px;
  width: 4px;
  background: #E5E7EB;
  margin: 0 auto;
  margin-left: 38px;
}

.level-line.active {
  background: var(--gradient-main);
}

.level-line.half {
  background: linear-gradient(to bottom, var(--secondary) 50%, #E5E7EB 50%);
}

/* Games */
.games-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.game-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.game-visual {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
}

.quiz-bg { background: linear-gradient(135deg, #3B82F6, #60A5FA); }
.wyr-bg { background: linear-gradient(135deg, #EC4899, #F472B6); }
.agree-bg { background: linear-gradient(135deg, #10B981, #34D399); }
.likely-bg { background: linear-gradient(135deg, #8B5CF6, #A78BFA); }

.game-info {
  padding: 1.5rem;
}

.game-info h3 { margin-bottom: 0.5rem; }
.game-info p { margin-bottom: 0; font-size: 1rem; }

/* Pet System */
.pet-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap-reverse;
}

.pet-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.pet-text {
  flex: 1;
}

.action-steps {
  margin-top: 2rem;
}

.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.step-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 90, 126, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.step h4 { margin-bottom: 0.25rem; }
.step p { margin-bottom: 0; font-size: 1rem; }

.pet-capsule {
  background: white;
  width: 350px;
  border-radius: 40px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.05);
  text-align: center;
}

.pet-character {
  font-size: 8rem;
  color: var(--text-dark);
  margin: 2rem 0;
  animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.status-bar {
  text-align: left;
  margin-bottom: 1.5rem;
}

.status-bar span {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.bar-bg {
  background: #E5E7EB;
  height: 12px;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.bar-fill {
  background: var(--gradient-teal);
  height: 100%;
}

.bar-fill.bg-orange { background: var(--accent-orange); }

/* Achievements */
.badge-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.achievement-badge {
  text-align: center;
  width: 140px;
}

.badge-circle {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  box-shadow: var(--shadow-md);
  position: relative;
}

.badge-circle::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px dashed rgba(0,0,0,0.1);
  animation: spin 10s linear infinite;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

.gold { background: linear-gradient(135deg, #FCD34D, #F59E0B); }
.silver { background: linear-gradient(135deg, #E5E7EB, #9CA3AF); }
.bronze { background: linear-gradient(135deg, #FDBA74, #EA580C); }
.purple { background: var(--gradient-purple); }
.pink { background: var(--gradient-pink); }

.achievement-badge span {
  font-weight: 600;
  font-size: 0.875rem;
}

/* Premium */
.premium {
  padding: 4rem 0;
}

.premium-box {
  background: url('https://images.unsplash.com/photo-1518599904199-0ca897819ddb?auto=format&fit=crop&q=80') center/cover;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.premium-glass {
  background: rgba(139, 92, 246, 0.85); /* fallback */
  background: linear-gradient(135deg, rgba(255, 90, 126, 0.9), rgba(139, 92, 246, 0.9));
  backdrop-filter: blur(10px);
  padding: 5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
}

.premium-header i {
  font-size: 4rem;
  color: #FCD34D;
  margin-bottom: 1rem;
}

.premium-header h2 { color: white; }
.premium-header p { color: rgba(255,255,255,0.9); font-size: 1.25rem;}

.premium-features {
  margin: 2rem 0 3rem;
  text-align: left;
}

.premium-features ul li {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.premium-features i {
  color: #FCD34D;
  font-size: 1.5rem;
}

/* FAQ */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}

.faq-question:hover { color: var(--primary); }

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
}

/* Download CTA */
.download-cta {
  background: var(--bg-light);
  padding: 6rem 0;
}

/* Footer */
footer {
  background: white;
  padding: 4rem 0 2rem;
  border-top: 1px solid #E5E7EB;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  flex: 1;
  min-width: 300px;
}

.footer-brand p {
  margin: 1.5rem 0;
  color: var(--text-light);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-dark);
}

.social-links a:hover {
  background: var(--primary);
  color: white;
}

.footer-links {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.link-group h4 {
  margin-bottom: 1.5rem;
}

.link-group a {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--text-body);
}

.link-group a:hover { color: var(--primary); }

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #E5E7EB;
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Animations & Utilities */

/* Responsive */
@media (max-width: 992px) {
  .hero-content, .progression-content { flex-direction: column; text-align: center; }
  .benefit-list li { justify-content: center; }
  .level-path { margin-top: 3rem; }
  .hero-cta { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* simple demo */
  }
  .menu-toggle { display: block; }
  h1 { font-size: 2.5rem; }
  .premium-glass { padding: 3rem 1.5rem; }
  .footer-content { flex-direction: column; gap: 2rem; }
  .footer-links { gap: 2rem; }
}
