/* ============================================
   ROYALSTREAM.SHOP — Premium Design System v2
   Professional Supplement Review Platform
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=DM+Serif+Display:ital@0;1&display=swap');

/* --- CSS Variables --- */
:root {
  /* Core */
  --bg-primary: #f8f9fc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f0f2f8;
  --bg-dark: #0f1724;
  --bg-dark-secondary: #1a2332;
  
  /* Text */
  --text-primary: #1a1a2e;
  --text-secondary: #5a5a7a;
  --text-muted: #8a8aaa;
  --text-inverse: #ffffff;
  --text-inverse-muted: #a0a8c0;
  
  /* Accent - Medical/Health Premium */
  --accent-primary: #1a6b5a;
  --accent-primary-light: #219a7a;
  --accent-primary-dark: #124a3e;
  --accent-secondary: #2d5ba0;
  --accent-gold: #b8860b;
  --accent-gold-light: #d4a030;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0f1724 0%, #1a2332 50%, #1f2b3d 100%);
  --gradient-card: linear-gradient(145deg, #ffffff, #f8f9fc);
  --gradient-primary: linear-gradient(135deg, #1a6b5a, #219a7a);
  --gradient-gold: linear-gradient(135deg, #b8860b, #d4a030);
  --gradient-cta: linear-gradient(135deg, #1a6b5a, #2d5ba0);
  --gradient-dark-card: linear-gradient(145deg, #1a2332, #1f2b3d);
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 30px rgba(26, 107, 90, 0.15);
  
  /* Borders */
  --border-light: 1px solid rgba(0,0,0,0.06);
  --border-medium: 1px solid rgba(0,0,0,0.1);
  --border-accent: 1px solid rgba(26, 107, 90, 0.25);
  
  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  
  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: var(--accent-primary-light);
}

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

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-primary);
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.01em;
  font-weight: 400;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-primary);
  margin-bottom: 12px;
  padding: 5px 14px;
  border: 1px solid rgba(26, 107, 90, 0.2);
  border-radius: 4px;
  background: rgba(26, 107, 90, 0.05);
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-inverse);
  box-shadow: 0 2px 12px rgba(26, 107, 90, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(26, 107, 90, 0.35);
  color: var(--text-inverse);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--text-inverse);
  box-shadow: 0 2px 12px rgba(184, 134, 11, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(184, 134, 11, 0.35);
  color: var(--text-inverse);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-inverse);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline-light:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8rem;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition-base);
}

.navbar.scrolled {
  background: rgba(15, 23, 36, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-inverse);
  text-decoration: none;
}

.navbar-logo-img {
  width: 32px;
  height: 32px;
}

.navbar-logo span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

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

.navbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.navbar-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary-light);
  transition: var(--transition-base);
  border-radius: 2px;
}

.navbar-links a:hover {
  color: var(--text-inverse);
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-cta {
  background: var(--gradient-primary);
  color: var(--text-inverse) !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  transition: var(--transition-base);
}

.navbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(26, 107, 90, 0.3);
}

.navbar-cta::after {
  display: none !important;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-inverse);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* --- Language Selector --- */
.lang-selector {
  position: relative;
  display: inline-block;
  margin-left: 14px;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-base);
  text-transform: uppercase;
}

.lang-btn:hover {
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--text-inverse);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.15);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #121224;
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  min-width: 160px;
  z-index: 2000;
  overflow: hidden;
  animation: langFadeIn 0.18s ease forwards;
}

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

.lang-selector.open .lang-dropdown {
  display: flex;
}

.lang-dropdown a {
  padding: 10px 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.lang-dropdown a:hover {
  background: rgba(212, 175, 55, 0.08);
  color: #f0d060;
  padding-left: 20px;
}

.lang-dropdown a.active {
  color: #d4af37;
  font-weight: 700;
  background: rgba(212, 175, 55, 0.04);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(33, 154, 122, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45, 91, 160, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-primary-light);
  padding: 6px 14px;
  border: 1px solid rgba(33, 154, 122, 0.2);
  background: rgba(33, 154, 122, 0.06);
  border-radius: 4px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  color: var(--text-inverse);
  margin-bottom: 20px;
}

.hero h1 .hero-highlight {
  color: var(--accent-primary-light);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-inverse-muted);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-inverse);
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-inverse-muted);
  margin-top: 2px;
}

/* Hero Visual - Product Showcase */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-product-showcase {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-product-main {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-product-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.hero-product-image {
  width: 240px;
  height: 240px;
  object-fit: contain;
  margin: 0 auto 20px;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.3));
}

.hero-product-name {
  font-size: 1.2rem;
  color: var(--text-inverse);
  font-weight: 600;
  margin-bottom: 4px;
}

.hero-product-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.hero-product-stars {
  color: var(--accent-gold-light);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.hero-product-review-count {
  font-size: 0.75rem;
  color: var(--text-inverse-muted);
}

.hero-product-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-product-badge {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(33, 154, 122, 0.1);
  color: var(--accent-primary-light);
  border: 1px solid rgba(33, 154, 122, 0.15);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-inverse-muted);
  font-size: 0.7rem;
  opacity: 0.6;
  animation: hero-bounce 2.5s infinite;
}

@keyframes hero-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--bg-secondary);
  border-bottom: var(--border-light);
  padding: 20px 0;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-icon {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

/* ============================================
   SECTION GENERIC
   ============================================ */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

.section-white {
  background: var(--bg-secondary);
}

.section-gray {
  background: var(--bg-tertiary);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-inverse);
}

.section-dark .section-title {
  color: var(--text-inverse);
}

.section-dark .section-subtitle {
  color: var(--text-inverse-muted);
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-secondary);
  border: var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: rgba(26, 107, 90, 0.15);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--gradient-gold);
  color: var(--text-inverse);
}

.product-card-badge-best {
  background: var(--gradient-primary);
}

.product-card-image-wrap {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition-base);
}

.product-card-img-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(255,255,255,0.9);
  letter-spacing: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover .product-card-img-placeholder {
  transform: scale(1.05);
  box-shadow: 0 12px 36px rgba(0,0,0,0.18);
}

.product-cell-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  flex-shrink: 0;
}

.product-card:hover .product-card-image {
  transform: scale(1.05);
}

.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.product-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
  flex-grow: 1;
}

.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.product-tag {
  font-size: 0.65rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(26, 107, 90, 0.06);
  color: var(--accent-primary);
  border: 1px solid rgba(26, 107, 90, 0.12);
}

.product-tag-gold {
  background: rgba(184, 134, 11, 0.06);
  color: var(--accent-gold);
  border-color: rgba(184, 134, 11, 0.12);
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.stars {
  color: var(--accent-gold-light);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.rating-text {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.product-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
  padding-top: 14px;
  border-top: var(--border-light);
}

.price-current {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.price-from {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.price-original {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 4px;
}

.product-card-btn {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  background: var(--gradient-primary);
  color: var(--text-inverse);
  transition: var(--transition-base);
}

.product-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 107, 90, 0.25);
  color: var(--text-inverse);
}

.product-card-btn-outline {
  background: transparent;
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
}

.product-card-btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-section {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
}

.comparison-table thead {
  background: var(--bg-dark);
}

.comparison-table th {
  padding: 16px 20px;
  text-align: left;
  color: var(--text-inverse);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.comparison-table th:first-child {
  border-top-left-radius: var(--radius-md);
}

.comparison-table th:last-child {
  border-top-right-radius: var(--radius-md);
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: var(--border-light);
  color: var(--text-secondary);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(26, 107, 90, 0.02);
}

.comparison-table .product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comparison-table .product-cell img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.comparison-table .product-cell span {
  font-weight: 600;
  color: var(--text-primary);
}

.comparison-table .check {
  color: var(--accent-primary);
  font-weight: 700;
}

.comparison-table .cross {
  color: #c0392b;
  font-weight: 700;
}

.comparison-table .rating-cell {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   CATEGORIES
   ============================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.category-card {
  background: var(--bg-secondary);
  border: var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition-base);
  cursor: pointer;
}

.category-card:hover {
  border-color: rgba(26, 107, 90, 0.15);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.category-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: rgba(26, 107, 90, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.category-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.category-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.category-count {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.7rem;
  color: var(--accent-primary);
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(26, 107, 90, 0.05);
  border: 1px solid rgba(26, 107, 90, 0.1);
}

/* ============================================
   WHY US
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.why-card {
  background: var(--bg-secondary);
  border: var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition-base);
}

.why-card:hover {
  border-color: rgba(26, 107, 90, 0.12);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.why-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  background: rgba(26, 107, 90, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.why-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
  background: var(--bg-dark);
}

.newsletter-wrapper {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.newsletter-wrapper h2 {
  color: var(--text-inverse);
  margin-bottom: 12px;
}

.newsletter-wrapper p {
  color: var(--text-inverse-muted);
  margin-bottom: 28px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: var(--text-inverse);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-base);
}

.newsletter-form input:focus {
  border-color: var(--accent-primary-light);
  background: rgba(255,255,255,0.08);
}

.newsletter-form input::placeholder {
  color: var(--text-inverse-muted);
}

.newsletter-form button {
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--gradient-primary);
  color: var(--text-inverse);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-base);
  white-space: nowrap;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(26, 107, 90, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-dark);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-inverse);
  margin-bottom: 12px;
  font-weight: 400;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-inverse-muted);
  max-width: 320px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-inverse-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition-fast);
}

.footer-col a:hover {
  color: var(--accent-primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-inverse-muted);
}

.footer-disclaimer {
  margin-top: 24px;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.04);
}

.footer-disclaimer p {
  font-size: 0.7rem;
  color: var(--text-inverse-muted);
  line-height: 1.7;
  opacity: 0.7;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.animate-in-delay-1 { animation-delay: 0.1s; }
.animate-in-delay-2 { animation-delay: 0.2s; }
.animate-in-delay-3 { animation-delay: 0.3s; }
.animate-in-delay-4 { animation-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero p {
    margin: 0 auto 36px;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-product-showcase {
    max-width: 360px;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 36, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  
  .navbar-links.active {
    display: flex;
  }
  
  .navbar-toggle {
    display: block;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .categories-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .trust-bar .container {
    gap: 20px;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .comparison-table {
    font-size: 0.75rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    justify-content: center;
  }
  
  .product-card-image-wrap {
    width: 140px;
    height: 140px;
  }
}

/* ============================================
   /* ============================================
   HERO CAROUSEL
   ============================================ */
.hero-carousel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(10px);
}

.hero-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.hero-carousel-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-primary);
  opacity: 0.9;
}

.hero-carousel-arrows {
  display: flex;
  gap: 6px;
}

.hero-carousel-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.hero-carousel-arrow:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

.hero-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}

.hero-carousel-dots .carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.hero-carousel-dots .carousel-dot:hover {
  background: rgba(255,255,255,0.5);
}

.hero-carousel-dots .carousel-dot.active {
  background: var(--accent-primary);
  width: 22px;
  border-radius: 4px;
}

.hero-carousel-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.hero-carousel-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.hero-carousel-link:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.hero-carousel-link.hidden-carousel {
  display: none;
}

.hero-carousel-link.carousel-visible {
  display: flex;
  animation: heroFadeIn 0.3s ease forwards;
}

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

.hero-carousel-link img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
  border-radius: 8px;
}

.hero-carousel-img-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: rgba(255,255,255,0.9);
  letter-spacing: 1px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hero-carousel-link:hover .hero-carousel-img-placeholder {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.hero-carousel-link:hover img {
  transform: scale(1.1);
}

.hero-carousel-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  line-height: 1.2;
}

.hero-carousel-link:hover .hero-carousel-name {
  color: var(--accent-primary-light);
}

@media (max-width: 768px) {
  .hero-carousel {
    padding: 14px;
  }
  
  .hero-carousel-track {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
  }
  
  .hero-carousel-link img {
    width: 60px;
  }
  
  .hero-carousel-name {
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .hero-carousel-track {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 6px;
  }
  
  .hero-carousel-link {
    padding: 10px 8px;
  }
  
  .hero-carousel-link img {
    width: 50px;
  }
}
