/* 1. CSS VARIABLES */
:root {
  /* Premium HSL Palette (WCAG 2.2 AA Compliant against White) */
  --color-light-blue: hsl(200, 90%, 80%);
  --color-teal: hsl(199, 89%, 30%);
  --color-navy: hsl(222, 47%, 11%);
  --color-yellow: hsl(35, 100%, 35%);
  --color-orange: hsl(24, 88%, 40%);

  /* Premium Micro-Aesthetics Mappings */
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.4);

  /* Semantic Mappings */
  --primary: var(--color-teal);
  --primary-hover: var(--color-light-blue);
  --accent: var(--color-orange);
  --accent-hover: var(--color-yellow);
  --dark: var(--color-navy);
  --light: #ffffff;
  --light-secondary: #f8fafc; /* slate-50 equivalent */
  --text-main: var(--color-navy);
  --text-muted: rgba(2, 48, 71, 0.6); /* Navy with opacity */
}

/* 2. BASE RESET */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--light);
  overflow-x: hidden;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

/* 3. HERO & GLOBALS SECTION */
.bg-navy { background-color: var(--color-navy); }
.text-navy { color: var(--color-navy); }
.bg-teal { background-color: var(--color-teal); }
.text-teal { color: var(--color-teal); }
.bg-light-blue { background-color: var(--color-light-blue); }
.bg-orange { background-color: var(--color-orange); }
.text-orange { color: var(--color-orange); }
.bg-yellow { background-color: var(--color-yellow); }

.gradient-hero {
  background: radial-gradient(circle at top right, rgba(142, 202, 230, 0.15), transparent 40%),
              radial-gradient(circle at bottom left, rgba(251, 133, 0, 0.05), transparent 30%);
}

.gradient-final-cta {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-teal) 100%);
}

/* 4. UTILITIES & ANIMATIONS */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.shadow-premium {
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}

.shadow-accent {
  box-shadow: 0 10px 30px -5px rgba(191, 76, 12, 0.15);
}

.shadow-teal {
  box-shadow: 0 10px 30px -5px rgba(8, 86, 145, 0.15);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--light-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-light-blue);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-teal);
}

/* Custom Details Accordion */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}
details[open] summary ~ * {
  animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 5. AFFILIATE CORE STYLES */
/* Sticky Kupon Bar */
.sticky-kupon-bar {
  position: relative;
  width: 100%;
  background: linear-gradient(90deg, var(--color-navy) 0%, var(--color-teal) 100%);
  color: white;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 15px;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.sticky-kupon-bar.hidden {
  transform: translateY(-100%);
}
.kupon-badge {
  background: var(--color-orange);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.btn-copy-sm {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-copy-sm:hover {
  background: white;
  color: var(--color-navy);
}

/* Floating CTA (Mobile) */
.floating-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  z-index: 99;
  display: none; /* hidden on desktop */
}
@media (max-width: 768px) {
  .floating-cta {
    display: block;
  }
  .sticky-kupon-bar {
    font-size: 12px;
    padding: 8px 10px;
    gap: 8px;
    flex-wrap: wrap;
  }
}
.btn-floating {
  display: block;
  width: 100%;
  background: var(--color-orange);
  color: white;
  text-align: center;
  padding: 14px;
  border-radius: 25px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgba(191, 76, 12, 0.4);
  border: 2px solid white;
}

/* Footer Affiliate */
.lp-footer {
  background: var(--color-navy);
  color: white;
  padding: 40px 20px;
  text-align: center;
  border-top: 5px solid var(--color-teal);
}
.footer-affiliate p {
  color: var(--color-light-blue);
  margin-bottom: 20px;
}
.footer-contacts {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
}
.contact-btn:hover {
  background: var(--color-teal);
  transform: translateY(-2px);
}
.footer-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}
