@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color System - Premium Green & White Identity */
  --primary: #00695C; /* Deep teal green matching the app's brand header */
  --primary-glow: rgba(0, 105, 92, 0.08);
  --primary-light: #E0F2F1; /* Light green tint */
  --secondary: #00897B; /* Vibrant teal green */
  --accent: #E0A900; /* Warm Gold (for special stickers like FOIL/Brillantes) */
  --accent-rgb: 224, 169, 0;
  
  /* Light Mode Theme */
  --bg-light: #FFFFFF;
  --surface-light: #F8FAFC;
  --text-dark: #0F172A; /* Slate 900 */
  --text-muted: #475569; /* Slate 600 */
  
  --bg-dark: #004D40; /* Very dark teal green for deep headers/footers */
  --surface-dark: #005C4B; /* Dark teal */
  --text-light: #FFFFFF;
  --text-light-muted: #E0F2F1;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 105, 92, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.06);
  --shadow-gold: 0 8px 20px rgba(224, 169, 0, 0.15);
  
  /* Glow Effects */
  --glow-cyan: 0 0 15px rgba(0, 137, 123, 0.15);
  --glow-gold: 0 0 15px rgba(224, 169, 0, 0.2);
  --glow-green: 0 0 15px rgba(0, 105, 92, 0.15);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background-color: var(--bg-light);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85); /* Light glassmorphism */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 105, 92, 0.08); /* Light green separator */
  transition: var(--transition-normal);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 105, 92, 0.12);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.logo img {
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

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

.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 16px;
  transition: var(--transition-fast);
}

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

.cta-nav {
  background: var(--primary) !important;
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  border: none;
}

.cta-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 105, 92, 0.25);
  background: var(--secondary) !important;
}

/* Hero Section with Official App Background & Light Overlays */
.hero {
  position: relative;
  background: 
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 45%, rgba(255, 255, 255, 0.88) 70%, rgba(255, 255, 255, 0.5) 100%),
    url("images/splash_background.png");
  background-size: cover;
  background-position: right 30% center;
  background-repeat: no-repeat;
  padding: 180px 0 120px;
  color: var(--text-dark);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--bg-light), transparent);
  pointer-events: none;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-content h1 span {
  display: block;
  color: var(--primary);
}

.hero-content p {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 540px;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-normal);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 105, 92, 0.15);
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 105, 92, 0.25);
  background: var(--secondary);
  border-color: var(--secondary);
}

.btn-secondary {
  background: rgba(0, 105, 92, 0.06);
  color: var(--primary);
  border: 1px solid rgba(0, 105, 92, 0.15);
}

.btn-secondary:hover {
  background: rgba(0, 105, 92, 0.12);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 105, 92, 0.08);
  transform: translateY(-3px);
}

/* Phone Mockup Frame */
.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 5;
}

.phone-mockup {
  width: 300px;
  height: 600px;
  background: #FFFFFF;
  border-radius: 40px;
  border: 12px solid #1E293B; /* Sleek slate frame */
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(0,0,0,0.05);
  overflow: hidden;
  position: relative;
}

/* Internal Mockup Content */
.phone-screen {
  width: 100%;
  height: 100%;
  background: #FFFFFF; /* Real white app background */
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  position: relative;
}

.mockup-header {
  background: var(--primary); /* Deep teal green matching the real app bar */
  color: #ffffff;
  padding: 40px 16px 16px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-bottom: none;
}

.mockup-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.mockup-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  margin-top: 10px;
  overflow: hidden;
}

.mockup-progress-fill {
  width: 32%;
  height: 100%;
  background: #FFFFFF; /* Clean white progress line */
  border-radius: 4px;
  transition: width 1s ease-in-out;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 16px;
  overflow-y: auto;
  flex-grow: 1;
  background: #F8FAFC; /* Clean grey sheet content background */
}

.mockup-sticker {
  aspect-ratio: 3/4;
  background: #FFFFFF;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  border: 1.2px solid #E2E8F0;
  transition: var(--transition-fast);
  cursor: pointer;
  user-select: none;
}

.mockup-sticker.collected {
  background: #E0F2F1;
  border-color: var(--primary);
  color: var(--primary);
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.mockup-sticker.foil {
  background: linear-gradient(135deg, #FFFDE7, #FFF9C4);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 4px 10px rgba(224, 169, 0, 0.15);
}

@keyframes popIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.mockup-nav {
  height: 50px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-bottom: 5px;
}

.mockup-nav-item {
  width: 20px;
  height: 20px;
  background: #F1F5F9;
  border-radius: 50%;
}

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

/* Float Decorators */
.badge-floating {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid rgba(0, 105, 92, 0.12);
  padding: 12px 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  z-index: 10;
  animation: float 4s ease-in-out infinite;
  color: var(--text-dark);
}

.badge-floating.b1 {
  top: 15%;
  right: -30px;
}

.badge-floating.b2 {
  bottom: 15%;
  left: -40px;
  animation-delay: 2s;
  border-color: rgba(255, 0, 127, 0.25);
}

.badge-floating span {
  font-size: 14px;
  font-weight: 600;
}

.badge-floating .icon {
  font-size: 22px;
}

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

/* Features Section */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 40px;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-title h2 span {
  color: var(--primary);
}

.section-title p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--surface-light);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 105, 92, 0.08);
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 105, 92, 0.08);
  border-color: rgba(0, 105, 92, 0.2);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 105, 92, 0.06);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 105, 92, 0.12);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 15px;
  line-height: 1.6;
}

/* Screenshots Showcase */
.screenshots-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.screenshot-card {
  background: var(--surface-light);
  border-radius: 20px;
  padding: 16px;
  border: 1px solid rgba(0, 105, 92, 0.08);
  text-align: center;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.screenshot-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 105, 92, 0.06);
  border-color: rgba(0, 105, 92, 0.15);
}

.screenshot-card img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
  display: block;
}

.screenshot-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.screenshot-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Album Paper Styled Banner */
.interactive-promo {
  background: linear-gradient(135deg, #E0F2F1, #FFFFFF);
  border: 1px solid rgba(0, 105, 92, 0.12);
  color: var(--text-dark);
  border-radius: 32px;
  padding: 80px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.interactive-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.interactive-promo h2 {
  font-size: 42px;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.interactive-promo h2 span {
  color: var(--primary);
}

.interactive-promo p {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 30px;
}

.interactive-board {
  background: #FFFFFF;
  border: 1px solid rgba(0, 105, 92, 0.12);
  border-radius: 20px;
  padding: 24px;
}

.board-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.board-sticker {
  aspect-ratio: 3/4;
  background: #FFFFFF;
  border: 2px dashed rgba(0, 105, 92, 0.15);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.board-sticker:hover {
  background: rgba(0, 105, 92, 0.04);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 105, 92, 0.08);
  transform: translateY(-2px);
}

.board-sticker.collected {
  background: #E0F2F1;
  border: 2px solid var(--primary);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 105, 92, 0.12);
  animation: stickerPaste 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.2) forwards;
}

.board-sticker.foil {
  background: linear-gradient(135deg, #FFFDE7, #FFF9C4);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 4px 12px rgba(224, 169, 0, 0.2);
}

.board-sticker.foil::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 55%
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { transform: translate(-50%, -50%) rotate(45deg); }
  100% { transform: translate(50%, 50%) rotate(45deg); }
}

@keyframes stickerPaste {
  0% { transform: scale(1.4) rotate(15deg); opacity: 0; filter: blur(5px); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; filter: blur(0); }
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface-light);
  border-radius: 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 105, 92, 0.08);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-question {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 18px;
  color: var(--text-dark);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0, 1, 0, 1);
  color: var(--text-muted);
}

.faq-item.active {
  border-color: rgba(0, 105, 92, 0.2);
  box-shadow: 0 4px 20px rgba(0, 105, 92, 0.05);
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
  max-height: 300px;
  transition: all 0.3s cubic-bezier(1, 0, 1, 0);
}

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

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

/* App Download Call-to-action */
.download-footer-banner {
  background: linear-gradient(135deg, var(--bg-dark), var(--surface-dark));
  color: #fff;
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.download-footer-banner h2 {
  font-size: 40px;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.download-footer-banner h2 span {
  color: var(--accent);
}

.download-footer-banner p {
  color: var(--text-light-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 40px;
}

.download-footer-banner .btn-group {
  justify-content: center;
  align-items: center;
  gap: 20px;
}

/* Store Badge Styles */
.store-badge {
  display: inline-block;
  transition: transform var(--transition-fast), filter var(--transition-fast);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.store-badge:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.15);
  box-shadow: 0 8px 24px rgba(0, 105, 92, 0.25);
}

.store-badge img {
  display: block;
}

/* Footer */
footer {
  background: var(--bg-dark);
  color: var(--text-light-muted);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-info p {
  color: var(--text-light-muted);
  margin-top: 12px;
  max-width: 300px;
  font-size: 14px;
}

footer .logo span {
  color: #FFFFFF;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 80px;
}

.footer-col h4 {
  color: #FFF;
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-light-muted);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-light-muted);
}

.footer-bottom p {
  color: var(--text-light-muted);
  margin: 0;
}

/* Responsiveness */
@media (max-width: 992px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .btn-group {
    justify-content: center;
  }
  
  .badge-floating.b1 {
    right: 0;
  }
  
  .badge-floating.b2 {
    left: 0;
  }
  
  .interactive-promo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .screenshots-slider {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .nav-menu {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 40px;
  }
  
  .section-title h2 {
    font-size: 32px;
  }
  
  .interactive-promo {
    padding: 40px 24px;
  }
  
  .interactive-promo h2 {
    font-size: 32px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    justify-content: flex-start;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .screenshots-slider {
    grid-template-columns: 1fr;
  }
}
