/* ============================================================
   WAPITA (PTY) LTD — Global Stylesheet
   Design reference: Liquid Death aesthetic
   ============================================================ */

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

:root {
  --bg-primary:   #080C14;
  --bg-section:   #0E1521;
  --bg-card:      #141E2E;
  --text-primary: #FFFFFF;
  --text-secondary:#8B95A5;
  --border:       #1E2D44;
  --blue:         #1B6DB8;
  --blue-dark:    #144F8A;
  --blue-light:   #2E8CD4;
  --green:        #2D9B44;
  --green-dark:   #1F7230;
  --red:          #DC2626;
  --orange:       #EA580C;
  --gold:         #F59E0B;
  --gradient-brand: linear-gradient(135deg, #1B6DB8 0%, #2D9B44 100%);
  --gradient-hero:  linear-gradient(160deg, #080C14 0%, #0D1E35 50%, #0A1A10 100%);
  --font-display: 'Anton', sans-serif;
  --font-body:    'Inter', sans-serif;
  --max-w:        1400px;
  --section-pad:  80px;
  --radius:       4px;
  --transition:   200ms ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 120px; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* Visible keyboard-focus indicator (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 { line-height: 1.1; }

.display { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0; }

h1.display { font-size: clamp(40px, 8vw, 96px); }
h2.display { font-size: clamp(32px, 5vw, 64px); }
h3 { font-family: var(--font-body); font-weight: 700; font-size: clamp(22px, 3vw, 32px); text-transform: uppercase; }
h4 { font-family: var(--font-body); font-weight: 600; font-size: clamp(16px, 2vw, 20px); }

.label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

/* ---------- Layout ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 5vw; }
.section { padding: var(--section-pad) 0; }
.section--dark { background: var(--bg-section); }

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background: var(--gradient-brand);
  color: var(--text-primary);
  text-align: center;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1001;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 36px; /* announcement bar height */
  left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  /* Subtle always-on divider so the fixed header is separated from page content */
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: var(--bg-primary);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 5vw;
  height: 64px;
}
.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav__logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}
.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav__links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  transition: color var(--transition);
  position: relative;
}
.nav__links a:hover,
.nav__links a.active { color: var(--blue); }
.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
}
.nav__utils {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* Mobile drawer */
.nav__drawer {
  position: fixed;
  top: 0; left: 0;
  width: 300px; height: 100vh;
  background: var(--bg-section);
  z-index: 2000;
  padding: 80px 32px 40px;
  transform: translateX(-100%);
  transition: transform 300ms ease;
  overflow-y: auto;
}
.nav__drawer.open { transform: translateX(0); }
.nav__drawer a {
  display: block;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  transition: color var(--transition);
}
.nav__drawer a:hover { color: var(--blue); }
.nav__drawer-close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 28px;
  color: var(--text-primary);
  background: none; border: none;
  cursor: pointer;
}
.nav__overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1999;
  display: none;
}
.nav__overlay.visible { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 0;
  transition: opacity var(--transition);
  white-space: nowrap;
}
.btn:hover { opacity: 0.85; }
.btn--primary { background: var(--gradient-brand); color: #fff; border: none; }
.btn--secondary { background: transparent; color: #fff; border: 1px solid #fff; }
.btn--danger { background: var(--red); color: #fff; }
.btn--outline-blue { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.btn--outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn--full { width: 100%; }
.btn--sm { padding: 10px 20px; font-size: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--gradient-hero);
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8,12,20,0.4) 0%, rgba(8,12,20,0.82) 100%);
}
.hero__content {
  position: relative; z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}
.hero__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 16px 0 32px;
}
.hero__ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Full-bleed image section ---------- */
.fullbleed {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.fullbleed__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center top;
}
.fullbleed__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
}
.fullbleed__content { position: relative; z-index: 1; padding: 0 20px; }
.fullbleed__content h2 { margin-bottom: 24px; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  transform: translateY(-2px);
}
.card__img-wrap {
  overflow: hidden;
  aspect-ratio: 1;
}
.card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}
.card:hover .card__img-wrap img { transform: scale(1.03); }
.card__body { padding: 16px; }
.card__title { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.card__price { font-weight: 700; font-size: 16px; margin-bottom: 12px; color: var(--text-primary); }
.card__price .original { text-decoration: line-through; color: var(--text-secondary); font-size: 13px; margin-left: 6px; }
.card__meta { font-size: 12px; color: var(--text-secondary); margin-bottom: 8px; }
.card__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--red); color: #fff;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 3px 8px;
}
.card__tag {
  display: inline-block;
  background: var(--orange); color: #fff;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 3px 8px;
  margin-bottom: 8px;
}
.card--portfolio .card__img-wrap { aspect-ratio: 16/9; position: relative; }
.card--portfolio .card__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  display: flex; align-items: flex-end; padding: 16px;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.portfolio-grid, .card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ---------- Stars ---------- */
.stars { display: flex; gap: 2px; margin-bottom: 8px; }
.stars span { color: var(--gold); font-size: 16px; }

/* ---------- Filter tabs ---------- */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  align-items: center;
}
.filter-bar__sort {
  margin-left: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 8px 14px;
  font-size: 13px;
  border-radius: var(--radius);
}
.filter-btn {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--gradient-brand);
  border-color: var(--blue);
  color: #fff;
}

/* ---------- Search bar ---------- */
.search-bar {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
}
.search-bar input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--text-primary);
  padding: 12px 16px;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}
.search-bar input:focus { border-color: var(--blue); }
.search-bar button {
  background: var(--blue);
  color: #fff;
  padding: 12px 20px;
  font-size: 18px;
  border: 1px solid var(--blue);
}

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 12px 16px;
  font-size: 14px;
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(30,64,175,0.25);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select option { background: var(--bg-card); }
.form-error { color: var(--red); font-size: 13px; margin-top: 4px; display: none; }
.form-group.has-error input,
.form-group.has-error textarea { border-color: var(--red); }
.form-group.has-error .form-error { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.testimonial-card__quote {
  font-size: 16px;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.testimonial-card__name { font-weight: 600; font-size: 14px; }
.testimonial-card__role { font-size: 13px; color: var(--text-secondary); }

/* Carousel */
.carousel { position: relative; overflow: hidden; }
.carousel__track {
  display: flex;
  gap: 24px;
  transition: transform 400ms ease;
}
.carousel__track > * { flex: 0 0 calc(33.333% - 16px); }
.carousel__controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.carousel__btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.carousel__btn:hover { background: var(--gradient-brand); border-color: var(--blue); }

/* ---------- Accordion (FAQ) ---------- */
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  transition: color var(--transition);
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary:hover { color: var(--blue); }
.accordion-icon { font-size: 20px; flex-shrink: 0; transition: transform 300ms; }
.accordion-item[open] .accordion-icon { transform: rotate(45deg); }
.accordion-body { padding: 0 0 20px; color: var(--text-secondary); line-height: 1.7; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox__img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox__close {
  position: absolute; top: 20px; right: 24px;
  font-size: 36px; color: #fff;
  background: none; border: none; cursor: pointer;
  line-height: 1;
}
.lightbox__prev, .lightbox__next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none; color: #fff;
  font-size: 28px; padding: 16px 12px;
  cursor: pointer; transition: background var(--transition);
}
.lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,0.2); }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

/* ---------- Gallery ---------- */
.gallery-masonry {
  columns: 3;
  column-gap: 16px;
}
.gallery-masonry__item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gallery-masonry__item img { width: 100%; display: block; }
.gallery-masonry__item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  font-size: 32px; color: #fff;
}


/* ---------- Account ---------- */
.account-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.account-tab {
  padding: 14px 24px;
  font-weight: 600; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}
.account-tab.active { color: var(--blue); border-bottom-color: var(--blue); }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-image: var(--gradient-brand) 1;
}
.page-header h1 { margin-bottom: 16px; }
.page-header p { color: var(--text-secondary); font-size: 18px; max-width: 600px; margin: 0 auto; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--bg-section); padding: 64px 0; text-align: center; }
.newsletter h3 { margin-bottom: 8px; }
.newsletter p { color: var(--text-secondary); margin-bottom: 24px; }
.newsletter__form { display: flex; max-width: 480px; margin: 0 auto; }
.newsletter__form input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--text-primary);
  padding: 14px 16px;
  font-size: 14px;
  outline: none;
}
.newsletter__form input:focus { border-color: var(--blue); }
.newsletter__form button {
  background: var(--blue); color: #fff;
  padding: 14px 24px;
  font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.08em;
  border: 1px solid var(--blue);
  transition: opacity var(--transition);
}
.newsletter__form button:hover { opacity: 0.85; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer__logo {
  margin-bottom: 16px;
}
.footer__logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__tagline { color: var(--text-secondary); font-size: 14px; margin-bottom: 24px; }
.footer__socials { display: flex; gap: 16px; }
.footer__social-link {
  width: 40px; height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: var(--transition);
}
.footer__social-link:hover { background: var(--blue); border-color: var(--blue); }
.footer__col-title {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 14px; color: var(--text-secondary);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--text-primary); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer__copy { font-size: 13px; color: var(--text-secondary); }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-size: 13px; color: var(--text-secondary); transition: color var(--transition); }
.footer__legal a:hover { color: var(--text-primary); }

/* ---------- Animations (JS-driven classes) ---------- */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 400ms ease, transform 400ms ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(1) { transition-delay: 0ms; }
.fade-up:nth-child(2) { transition-delay: 80ms; }
.fade-up:nth-child(3) { transition-delay: 160ms; }
.fade-up:nth-child(4) { transition-delay: 240ms; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-secondary { color: var(--text-secondary); }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 48px 0; }
.badge-green { background: var(--green); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.badge-red   { background: var(--red);   color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .portfolio-grid, .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry { columns: 2; }
  :root { --section-pad: 64px; }
}
@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .carousel__track > * { flex: 0 0 calc(100% - 0px); }
  .hero__ctas { flex-direction: column; align-items: center; }
  :root { --section-pad: 48px; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .portfolio-grid, .card-grid-3 { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 1; }
  .container { padding: 0 20px; }
}

/* ---------- SVG Icons ---------- */
.icon-person {
  display: block;
  stroke: currentColor;
  fill: none;
}

/* Gradient-only fullbleed (no background image needed) */
.fullbleed--gradient {
  background: var(--gradient-dark, linear-gradient(160deg, #080C14 0%, #0D1E35 50%, #0A1A10 100%));
}
.fullbleed--gradient .fullbleed__bg { display: none; }
.fullbleed--gradient .fullbleed__overlay { background: transparent; }

/* ============================================================
   GRADIENT ENHANCEMENTS
   ============================================================ */

/* Gradient text utility */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradient section divider bar */
.gradient-bar {
  height: 4px;
  background: var(--gradient-brand);
  border: none;
  margin: 0;
}

/* Gradient card accent (top border) */
.card:hover {
  border-top: 2px solid transparent;
  border-image: var(--gradient-brand) 1;
}

/* Gradient badge */
.badge-gradient {
  background: var(--gradient-brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Gradient page header */
.page-header {
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-brand);
}

/* Gradient stat/number highlight */
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

/* Gradient section accent line (beside headings) */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--gradient-brand);
  flex-shrink: 0;
}

/* Gradient outline button */
.btn--gradient {
  background: var(--gradient-brand);
  color: #fff;
  border: none;
}
.btn--gradient-outline {
  background: transparent;
  color: var(--blue-light);
  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.btn--gradient-outline::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--gradient-brand);
  border-radius: inherit;
  z-index: -1;
}

/* Gradient announcement bar (make more prominent) */
.announcement-bar {
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Gradient nav active underline */
.nav__links a.active::after {
  background: var(--gradient-brand);
}

/* Gradient footer top border */
.footer {
  border-top: 3px solid transparent;
  border-image: var(--gradient-brand) 1;
}

/* Gradient on testimonial card top */
.testimonial-card {
  border-top: 2px solid transparent;
  border-image: var(--gradient-brand) 1;
}

/* Gradient scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--gradient-brand);
  z-index: 9999;
  transition: width 100ms linear;
}

/* ============================================================
   Auth Modal (wam-*)
   ============================================================ */
.wam-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.32s ease;
}
.wam-overlay.wam-visible { opacity: 1; }

.wam-card {
  background: var(--bg-card, #0f1923);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  max-width: 460px;
  width: 100%;
  padding: 40px 36px 32px;
  position: relative;
  transform: translateY(28px) scale(0.98);
  transition: transform 0.32s ease;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.wam-overlay.wam-visible .wam-card {
  transform: translateY(0) scale(1);
}

.wam-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-secondary, #888);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.wam-close:hover { color: #fff; background: rgba(255,255,255,0.08); }
.wam-close:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.wam-logo {
  display: block;
  height: 58px;
  width: auto;
  margin: 0 auto 20px;
}

.wam-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(22px, 4vw, 30px);
  text-align: center;
  margin-bottom: 6px;
  background: var(--gradient-brand, linear-gradient(135deg, #1B6DB8 0%, #2D9B44 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
}

.wam-sub {
  text-align: center;
  color: var(--text-secondary, #999);
  font-size: 14px;
  margin-bottom: 24px;
}

.wam-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}
.wam-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary, #aaa);
  line-height: 1.45;
}
.wam-benefits li::before {
  content: '';
  display: inline-block;
  min-width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient-brand, linear-gradient(135deg, #1B6DB8, #2D9B44));
  margin-top: 5px;
  flex-shrink: 0;
}

.wam-btns {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.wam-btns .btn { flex: 1; justify-content: center; }

.wam-skip-line {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary, #666);
}
.wam-skip-btn {
  background: none;
  border: none;
  color: var(--text-secondary, #666);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.wam-skip-btn:hover { color: #fff; }

.wam-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: var(--blue, #1B6DB8);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 18px;
  transition: opacity 0.2s;
}
.wam-back:hover { opacity: 0.75; }
.wam-back--sm { margin-bottom: 14px; }

.wam-tabs {
  display: flex;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.1));
  margin-bottom: 22px;
  gap: 0;
}
.wam-tab {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary, #888);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1px;
  letter-spacing: 0.02em;
}
.wam-tab.active {
  color: var(--blue, #1B6DB8);
  border-bottom-color: var(--blue, #1B6DB8);
}
.wam-tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.wam-msg {
  font-size: 13px;
  border-radius: 7px;
  margin-bottom: 14px;
  display: none;
  padding: 10px 14px;
  line-height: 1.45;
}
.wam-msg--error {
  display: block;
  background: rgba(239,68,68,0.1);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.22);
}
.wam-msg--success {
  display: block;
  background: rgba(45,155,68,0.1);
  color: #4ade80;
  border: 1px solid rgba(45,155,68,0.22);
}

.wam-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 8px;
  flex-wrap: wrap;
}
.wam-remember {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  cursor: pointer;
  color: var(--text-secondary, #aaa);
  user-select: none;
}
.wam-remember input { width: auto; margin: 0; cursor: pointer; accent-color: var(--blue); }
.wam-link-btn {
  background: none;
  border: none;
  color: var(--text-secondary, #888);
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.wam-link-btn:hover { color: var(--blue, #1B6DB8); }

.wam-hint { font-size: 11px; color: var(--text-secondary, #666); font-weight: 400; }

/* Nav sign-out button */
.wam-nav-signout {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--text-secondary, #aaa);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.wam-nav-signout:hover {
  border-color: var(--red, #ef4444);
  color: var(--red, #ef4444);
}

@media (max-width: 480px) {
  .wam-card { padding: 32px 20px 24px; border-radius: 12px; }
  .wam-btns { flex-direction: column; }
  .wam-logo { height: 48px; }
}

/* ── Password field with eye toggle ── */
.pw-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.pw-wrap input {
  flex: 1;
  padding-right: 44px !important;
  width: 100%;
  box-sizing: border-box;
}
.pw-eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px 6px;
  cursor: pointer;
  color: var(--text-secondary, #888);
  display: flex;
  align-items: center;
  border-radius: 4px;
  transition: color 0.2s;
  flex-shrink: 0;
}
.pw-eye:hover { color: var(--text, #fff); }
.pw-eye:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ============================================================
   Reduced motion — respect user OS preference
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up { opacity: 1 !important; transform: none !important; }
  .card:hover { transform: none; }
}
