/* ==========================================================================
   ELITE LICENÇAS — Modern Tech & AI Subscriptions E-commerce
   Theme System: Light Theme (Default) + Seamless Dark Theme Support
   ========================================================================== */

:root {
  /* ==========================================================================
     LIGHT THEME (Default) — Clean, Crisp & High-Contrast Aesthetics
     ========================================================================== */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(79, 70, 229, 0.45);
  --border-focus: #4f46e5;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --primary: #4f46e5;
  --primary-glow: rgba(79, 70, 229, 0.2);
  --duo-green: #58cc02;
  --duo-glow: rgba(88, 204, 2, 0.22);
  --success: #059669;
  --warning: #d97706;
  --danger: #dc2626;
  --cyan: #0284c7;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 0 1px 1px var(--border-subtle);
  --shadow-card-hover: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px var(--primary);
  --shadow-duo: 0 15px 35px -8px rgba(88, 204, 2, 0.2), 0 0 0 1px rgba(88, 204, 2, 0.35);

  --transition-fast: 0.18s ease;
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);

  /* Component Tokens */
  --top-bar-bg: rgba(255, 255, 255, 0.88);
  --orb-opacity: 0.14;
  --hero-pill-bg: rgba(79, 70, 229, 0.08);
  --hero-pill-border: rgba(79, 70, 229, 0.2);
  --hero-pill-text: #4338ca;
  --hero-grad-text: linear-gradient(135deg, #3730a3 0%, #0284c7 50%, #16a34a 100%);

  --duo-banner-bg: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0fdfa 100%);
  --duo-banner-border: rgba(88, 204, 2, 0.35);
  --duo-banner-title: #0f172a;
  --duo-banner-desc: #334155;
  --duo-chip-bg: #ffffff;
  --duo-chip-border: rgba(88, 204, 2, 0.3);
  --duo-chip-text: #166534;
  --duo-price-card-bg: #ffffff;
  --duo-price-card-border: rgba(88, 204, 2, 0.35);
  --duo-stock-tag-bg: rgba(15, 23, 42, 0.06);
  --duo-stock-tag-text: #334155;

  --search-bg: #ffffff;
  --search-border: rgba(15, 23, 42, 0.12);
  --search-text: #0f172a;
  --tab-bg: #ffffff;
  --tab-border: rgba(15, 23, 42, 0.1);
  --tab-text: #475569;
  --tab-hover-bg: #f1f5f9;
  --tab-hover-text: #0f172a;
  --tab-active-bg: #4f46e5;
  --tab-active-text: #ffffff;

  --card-title-color: #0f172a;
  --card-btn-bg: #f8fafc;
  --card-btn-border: rgba(15, 23, 42, 0.12);
  --card-btn-text: #0f172a;

  --feature-box-bg: #ffffff;
  --feature-box-border: rgba(15, 23, 42, 0.08);

  --faq-item-bg: #ffffff;
  --faq-item-border: rgba(15, 23, 42, 0.08);

  --modal-backdrop-bg: rgba(15, 23, 42, 0.65);
  --modal-box-bg: #ffffff;
  --modal-box-border: rgba(15, 23, 42, 0.1);
  --modal-box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25);
  --modal-summary-bg: #f8fafc;
  --modal-summary-border: rgba(15, 23, 42, 0.08);
  --input-bg: #f8fafc;
  --input-border: rgba(15, 23, 42, 0.15);
  --input-text: #0f172a;
  --pix-code-bg: #f1f5f9;
  --pix-code-text: #334155;
  --delivery-box-bg: #f0fdf4;
  --delivery-box-border: rgba(16, 185, 129, 0.35);

  --footer-bg: #ffffff;
  --footer-border: rgba(15, 23, 42, 0.08);
  --footer-title: #0f172a;
  --footer-link: #64748b;
  --footer-link-hover: #0f172a;
  --footer-bottom-border: rgba(15, 23, 42, 0.06);
  --footer-bottom-text: #94a3b8;
}

/* ==========================================================================
   DARK THEME (Toggleable)
   ========================================================================== */
[data-theme="dark"] {
  --bg-main: #07090e;
  --bg-surface: #0d121f;
  --bg-card: rgba(16, 23, 38, 0.75);
  --bg-card-hover: rgba(22, 32, 54, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(99, 102, 241, 0.4);
  --border-focus: #6366f1;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.35);
  --duo-green: #58cc02;
  --duo-glow: rgba(88, 204, 2, 0.35);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --cyan: #06b6d4;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 1px 1px var(--border-subtle);
  --shadow-card-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 20px var(--primary-glow);
  --shadow-duo: 0 20px 40px -15px rgba(88, 204, 2, 0.3), 0 0 25px var(--duo-glow);

  --top-bar-bg: rgba(13, 18, 31, 0.85);
  --orb-opacity: 0.28;
  --hero-pill-bg: rgba(99, 102, 241, 0.12);
  --hero-pill-border: rgba(99, 102, 241, 0.3);
  --hero-pill-text: #c7d2fe;
  --hero-grad-text: linear-gradient(135deg, #a5b4fc 0%, #38bdf8 50%, #4ade80 100%);

  --duo-banner-bg: linear-gradient(135deg, rgba(88, 204, 2, 0.15) 0%, rgba(13, 27, 24, 0.85) 100%);
  --duo-banner-border: rgba(88, 204, 2, 0.4);
  --duo-banner-title: #ffffff;
  --duo-banner-desc: #cbd5e1;
  --duo-chip-bg: rgba(0, 0, 0, 0.35);
  --duo-chip-border: rgba(88, 204, 2, 0.25);
  --duo-chip-text: #f1f5f9;
  --duo-price-card-bg: rgba(13, 20, 32, 0.85);
  --duo-price-card-border: rgba(88, 204, 2, 0.35);
  --duo-stock-tag-bg: rgba(255, 255, 255, 0.1);
  --duo-stock-tag-text: #e2e8f0;

  --search-bg: rgba(16, 23, 38, 0.8);
  --search-border: var(--border-subtle);
  --search-text: var(--text-primary);
  --tab-bg: rgba(255, 255, 255, 0.04);
  --tab-border: var(--border-subtle);
  --tab-text: var(--text-secondary);
  --tab-hover-bg: rgba(255, 255, 255, 0.08);
  --tab-hover-text: var(--text-primary);
  --tab-active-bg: #6366f1;
  --tab-active-text: #ffffff;

  --card-title-color: #ffffff;
  --card-btn-bg: rgba(255, 255, 255, 0.06);
  --card-btn-border: rgba(255, 255, 255, 0.12);
  --card-btn-text: #ffffff;

  --feature-box-bg: rgba(13, 18, 31, 0.6);
  --feature-box-border: var(--border-subtle);

  --faq-item-bg: var(--bg-card);
  --faq-item-border: var(--border-subtle);

  --modal-backdrop-bg: rgba(0, 0, 0, 0.8);
  --modal-box-bg: #0f1626;
  --modal-box-border: rgba(255, 255, 255, 0.15);
  --modal-box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 30px rgba(99, 102, 241, 0.25);
  --modal-summary-bg: rgba(255, 255, 255, 0.03);
  --modal-summary-border: var(--border-subtle);
  --input-bg: rgba(0, 0, 0, 0.3);
  --input-border: var(--border-subtle);
  --input-text: #ffffff;
  --pix-code-bg: rgba(0, 0, 0, 0.4);
  --pix-code-text: #94a3b8;
  --delivery-box-bg: rgba(0, 0, 0, 0.4);
  --delivery-box-border: rgba(16, 185, 129, 0.35);

  --footer-bg: rgba(7, 9, 14, 0.9);
  --footer-border: var(--border-subtle);
  --footer-title: #ffffff;
  --footer-link: var(--text-secondary);
  --footer-link-hover: #ffffff;
  --footer-bottom-border: rgba(255, 255, 255, 0.05);
  --footer-bottom-text: var(--text-muted);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

[data-theme="dark"] html, html[data-theme="dark"] {
  color-scheme: dark;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

/* Ambient Glow Backgrounds */
.ambient-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  max-width: 100vw;
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: var(--orb-opacity);
  animation: floatOrb 18s ease-in-out infinite alternate;
  transition: opacity var(--transition-smooth);
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
  top: -150px;
  left: 20%;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #58cc02 0%, transparent 70%);
  top: 30%;
  right: -100px;
  animation-delay: -5s;
}

.orb-3 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
  bottom: -200px;
  left: -100px;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, 50px) scale(0.95); }
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Test Mode Alert Bar & Notices
   ========================================================================== */
.test-mode-alert-bar {
  background: linear-gradient(90deg, #78350f 0%, #b45309 50%, #78350f 100%);
  color: #fef3c7;
  padding: 9px 16px;
  font-size: 0.85rem;
  border-bottom: 1.5px solid #f59e0b;
  box-shadow: 0 4px 15px rgba(180, 83, 9, 0.28);
  position: relative;
  z-index: 101;
}

.test-mode-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.test-mode-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(251, 191, 36, 0.45);
  font-weight: 800;
  font-size: 0.775rem;
  letter-spacing: 0.5px;
  color: #fef08a;
  white-space: nowrap;
}

.test-mode-text {
  flex: 1;
  text-align: center;
  font-weight: 500;
  min-width: 260px;
}

.test-mode-text strong {
  color: #ffffff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #fde047;
}

.test-mode-env-pill {
  font-family: monospace;
  font-size: 0.725rem;
  background: rgba(0, 0, 0, 0.45);
  color: #fde047;
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid rgba(253, 224, 71, 0.3);
  font-weight: 700;
  white-space: nowrap;
}

.modal-test-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid #f59e0b;
  color: #d97706;
  font-size: 0.775rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

[data-theme="dark"] .modal-test-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #fde047;
  border-color: #f59e0b;
}

@media (max-width: 768px) {
  .test-mode-bar-content {
    justify-content: center;
    text-align: center;
    gap: 8px;
  }
  .test-mode-text {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   Top Notification Bar / Ticker
   ========================================================================== */
.top-live-bar {
  background: var(--top-bar-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.825rem;
  padding: 8px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.live-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.live-pulse-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--success);
  font-weight: 700;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px var(--success); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.live-sale-feed {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.feed-highlight {
  color: var(--text-primary);
  font-weight: 700;
}

.top-help-links {
  display: flex;
  gap: 16px;
}

.top-help-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.top-help-links a:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.main-navbar {
  padding: 18px 0;
  position: relative;
  z-index: 90;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-badge-icon {
  width: 44px;
  height: 44px;
  background: #000000;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.brand-logo:hover .logo-badge-icon {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
  border-color: rgba(99, 102, 241, 0.6);
}

.logo-keys-img {
  width: 24px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  transition: transform var(--transition-fast);
}

.brand-logo:hover .logo-keys-img {
  transform: scale(1.08);
}

.logo-badge-icon-sm {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
}

.logo-badge-icon-sm .logo-keys-img {
  width: 18px;
  height: 26px;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
}

.brand-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  background: var(--hero-pill-bg);
  border: 1px solid var(--hero-pill-border);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.925rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(15, 23, 42, 0.05);
}

[data-theme="dark"] .nav-link:hover, [data-theme="dark"] .nav-link.active {
  background: rgba(255, 255, 255, 0.05);
}

.nav-link-special {
  color: #15803d !important;
  background: rgba(88, 204, 2, 0.12);
  border: 1px solid rgba(88, 204, 2, 0.35);
}

[data-theme="dark"] .nav-link-special {
  color: #4ade80 !important;
  background: rgba(88, 204, 2, 0.1);
  border: 1px solid rgba(88, 204, 2, 0.3);
}

.nav-link-special:hover {
  background: rgba(88, 204, 2, 0.22);
  box-shadow: 0 0 15px rgba(88, 204, 2, 0.2);
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--tab-hover-bg);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.theme-toggle-icon {
  font-size: 1rem;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.theme-toggle-btn:hover .theme-toggle-icon {
  transform: rotate(15deg) scale(1.1);
}

.nav-cta-btn {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.925rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.28);
  transition: all var(--transition-smooth);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(79, 70, 229, 0.45);
}

.cta-short-text {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 48px 0 36px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hero-pill-bg);
  border: 1px solid var(--hero-pill-border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--hero-pill-text);
  margin-bottom: 24px;
}

.hero-pill .fire-icon {
  animation: bounce 1.4s infinite alternate;
}

@keyframes bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-3px); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.2px;
  max-width: 960px;
  margin: 0 auto 20px;
  color: var(--text-primary);
}

.gradient-text {
  background: var(--hero-grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 36px;
}

.hero-stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.stat-icon {
  font-size: 1.25rem;
}

.stat-highlight {
  color: var(--text-primary);
  font-weight: 700;
}

/* ==========================================================================
   Featured Duolingo Super Banner (VIP Spotlight)
   ========================================================================== */
.featured-duolingo-banner {
  background: var(--duo-banner-bg);
  border: 1px solid var(--duo-banner-border);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-duo);
  display: grid;
  grid-template-columns: 1.25fr auto 1fr;
  align-items: center;
  gap: 28px;
  transition: all var(--transition-smooth);
}

.duo-banner-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(88, 204, 2, 0.25) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.duo-content-col {
  position: relative;
  z-index: 2;
}

.duo-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.duo-star-badge {
  background: #58cc02;
  color: #072800;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.duo-stock-tag {
  background: var(--duo-stock-tag-bg);
  color: var(--duo-stock-tag-text);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
}

.duo-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--duo-banner-title);
}

.duo-banner-title span {
  color: #16a34a;
}

[data-theme="dark"] .duo-banner-title span {
  color: #58cc02;
}

.duo-banner-desc {
  color: var(--duo-banner-desc);
  font-size: 1rem;
  margin-bottom: 20px;
  max-width: 580px;
}

.duo-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.duo-feature-chip {
  background: var(--duo-chip-bg);
  border: 1px solid var(--duo-chip-border);
  color: var(--duo-chip-text);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   Duolingo Mascot Banner Column
   ========================================================================== */
.duo-banner-mascot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  user-select: none;
}

.duo-mascot-speech {
  background: #ffffff;
  color: #15803d;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.825rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 2px solid #58cc02;
  box-shadow: 0 4px 14px rgba(88, 204, 2, 0.25);
  margin-bottom: 10px;
  white-space: nowrap;
  animation: duoSpeechPulse 3.2s ease-in-out infinite;
  position: relative;
}

[data-theme="dark"] .duo-mascot-speech {
  background: #0f172a;
  color: #86efac;
  border-color: #22c55e;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.2);
}

.duo-mascot-speech::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #58cc02;
}

[data-theme="dark"] .duo-mascot-speech::after {
  border-top-color: #22c55e;
}

.duo-mascot-wrapper {
  position: relative;
  width: 155px;
  height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.duo-mascot-banner-img {
  width: 145px;
  height: 145px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(88, 204, 2, 0.45));
  animation: duoFloatMascot 4s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.duo-mascot-banner-img:hover {
  transform: scale(1.12) rotate(4deg);
}

@keyframes duoFloatMascot {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(-2deg);
  }
}

@keyframes duoSpeechPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

.duo-price-card {
  background: var(--duo-price-card-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--duo-price-card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .duo-price-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.duo-price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ef4444;
  color: #fff;
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
}

.price-strikethrough {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-top: 6px;
}

.duo-big-price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: #16a34a;
  line-height: 1.1;
  margin: 4px 0 8px;
}

[data-theme="dark"] .duo-big-price {
  color: #58cc02;
}

.duo-micro-text {
  font-size: 0.825rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.duo-buy-btn {
  width: 100%;
  background: #58cc02;
  color: #052400;
  border: none;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(88, 204, 2, 0.4);
  transition: all var(--transition-smooth);
  margin-bottom: 12px;
}

.duo-buy-btn:hover {
  transform: translateY(-2px);
  background: #61e002;
  box-shadow: 0 8px 28px rgba(88, 204, 2, 0.55);
}

.duo-quiz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #15803d;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: color var(--transition-fast);
}

[data-theme="dark"] .duo-quiz-btn {
  color: #a7f3d0;
  font-weight: 600;
}

.duo-quiz-btn:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* ==========================================================================
   Gemini Pro Spotlight Theme
   ========================================================================== */
.featured-duolingo-banner.featured-gemini-theme {
  background: radial-gradient(120% 120% at 15% 20%, rgba(59, 130, 246, 0.14) 0%, rgba(139, 92, 246, 0.09) 45%, var(--card-bg) 100%);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 16px 40px -12px rgba(59, 130, 246, 0.25);
}

.featured-duolingo-banner.featured-gemini-theme .duo-banner-glow {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(168, 85, 247, 0.2) 40%, transparent 70%);
}

.featured-duolingo-banner.featured-gemini-theme .duo-star-badge {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.featured-duolingo-banner.featured-gemini-theme .duo-banner-title span {
  background: linear-gradient(135deg, #3b82f6, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.featured-duolingo-banner.featured-gemini-theme .duo-buy-btn {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 50%, #7c3aed 100%) !important;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45) !important;
}

.featured-duolingo-banner.featured-gemini-theme .duo-buy-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #8b5cf6 100%) !important;
  box-shadow: 0 8px 28px rgba(79, 70, 229, 0.6) !important;
}

.gemini-ai-icon-box {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 36px;
  background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.25) 0%, rgba(168, 85, 247, 0.15) 60%, rgba(236, 72, 153, 0.1) 100%);
  border: 1.5px solid rgba(99, 102, 241, 0.4);
  font-size: 72px;
  line-height: 1;
  animation: floatGeminiIcon 3.6s ease-in-out infinite;
  box-shadow: 0 14px 35px -8px rgba(99, 102, 241, 0.35);
  user-select: none;
}

@keyframes floatGeminiIcon {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(3deg);
  }
}

/* ==========================================================================
   Catalog Controls: Search, Filter Tabs & Sort
   ========================================================================== */
.catalog-controls-section {
  margin-bottom: 32px;
}

.controls-bar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-and-status {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.search-input-wrap {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: var(--search-bg);
  border: 1px solid var(--search-border);
  border-radius: var(--radius-full);
  padding: 14px 20px 14px 48px;
  color: var(--search-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: var(--bg-surface);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.category-tabs-container {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.category-tabs-container::-webkit-scrollbar {
  height: 4px;
}

.category-tabs-container::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 4px;
}

.category-pill-btn {
  background: var(--tab-bg);
  border: 1px solid var(--tab-border);
  color: var(--tab-text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-fast);
}

.category-pill-btn:hover {
  background: var(--tab-hover-bg);
  color: var(--tab-hover-text);
  border-color: var(--border-hover);
}

.category-pill-btn.active {
  background: var(--tab-active-bg);
  color: var(--tab-active-text);
  border-color: var(--tab-active-bg);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.pill-count {
  font-size: 0.75rem;
  background: rgba(15, 23, 42, 0.08);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

[data-theme="dark"] .pill-count {
  background: rgba(0, 0, 0, 0.25);
}

.category-pill-btn.active .pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* ==========================================================================
   Product Grid & Product Cards
   ========================================================================== */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.product-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

.product-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--card-brand-color, var(--primary));
  box-shadow: var(--shadow-card-hover);
}

.product-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.brand-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--brand-accent-bg, rgba(79, 70, 229, 0.08));
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.card-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.discount-badge {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: var(--danger);
  font-size: 0.725rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.stock-pill {
  font-size: 0.725rem;
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}

.stock-pill.low-stock {
  color: var(--warning);
  background: rgba(245, 158, 11, 0.12);
}

.product-info-block {
  margin-bottom: 20px;
}

.product-category-name {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--card-title-color);
  margin-bottom: 8px;
}

.product-meta-specs {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-price-section {
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
}

.price-col {
  display: flex;
  flex-direction: column;
}

.card-original-price {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.card-current-price {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--card-brand-color, var(--primary));
  line-height: 1.1;
}

.price-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.buy-card-btn {
  width: 100%;
  background: var(--card-btn-bg);
  border: 1px solid var(--card-btn-border);
  color: var(--card-btn-text);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.product-card:hover .buy-card-btn {
  background: var(--card-brand-color, var(--primary));
  border-color: var(--card-brand-color, var(--primary));
  color: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.buy-card-btn:active {
  transform: scale(0.98);
}

/* Skeleton Loading State */
.skeleton-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  height: 280px;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { opacity: 0.4; }
  50% { opacity: 0.8; }
  100% { opacity: 0.4; }
}

/* ==========================================================================
   Security & Features Section
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.feature-box {
  background: var(--feature-box-bg);
  border: 1px solid var(--feature-box-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: all var(--transition-fast);
}

.feature-box:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.feature-icon-wrap {
  width: 44px;
  height: 44px;
  background: rgba(79, 70, 229, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feature-info h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.feature-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  max-width: 820px;
  margin: 0 auto 80px;
}

.section-title-center {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.section-desc-center {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--faq-item-bg);
  border: 1px solid var(--faq-item-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-arrow {
  transition: transform var(--transition-fast);
  color: var(--text-muted);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  display: none;
  padding: 0 22px 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   Checkout Modal (Unified for any license)
   ========================================================================== */
.checkout-modal-backdrop {
  position: fixed;
  inset: 0;
  background: var(--modal-backdrop-bg);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.checkout-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.checkout-modal-box {
  width: 100%;
  max-width: 520px;
  background: var(--modal-box-bg);
  border: 1px solid var(--modal-box-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--modal-box-shadow);
  transform: translateY(20px) scale(0.96);
  transition: all var(--transition-smooth);
}

.checkout-modal-backdrop.active .checkout-modal-box {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.modal-close-btn {
  background: rgba(15, 23, 42, 0.06);
  border: none;
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

[data-theme="dark"] .modal-close-btn {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.modal-close-btn:hover {
  background: rgba(15, 23, 42, 0.12);
  color: var(--text-primary);
}

[data-theme="dark"] .modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.modal-body {
  padding: 24px;
  max-height: 80vh;
  overflow-y: auto;
}

/* Selected Product Summary Card */
.modal-product-summary {
  background: var(--modal-summary-bg);
  border: 1px solid var(--modal-summary-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.summary-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.summary-icon {
  font-size: 1.8rem;
}

.summary-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.summary-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.summary-price {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--success);
}

/* Form inputs */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--input-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.submit-pix-btn {
  width: 100%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border: none;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  transition: all var(--transition-smooth);
  margin-top: 10px;
}

.submit-pix-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
}

/* PIX Screen Inside Modal */
.pix-screen {
  text-align: center;
}

.pix-qr-container {
  background: #ffffff;
  padding: 14px;
  border-radius: var(--radius-md);
  display: inline-block;
  margin: 16px auto;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--border-subtle);
}

.pix-qr-img {
  width: 200px;
  height: 200px;
  display: block;
}

.pix-copy-box {
  position: relative;
  margin: 16px 0;
}

.pix-code-input {
  width: 100%;
  background: var(--pix-code-bg);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--pix-code-text);
  outline: none;
  cursor: pointer;
}

.copy-pix-btn {
  width: 100%;
  background: var(--hero-pill-bg);
  border: 1px solid var(--hero-pill-border);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  margin-bottom: 12px;
}

.copy-pix-btn:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.simulate-pay-btn {
  width: 100%;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--warning);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px;
  border-radius: var(--radius-md);
  cursor: pointer;
  margin-top: 10px;
  transition: all var(--transition-fast);
}

.simulate-pay-btn:hover {
  background: rgba(245, 158, 11, 0.22);
}

/* Success Delivery Screen */
.success-screen {
  text-align: center;
  padding: 10px 0;
}

.success-check-icon {
  width: 64px;
  height: 64px;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid #10b981;
  color: #10b981;
  font-size: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
}

.delivery-box {
  background: var(--delivery-box-bg);
  border: 1px solid var(--delivery-box-border);
  border-radius: var(--radius-md);
  padding: 18px;
  margin: 20px 0;
  text-align: left;
}

.delivery-item-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 4px;
}

.delivery-code-highlight {
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--success);
  word-break: break-all;
}

.delivery-action-btn {
  width: 100%;
  background: #10b981;
  color: #fff;
  border: none;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
  border-top: 1px solid var(--footer-border);
  background: var(--footer-bg);
  padding: 48px 0 24px;
  font-size: 0.9rem;
  color: var(--footer-link);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 36px;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--footer-title);
  margin-bottom: 14px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list a {
  color: var(--footer-link);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--footer-link-hover);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--footer-bottom-border);
  font-size: 0.8rem;
  color: var(--footer-bottom-text);
}

/* ==========================================================================
   RESPONSIVIDADE COMPLETA PARA CELULAR (Site Principal / Vitrine)
   ========================================================================== */
@media (max-width: 900px) {
  .featured-duolingo-banner {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 24px;
    text-align: center;
  }
  .duo-badge-row,
  .duo-features-list {
    justify-content: center;
  }
  .duo-banner-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .duo-banner-mascot-col {
    order: -1;
    margin-bottom: 8px;
  }
  .nav-links {
    display: none !important;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .container {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* 1. Barra de Notificação Superior Compacta (Sem overflow lateral) */
  .top-live-bar {
    padding: 6px 0;
    font-size: 0.76rem;
  }

  .live-bar-content {
    justify-content: center;
    gap: 8px;
    width: 100%;
    overflow: hidden;
  }

  .live-pulse-badge {
    font-size: 0.75rem;
    gap: 6px;
    flex-shrink: 0;
  }

  .top-help-links {
    display: none !important;
  }

  .live-sale-feed {
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 210px;
  }

  /* 2. Cabeçalho / Navbar Ultra-Compacto e Elegante */
  .main-navbar {
    padding: 10px 0;
  }

  .nav-wrap {
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .brand-logo {
    gap: 8px;
    flex-shrink: 0;
  }

  .logo-badge-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .logo-keys-img {
    width: 18px;
    height: 26px;
  }

  .brand-name {
    font-size: 1.15rem;
    letter-spacing: -0.3px;
    gap: 4px;
  }

  .brand-tag {
    display: none !important;
  }

  .nav-right-actions {
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
  }

  .theme-toggle-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.95rem;
    gap: 0;
    flex-shrink: 0;
  }

  .theme-toggle-text {
    display: none !important;
  }

  .nav-cta-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    gap: 4px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .cta-full-text {
    display: none !important;
  }

  .cta-short-text {
    display: inline !important;
  }

  /* 3. Hero Section no Mobile */
  .hero-section {
    padding: 24px 0 20px;
  }

  .hero-pill {
    font-size: 0.75rem;
    padding: 5px 12px;
    max-width: 100%;
    box-sizing: border-box;
    line-height: 1.35;
    margin-bottom: 16px;
  }

  .hero-title {
    font-size: clamp(1.65rem, 6.8vw, 2.2rem);
    line-height: 1.2;
    letter-spacing: -0.6px;
    margin-bottom: 14px;
    padding: 0 4px;
  }

  .hero-subtitle {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 24px;
    padding: 0 4px;
  }

  /* Estatísticas em Grid 2x2 no mobile */
  .hero-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
    max-width: 380px;
    margin: 0 auto 28px;
    padding: 0 4px;
  }

  .stat-item {
    font-size: 0.78rem;
    gap: 6px;
    justify-content: flex-start;
  }

  .stat-icon {
    font-size: 1rem;
  }

  /* 4. Banner Spotlight (Duolingo / Gemini) */
  .featured-duolingo-banner {
    padding: 20px 16px;
    border-radius: 18px;
    gap: 16px;
    margin-bottom: 32px;
  }

  .duo-banner-title {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .duo-banner-desc {
    font-size: 0.85rem;
    line-height: 1.45;
    margin-bottom: 16px;
  }

  .duo-features-list {
    gap: 6px 12px;
    font-size: 0.78rem;
  }

  .duo-price-card {
    padding: 18px 14px;
    border-radius: 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .duo-big-price {
    font-size: 2.3rem;
  }

  .duo-mascot-wrapper {
    width: 100px;
    height: 100px;
  }

  .duo-mascot-banner-img {
    width: 90px;
    height: 90px;
  }

  .gemini-ai-icon-box {
    width: 90px;
    height: 90px;
    font-size: 46px;
    border-radius: 24px;
  }

  /* 5. Controles de Catálogo e Abas */
  .catalog-controls-section {
    margin-bottom: 24px;
  }

  .controls-bar {
    gap: 14px;
  }

  .search-and-status {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .search-input-wrap {
    width: 100%;
    min-width: 0;
  }

  .search-input {
    padding: 11px 16px 11px 42px;
    font-size: 0.88rem;
  }

  .category-tabs-container {
    width: 100%;
    max-width: 100%;
    padding-bottom: 6px;
    gap: 8px;
  }

  .category-pill-btn {
    padding: 6px 13px;
    font-size: 0.8rem;
    gap: 6px;
  }

  /* 6. Grade de Produtos no Mobile */
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 48px;
  }

  .product-card {
    padding: 16px;
    border-radius: 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .card-current-price {
    font-size: 1.5rem;
  }

  /* 7. Seções Secundárias (Segurança, FAQ, Rodapé) */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 44px;
  }

  .feature-box {
    padding: 16px;
    border-radius: 14px;
  }

  .faq-section {
    margin-bottom: 48px;
  }

  .section-title-center {
    font-size: 1.55rem;
  }

  .section-desc-center {
    font-size: 0.88rem;
    margin-bottom: 24px;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 0.92rem;
  }

  .faq-answer {
    padding: 0 16px 14px;
    font-size: 0.85rem;
  }

  .main-footer {
    padding: 36px 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .footer-col .brand-logo {
    justify-content: center;
  }

  /* 8. Modal de Checkout Ajustado para Telas Pequenas */
  .checkout-modal-backdrop {
    padding: 8px;
  }

  .checkout-modal-box {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    max-height: 94vh;
    overflow-y: auto;
  }
}

@media (max-width: 380px) {
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .live-sale-feed {
    display: none;
  }
}

/* ==========================================================================
   Payment Method Selector (PIX vs Apple Pay / Google Pay / Cartão)
   ========================================================================== */
.payment-method-selector {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 6px !important;
  margin-bottom: 6px !important;
}

.payment-method-option {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 16px !important;
  border-radius: var(--radius-md, 14px) !important;
  border: 1.5px solid var(--border-subtle, #e2e8f0) !important;
  background: var(--input-bg, #ffffff) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  user-select: none !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.payment-method-option:hover {
  border-color: #6366f1 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12) !important;
}

.payment-method-option.active {
  border-color: #6366f1 !important;
  background: rgba(99, 102, 241, 0.06) !important;
  box-shadow: 0 0 0 1px #6366f1, 0 4px 14px rgba(99, 102, 241, 0.15) !important;
}

[data-theme="dark"] .payment-method-option.active {
  background: rgba(99, 102, 241, 0.14) !important;
  border-color: #818cf8 !important;
}

.method-option-header {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  min-width: 0 !important;
  flex: 1 !important;
}

.method-icon-box {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.store-pix-icon {
  background: linear-gradient(135deg, #059669, #10b981) !important;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3) !important;
}

.store-wallet-icon {
  background: linear-gradient(135deg, #0f172a, #1e293b) !important;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.method-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  text-align: left !important;
  min-width: 0 !important;
  flex: 1 !important;
}

.method-title-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.method-name {
  font-family: var(--font-heading, sans-serif) !important;
  font-weight: 800 !important;
  font-size: 14.5px !important;
  color: var(--text-primary, #0f172a) !important;
}

.method-tag-pill {
  font-size: 10px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  padding: 2px 7px !important;
  border-radius: 999px !important;
}

.tag-store-fast {
  background: #dcfce7 !important;
  color: #15803d !important;
  border: 1px solid #86efac !important;
}

.tag-store-wallet {
  background: #e0f2fe !important;
  color: #0369a1 !important;
  border: 1px solid #7dd3fc !important;
}

.method-tag {
  font-size: 11.5px !important;
  color: var(--text-secondary, #64748b) !important;
  font-weight: 500 !important;
  word-break: break-word !important;
}

.payment-method-option.active .method-tag {
  color: #4f46e5 !important;
  font-weight: 600 !important;
}

@media (max-width: 480px) {
  .payment-method-option {
    padding: 10px 12px !important;
  }
  .method-option-header {
    gap: 10px !important;
  }
  .method-icon-box {
    width: 38px !important;
    height: 38px !important;
  }
  .method-name {
    font-size: 13.5px !important;
  }
  .method-tag {
    font-size: 10.5px !important;
    line-height: 1.25 !important;
  }
}

[data-theme="dark"] .payment-method-option.active .method-tag {
  color: #a5b4fc !important;
}

.method-check-circle {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  border: 2px solid var(--border-subtle, #cbd5e1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  color: transparent !important;
  background: var(--bg-surface, #ffffff) !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.payment-method-option.active .method-check-circle {
  background: #6366f1 !important;
  border-color: #6366f1 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4) !important;
}

/* Wallet Screen Inside Modal */
.wallet-screen {
  text-align: center;
  padding: 8px 0;
}

.wallet-brand-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.wallet-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

[data-theme="dark"] .wallet-badge {
  background: rgba(255, 255, 255, 0.06);
}

.wallet-spinner-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wallet-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(99, 102, 241, 0.3);
  border-top-color: #6366f1;
  animation: spinRing 1.2s linear infinite;
}

@keyframes spinRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.wallet-pulse-icon {
  font-size: 1.8rem;
}

.wallet-direct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.wallet-direct-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.4);
  background: linear-gradient(135deg, #1e293b, #334155);
  color: #ffffff;
}

.wallet-icon-brand-duo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  line-height: 1 !important;
}
.wallet-svg-apple {
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  fill: #ffffff !important;
  flex-shrink: 0 !important;
}
.wallet-svg-google {
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
}
.wallet-brand-sep {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.45) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  margin: 0 1px !important;
}


