/* ==========================================================================
   BETINEXCHANGE PRO - Vanilla CSS Design System
   Pixel-perfect • Responsive • Rich Animations
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-bg-dark: #0a0a0c;
  --color-bg-charcoal: #0e0e11;
  --color-bg-card: #16161a;
  --color-bg-elevated: #1a1a1f;
  --color-bg-input: #222228;
  
  --color-text-primary: #ffffff;
  --color-text-secondary: #b8b8c0;
  --color-text-muted: #7a7a85;
  
  --color-accent: #ff8c1a;
  --color-accent-hover: #ff9e3d;
  --color-accent-dark: #ff5e00;
  --color-accent-glow: rgba(255, 140, 26, 0.4);
  
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-accent: rgba(255, 140, 26, 0.5);
  
  --color-whatsapp: #25d366;
  --color-play: #e63946;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', var(--font-sans);
  
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  
  --leading-tight: 1.2;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  
  --tracking-tight: -0.05em;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  
  /* Layout */
  --container-max: 1200px;
  --container-narrow: 960px;
  --container-wide: 1400px;
  
  --header-height: 72px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px var(--color-accent-glow);
  
  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.35s;
  --duration-slow: 0.5s;
  
  /* Breakpoints (for reference) */
  --bp-sm: 640px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  background: var(--color-bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out-expo),
              opacity var(--duration-fast) var(--ease-out-expo),
              transform var(--duration-fast) var(--ease-out-expo);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-8);
  }
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--wide .container {
  max-width: none;
  padding: 0;
}

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-text-primary);
  transition: transform var(--duration-normal) var(--ease-out-expo),
              box-shadow var(--duration-normal) var(--ease-out-expo),
              box-shadow var(--duration-normal) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-accent-hover) 0%, var(--color-accent) 100%);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out-expo);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn:hover::before {
  opacity: 1;
}

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

.btn span,
.btn svg {
  position: relative;
  z-index: 1;
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}

.btn--outline:hover {
  background: var(--color-accent);
  color: var(--color-text-primary);
}

.btn--outline::before {
  display: none !important;
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn--whatsapp,
.btn--signup {
  background: var(--color-whatsapp);
}

.btn--whatsapp:hover,
.btn--signup:hover {
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.5);
}

.btn--whatsapp::before,
.btn--signup::before {
  background: #2ee36a;
}

.btn--play {
  background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
}

.btn--play:hover {
  box-shadow: 0 0 25px rgba(230, 57, 70, 0.5);
}

.btn--play::before {
  background: linear-gradient(135deg, #ef4d5a 0%, #e63946 100%);
}

/* --------------------------------------------------------------------------
   5. HEADER / NAVIGATION
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(10, 10, 12, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: transform var(--duration-normal) var(--ease-out-expo),
              box-shadow var(--duration-normal) var(--ease-out-expo);
}

.nav--scrolled {
  box-shadow: var(--shadow-md);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  color: var(--color-accent);
  text-decoration: none;
}

.nav__logo-img {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__menu {
  display: none;
}

.nav__menu ul {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__menu li {
  margin: 0;
}

@media (min-width: 768px) {
  .nav__menu {
    display: block;
  }
}

.nav__menu a {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
}

.nav__menu a:hover,
.nav__menu a.active,
.nav__menu .current-menu-item > a {
  color: var(--color-text-primary);
  background: rgba(255, 140, 26, 0.15);
}

.nav__menu a.active,
.nav__menu .current-menu-item > a {
  background: var(--color-accent);
  color: var(--color-text-primary);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav__menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

@media (min-width: 768px) {
  .nav__menu-toggle {
    display: none;
  }
}

.nav__menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: var(--radius-full);
  transition: transform var(--duration-normal) var(--ease-out-expo),
              opacity var(--duration-fast);
}

.nav__menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav__menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.nav__mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg-dark);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--duration-normal) var(--ease-out-expo),
              visibility var(--duration-normal),
              transform var(--duration-normal) var(--ease-out-expo);
}

.nav__mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__mobile-menu a {
  font-size: var(--text-xl);
  font-weight: 500;
  padding: var(--space-4);
  border-bottom: 1px solid var(--color-border);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--duration-normal) var(--ease-out-expo),
              transform var(--duration-normal) var(--ease-out-expo);
}

.nav__mobile-menu.is-open a {
  opacity: 1;
  transform: translateY(0);
}

.nav__mobile-menu a:nth-child(1) { transition-delay: 0.05s; }
.nav__mobile-menu a:nth-child(2) { transition-delay: 0.1s; }
.nav__mobile-menu a:nth-child(3) { transition-delay: 0.15s; }
.nav__mobile-menu a:nth-child(4) { transition-delay: 0.2s; }
.nav__mobile-menu a:nth-child(5) { transition-delay: 0.25s; }

@media (min-width: 768px) {
  .nav__mobile-menu {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + var(--space-16)) var(--space-4) var(--space-16);
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 140, 26, 0.08) 0%, transparent 50%),
    var(--color-bg-dark);
}

.hero__bg-swoosh {
  position: absolute;
  top: -20%;
  right: -30%;
  width: 80%;
  max-width: 700px;
  height: 80%;
  background: radial-gradient(ellipse at center, var(--color-accent-glow) 0%, transparent 70%);
  opacity: 0.35;
  animation: swoosh-float 8s ease-in-out infinite;
  pointer-events: none;
}

.hero__bg-swoosh::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 140, 26, 0.15) 0%, transparent 60%);
  animation: swoosh-pulse 6s ease-in-out infinite 1s;
}

@keyframes swoosh-float {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(-15px, 15px) scale(1.03) rotate(1deg); }
  66% { transform: translate(10px, -10px) scale(1.02) rotate(-1deg); }
}

@keyframes swoosh-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hero .container {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.hero__content {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero__content {
    text-align: left;
  }
}

.hero__title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-4);
  opacity: 0;
  transform: translateY(30px);
  animation: fade-up 0.8s var(--ease-out-expo) 0.2s forwards;
}

.hero__title .accent {
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 540px;
  margin: 0 auto var(--space-8);
  line-height: var(--leading-relaxed);
  opacity: 0;
  transform: translateY(30px);
  animation: fade-up 0.8s var(--ease-out-expo) 0.4s forwards;
}

@media (min-width: 1024px) {
  .hero__subtitle {
    margin: 0 0 var(--space-8);
  }
}

.hero__cta {
  opacity: 0;
  transform: translateY(30px);
  animation: fade-up 0.8s var(--ease-out-expo) 0.6s forwards;
}

.hero__visual {
  position: relative;
  opacity: 0;
  transform: translateX(30px);
  animation: fade-in 1s var(--ease-out-expo) 0.5s forwards;
}

@media (min-width: 1024px) {
  .hero__visual {
    transform: translateX(30px);
  }
}

.hero__card {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03);
  transform: rotate(-4deg) perspective(1000px);
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}

.hero__card:hover {
  transform: rotate(0deg) translateY(-12px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 40px var(--color-accent-glow);
}

.hero__card:not(:has(.hero__card-img)) {
  padding: var(--space-8);
}

.hero__card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.hero__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero--compact {
  min-height: auto;
  padding: calc(var(--header-height) + var(--space-16)) var(--space-4) var(--space-12);
}

/* --------------------------------------------------------------------------
   7. SECTION STYLES
   -------------------------------------------------------------------------- */
.section {
  padding: var(--space-16) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-24) 0;
  }
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-12);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section__title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 700;
  margin-bottom: var(--space-4);
  letter-spacing: var(--tracking-tight);
}

.section__title .accent {
  color: var(--color-accent);
}

.section__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* --------------------------------------------------------------------------
   8. FEATURE CARDS / GET STARTED GRID
   -------------------------------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 640px) {
  .cards-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s var(--ease-out-expo),
              box-shadow 0.4s var(--ease-out-expo),
              border-color 0.3s,
              background 0.3s;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 140, 26, 0.2);
  border-color: var(--color-border-accent);
}

.card--accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  border: none;
  box-shadow: 0 8px 30px rgba(255, 92, 0, 0.25);
}

.card--accent:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 25px 60px rgba(255, 92, 0, 0.35), var(--shadow-glow);
}

.card--accent .card__text {
  color: rgba(255, 255, 255, 0.9);
}

.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.card__title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.card__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.card--with-image .card__image {
  margin: calc(var(--space-6) * -1) calc(var(--space-6) * -1) var(--space-4);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.card--with-image .card__image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   9. SPLIT SECTION (Image + Content)
   -------------------------------------------------------------------------- */
.split-section {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .split-section {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
  
  .split-section--reverse .split-section__content {
    order: 2;
  }
  
  .split-section--reverse .split-section__visual {
    order: 1;
  }
}

.split-section__content h2 {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: 700;
  margin-bottom: var(--space-4);
  letter-spacing: var(--tracking-tight);
}

.split-section__content h2 .accent {
  color: var(--color-accent);
}

.split-section__content p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
}

.split-section__visual {
  position: relative;
}

.split-section__img-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--color-border);
  transform: rotate(-3deg);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}

.split-section__img-card:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.split-section__img-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   10. CTA BANNER
   -------------------------------------------------------------------------- */
.cta-banner {
  padding: var(--space-16) var(--space-4);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
  opacity: 0.2;
}

.cta-banner__title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 700;
  margin-bottom: var(--space-4);
  position: relative;
}

.cta-banner__text {
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: var(--leading-relaxed);
  position: relative;
}

.cta-banner__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 480px;
  margin: 0 auto;
}

.cta-banner__form input {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-base);
  background: var(--color-bg-input);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.cta-banner__form input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.cta-banner__form input::placeholder {
  color: var(--color-text-muted);
}

/* Integrated input + button (OTP style) */
.cta-banner__form--inline {
  flex-direction: column;
  max-width: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-input);
  box-shadow: var(--shadow-md);
}

@media (min-width: 480px) {
  .cta-banner__form--inline {
    flex-direction: row;
  }
}

.cta-banner__form--inline input {
  flex: 1;
  border: none;
  border-radius: 0;
  background: transparent;
}

.cta-banner__form--inline input:focus {
  box-shadow: none;
}

.cta-banner__form--inline .btn {
  border-radius: 0;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .cta-banner__form:not(.cta-banner__form--inline) {
    flex-direction: row;
    max-width: 500px;
  }
  .cta-banner__form:not(.cta-banner__form--inline) input {
    flex: 1;
  }
}

/* --------------------------------------------------------------------------
   11. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: #000;
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid var(--color-border);
}

.footer__grid {
  display: grid;
  gap: var(--space-12);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-16);
  }
}

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.footer__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-full);
  color: var(--color-accent);
  transition: transform var(--duration-fast), background var(--duration-fast);
}

.footer__social a:hover {
  transform: scale(1.1);
  background: var(--color-accent);
  color: var(--color-text-primary);
}

.footer__links-title {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.footer__links a {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-1) 0;
  transition: color var(--duration-fast);
}

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

.footer__bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__copyright {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer__legal {
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-xs);
}

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

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

/* --------------------------------------------------------------------------
   12. FLOATING WHATSAPP
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 56px;
  height: 56px;
  background: var(--color-whatsapp);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  animation: whatsapp-pulse 2s ease-in-out infinite;
  transition: transform var(--duration-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: var(--shadow-lg); }
  50% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0.2); }
}

/* --------------------------------------------------------------------------
   13. SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--left {
  transform: translateX(-40px);
}

.reveal--left.is-visible {
  transform: translateX(0);
}

.reveal--right {
  transform: translateX(40px);
}

.reveal--right.is-visible {
  transform: translateX(0);
}

.reveal--scale {
  transform: scale(0.95);
}

.reveal--scale.is-visible {
  transform: scale(1);
}

/* Staggered children reveal */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.3s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.35s; }

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   14. STATS BAR
   -------------------------------------------------------------------------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .stats-bar {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats-bar__item {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.35s var(--ease-out-expo), border-color 0.3s, box-shadow 0.35s;
}

.stats-bar__item:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-accent);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.stats-bar__number {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}

.stats-bar__label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* --------------------------------------------------------------------------
   15. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.faq__item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) 0;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-primary);
  text-align: left;
  background: none;
  cursor: pointer;
  transition: color var(--duration-fast);
}

.faq__trigger:hover {
  color: var(--color-accent);
}

.faq__trigger svg {
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.faq__item.is-open .faq__trigger svg {
  transform: rotate(180deg);
}

.faq__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out-expo);
}

.faq__item.is-open .faq__content {
  max-height: 300px;
}

.faq__content-inner {
  padding: 0 0 var(--space-4);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* --------------------------------------------------------------------------
   16. FORM INPUTS
   -------------------------------------------------------------------------- */
.input-group {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.input-group input {
  flex: 1;
  min-width: 200px;
  padding: var(--space-4);
  font-size: var(--text-base);
  background: var(--color-bg-input);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.input-group input::placeholder {
  color: var(--color-text-muted);
}

.input-group input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

/* --------------------------------------------------------------------------
   17. GET STARTED - DUALS ATTACHED AT DIFFERENT ANGLES
   Layered cards: orange front + dark grey back peeking behind
   -------------------------------------------------------------------------- */
.get-started-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  align-items: center;
  max-width: 340px;
  margin: 0 auto;
  overflow: visible;
}

@media (min-width: 768px) {
  .get-started-stack {
    max-width: 320px;
    margin: 0;
  }
}

.card-dual {
  position: relative;
  width: 100%;
  overflow: visible;
  transition: transform 0.4s var(--ease-out-expo);
}

.card-dual:hover {
  transform: translateY(-4px);
}

.card-dual__back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  z-index: 0;
}

.card-dual--1 .card-dual__back {
  transform: scale(1.08) rotate(-6deg) translate(-8px, 8px);
}

.card-dual--2 .card-dual__back {
  transform: scale(1.08) rotate(5deg) translate(8px, 8px);
}

.card-dual--3 .card-dual__back {
  transform: scale(1.08) rotate(-5deg) translate(-6px, 6px);
}

.card-dual--4 .card-dual__back {
  transform: scale(1.08) rotate(6deg) translate(6px, 6px);
}

.card-dual .card {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.card-dual--1 .card { transform: rotate(-2deg); }
.card-dual--2 .card { transform: rotate(2deg); }
.card-dual--3 .card { transform: rotate(-3deg); }
.card-dual--4 .card { transform: rotate(2deg); }

.card-dual:hover .card {
  box-shadow: 0 16px 50px rgba(255, 92, 0, 0.25);
}

.card--get-started {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  padding: var(--space-5);
  border-radius: var(--radius-xl);
}

.card--get-started .card__text {
  font-size: var(--text-xs);
  line-height: 1.45;
  opacity: 0.95;
}

.card__icon--circle {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.card__icon--circle svg {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   18. RESPONSIVE HELPERS
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hide-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: block;
  }
}

.hide-desktop {
  display: block;
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   19. PAGINATION
   -------------------------------------------------------------------------- */
.pagination,
.nav-links {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-12);
  flex-wrap: wrap;
}

.pagination a,
.pagination span,
.nav-links a,
.nav-links span {
  padding: var(--space-2) var(--space-4);
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  color: var(--color-text-secondary);
  transition: all var(--duration-fast);
}

.pagination a:hover,
.nav-links a:hover {
  background: var(--color-accent);
  color: var(--color-text-primary);
}

.pagination .current,
.nav-links .current {
  background: var(--color-accent);
  color: var(--color-text-primary);
}

/* Post navigation */
.post-navigation {
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.post-navigation a {
  color: var(--color-accent);
}

.post-navigation a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   20. RESPONSIVE REFINEMENTS
   -------------------------------------------------------------------------- */
@media (max-width: 639px) {
  .hero__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .section__title {
    font-size: 1.5rem;
  }
  .btn--lg {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
  }
}

@media (min-width: 1280px) {
  .container {
    padding: 0 var(--space-12);
  }
}

/* --------------------------------------------------------------------------
   21. REDUCED MOTION (Accessibility)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__bg-swoosh::after {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   22. PAGE-SPECIFIC: BODY PADDING FOR FIXED HEADER
   -------------------------------------------------------------------------- */
body {
  padding-top: var(--header-height);
}
