/* ========================================================
   COMPRAR UNITV RECARGA — DESIGN SYSTEM & STYLESHEET
   Dominio: comprarunitvrecarga.com.br
   Foco: Alta Conversao, SEO & Estetica Ultra-Moderna Dark
   ======================================================== */

:root {
  --night-0: #03060c;
  --night-1: #070b14;
  --night-2: #0d121f;
  --night-3: #141c2e;
  --crimson: #e11d48;
  --crimson-dark: #9f1239;
  --magenta: #c026d3;
  --electric: #8b5cf6;
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --emerald: #10b981;
  --emerald-light: #34d399;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --card-bg: rgba(13, 18, 31, 0.72);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(225, 29, 72, 0.35);
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-full: 9999px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--night-0);
  background-image:
    radial-gradient(1000px 500px at 80% -5%, rgba(225, 29, 72, 0.22), transparent 60%),
    radial-gradient(800px 450px at 15% 15%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(900px 600px at 85% 85%, rgba(225, 29, 72, 0.12), transparent 60%),
    linear-gradient(180deg, var(--night-0) 0%, var(--night-1) 50%, var(--night-0) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a, button {
  text-decoration: none;
  color: inherit;
  touch-action: manipulation;
  font-family: inherit;
}

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

/* ===== UTILITIES (TAILWIND-COMPATIBLE) ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-white { color: #ffffff !important; }
.text-slate-100 { color: #f1f5f9; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }

.text-green-400 { color: #4ade80; }
.text-green-300 { color: #86efac; }
.text-emerald-400 { color: #34d399; }
.text-yellow-400 { color: #facc15; }
.text-amber-400 { color: #fbbf24; }
.text-red-400 { color: #f87171; }
.text-red-500 { color: #ef4444; }
.text-crimson { color: var(--crimson); }
.text-purple-400 { color: #c084fc; }

.bg-red-500 { background-color: #ef4444; }
.bg-green-500 { background-color: #22c55e; }
.bg-green-400\/10 { background-color: rgba(74, 222, 128, 0.12); }
.bg-amber-400\/10 { background-color: rgba(251, 191, 36, 0.12); }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.10); }

/* Typography */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.leading-tight { line-height: 1.2; }
.leading-snug { line-height: 1.35; }
.leading-relaxed { line-height: 1.7; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.whitespace-nowrap { white-space: nowrap; }
.underline { text-decoration: underline; }
.line-through { text-decoration: line-through; }
.align-top { vertical-align: top; }

/* Display & Flex */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-grow { flex-grow: 1; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.items-baseline { align-items: baseline; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }

/* Gaps */
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-y-2 { row-gap: 0.5rem; }
.-space-x-2\.5 > * + * { margin-left: -0.625rem; }

/* Spacing Padding */
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-6 { padding-top: 1.5rem; }

/* Spacing Margins */
.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-auto { margin-top: auto; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 0.75rem; }
.ml-auto { margin-left: auto; }

.space-y-0 > * + * { margin-top: 0; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }

/* Sizing */
.w-2 { width: 0.5rem; }
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-full { width: 100%; }
.w-auto { width: auto; }

.h-2 { height: 0.5rem; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-28 { height: 7rem; }
.h-full { height: 100%; }
.h-auto { height: auto; }

.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-full { max-width: 100%; }
.min-w-0 { min-width: 0; }
.object-contain { object-fit: contain; }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.bottom-8 { bottom: 2rem; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.left-3 { left: 0.75rem; }
.right-3 { right: 0.75rem; }
.left-1\/2 { left: 50%; }
.top-1\/2 { top: 50%; }
.-top-3 { top: -0.75rem; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }

/* Borders & Radius */
.rounded-sm { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.border { border: 1px solid var(--border-light); }
.border-2 { border: 2px solid var(--border-light); }
.border-t { border-top: 1px solid var(--border-light); }
.border-b { border-bottom: 1px solid var(--border-light); }
.border-white\/5 { border-color: rgba(255, 255, 255, 0.05); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.10); }

/* Shadows & Transitions */
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5); }
.cursor-pointer { cursor: pointer; }
.transition-all { transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
.transition-colors { transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
.duration-200 { transition-duration: 0.2s; }
.duration-300 { transition-duration: 0.3s; }

/* Screen Readers */
.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;
}

/* ===== CORE COMPONENTS ===== */

/* Header & Navigation */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
}

.top-banner {
  background: linear-gradient(90deg, #d97706 0%, #f59e0b 50%, #d97706 100%);
  color: #000000;
  text-align: center;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  padding: 0.55rem 1rem;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.banner-pulse {
  animation: bannerPulse 2s ease-in-out infinite;
}

@keyframes bannerPulse {
  0%, 100% { filter: brightness(1.05); }
  50% { filter: brightness(0.95); }
}

.nav {
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-link-glow {
  transition: all 0.25s ease;
  position: relative;
  font-weight: 500;
}

.nav-link-glow:hover {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(225, 29, 72, 0.8);
}

.nav-link-glow::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--crimson), transparent);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-link-glow:hover::after {
  opacity: 1;
}

/* Glassmorphism Cards */
.glass {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.hover-rise {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hover-rise:hover {
  transform: translateY(-5px);
  border-color: rgba(225, 29, 72, 0.55);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.6),
    0 0 24px rgba(225, 29, 72, 0.25);
}

/* Buttons */
.btn-base {
  color: #ffffff;
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: transform 0.18s ease, filter 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-base:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(90deg, var(--crimson) 0%, #be123c 50%, #9f1239 100%);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(225, 29, 72, 0.6);
}

.btn-gold {
  background: linear-gradient(90deg, #d97706 0%, #fbbf24 100%);
  color: #000000 !important;
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.35);
}

.btn-gold:hover {
  box-shadow: 0 8px 28px rgba(251, 191, 36, 0.55);
}

.btn-green {
  background: linear-gradient(90deg, #15803d 0%, #22c55e 100%);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
}

.btn-green:hover {
  box-shadow: 0 8px 28px rgba(34, 197, 94, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  color: var(--text-main);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(225, 29, 72, 0.5);
  box-shadow: 0 0 16px rgba(225, 29, 72, 0.2);
}

.btn-pulse {
  animation: pulseBright 2.2s infinite ease-in-out;
}

@keyframes pulseBright {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.025);
  }
}

/* Animations Fade In on Scroll */
.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade.show {
  opacity: 1;
  transform: translateY(0);
}

/* Star Rating */
.stars-5 {
  color: #facc15;
  line-height: 1;
  letter-spacing: 2px;
  font-size: 1rem;
}

.stars-5::before {
  content: "★★★★★";
}

.stars-5.lg {
  font-size: 1.85rem;
  letter-spacing: 4px;
}

/* ===== HERO & 3D PERSPECTIVE FLOOR ===== */
.hero-with-shadow {
  position: relative;
  box-shadow: 0 80px 120px -20px rgba(225, 29, 72, 0.22);
}

.hero-floor {
  position: absolute;
  bottom: 0;
  left: -20%;
  right: -20%;
  height: 95vh;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(225, 29, 72, 0.03) 15%,
    rgba(225, 29, 72, 0.10) 40%,
    rgba(225, 29, 72, 0.25) 80%,
    rgba(225, 29, 72, 0.35) 100%);
  transform: perspective(180vh) rotateX(72deg);
  transform-origin: bottom;
  pointer-events: none;
  z-index: 1;
  mask: radial-gradient(ellipse 160% 140% at 50% 100%, #fff 20%, rgba(255,255,255,0.4) 65%, transparent 100%);
  -webkit-mask: radial-gradient(ellipse 160% 140% at 50% 100%, #fff 20%, rgba(255,255,255,0.4) 65%, transparent 100%);
}

.hero-floor::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0px, rgba(225, 29, 72, 0.3) 1px, transparent 2px, transparent 40px),
    repeating-linear-gradient(0deg, transparent 0px, rgba(225, 29, 72, 0.2) 1px, transparent 2px, transparent 25px);
  opacity: 0.8;
}

.hero-floor::after {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 450px;
  height: 140px;
  background: radial-gradient(ellipse, rgba(225, 29, 72, 0.35), transparent 70%);
  filter: blur(24px);
  animation: neonPulse 2.8s ease-in-out infinite alternate;
}

@keyframes neonPulse {
  0% { opacity: 0.5; transform: translateX(-50%) scale(0.95); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

/* Slideshow */
.slide {
  display: none !important;
}

.slide.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.indicator {
  cursor: pointer;
  border: none;
  padding: 0;
}

.indicator.active {
  background: #ffffff !important;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.prev-slide, .next-slide {
  cursor: pointer;
  opacity: 0.75;
  transition: all 0.2s ease;
  border: none;
}

.prev-slide:hover, .next-slide:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
  background: rgba(225, 29, 72, 0.5) !important;
}

/* Plan Cards Badge */
.popular:before {
  content: "MAIS POPULAR";
  position: absolute;
  top: -12px;
  right: 18px;
  background: linear-gradient(90deg, var(--crimson), var(--magenta));
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.45);
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  transition: color 0.2s;
  min-height: 56px;
}

.faq-question:hover {
  color: #ffffff;
}

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(225, 29, 72, 0.16);
  border: 1px solid rgba(225, 29, 72, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  transition: transform 0.3s ease, background-color 0.2s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(225, 29, 72, 0.7);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

/* Floating WhatsApp Button */
.wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 62px;
  height: 62px;
  z-index: 45;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, filter 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa:hover {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.wa-beacon {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #22c55e;
  animation: waPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

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

/* Tutorial Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(3, 6, 12, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-card {
  background: var(--night-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  animation: popIn 0.22s ease-out;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-top-bar {
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #e11d48, #8b5cf6);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

@keyframes popIn {
  from { transform: translateY(16px) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

/* Feature & Benefit Badge */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

/* Grid Layouts */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* Tablet & Large Mobile (min-width: 640px) */
@media (min-width: 640px) {
  .sm\:inline { display: inline; }
  .sm\:inline-block { display: inline-block; }
  .sm\:block { display: block; }
  .sm\:flex { display: flex; }
  .sm\:hidden { display: none; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Tablet (min-width: 768px) */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:inline-flex { display: inline-flex; }
  .md\:block { display: block; }
  .md\:hidden { display: none; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:text-base { font-size: 1rem; }
  .md\:text-lg { font-size: 1.125rem; }
  .md\:text-xl { font-size: 1.25rem; }
  .md\:text-2xl { font-size: 1.5rem; }
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:mb-14 { margin-bottom: 3.5rem; }
  .md\:w-11 { width: 2.75rem; }
  .md\:h-11 { height: 2.75rem; }
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* Desktop (min-width: 1024px) */
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:text-2xl { font-size: 1.5rem; }
  .lg\:text-3xl { font-size: 1.875rem; }
  .lg\:text-4xl { font-size: 2.25rem; }
  .lg\:text-5xl { font-size: 3rem; }
  .lg\:text-6xl { font-size: 3.75rem; }
  .lg\:mb-8 { margin-bottom: 2rem; }
  .lg\:gap-12 { gap: 3rem; }
  .lg\:space-y-4 > * + * { margin-top: 1rem; }
  .lg\:gap-3 { gap: 0.75rem; }
  .lg\:px-12 { padding-left: 3rem; padding-right: 3rem; }
}

/* Extra Large Screens (min-width: 1280px) */
@media (min-width: 1280px) {
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Mobile Screens (max-width: 639px) */
@media (max-width: 639px) {
  .top-banner {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.75rem;
  }
  .slideshow-container {
    height: auto !important;
    min-height: 520px !important;
  }
  .slide.active {
    min-height: 520px;
    padding-top: 1.5rem;
    padding-bottom: 3rem;
  }
  .hero h1 {
    font-size: 1.95rem !important;
    line-height: 1.2 !important;
  }
  .btn-pulse {
    animation-duration: 3.5s;
  }
  .faq-question {
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
    font-size: 0.95rem;
    gap: 0.75rem;
  }
  .wa {
    width: 54px;
    height: 54px;
    right: 14px;
    bottom: 14px;
  }
  .popular:before {
    right: 12px;
    font-size: 0.62rem;
  }
  .hero-floor::before {
    display: none;
  }
  .hero-floor::after {
    width: 220px;
    height: 90px;
  }
  #mobileMenu .nav-link-glow {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
  }
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .modal-card {
    border-radius: 1.25rem 1.25rem 0 0;
    max-height: 85vh;
  }
  .prev-slide, .next-slide {
    width: 32px;
    height: 32px;
  }
}

/* Extra Small (max-width: 375px) */
@media (max-width: 375px) {
  .hero h1 { font-size: 1.65rem !important; }
  .hero p { font-size: 0.88rem !important; }
}

/* Touch device optimizations */
@media (hover: none) {
  .hover-rise:hover {
    transform: none;
    border-color: var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    filter: none;
  }
  .btn-base:hover {
    filter: none;
    transform: none;
  }
  .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.14);
  }
  .nav-link-glow:hover::after {
    display: none;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade {
    opacity: 1 !important;
    transform: none !important;
  }
}
