/* ============================================================
   ANINDYTIA OKTAVIA — Global Design System
   "Sophisticated Authority" — Deep Navy × Amber/Gold
   ============================================================ */

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

/* ===== DESIGN TOKENS ===== */
:root {
  /* Core palette */
  --bg:           #f5f1e6; /* Warm, editorial paper off-white matching the magazine page */
  --bg-2:         #ffffff; /* Pure white */
  --surface:      rgba(255, 255, 255, 0.85); /* Glassmorphism background light */
  --surface-2:    rgba(255, 255, 255, 0.95);
  --surface-3:    rgba(255, 255, 255, 0.98);

  /* Borders - clean and defined dark lines */
  --border:       rgba(93, 105, 82, 0.12); /* soft olive borders */
  --border-hover: rgba(93, 105, 82, 0.3);

  /* Text - very crisp dark colors */
  --text:         #182015; /* Elegant dark charcoal-olive matching the text in the magazine */
  --text-muted:   #4a5345; /* Muted dark olive-gray for secondary text */
  --text-dim:     #6e7968; /* Dimmed olive-gray for labels */

  /* Primary accent — Sage Green (matching classic magazine layout) */
  --amber:        #5d6b54; /* Elegant dark olive/sage green matching the magazine background/primary accent */
  --amber-light:  #809177; /* Lighter sage green matching the magazine image boxes */
  --amber-bg:     #eae5d9; /* Warm paper tone matching the magazine paper layout block */
  --amber-border: #ced7ca; /* soft sage border color */
  --amber-glow:   rgba(93, 105, 82, 0.08);


  /* Secondary accent — Soft Blue/Teal */
  --sky:          #0ea5e9; /* Light blue */
  --sky-bg:       #f0f9ff;
  --sky-border:   #e0f2fe;
  --sky-glow:     rgba(14, 165, 233, 0.08);

  /* Supporting - Sage Green & Purple */
  --green:        #10b981; /* Sage Green */
  --green-bg:     #ecfdf5;
  --green-border: #d1fae5;

  --purple:       #a855f7; /* Purple */
  --purple-bg:    #faf5ff;
  --purple-border:#f3e8ff;

  /* Radius & Transitions */
  --radius-sm:    8px;
  --radius:       16px;
  --radius-lg:    24px;
  --transition:   0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --glass-blur:   blur(20px);
}

/* ===== ANIMATIONS & TRANSITIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.animate-fade-in-up {
  will-change: transform, opacity; /* Safari: pre-promote to GPU layer */
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-scale-up {
  will-change: transform, opacity; /* Safari: pre-promote to GPU layer */
  animation: scaleUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; animation-fill-mode: both; }
.delay-2 { animation-delay: 0.2s; animation-fill-mode: both; }
.delay-3 { animation-delay: 0.3s; animation-fill-mode: both; }
.delay-4 { animation-delay: 0.4s; animation-fill-mode: both; }

/* ===== BASE ===== */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
  letter-spacing: -0.012em;
  font-size: 16px;
}

/* ===== GRID MESH BACKGROUND ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 18, 30, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 18, 30, 0.04) 1px, transparent 1px);
  background-size: 24px 24px; /* Slightly tighter grid like PLM */
  pointer-events: none;
  z-index: 0;
}

/* ===== AMBIENT GLOWS ===== */
/* Safari fix: removed filter:blur(120px) — use wide radial-gradient stops instead.
   filter:blur on fixed elements forces 3 separate GPU compositing layers + re-paint on every scroll. */
.ambient {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  /* filter: blur(120px); REMOVED — was causing 3 heavyweight GPU ops on every scroll in Safari */
  transform: translateZ(0); /* Promote to own GPU layer without the blur cost */
  opacity: 1;
}
.ambient-1 {
  /* Larger + softer gradient stops to mimic the visual spread that blur(120px) created */
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.07) 0%, rgba(236, 72, 153, 0.03) 45%, transparent 70%);
  top: -300px; right: -250px;
}
.ambient-2 {
  width: 750px; height: 750px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, rgba(14, 165, 233, 0.02) 45%, transparent 70%);
  bottom: -200px; left: -220px;
}
.ambient-3 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.04) 0%, rgba(168, 85, 247, 0.01) 45%, transparent 70%);
  top: 50%; left: 45%;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  /* Safari fix: replaced backdrop-filter:blur(20px) with solid semi-opaque bg.
     sticky + backdrop-filter = re-composite on every single scroll frame in WebKit. */
  background: rgba(245, 241, 230, 0.97); /* Solid warm off-white — no blur needed */
  /* backdrop-filter removed */
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  height: 68px;
  display: flex;
  align-items: center;
}

.navbar-container {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-hover);
  object-fit: cover;
  flex-shrink: 0;
}

.brand-info { display: flex; flex-direction: column; }

.brand-name {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand-role {
  font-size: 10px;
  color: var(--amber);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(14, 18, 30, 0.04);
}

.nav-link.active {
  color: var(--amber);
  background: var(--amber-bg);
  border-color: var(--amber-border);
  font-weight: 600;
}

/* ===== DROPDOWN NAV ===== */
.nav-item-dropdown {
  position: relative;
}
.dropdown-menu-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(253, 251, 247, 0.99); /* Solid — dropdown only shows on hover, no need for blur */
  /* backdrop-filter removed for Safari performance */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 220px;
  box-shadow: 0 16px 40px rgba(14, 18, 30, 0.08);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

/* Invisible bridge to prevent hover loss between nav item and dropdown */
.dropdown-menu-list::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
}
/* Show dropdown on hover (desktop) or when parent has .open class */
@media (min-width: 641px) {
  .nav-item-dropdown:hover .dropdown-menu-list,
  .nav-item-dropdown.open .dropdown-menu-list {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }
}
.dropdown-item {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.dropdown-item:hover {
  color: var(--text);
  background: rgba(14, 18, 30, 0.04);
}
.dropdown-item.active {
  color: var(--amber);
  background: var(--amber-bg);
  font-weight: 600;
}

/* Mobile dropdown styles */
@media (max-width: 640px) {
  .nav-item-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .dropdown-menu-list {
    position: static;
    transform: none;
    width: 100%;
    background: rgba(14, 18, 30, 0.02);
    border: 1px solid rgba(14, 18, 30, 0.05);
    margin-top: 8px;
    padding: 6px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none; /* controlled by .open class */
    box-shadow: none;
  }
  .nav-item-dropdown.open .dropdown-menu-list {
    display: flex;
  }
  .dropdown-item {
    text-align: center;
    padding: 12px 16px;
    font-size: 14px;
    width: 100%;
  }
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.menu-toggle:hover { border-color: var(--border-hover); }
.menu-toggle svg { width: 20px; height: 20px; display: block; }

.mobile-hero-section,
.floating-cta {
  display: none !important;
}

/* ===== MAIN CANVAS ===== */
.main-canvas {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 28px 96px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ===== HERO SECTION ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  min-height: 520px;
  padding: 72px 0 80px;
}

.hero-content { display: flex; flex-direction: column; gap: 28px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--amber);
}

.hero-title {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  background: var(--amber);
  color: #0a0e1a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: -0.01em;
  border: 1px solid transparent;
}
.btn-primary:hover {
  background: var(--amber-light);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hover);
  transition: all var(--transition);
}
.btn-secondary:hover {
  border-color: var(--amber-border);
  color: var(--amber);
  background: var(--amber-bg);
}

/* Hero photo */
.hero-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-photo {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 10%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hover);
  filter: brightness(0.92) contrast(1.05);
}

.hero-photo-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background: rgba(253, 251, 247, 0.96);
  border: 1px solid var(--amber-border);
  border-radius: var(--radius);
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  /* backdrop-filter removed — badge uses will-change:transform for GPU layer instead */
  will-change: transform; /* Safari: pre-promote for floatBadge animation */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(245, 158, 11, 0.1);
  animation: floatBadge 3s ease-in-out infinite;
}

.hero-photo-badge.anchor-badge {
  top: 40px;
  left: -30px;
  right: auto;
  border-color: var(--purple-border, #f3e8ff);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(168, 85, 247, 0.1);
  animation-delay: -1.5s;
}

@keyframes floatBadge {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.badge-val {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.03em;
}

.badge-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===== STATS STRIP ===== */
.stats-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 40px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

.stat-val {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===== SECTION HEADER ===== */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
}

.section-link {
  font-size: 13px;
  color: var(--amber);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--transition);
  flex-shrink: 0;
}
.section-link:hover { opacity: 0.75; }

/* ===== CARDS ===== */
.card {
  position: relative;
  /* Safari fix: cards are static (not fixed/sticky), backdrop-filter still costly.
     Replaced with opaque white background — visually identical since cards have solid bg. */
  background: rgba(255, 255, 255, 0.97);
  /* backdrop-filter removed */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.03) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(14, 18, 30, 0.06);
}

.card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 20px; height: 20px; }
.card-icon.amber { background: var(--amber-bg); border: 1px solid var(--amber-border); color: var(--amber); }
.card-icon.sky   { background: var(--sky-bg);   border: 1px solid var(--sky-border);   color: var(--sky); }
.card-icon.green { background: var(--green-bg);  border: 1px solid var(--green-border);  color: var(--green); }
.card-icon.purple{ background: var(--purple-bg); border: 1px solid var(--purple-border); color: var(--purple); }

.card-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  width: fit-content;
  transition: all var(--transition);
  z-index: 2;
  margin-top: auto;
}
.card-btn.amber {
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  color: var(--amber);
}
.card-btn.amber:hover {
  background: var(--amber);
  color: #0a0e1a;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}
.card-btn.sky {
  background: var(--sky-bg);
  border: 1px solid var(--sky-border);
  color: var(--sky);
}
.card-btn.sky:hover {
  background: var(--sky);
  color: #0a0e1a;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}
.card-btn.green {
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  color: var(--green);
}
.card-btn.green:hover {
  background: var(--green);
  color: #0a0e1a;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

/* ===== BENTO GRID ===== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 72px;
}

/* ===== PRODUCT CARDS ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.product-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-card:hover {
  border-color: var(--amber-border);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(245, 158, 11, 0.05);
}

.product-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
}
.product-tag.amber  { background: var(--amber-bg);  color: var(--amber);  border: 1px solid var(--amber-border); }
.product-tag.sky    { background: var(--sky-bg);    color: var(--sky);    border: 1px solid var(--sky-border); }
.product-tag.purple { background: var(--purple-bg); color: var(--purple); border: 1px solid var(--purple-border); }
.product-tag.green  { background: var(--green-bg);  color: var(--green);  border: 1px solid var(--green-border); }

.product-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.product-price {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

.btn-buy {
  background: var(--amber);
  color: #0a0e1a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-buy:hover {
  background: var(--amber-light);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.3);
}

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}

.testimonial-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--amber);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.testimonial-meta {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ===== NEWSLETTER CTA ===== */
.newsletter-section {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.06) 0%, rgba(14, 165, 233, 0.04) 100%);
  border: 1px solid var(--amber-border);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.newsletter-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

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

.newsletter-input {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  color: var(--text);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-input::placeholder { color: var(--text-dim); }
.newsletter-input:focus { border-color: var(--amber-border); }

/* ===== PAGE HEADER ===== */
.page-header {
  margin-bottom: 56px;
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.eyebrow-pip {
  width: 5px; height: 5px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--amber);
}

.page-header h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.page-header-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 600px;
}

/* Default state: Hide bottom nav on desktop/tablet */
.mobile-bottom-nav {
  display: none !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 48px 0 56px;
    gap: 48px;
  }
  .hero-photo-wrap { order: -1; }
  .hero-photo { max-width: 340px; aspect-ratio: 3/4; }
  .hero-photo-badge { left: auto; right: -12px; }
  .hero-photo-badge.anchor-badge { right: auto; left: -12px; }
  .bento-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .menu-toggle { display: flex; align-items: center; justify-content: center; }

  .navbar-menu {
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: rgba(245, 241, 230, 0.99); /* Solid — no backdrop-filter for Safari performance */
    /* backdrop-filter removed */
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 8px;
    z-index: 1001;
    box-shadow: 0 16px 32px rgba(14, 18, 30, 0.08);
    
    /* Smooth Transition Setup */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    display: flex;
  }
  .navbar-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-link { 
    width: 100%; 
    text-align: center; 
    padding: 12px 16px; 
    font-size: 15px;
    font-weight: 700;
    color: var(--text-muted);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all var(--transition);
  }
  .nav-link:hover {
    background: var(--surface-3);
    color: var(--text);
  }
  .nav-link.active {
    color: var(--amber) !important;
    background: var(--amber-bg) !important;
    border-color: var(--amber-border) !important;
  }

  .main-canvas { padding: 32px 16px 64px; }
  
  /* Hero Refinement */
  .hero {
    padding: 32px 0 40px;
    gap: 36px;
  }
  .hero-title {
    font-size: 36px;
    line-height: 1.15;
    text-align: center;
  }
  .hero-sub {
    font-size: 15px;
    text-align: center;
    line-height: 1.6;
  }
  .hero-eyebrow {
    justify-content: center;
  }
  .hero-photo-wrap {
    width: 100%;
  }
  .hero-photo {
    max-width: 280px;
    width: 100%;
  }
  .hero-photo-badge {
    bottom: auto;
    top: -12px;
    right: 5%;
    left: auto;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
  }
  .hero-photo-badge.anchor-badge {
    right: auto;
    left: 5%;
  }
  .badge-val {
    font-size: 18px;
  }
  .badge-label {
    font-size: 8px;
  }

  /* Full Width Buttons for Mobile Native Feel */
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 15px;
    display: block;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background var(--transition);
  }
  .btn-primary:active, .btn-secondary:active {
    transform: scale(0.97) !important;
  }

  .bento-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 14px; }
  
  /* Stats Strip Mobile — 2x2 Grid Fitting 100% Width */
  .stats-strip {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 32px 0 36px 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    text-align: center;
  }
  .stat-item {
    flex: unset !important;
    width: 100% !important;
    min-width: unset !important;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 10px;
  }
  .stat-item:first-child { margin-left: 0; }
  .stat-item:last-child { margin-right: 0; }
  .stat-val {
    font-size: 16px;
    font-weight: 800;
    display: block;
  }
  .stat-label {
    font-size: 10px;
    margin-top: 2px;
    display: block;
    white-space: normal;
    line-height: 1.3;
    color: var(--text-muted);
  }
  .stat-divider { display: none; }
  
  .newsletter-section { padding: 36px 20px; margin-top: 48px !important; margin-bottom: 32px !important; }
  .newsletter-form { flex-direction: column; width: 100%; gap: 12px; }
  .newsletter-input { width: 100%; }

  /* Mobile Bottom Navigation Styles */
  .main-canvas { padding-bottom: 96px; } /* Ensure content doesn't get cut by bottom nav */
  
  .mobile-bottom-nav {
    position: fixed !important;
    bottom: calc(16px + env(safe-area-inset-bottom)) !important; /* Float above the bottom edge respecting iOS safe area */
    left: 16px !important;
    right: 16px !important;
    height: 64px !important;
    background: #182015 !important; /* Premium dark forest/charcoal background */
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 24px !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    z-index: 1000 !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4) !important;
    padding-bottom: 0 !important;
    overflow: visible !important; /* allow center circle to pop out */
  }

  .mobile-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
    width: 20% !important;
    height: 100% !important;
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), color var(--transition) !important;
  }

  .mobile-nav-item span {
    display: none !important; /* hide text labels to match mockup */
  }

  .mobile-nav-item svg {
    width: 22px !important;
    height: 22px !important;
    stroke: currentColor !important;
    stroke-width: 2.2 !important;
    fill: none !important;
    transition: stroke var(--transition), transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  }

  .mobile-nav-item:active {
    transform: scale(0.9) !important;
  }

  .mobile-nav-item.active {
    color: #ffffff !important;
    position: relative !important;
  }
  
  /* Small indicator dot below active navigation items */
  .mobile-nav-item.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: 8px !important;
    width: 4px !important;
    height: 4px !important;
    background: var(--amber) !important;
    border-radius: 50% !important;
  }

  /* Center Pop-out Tools Button */
  .mobile-bottom-nav .mobile-nav-item:nth-child(3) {
    position: relative !important;
    top: -16px !important; /* pull it out of the top of the bar */
    width: 56px !important;
    height: 56px !important;
    background: #e5c185 !important; /* brand gold/amber accent for contrast */
    border-radius: 50% !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3) !important;
    border: 4px solid #182015 !important; /* dark ring to cut into the bar */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #182015 !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
  }
  
  .mobile-bottom-nav .mobile-nav-item:nth-child(3):active {
    transform: scale(0.9) translateY(-16px) !important;
  }

  .mobile-bottom-nav .mobile-nav-item:nth-child(3) svg {
    width: 24px !important;
    height: 24px !important;
    color: #ffffff !important;
    stroke: #ffffff !important;
    transform: scale(1.05) !important;
  }

  .mobile-bottom-nav .mobile-nav-item:nth-child(3).active {
    background: var(--amber-light) !important;
    color: #ffffff !important;
  }
  
  .mobile-bottom-nav .mobile-nav-item:nth-child(3).active::after {
    display: none !important; /* no active dot for center button */
  }
}

/* Global Form Input Overrides for Light Mode */
.form-input {
  background: var(--bg-2) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  padding: 12px 14px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  display: block !important;
}

.form-input:focus {
  border-color: var(--amber) !important;
  box-shadow: 0 0 10px var(--amber-glow) !important;
}

/* ===== BRAND SOCIAL PROOF ===== */
.brand-showcase {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.brand-showcase-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.brand-marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
}

.brand-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  will-change: transform; /* Safari: pre-promote for continuous brandScroll animation */
  animation: brandScroll 35s linear infinite;
}

.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
}

.brand-logo-item svg,
.brand-logo-item img {
  height: 24px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  transition: all var(--transition);
}

.brand-logo-item img {
  opacity: 0.85;
  filter: none;
}

.brand-logo-item svg {
  fill: var(--text-dim);
  opacity: 0.65;
}

.brand-logo-item:hover svg {
  fill: var(--text);
  opacity: 1;
  transform: scale(1.15);
}

.brand-logo-item:hover img {
  opacity: 1;
  transform: scale(1.15);
}

@keyframes brandScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 32px)); }
}

@media (max-width: 640px) {
  /* Prevent iOS Safari automatic zoom on focus */
  input, select, textarea, .form-input, .newsletter-input {
    font-size: 16px !important;
  }

  .brand-showcase {
    padding: 36px 0;
    margin-left: -20px !important;
    margin-right: -20px !important;
  }
  .brand-showcase-title {
    font-size: 11px;
    margin-bottom: 24px;
    padding: 0 20px;
  }
  .brand-track {
    gap: 40px;
    animation-duration: 25s;
  }
  .brand-logo-item svg,
  .brand-logo-item img {
    height: 18px;
  }

  /* Andy Rowland Layout Redesign Overrides */
  .desktop-hero-wrap {
    display: none !important;
  }
  .mobile-hero-section {
    display: flex !important;
    padding: 220px 20px 40px !important; /* Push text down to leave face area clear */
    align-items: flex-end;
    justify-content: space-between;
    background: #5d6b54 !important; /* Premium Sage Green */
    border-bottom: 1px solid var(--border);
    position: relative !important;
    overflow: hidden !important;
    min-height: 500px !important; /* Taller container to display entire face and upper body */
    margin-left: -20px !important;
    margin-right: -20px !important;
    margin-top: -32px !important;
  }
  .mobile-hero-left {
    max-width: 100% !important;
    width: 100% !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 3 !important;
    position: relative !important;
  }
  .mobile-hero-name {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.04em;
    color: #ffffff !important;
    font-family: 'Bricolage Grotesque', sans-serif;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    text-transform: none !important;
    order: 2;
  }
  .mobile-hero-subtitle {
    font-size: 10px;
    color: #e5c185 !important; /* Premium gold accent color */
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    order: 1; /* Place as eyebrow above the name */
  }
  .mobile-hero-desc {
    font-size: 12.5px !important;
    color: rgba(255, 255, 255, 0.82) !important;
    line-height: 1.65 !important;
    margin-top: 4px !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5) !important;
    font-weight: 400 !important;
    border-left: 2px solid #e5c185; /* Editorial quote-style vertical accent line */
    padding-left: 12px !important;
    order: 3;
  }
  .mobile-hero-right {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    z-index: 1 !important;
  }
  .mobile-hero-right::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(to bottom, transparent 0%, transparent 45%, rgba(93, 107, 84, 0.5) 70%, #5d6b54 100%) !important;
    z-index: 2 !important;
  }
  .mobile-hero-avatar-cutout {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center 5% !important; /* Move photo down slightly so top of head/hair is fully visible */
    border: none;
    border-radius: 0;
    background: transparent;
    filter: none !important;
  }
  
  /* Bottom Dark Sage Container */
  .mobile-dark-container {
    background: #5d6b54 !important; /* Premium Sage Green */
    margin-left: -20px !important;
    margin-right: -20px !important;
    padding: 24px 20px 64px !important; /* Default bottom padding for first container */
    border-top-left-radius: 40px !important;
    border-top-right-radius: 40px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    box-shadow: inset 0 8px 24px rgba(0,0,0,0.2) !important;
    margin-top: -40px !important;
    position: relative !important;
    z-index: 5 !important;
  }
  .mobile-dark-container h2,
  .mobile-dark-container h3,
  .mobile-dark-container .brand-showcase-title,
  .mobile-dark-container .section-title,
  .mobile-dark-container .section-eyebrow,
  .mobile-dark-container .card-title,
  .mobile-dark-container .product-title {
    color: #ffffff !important;
  }
  .mobile-dark-container .section-eyebrow {
    color: #e5c185 !important; /* Gold/Amber accent */
  }
  .mobile-dark-container p,
  .mobile-dark-container .card-desc,
  .mobile-dark-container .product-desc,
  .mobile-dark-container .testimonial-text {
    color: #d1d5db !important; /* light gray for perfect readability */
  }

  /* High Contrast & Clear Logos on Mobile Dark Container */
  .mobile-dark-container .brand-showcase {
    padding: 12px 0 !important;
  }
  .mobile-dark-container .brand-showcase-title {
    margin-bottom: 12px !important;
  }
  .mobile-dark-container .brand-logo-item {
    height: 40px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .mobile-dark-container .brand-logo-item svg,
  .mobile-dark-container .brand-logo-item img {
    height: 20px !important;
    opacity: 1 !important;
  }
  .mobile-dark-container .brand-logo-item svg {
    fill: #182015 !important;
    color: #182015 !important;
  }
  .mobile-dark-container .brand-logo-item svg path,
  .mobile-dark-container .brand-logo-item svg circle,
  .mobile-dark-container .brand-logo-item svg text {
    fill: #182015 !important;
    opacity: 1 !important;
  }
  .mobile-dark-container .brand-logo-item svg [stroke] {
    stroke: #182015 !important;
  }
  .mobile-dark-container .brand-logo-item svg [fill="none"] {
    fill: none !important;
  }
  .mobile-dark-container .brand-logo-item svg [fill="var(--bg-1)"] {
    fill: #ffffff !important;
  }
  .mobile-dark-container .brand-logo-item img {
    filter: none !important;
  }

  /* Category Card layout for stats strip */
  .stats-strip {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 16px 0 !important;
    overflow-x: visible !important;
  }
  .stat-item {
    flex: none !important;
    width: 100% !important;
    height: 92px !important; /* fixed height to keep them equal size */
    border-radius: 16px !important;
    padding: 12px 4px !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    border: none !important;
  }
  .stat-item:nth-child(1) { background: #ced7ca !important; } /* Soft Olive Green */
  .stat-item:nth-child(2) { background: #fae8b4 !important; } /* Soft Gold/Yellow */
  .stat-item:nth-child(3) { background: #dbeafe !important; } /* Soft Pastel Blue */
  .stat-item:nth-child(4) { background: #f3e8ff !important; } /* Soft Lavender/Purple */

  .stat-val {
    font-size: 16px !important;
    font-weight: 900 !important;
    color: #182015 !important;
    margin-bottom: 2px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }
  .stat-label {
    font-size: 8px !important;
    color: #2b3328 !important; /* high contrast dark label text */
    line-height: 1.25 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: -0.01em !important;
  }

  /* Diferensiasi & cards mobile styling contrast */
  .card, .product-card, .nego-section-grid {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
    padding: 24px !important;
    box-shadow: none !important;
  }
  
  /* Compact cards overrides for bento-grid on mobile */
  .bento-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  .bento-grid .card:last-child {
    grid-column: span 2 !important;
    width: 100% !important;
  }
  .bento-grid .card {
    padding: 12px 6px !important;
    border-radius: 16px !important;
    min-height: 100px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  .bento-grid .card-icon {
    width: 38px !important;
    height: 38px !important;
    margin: 0 auto 8px auto !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .bento-grid .card-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
  .bento-grid .card-title {
    font-size: 10.5px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    margin: 0 !important;
    color: #ffffff !important;
  }
  .bento-grid .card-desc {
    display: none !important;
  }
  .bento-grid .card-btn {
    display: none !important;
  }
  .card-icon {
    background: rgba(255, 255, 255, 0.08) !important;
  }
  .card-btn {
    border-radius: 12px !important;
  }

  /* Testimonial cards sliding scroll-snap layout on mobile */
  .testimonial-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    gap: 16px !important;
    margin-left: -20px !important;
    margin-right: -20px !important;
    padding: 8px 20px 20px 20px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;  /* Firefox */
  }
  .testimonial-grid::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
  }
  .testimonial-card {
    flex: 0 0 290px !important; /* Fixed width for sliding cards */
    scroll-snap-align: center !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 20px !important;
    padding: 20px !important;
    box-shadow: none !important;
  }
  .testimonial-author {
    border-top: 1px solid rgba(255,255,255,0.06) !important;
    padding-top: 12px !important;
    margin-top: 12px !important;
  }
  .mobile-dark-container .testimonial-name {
    color: #ffffff !important;
  }
  .mobile-dark-container .testimonial-meta {
    color: #cbd5e1 !important;
  }

  /* Secondary Button Contrast Overrides */
  .mobile-dark-container .btn-secondary {
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }
  .mobile-dark-container .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
  }

  /* Buy/Waitlist Button Contrast Overrides on mobile sage background */
  .mobile-dark-container .btn-buy {
    background: #e5c185 !important;
    color: #182015 !important;
  }
  .mobile-dark-container .btn-buy:hover {
    background: #f3d4a2 !important;
    box-shadow: 0 0 18px rgba(229, 193, 133, 0.4) !important;
  }

  /* Product List Contrast Overrides */
  .mobile-dark-container .product-card li,
  .mobile-dark-container li {
    color: #cbd5e1 !important;
  }
  .mobile-dark-container .product-card span[style*="color: var(--text-dim)"],
  .mobile-dark-container .product-cta-col span {
    color: #cbd5e1 !important;
  }

  /* Floating sticky CTA */
  .floating-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    bottom: 84px !important; /* above bottom navigation bar */
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    min-width: 220px !important;
    max-width: 260px !important;
    z-index: 1002 !important;
    border-radius: 50px !important;
    font-weight: 900 !important;
    background: #f59e0b !important; /* bright gold matching theme but high visibility */
    color: #1c1917 !important;
    text-align: center !important;
    padding: 12px 24px !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    font-size: 14px !important;
    letter-spacing: -0.01em !important;
    text-decoration: none !important;
    animation: pulseGlow 2s infinite alternate;
  }
}

/* Header Ebook Action Button */
.nav-btn-ebook {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--amber) !important; /* dark olive/sage */
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  padding: 8px 16px !important;
  border-radius: 100px !important;
  text-decoration: none !important;
  transition: all var(--transition) !important;
  margin-left: 12px !important;
  box-shadow: 0 4px 12px rgba(93, 105, 82, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.nav-btn-ebook:hover {
  background: var(--amber-light) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(93, 105, 82, 0.25) !important;
}

@media (max-width: 640px) {
  .nav-btn-ebook {
    margin-left: 0 !important;
    margin-top: 16px !important;
    width: 100% !important;
    text-align: center !important;
    padding: 12px !important;
    font-size: 15px !important;
    border-radius: 12px !important;
  }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 12px 30px rgba(245, 158, 11, 0.3); }
  100% { box-shadow: 0 12px 35px rgba(245, 158, 11, 0.55); }
}

/* ===== BACK TO TOOLS NAV BAR ===== */
/* Shared nav bar pattern — used on kalkulator pages (.back-to-tools-wrap) and blog articles (.article-nav-bar) */
.back-to-tools-wrap,
.article-nav-bar {
  display: flex !important;
  width: 100% !important;
  box-sizing: border-box !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 32px !important;
  margin-bottom: 32px !important; /* breathing room above the h1 title */
  padding: 0 !important;
  gap: 12px !important;
}

/* Normalize eyebrow pill inside nav bar */
.back-to-tools-wrap .page-eyebrow,
.article-nav-bar .page-eyebrow {
  margin-bottom: 0 !important;
  height: 36px !important;        /* fixed height matches back button */
  padding: 0 14px !important;
  display: inline-flex !important;
  align-items: center !important;
}

.back-to-tools-link {
  display: inline-flex;
  align-items: center;
  height: 36px;                   /* fixed height = same as eyebrow pill */
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted) !important;
  text-decoration: none;
  transition: all var(--transition);
  border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  gap: 6px;
  white-space: nowrap;
}
.back-to-tools-link:hover {
  color: var(--text) !important;
  border-color: var(--border-hover);
  background: var(--bg-2);
}
.back-to-tools-link svg {
  transition: transform var(--transition);
  flex-shrink: 0;
}
.back-to-tools-link:hover svg {
  transform: translateX(-2px);
}

@media (max-width: 640px) {
  .back-to-tools-wrap,
  .article-nav-bar {
    margin-top: 20px !important;
    margin-bottom: 24px !important;
  }
  .back-to-tools-link {
    font-size: 12px;
    height: 32px !important;
    padding: 0 12px;
  }
  .back-to-tools-wrap .page-eyebrow,
  .article-nav-bar .page-eyebrow {
    height: 32px !important;
    font-size: 9.5px !important;
    padding: 0 10px !important;
  }

  /* Responsive blog article CTA box optimization */
  .cta-article {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 24px !important;
    gap: 20px !important;
    text-align: center !important;
    margin: 32px 0 !important;
  }
  .cta-article-text {
    flex: none !important;
    width: 100% !important;
  }
  .cta-article-btns {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .cta-article-btns a, 
  .cta-article-btns button {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  /* Responsive blog author box optimization */
  .author-box {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 16px !important;
    padding: 20px !important;
  }
}
