/* ===== CSS VARIABLES ===== */
:root {
  --bg: #0b0f13;
  --bg2: #0e141b;
  --text: #e7ecf3;
  --muted: #98a2ad;
  --brand: #e63946;
  --brand2: #2a9d8f;
  --accent: #457b9d;
  --card: #121923;
  --line: #ffffff1a;
  --radius: 1.1rem;
  --container: min(1120px, 92vw);
  --s-1: clamp(.92rem, .86rem + .25vw, 1rem);
  --s0: clamp(1rem, .95rem + .3vw, 1.12rem);
  --s1: clamp(1.18rem, 1.05rem + .6vw, 1.55rem);
  --s2: clamp(1.65rem, 1.4rem + 1.2vw, 2.2rem);
  --s3: clamp(2.2rem, 1.8rem + 2.1vw, 3rem);
  --s4: clamp(2.9rem, 2.2rem + 3vw, 4rem);
  --shadow: 0 18px 70px #000b;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
details:focus {
  outline: 2px solid var(--brand2);
  outline-offset: 2px;
}

/* ===== LAYOUT ===== */
.container {
  width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

h2 {
  font-size: var(--s3);
  line-height: 1.1;
  margin: .2rem 0 1rem;
  text-align: center;
}

.kicker {
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand2);
  font-weight: 800;
  font-size: .8rem;
  text-align: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.2rem;
  border-radius: .95rem;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .16s ease, filter .2s ease, box-shadow .2s ease, background .2s;
  will-change: transform;
  cursor: pointer;
  text-align: center;
  justify-content: center;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px #e6394633;
}

.btn--primary:hover,
.btn--primary:focus {
  transform: translateY(-2px) scale(1.02);
  filter: saturate(1.08);
  box-shadow: 0 14px 36px #e6394650;
}

.btn--ghost {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);
}

.btn--ghost:hover,
.btn--ghost:focus {
  background: #166fe5;
  border-color: #166fe5;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

/* ===== CARDS ===== */
.card {
  background: linear-gradient(180deg, #161d26, #111822);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  will-change: transform;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 80px #000d;
  border-color: #ffffff2e;
}

/* ===== NAVIGATION ===== */
header.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #0b0f13ef, #0b0f1300);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 900;
  z-index: 50;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: .6rem;
  background-image: url('../images/logo-main.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* Logo w footer */
.footer-logo {
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
}

/* Logo w CTA bar */
.cta-logo {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  gap: .5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform .3s ease, opacity .3s ease;
  flex-wrap: wrap;
  align-items: center;
}

.nav-menu a {
  padding: .45rem .6rem;
  border-radius: .6rem;
  transition: background .2s ease;
  font-size: 0.9rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.nav-menu a:hover,
.nav-menu a:focus {
  background: #ffffff14;
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.dropdown-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s ease;
  border-radius: 0;
}

.dropdown-menu a:hover {
  background: var(--accent);
  color: white;
}



@media (max-width: 960px) {
  .nav-menu {
    gap: .3rem;
  }
  
  .nav-menu a {
    padding: .4rem .5rem;
    font-size: 0.85rem;
  }
}



/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 96vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -10vh 0 -10vh 0;
  background: url('https://images.unsplash.com/photo-1590608897129-79da98d159c3?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
  filter: grayscale(.12) contrast(1.06) saturate(1.08) brightness(.9);
  transform: translateY(0) scale(1.15);
  will-change: transform;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(120% 70% at 50% 10%, #0000, #000a 65%),
    linear-gradient(180deg, #0008 0%, #0b0f13 80%);
  z-index: -1;
}

.hero h1 {
  font-size: var(--s4);
  line-height: 1.05;
  margin: 0 0 .7rem;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.hero p {
  font-size: var(--s1);
  color: #d9e0e8;
  max-width: 62ch;
  margin-inline: auto;
  text-wrap: balance;
  orphans: 2;
  widows: 2;
  hyphens: auto;
  word-spacing: -0.05em;
}

.cta-row {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.2rem;
}

.cta-row .btn {
  min-width: 200px;
  flex: 0 0 auto;
}

/* ===== GRID SYSTEM ===== */
.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.2rem;
  align-items: start;
}

@media (max-width: 960px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  /* Na mobilnych urządzeniach punkty na górze, obrazek na dole */
  #co-to .grid-2 {
    display: flex;
    flex-direction: column-reverse;
  }
  
  #co-to .img-zoom {
    margin-bottom: 1.5rem;
  }
}

/* ===== BULLETS LIST ===== */
.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .8rem;
}

.bullets li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .8rem;
  align-items: start;
}

.bullets li::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff6, #fff0), 
              conic-gradient(from 210deg, var(--brand), var(--accent), var(--brand2));
  border: 1px solid #ffffff33;
  margin-top: .15rem;
  flex-shrink: 0;
}

/* ===== RUCKING HIGHLIGHTS ===== */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 700px;
  margin-inline: auto;
}

.highlight-card {
  background: linear-gradient(135deg, var(--card), #0f1419);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent), var(--brand2));
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border-color: #ffffff2e;
}

.highlight-icon {
  font-size: 2rem;
  margin-bottom: .5rem;
}

.highlight-title {
  font-size: var(--s2);
  font-weight: 900;
  color: var(--text);
  margin-bottom: .3rem;
}

.highlight-desc {
  font-size: var(--s-1);
  color: var(--muted);
  line-height: 1.4;
}

/* ===== BENEFITS SECTION ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin-inline: auto;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--card), #0f1419);
  border: 1px solid var(--line);
  border-radius: 1rem;
  transition: transform .3s ease, box-shadow .3s ease;
}

.benefit-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: .2rem;
}

.benefit-item h4 {
  margin: 0 0 .5rem 0;
  font-size: var(--s0);
  font-weight: 700;
  color: var(--text);
}

.benefit-item p {
  margin: 0;
  font-size: var(--s-1);
  color: var(--muted);
  line-height: 1.5;
}

/* ===== RESPONSIVE BENEFITS ===== */
@media (max-width: 768px) {
  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .benefit-item {
    padding: 1rem;
  }
  
  .highlight-card {
    padding: 1rem;
  }
}

/* ===== RUCKING TYPES SECTION ===== */
.rucking-types {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 900px;
  margin-inline: auto;
}

/* Special styling for warrior section */
.rucking-type-section:last-child {
  position: relative;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.03), rgba(0, 0, 0, 0.1));
  border: 1px solid rgba(230, 57, 70, 0.1);
  border-radius: 1.5rem;
  box-shadow: 0 8px 40px rgba(230, 57, 70, 0.1);
}

.rucking-type-section:last-child::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), #ff6b6b, var(--brand));
  border-radius: 1.5rem 1.5rem 0 0;
}

.rucking-type-section {
  text-align: center;
}

.type-header {
  margin-bottom: 2rem;
}

.type-header h3 {
  font-size: var(--s2);
  margin: 0 0 .5rem 0;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

.type-subtitle {
  font-size: var(--s1);
  color: var(--brand2);
  font-weight: 600;
  margin: 0;
  font-style: italic;
}

.type-image-centered {
  margin-bottom: 2rem;
}

.type-content-full {
  text-align: left;
  max-width: 800px;
  margin-inline: auto;
}

.type-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.type-benefits li {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  margin-bottom: 1rem;
  padding: .8rem;
  background: linear-gradient(135deg, var(--card), #0a0f15);
  border: 1px solid var(--line);
  border-radius: .8rem;
  transition: transform .2s ease, border-color .2s ease;
}

.type-benefits li:hover {
  transform: translateX(5px);
  border-color: #ffffff2e;
}

.type-benefits li::before {
  content: "✓";
  color: var(--brand2);
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.type-benefits li strong {
  color: var(--text);
}

.type-tip {
  background: linear-gradient(135deg, #1a2332, #14202d);
  border: 1px solid #ffffff15;
  border-left: 4px solid var(--brand2);
  padding: 1rem 1.2rem;
  border-radius: .8rem;
  font-size: var(--s-1);
  line-height: 1.5;
}

.type-tip strong {
  color: var(--brand2);
}

.warrior-tip {
  background: linear-gradient(135deg, #2d1b1b, #1f1414);
  border-left: 4px solid var(--brand);
  border: 1px solid rgba(230, 57, 70, 0.3);
}

.warrior-tip strong {
  color: var(--brand);
}

/* ===== RESPONSIVE RUCKING TYPES ===== */
@media (max-width: 768px) {
  .rucking-types {
    gap: 3rem;
  }
  
  .type-header h3 {
    font-size: var(--s1);
    flex-wrap: wrap;
  }
  
  .type-subtitle {
    font-size: var(--s0);
  }
}

@media (max-width: 600px) {
  .rucking-types {
    gap: 2rem;
  }
  
  .type-benefits li {
    padding: .6rem;
    font-size: var(--s-1);
  }
  
  .type-tip {
    padding: .8rem 1rem;
    font-size: .85rem;
  }
  
  .type-header {
    margin-bottom: 1.5rem;
  }
  
  .type-image-centered {
    margin-bottom: 1.5rem;
  }
}

/* ===== STATS SECTION ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(180deg, #151a23, #10151d);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  will-change: transform;
}

.stat:hover {
  transform: translateY(-3px);
  border-color: #ffffff2c;
  box-shadow: 0 12px 40px #000c;
}

.stat .ico {
  font-size: 1.6rem;
  margin-bottom: .4rem;
}

.stat .num {
  font-size: var(--s2);
  font-weight: 900;
  line-height: 1;
  margin-bottom: .2rem;
}

.stat .lab {
  color: var(--muted);
  font-size: var(--s-1);
}

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

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

/* ===== CALCULATOR SECTION ===== */
.calc {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.25rem;
}

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

.calc label {
  display: block;
  margin-bottom: .4rem;
  color: #cfd6de;
  font-weight: 700;
  font-size: .9rem;
}

.calc input,
.calc select {
  width: 100%;
  padding: .85rem .95rem;
  border-radius: .7rem;
  border: 1px solid #ffffff26;
  background: #0f151c;
  color: #e9eef5;
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.calc input:focus,
.calc select:focus {
  border-color: var(--brand2);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

.calc input:invalid {
  border-color: var(--brand);
}

.result {
  padding: 1.2rem;
  background: linear-gradient(180deg, #16202b, #121923);
  border: 1px solid #ffffff1f;
  border-radius: var(--radius);
}

.result h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--brand2);
}

.meter {
  height: .8rem;
  border-radius: 2rem;
  background: #ffffff14;
  overflow: hidden;
  margin-top: .6rem;
}

.meter > div {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent), var(--brand2));
  width: 0%;
  transition: width .3s ease;
}

/* ===== FAQ SECTION ===== */
.faq {
  max-width: 900px;
  margin-inline: auto;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  transition: transform .2s ease, border-color .2s ease;
}

.faq details + details {
  margin-top: .8rem;
}

.faq details:hover {
  transform: translateY(-2px);
  border-color: #ffffff2e;
}

.faq details[open] {
  border-color: var(--brand2);
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  padding: .5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: #fff9;
  transition: transform .2s ease;
  font-size: 1.2rem;
  font-weight: 300;
}

.faq details[open] summary::after {
  content: "–";
  transform: scale(1.2);
  color: var(--brand2);
}

.faq p {
  color: #dbe1e8;
  margin: .8rem 0 0;
  line-height: 1.6;
}

/* ===== CTA BAR ===== */
.cta-bar {
  position: sticky;
  bottom: 0;
  z-index: 60;
  background: #0e141bd9;
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}

.cta-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 0;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .cta-bar .wrap {
    flex-direction: column;
    text-align: center;
    gap: .8rem;
  }
}

/* Hide CTA bar when mobile menu is active */
@media (max-width: 768px) {
  body.menu-active .cta-bar {
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Image hover effects */
.img-zoom {
  overflow: hidden;
  border-radius: var(--radius);
}

.img-zoom img {
  transition: transform .35s ease;
  will-change: transform;
}

.img-zoom:hover img {
  transform: scale(1.03);
}

/* ===== SHARE BUTTONS ===== */
.share-section {
  text-align: center;
}

.share-buttons {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1rem;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--card), #0f1419);
  border-radius: .8rem;
  color: var(--text);
  font-size: var(--s-1);
  font-weight: 600;
  cursor: pointer;
  transition: all .3s ease;
  text-decoration: none;
}

.share-btn:hover {
  transform: translateY(-2px);
  border-color: #ffffff2e;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.share-btn:active {
  transform: translateY(0);
}

.share-icon {
  font-size: 1.2rem;
}

.share-fb:hover {
  border-color: #1877f2;
  box-shadow: 0 8px 25px rgba(24, 119, 242, 0.3);
}

.share-twitter:hover {
  border-color: #1da1f2;
  box-shadow: 0 8px 25px rgba(29, 161, 242, 0.3);
}

.share-whatsapp:hover {
  border-color: #25d366;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.share-copy:hover {
  border-color: var(--brand2);
  box-shadow: 0 8px 25px rgba(42, 157, 143, 0.3);
}

/* Compact inline share buttons */
.share-compact {
  text-align: center;
}

.share-buttons-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.share-btn-mini {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--card), #0f1419);
  border-radius: .6rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all .3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-btn-mini:hover {
  transform: translateY(-2px);
  border-color: #ffffff2e;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Copy notification */
.copy-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--brand2);
  color: white;
  padding: .8rem 1.2rem;
  border-radius: .8rem;
  font-size: var(--s-1);
  font-weight: 600;
  z-index: 1000;
  transform: translateX(300px);
  transition: transform .3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.copy-notification.show {
  transform: translateX(0);
}

/* ===== UTILITIES ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg), var(--bg2));
}

footer .container {
  padding: 2rem 0;
  color: #9aa3ad;
  text-align: center;
}

/* ===== MOBILE NAVIGATION ===== */

/* Hamburger button - hidden by default, shown on mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  z-index: 1001;
}

/* Mobile navigation styles */
@media (max-width: 768px) {
  /* Show hamburger button on mobile */
  .nav-toggle {
    display: block;
  }
  
  /* Hide regular menu on mobile */
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(11, 15, 19, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    
    /* Start hidden */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    
    /* Layout */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
  }
  
  /* Show menu when active */
  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  /* Mobile menu items */
  .nav-menu li {
    width: 100%;
    text-align: center;
  }
  
  /* Mobile menu links */
  .nav-menu > li > a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background 0.2s ease;
  }
  
  .nav-menu > li > a:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  /* Simple dropdown for mobile - no complex animations */
  .nav-dropdown .dropdown-menu {
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
    margin-top: 0.5rem;
    
    /* Start hidden */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
  }
  
  /* Show dropdown when parent is active */
  .nav-dropdown.active .dropdown-menu {
    max-height: 500px;
    margin-top: 0.5rem;
  }
  
  /* Mobile dropdown items */
  .dropdown-menu li {
    margin: 0.25rem 0;
  }
  
  .dropdown-menu a {
    display: block;
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
  }
  
  .dropdown-menu a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
  }
  
  /* Dropdown arrow for mobile */
  .dropdown-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
  }
  
  .nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
  }
}

/* ===== MOBILE RESPONSIVE OVERRIDES ===== */
}

/* ===== RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 768px) {
  .cta-row {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .hero h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    word-spacing: -0.05em;
  }
  
  .hero h1 span {
    display: inline-block;
    margin-left: 0.3rem;
  }
  
  .hero p {
    font-size: var(--s0);
  }
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text);
  line-height: 1.6;
}

.content-section p {
  margin-bottom: 1.5rem;
}

.content-section ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.content-section li {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.content-section h3 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-size: var(--s2);
}

.content-section h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: var(--s1);
}

.highlight-box {
  background: var(--card);
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: var(--radius);
}

.highlight-box h4 {
  margin-top: 0;
  color: var(--accent);
}

.gear-section {
  margin-top: 2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.gear-section:last-child {
  border-bottom: none;
}

/* ===== ARTICLE PAGES ===== */
.article-hero {
  padding: 6rem 0 2rem;
  background: linear-gradient(135deg, #0b0f13, #0e141b);
}

.breadcrumb {
  font-size: var(--s-1);
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.separator {
  margin: 0 0.5rem;
}

.article-hero h1 {
  font-size: var(--s4);
  margin-bottom: 1rem;
  line-height: 1.1;
  text-align: center;
}

.article-lead {
  font-size: var(--s1);
  color: var(--muted);
  max-width: 70ch;
  line-height: 1.5;
  text-align: center;
  margin: 0 auto;
}

.article-content {
  padding: 2rem 0 4rem;
}

.intro-text {
  font-size: var(--s1);
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 2rem;
}

.article-cta {
  background: var(--card);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  margin: 4rem 0;
  border: 1px solid var(--line);
}

.article-cta h3 {
  margin-bottom: 1rem;
  color: var(--brand);
}

.article-cta p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-menu .active {
  background: var(--accent);
  color: white;
}

.story-section {
  margin: 3rem 0;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.story-section:last-of-type {
  border-bottom: none;
}

.story-section h3 {
  color: var(--brand2);
  margin-bottom: 1.5rem;
  font-size: var(--s1);
}

.conclusion-section {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  margin: 3rem 0;
  border-left: 4px solid var(--brand);
}

blockquote {
  font-style: italic;
  font-size: var(--s1);
  color: var(--brand);
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
  margin: 1.5rem 0;
  background: rgba(69, 123, 157, 0.1);
  padding: 1rem 1rem 1rem 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

@media (max-width: 768px) {
  .article-hero {
    padding: 6rem 0 3rem;
  }
  
  .article-hero h1 {
    font-size: var(--s3);
  }
  
  .article-cta {
    padding: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .story-section {
    margin: 2rem 0;
    padding: 1.5rem 0;
  }
  
  .conclusion-section {
    padding: 1.5rem;
  }
  
  blockquote {
    padding: 1rem;
    margin: 1rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: .8rem;
  }
  
  section {
    padding: clamp(2rem, 5vw, 3rem) 0;
  }
  
  .calc .card {
    padding: .8rem;
  }
  
  .result {
    padding: 1rem;
  }
  
  .content-section {
    max-width: 100%;
  }
  
  .content-section ul {
    padding-left: 1.5rem;
  }
}

/* ===== GEAR SPECS SECTION ===== */
.gear-specs {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 600;
  color: var(--muted);
}

.spec-value {
  font-weight: 700;
  color: var(--text);
}

/* Ensure consistent text color for strong tags in articles */
.article-content strong {
  color: var(--text);
}

/* Ensure consistent white text color for all content in story sections */
.story-section p,
.story-section li,
.story-section strong {
  color: var(--text) !important;
}

@media (max-width: 768px) {
  .gear-specs {
    padding: 1.5rem;
  }
  
  .spec-grid {
    grid-template-columns: 1fr;
  }
  
  .spec-item {
    padding: 0.6rem 0;
  }
}