/* ============================================
   PAGIDOO — Design System & Styles
   Fun, Playful, Vibrant Kids' Brand
   ============================================ */

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

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Primary Palette */
  --color-primary: #7C3AED;
  --color-primary-light: #A78BFA;
  --color-primary-dark: #5B21B6;
  --color-secondary: #F97316;
  --color-secondary-light: #FDBA74;
  --color-accent-teal: #14B8A6;
  --color-accent-pink: #EC4899;
  --color-accent-yellow: #FACC15;
  --color-accent-blue: #3B82F6;

  /* Backgrounds */
  --bg-primary: #FEFBF6;
  --bg-section-alt: #FFF7ED;
  --bg-card: #FFFFFF;
  --bg-dark: #1E1B4B;
  --bg-hero-gradient: linear-gradient(135deg, #EDE9FE 0%, #FFF7ED 50%, #ECFDF5 100%);
  --bg-cta-gradient: linear-gradient(135deg, #7C3AED, #EC4899);

  /* Text Colors */
  --text-primary: #1E1B4B;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --text-white: #FFFFFF;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Nunito', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(124, 58, 237, 0.08);
  --shadow-md: 0 4px 16px rgba(124, 58, 237, 0.12);
  --shadow-lg: 0 8px 32px rgba(124, 58, 237, 0.16);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(124, 58, 237, 0.18);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Container */
  --container-max: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text-primary);
}

/* --- Utility Classes --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section-padding {
  padding: var(--space-4xl) 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--space-md);
}

.section-title span {
  background: var(--bg-cta-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

/* --- Animated Background Dots --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle, var(--color-primary-light) 1px, transparent 1px),
    radial-gradient(circle, var(--color-secondary-light) 1px, transparent 1px);
  background-size: 60px 60px, 90px 90px;
  background-position: 0 0, 30px 30px;
  opacity: 0.06;
  z-index: -1;
  pointer-events: none;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
  background: rgba(254, 251, 246, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--bg-cta-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 48px;
  width: auto;
}

.logo-emoji {
  -webkit-text-fill-color: initial;
  margin-right: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bg-cta-gradient);
  border-radius: 2px;
  transition: width var(--transition-base);
}

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

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

/* Nav CTA Button (Shop Now) */
.nav-cta {
  padding: 0.55rem 1.35rem !important;
  font-size: 0.875rem !important;
  border-radius: 50px;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.25);
  white-space: nowrap;
  color: #FFFFFF !important;
  font-weight: 800;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

/* CTA Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-xl);
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: rgba(124, 58, 237, 0.15);
  /* Subtle track color for the border */
  color: var(--text-white);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
  overflow: hidden;
  isolation: isolate;
  border: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 1.5px;
  /* Leaves a 1.5px gap for the glowing border */
  border-radius: inherit;
  background: var(--bg-cta-gradient);
  z-index: -1;
}

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

.btn-primary:active {
  transform: translateY(0);
}

/* Star Button — Traveling light along border */
.star-light {
  position: absolute;
  aspect-ratio: 1;
  width: var(--star-light-width, 100px);
  inset: 0;
  background: radial-gradient(ellipse at center, var(--star-light-color, rgba(255, 255, 255, 0.9)), transparent 60%, transparent);
  offset-path: var(--star-path);
  offset-distance: 0%;
  animation: starTravel var(--star-duration, 3s) linear infinite;
  pointer-events: none;
  z-index: -2;
}

@keyframes starTravel {
  0% {
    offset-distance: 0%;
  }

  100% {
    offset-distance: 100%;
  }
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--color-primary);
  border: 2px solid var(--color-primary-light);
}

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

.btn-buy {
  background: var(--color-secondary);
  color: var(--text-white);
  width: 100%;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn-buy:hover {
  background: #EA580C;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 4px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-hero-gradient);
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
  border-radius: var(--radius-full);
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
  border-radius: var(--radius-full);
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-30px);
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(124, 58, 237, 0.1);
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  letter-spacing: -1px;
}

.hero-title .highlight {
  background: var(--bg-cta-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 480px;
}

.hero-cta-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInRight 0.8s ease-out;
  position: relative;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-image img {
  max-width: 520px;
  width: 100%;
  animation: heroFloat 6s ease-in-out infinite;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at center, black 40%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 65% at center, black 40%, transparent 72%);
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}

/* ============================================
   FEATURES / BENEFITS SECTION
   ============================================ */
.features {
  background: var(--bg-card);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  background: var(--bg-primary);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 2rem;
}

.feature-card:nth-child(1) .feature-icon {
  background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
}

.feature-card:nth-child(2) .feature-icon {
  background: linear-gradient(135deg, #FFF7ED, #FED7AA);
}

.feature-card:nth-child(3) .feature-icon {
  background: linear-gradient(135deg, #ECFDF5, #A7F3D0);
}

.feature-card:nth-child(4) .feature-icon {
  background: linear-gradient(135deg, #FCE7F3, #FBCFE8);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   PRODUCT CATALOG SECTION
   ============================================ */
.products {
  background: var(--bg-section-alt);
  position: relative;
}

.products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bg-cta-gradient);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.product-image-wrapper {
  position: relative;
  padding-top: 70%;
  background: linear-gradient(135deg, #F3E8FF, #FFF7ED);
  overflow: hidden;
}

.product-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--color-accent-pink);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-xl);
  z-index: 2;
}

.product-info {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: var(--space-sm);
}

.product-category {
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.product-description {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
}

.product-price .original-price {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 600;
  margin-left: var(--space-xs);
}

.product-footer .btn-buy {
  width: auto;
  padding: 0.65rem 1.5rem;
  flex-shrink: 0;
}

/* ============================================
   TESTIMONIALS SECTION (Scrolling Columns)
   ============================================ */
.testimonials {
  background: var(--bg-card);
  overflow: hidden;
}

.testimonials-badge {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.testimonials-badge {
  display: block;
  width: fit-content;
  margin: 0 auto var(--space-lg);
  border: 1px solid rgba(124, 58, 237, 0.2);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-primary);
  background: rgba(124, 58, 237, 0.06);
}

/* Scroll Wrapper — gradient mask at top & bottom */
.testimonials-scroll-wrapper {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  max-height: 740px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  margin-top: var(--space-2xl);
}

/* Each column */
.testimonials-column {
  flex: 0 0 320px;
  max-width: 320px;
  overflow: hidden;
}

/* The scrolling list */
.testimonials-scroll-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  list-style: none;
  margin: 0;
  padding: 0 0 var(--space-xl) 0;
  animation: scrollUp var(--scroll-duration, 15s) linear infinite;
}

.testimonials-column:hover .testimonials-scroll-list {
  animation-play-state: paused;
}

@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

/* Individual testimonial card */
.testi-card {
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(124, 58, 237, 0.08);
  background: var(--bg-primary);
  box-shadow: var(--shadow-card);
  cursor: default;
  user-select: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.testi-card:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(124, 58, 237, 0.15),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(124, 58, 237, 0.2);
}

.testi-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 var(--space-lg) 0;
  font-style: normal;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testi-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.1);
  transition: box-shadow 0.3s ease;
}

.testi-card:hover .testi-avatar-img {
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3);
}

.testi-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.testi-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1px;
}

/* Responsive column visibility */
.col-md-up {
  display: none;
}

.col-lg-up {
  display: none;
}

@media (min-width: 769px) {
  .col-md-up {
    display: block;
  }
}

@media (min-width: 1025px) {
  .col-lg-up {
    display: block;
  }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  background: var(--bg-section-alt);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--transition-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  background: none;
  width: 100%;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  gap: var(--space-md);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: rgba(124, 58, 237, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
  font-size: 1.1rem;
  color: var(--color-primary);
}

.faq-item.active .faq-icon {
  background: var(--color-primary);
  color: var(--text-white);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-content {
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--bg-cta-gradient);
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -25%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: var(--radius-full);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: var(--radius-full);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: var(--space-md);
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: var(--space-2xl);
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.btn-white {
  background: var(--text-white);
  color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social {
  margin-top: var(--space-xl);
}

.social-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-sm);
}

.social-icons {
  display: flex;
  gap: var(--space-md);
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-base);
}

.social-icons a:hover {
  background: var(--color-primary);
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.footer-brand .logo {
  margin-bottom: var(--space-md);
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
  padding: var(--space-xs) 0;
}

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

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: var(--color-primary-light);
}

.footer-bottom a:hover {
  color: var(--text-white);
}

/* ============================================
   SCROLL ANIMATIONS (Intersection Observer)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-image {
    order: 0;
  }

  .hero-image img {
    max-width: 380px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .section-padding {
    padding: var(--space-3xl) 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .container {
    padding: 0 var(--space-lg);
  }
  .logo img {
    height: 36px;
  }

  /* Mobile Nav */
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(254, 251, 246, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-md);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: var(--space-sm);
  }

  .hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  /* Hero Mobile */
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: var(--space-2xl);
  }

  .hero .container {
    gap: 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-image {
    margin-bottom: -1rem;
  }

  .hero-image img {
    max-width: 280px;
  }

  .hero-stats {
    gap: var(--space-xl);
  }

  .hero-stat-number {
    font-size: 1.4rem;
  }

  /* Features Mobile */
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .feature-card {
    padding: var(--space-lg);
  }

  .feature-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }

  /* Products Mobile */
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .social-icons {
    justify-content: center;
  }

  .cta-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================
   LEGAL PAGES STYLES
   ============================================ */
.legal-page {
  min-height: 100vh;
  padding: var(--space-4xl) 0;
  background: var(--bg-primary);
}

.legal-page .container {
  max-width: 800px;
}

.legal-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.legal-header h1 {
  font-size: 2.2rem;
  margin-bottom: var(--space-sm);
}

.legal-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.legal-content p,
.legal-content ul {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.legal-content ul {
  padding-left: var(--space-xl);
}

.legal-content ul li {
  list-style: disc;
  margin-bottom: var(--space-sm);
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: var(--space-xl);
}

.legal-back-link:hover {
  color: var(--color-primary-dark);
}

/* ============================================
   FLOATING BUTTONS (WhatsApp + Back to Top)
   ============================================ */

/* WhatsApp Button */
.float-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-base);
  cursor: pointer;
}

.float-whatsapp:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.float-whatsapp::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(37, 211, 102, 0.3);
  animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.15);
    opacity: 0;
  }
}

/* Back to Top Button */
.float-back-to-top {
  position: fixed;
  bottom: 96px;
  right: 32px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--bg-cta-gradient);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}

.float-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.float-back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

@media (max-width: 768px) {
  .float-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .float-back-to-top {
    bottom: 82px;
    right: 24px;
    width: 40px;
    height: 40px;
  }
}