/* === CSS RESET & BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* LIGHT THEME MANDATORY */
  --bg: #f8f8fc;
  --text: #1e293b;
  --text-muted: #64748b;
  --accent: #7c3aed; /* Vibrant purple from bubble shooter vibe */
  --accent-secondary: #2563eb; /* Vibrant blue */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  --container-width: 1200px;
  --section-padding: 100px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Roboto', system-ui, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

h1, h2, h3, h4, .nav-logo {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}

ul {
  list-style: none;
}

/* === STRUCTURAL BASELINES === */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

section {
  padding: var(--section-padding) 0;
  position: relative;
}

.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }
}

/* === PREMIUM UI BLOCKS === */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
}

/* Split-color button style */
.btn-split {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  color: #fff;
  overflow: hidden;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

.btn-split::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: var(--accent);
  z-index: -1;
}

.btn-split::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: var(--accent-secondary);
  z-index: -1;
}

.btn-split:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -8px rgba(124, 58, 237, 0.4);
}

/* === NAVIGATION === */
.bubble-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.bubble-nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

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

.nav-link {
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
}

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

.nav-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

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

  .nav-toggle {
    display: block;
  }
}

/* === HERO SECTION === */
.bubble-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  /* Multi-stop radial gradient */
  background: radial-gradient(circle at 50% 50%, #e0e7ff 0%, #f1f5f9 40%, #f8fafc 70%, #ffffff 100%);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: pulse-glow 8s infinite alternate;
}

@keyframes pulse-glow {
  from { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  to { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.hero-card {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 4rem 2rem;
  z-index: 1;
}

.hero-icon {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  margin: 0 auto 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin-bottom: 1rem;
  color: var(--text);
  line-height: 1.1;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-badge-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 2.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.05);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

.badge i {
  color: #f59e0b;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1e293b;
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  transition: 0.3s;
}

.store-btn:hover {
  background: #000;
  transform: translateY(-2px);
}

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

.store-text {
  text-align: left;
}

.store-label {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
  text-transform: uppercase;
}

.store-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
}

/* === SCREENSHOT GALLERY === */
.pop-gallery {
  overflow: hidden;
  background: #fff;
}

.gallery-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  height: 600px;
}

.gallery-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item.active {
  opacity: 1;
  z-index: 2;
}

.gallery-item img {
  max-height: 550px;
  width: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
  pointer-events: none;
}

.gallery-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  pointer-events: auto;
  transition: 0.3s;
}

.gallery-btn:hover {
  background: var(--accent);
  color: #fff;
}

.gallery-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: var(--accent);
  width: 30px;
  border-radius: 10px;
}

/* === STATS SECTION === */
.bubble-stats {
  background: #f8f8fc;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-panel {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.stat-panel:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(0,0,0,0.1);
}

.stat-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.stat-number {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-panel:nth-child(2)::after {
    display: none;
  }
  .stat-panel:nth-child(n+3) {
    border-top: 1px solid rgba(0,0,0,0.1);
  }
}

/* === FEATURES SECTION === */
.pop-features {
  background: #fff;
}

.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  padding: 40px;
  transition: transform 0.4s ease;
}

.feature-row:hover {
  transform: translateX(10px);
}

.feature-number {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Oswald', sans-serif;
  font-size: 10rem;
  font-weight: 900;
  color: rgba(124, 58, 237, 0.05);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}

.feature-icon-box {
  width: 80px;
  height: 80px;
  background: #f1f5f9;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--accent);
  flex-shrink: 0;
  z-index: 1;
}

.feature-content {
  z-index: 1;
}

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

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

@media (max-width: 768px) {
  .feature-row {
    flex-direction: column;
    text-align: center;
    padding: 30px;
    gap: 24px;
  }
  .feature-number {
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
  }
  .feature-icon-box {
    margin: 0 auto;
  }
}

/* === REVIEWS SECTION === */
.voice-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}

.review-card {
  padding: 2.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.featured-review {
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 4rem;
  color: rgba(124, 58, 237, 0.1);
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 1.5rem;
  color: #f59e0b;
}

.review-text {
  font-size: 1.25rem;
  color: var(--text);
  font-style: italic;
  margin-bottom: 2rem;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.reviewer-name {
  font-weight: 700;
  display: block;
}

.supporting-reviews {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.small-review {
  padding: 1.5rem;
}

.small-review .review-text {
  font-size: 1rem;
  margin-bottom: 1rem;
}

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

/* === FAQ SECTION === */
.bubble-faq {
  background: #f8f8fc;
}

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

.faq-item {
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  background: #fff;
}

.faq-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-header:hover {
  background: #f1f5f9;
}

.faq-question {
  font-weight: 600;
  font-size: 1.1rem;
}

.faq-icon {
  transition: transform 0.3s;
}

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

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
}

/* === DOWNLOAD CTA SECTION === */
.pop-cta {
  text-align: center;
  background: #fff;
}

.cta-wrap {
  max-width: 700px;
  margin: 0 auto;
}

.cta-icon {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  margin: 0 auto 32px;
}

.cta-tagline {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--text);
  font-family: 'Oswald', sans-serif;
}

/* === FOOTER === */
.bubble-footer {
  background: #fff;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 20px;
  color: var(--text-muted);
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
}

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

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.footer-contact i {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.social-link:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

.footer-newsletter p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  outline: none;
}

.newsletter-form button {
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

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

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-title {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .footer-title::after {
    content: '+';
    font-size: 1.2rem;
  }

  .footer-title.active::after {
    content: '-';
  }

  .footer-links, .footer-contact, .footer-newsletter {
    display: none;
    padding-top: 15px;
  }

  .footer-title.active + div,
  .footer-title.active + ul {
    display: block;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* === ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.tilt {
  transition: transform 0.3s ease;
}

.tilt:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(2deg);
}

/* === LEGAL PAGES SPECIFIC === */
.legal-body {
  padding: 150px 0 80px;
  background: #fff;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--text);
}

.legal-content h2 {
  font-size: 1.75rem;
  margin: 2rem 0 1rem;
  color: var(--text);
}

.legal-content p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.legal-content ul {
  margin-bottom: 1.5rem;
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  list-style: disc;
}
