/* LetyShops Affiliate Landing Page Stylesheet */
/* Design System Tokens */
:root {
  --bg-dark: #07080a;
  --bg-card: rgba(20, 21, 28, 0.65);
  --bg-card-hover: rgba(28, 30, 40, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(255, 200, 0, 0.25);
  
  --color-primary: #FFC800; /* LetyShops Yellow */
  --color-primary-glow: rgba(255, 200, 0, 0.35);
  --color-accent: #FFAA00;
  --color-accent-glow: rgba(255, 170, 0, 0.20);
  --color-secondary: #FFD700;
  --color-secondary-glow: rgba(255, 215, 0, 0.15);
  --color-green: #00cc7a;
  --color-green-glow: rgba(0, 204, 122, 0.20);
  --color-red: #ff3b57;
  --color-red-glow: rgba(255, 59, 87, 0.20);
  --color-yellow: #FFC800;
  
  --text-main: #ECEFF3;
  --text-muted: #8E9BAE;
  --text-dark: #4A5568;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Anchor Link Reset */
a {
  color: inherit;
  text-decoration: none;
}


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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: 
    radial-gradient(ellipse at 15% 0%, rgba(255, 200, 0, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 0%, rgba(255, 170, 0, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 200, 0, 0.02) 0%, transparent 40%);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Language Switcher Logic (Zero CLS) */
html[lang="uk"] .lang-en { display: none !important; }
html[lang="en"] .lang-uk { display: none !important; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(7, 8, 10, 0.88);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: var(--text-main);
  text-decoration: none;
}

.logo-accent {
  color: var(--color-primary);
}

/* Language Toggle */
.lang-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 3px;
  border-radius: 9999px;
  cursor: pointer;
}

.lang-btn {
  padding: 0.35rem 0.85rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-btn.active {
  background: var(--color-primary);
  color: #07080a;
  box-shadow: 0 2px 8px var(--color-primary-glow);
}

/* Hero Section */
.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-accent), transparent);
  opacity: 0.4;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
}

.hero-content {
  max-width: 650px;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 204, 122, 0.10);
  border: 1px solid rgba(0, 204, 122, 0.25);
  color: var(--color-green);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-green-glow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 204, 122, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 204, 122, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 204, 122, 0); }
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #FFF 50%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 640px) {
  h1 { font-size: 2.25rem; }
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.cta-primary-wrapper {
  width: 100%;
}

.cta-secondary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
  max-width: 500px;
  align-items: stretch;
}

@media (max-width: 968px) {
  .cta-container { align-items: center; }
  .cta-secondary-grid { margin: 0 auto;   align-items: stretch;
}
}

@media (max-width: 640px) {
  .cta-secondary-grid { grid-template-columns: 1fr;   align-items: stretch;
}
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #07080a;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2.25rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(255, 200, 0, 0.25);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  width: 100%;
  max-width: 500px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 200, 0, 0.45);
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(1px);
}

.btn-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-sub:hover {
  background: rgba(255, 200, 0, 0.06);
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.btn-accent {
  background: rgba(255, 200, 0, 0.10);
  color: var(--color-primary);
  border-color: rgba(255, 200, 0, 0.3);
}

.btn-accent:hover {
  background: var(--color-primary);
  color: #07080a;
  box-shadow: 0 4px 15px var(--color-primary-glow);
}

.cta-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.cta-hint svg {
  color: var(--color-primary);
}

/* Calculator Visual */
.calc-container {
  background: rgba(15, 17, 23, 0.90);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 40px rgba(255, 200, 0, 0.05);
  overflow: hidden;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.calc-header {
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calc-title {
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calc-title svg {
  color: var(--color-primary);
}

.calc-body {
  padding: 1.5rem;
  text-align: left;
}

.calc-group {
  margin-bottom: 1.5rem;
}

.calc-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Select Styling */
.calc-select-wrapper {
  position: relative;
}

.calc-select {
  width: 100%;
  background: #101117;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-main);
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: var(--transition-smooth);
}

.calc-select option {
  background: #101117;
  color: var(--text-main);
  padding: 0.5rem;
}

.calc-select option:checked,
.calc-select option:hover {
  background: #1c1e28;
  color: var(--color-primary);
}

.calc-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(255, 200, 0, 0.15);
}

.calc-select-wrapper::after {
  content: '▼';
  font-size: 0.7rem;
  color: var(--text-muted);
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Slider Styling */
.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.calc-amount-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.calc-slider {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  outline: none;
  appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary-glow);
  transition: transform 0.1s;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Results Display */
.calc-results {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calc-res-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.calc-res-val {
  font-weight: 600;
}

.calc-res-row.highlight {
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

.calc-res-row.highlight .calc-res-label {
  color: #FFF;
  font-weight: 700;
}

.calc-res-row.highlight .calc-res-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
  text-shadow: 0 0 15px rgba(255, 200, 0, 0.2);
  font-family: var(--font-mono);
}

/* Stats Bar */
.stats-bar {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 200, 0, 0.02);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #FFF 40%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.stat-plus {
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
}

/* Section Styles */
.section-title-wrapper {
  text-align: center;
  margin-bottom: 3.5rem;
}

h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #FFF, var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

.section-padding {
  padding: 5rem 0;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.25rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 1.5rem;
}

.benefit-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: var(--transition-smooth);
}

.benefit-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 200, 0, 0.05);
}

.benefit-card:hover::after {
  opacity: 1;
}

.benefit-icon-box {
  width: 56px;
  height: 56px;
  background: rgba(255, 200, 0, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  border: 1px solid rgba(255, 200, 0, 0.15);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.benefit-card:hover .benefit-icon-box {
  background: var(--color-primary);
  color: #07080a;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 200, 0, 0.2);
}

.benefit-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: white;
}

.benefit-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Popular Stores Showcase */
.stores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1100px) {
  .stores-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .stores-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stores-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

a.store-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.store-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.store-card::after {
  content: '→ Отримати кешбек';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.45rem;
  transform: translateY(100%);
  transition: transform 0.22s ease;
}

.store-card:hover::after {
  transform: translateY(0);
}

.store-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(255, 200, 0, 0.08);
}

.store-logo {
  width: 100%;
  height: 64px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: var(--transition-smooth);
  padding: 0.5rem;
}

.store-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: var(--transition-smooth);
}

/* Logos with embedded brand colors — skip filter */
.logo-colored img {
  filter: none;
  opacity: 0.85;
}

.store-card:hover .store-logo {
  border-color: var(--color-primary);
  background: rgba(255, 200, 0, 0.04);
}

.store-card:hover .store-logo img {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

.store-card:hover .logo-colored img {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

.store-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: white;
}

.store-cashback-details {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.85rem;
}

.store-cashback-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
  color: var(--text-muted);
}

.store-cashback-row:last-child {
  margin-bottom: 0;
}

.store-cb-val {
  font-weight: 600;
}

.store-cb-val.boost {
  color: var(--color-primary);
  font-weight: 700;
}

/* How It Works Section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem 2rem 2rem;
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: -1.25rem;
  left: 2rem;
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(255, 200, 0, 0.12);
  line-height: 1;
}

.step-card:hover .step-number {
  color: rgba(255, 200, 0, 0.22);
}

.step-icon-box {
  width: 56px;
  height: 56px;
  background: rgba(255, 200, 0, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 200, 0, 0.15);
  transition: var(--transition-smooth);
}

.step-card:hover .step-icon-box {
  background: var(--color-primary);
  color: #07080a;
  box-shadow: 0 4px 15px var(--color-primary-glow);
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: white;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Pricing/CTA Banner Section */
.pricing-section {
  position: relative;
}

.pricing-card {
  background: linear-gradient(135deg, rgba(20, 21, 28, 0.9) 0%, rgba(10, 11, 14, 0.95) 100%);
  border: 1px solid var(--border-color-hover);
  border-radius: 20px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 40px rgba(255, 200, 0, 0.03);
}

@media (max-width: 640px) {
  .pricing-card {
    padding: 3rem 1.5rem;
  }
}

.badge-promo {
  display: inline-flex;
  background: rgba(255, 200, 0, 0.10);
  border: 1px solid rgba(255, 200, 0, 0.20);
  color: var(--color-primary);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.pricing-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 650px;
  margin: 2rem auto 3rem;
  text-align: left;
}

@media (max-width: 640px) {
  .pricing-features-list {
    grid-template-columns: 1fr;
  }
}

.pricing-feat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-main);
}

.pricing-feat-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.pricing-cta-dual {
  display: flex;
  justify-content: center;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .pricing-cta-dual {
    flex-direction: column;
    align-items: center;
  }
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--border-color-hover);
  background: var(--bg-card-hover);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  color: white;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}

.faq-icon {
  color: var(--text-muted);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  background-color: #040507;
  padding: 4rem 0 3rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-main);
  text-decoration: none;
}

.footer-disclosure {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 800px;
  line-height: 1.6;
}

.footer-disclosure a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-disclosure a:hover {
  text-decoration: underline;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-dark);
  margin-top: 1rem;
}

/* Accessibility Focus Indicators */
:focus-visible {
  outline: 3px solid var(--color-primary) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 3px rgba(7, 8, 10, 0.8), 0 0 15px var(--color-primary-glow) !important;
}

/* Temu Store Card Specific Styling */
.store-rating-row {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
  justify-content: center;
  width: 100%;
}
.store-rating {
  color: var(--color-primary);
  font-weight: 700;
}
.store-reviews-count {
  color: var(--text-muted);
}
.store-time-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  width: 100%;
  justify-content: center;
}
.store-time-row svg {
  color: var(--color-primary);
  flex-shrink: 0;
}
.temu-cb-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.store-cb-group {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.5rem;
  width: 100%;
}
.store-cb-group:first-child {
  border-top: none;
  padding-top: 0;
}
.store-cb-group-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  text-align: left;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Mobile Media Queries (at max-width 768px) */
@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0 2rem;
  }
  h1 {
    font-size: 2rem;
  }
  .store-card {
    padding: 1.25rem;
  }
  .benefits-grid {
    gap: 1rem;
  }
  .benefit-card {
    padding: 1.5rem;
    gap: 1rem;
  }
  .section-padding {
    padding: 3rem 0;
  }
}

/* Verified Badge Styles */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--color-green);
  opacity: 0.85;
  margin-top: 0.5rem;
}
.verified-badge time { font-weight: 600; }

/* Limitations Grid Styles */
.limitations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.limitation-card {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 12px;
  padding: 1.5rem;
}
.limitation-card h3 { font-size: 1rem; margin-bottom: 0.5rem; color: #F87171; }
.limitation-card p { font-size: 0.9rem; color: var(--text-muted); }
@media (max-width: 768px) { .limitations-grid { grid-template-columns: 1fr; } }


/* ── Hub Navigation (Sprint 1) ── */
.hub-nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  flex: 1;
  justify-content: center;
}
.hub-nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.375rem 0.625rem;
  border-radius: 6px;
  transition: var(--transition-smooth);
  white-space: nowrap;
}
.hub-nav-link:hover { color: var(--text-main); background: rgba(255, 255, 255, 0.06); }
.hub-nav-link[aria-current="page"] { color: var(--text-main); background: rgba(255, 255, 255, 0.09); }
.hub-nav-link:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.header-right { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: var(--transition-smooth);
}
.hamburger:hover { border-color: var(--border-color-hover); }
.hamburger:hover span { background: var(--text-main); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1024px) {
  .hub-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(7, 10, 19, 0.97);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    gap: 0.25rem;
    z-index: 99;
    -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  }
  .hub-nav.open { display: flex; }
  .hub-nav-link { padding: 0.625rem 0.875rem; font-size: 0.9375rem; }
  .hamburger { display: flex; }
}


/* ── Unified Footer Style ── */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo { font-size: 1.15rem; margin-bottom: 0.75rem; display: inline-block; text-decoration: none; }
.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 260px;
}
.footer-nav-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--text-main); }
.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 0.75rem;
}
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  text-align: center;
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


/* ==========================================================================
   MOBILE ADAPTATION & ACCESSIBILITY FIXES (AUDIT 2026)
   ========================================================================== */

/* === Safe Area & Viewport Integration === */
.header, header {
  padding-top: env(safe-area-inset-top, 0px) !important;
}

@media (max-width: 1024px) {
  .hub-nav {
    top: calc(64px + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
  }
}

/* === Touch Targets Optimization === */
@media (max-width: 768px) {
  .hamburger {
    width: 44px !important;
    height: 44px !important;
    padding: 12px !important;
  }
  
  .lang-btn {
    padding: 8px 14px !important;
    font-size: 0.9rem !important;
  }
}

/* === iOS Zoom Prevention (Inputs >= 16px) === */
@media (max-width: 768px) {
  .calc-select,
  .input-group select,
  .input-group input,
  .invest-num-field {
    font-size: 16px !important;
  }
}

/* === Accessibility: Focus Visible compliance === */
.invest-num-field:focus-visible,
.calc-select:focus-visible,
.input-group select:focus-visible,
.input-group input:focus-visible {
  outline: none;
  border-color: var(--color-primary) !important;
  box-shadow: var(--focus-ring) !important;
}

.invest-num-field:focus:not(:focus-visible),
.calc-select:focus:not(:focus-visible),
.input-group select:focus:not(:focus-visible),
.input-group input:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
  border-color: var(--border-color);
}

/* === Reduced Motion Integration === */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: scroll !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}


/* ── Audit Utility Classes (Sprint 2) ── */
.section-shaded { background: rgba(0, 0, 0, 0.1); }
.border-t { border-top: 1px solid var(--border-color); }
.border-b { border-bottom: 1px solid var(--border-color); }

/* Technical Documentation / Knowledge Hub section */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .docs-grid {
    grid-template-columns: 1fr;
  }
}

.docs-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}

.docs-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(240, 185, 11, 0.05);
}

.docs-badge-wrapper {
  margin-bottom: 1rem;
  display: flex;
  gap: 0.5rem;
}

.docs-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.docs-badge.api {
  background: rgba(240, 185, 11, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(240, 185, 11, 0.2);
}

.docs-badge.security {
  background: rgba(246, 70, 93, 0.1);
  color: var(--color-red);
  border: 1px solid rgba(246, 70, 93, 0.2);
}

.docs-badge.regulation {
  background: rgba(14, 203, 129, 0.1);
  color: var(--color-green);
  border: 1px solid rgba(14, 203, 129, 0.2);
}

.docs-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.docs-card:hover .docs-card-title {
  color: var(--color-primary);
}

.docs-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.docs-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
}

.docs-card:hover .docs-card-link svg {
  transform: translateX(4px);
  transition: transform 0.2s ease;
}
