/* ================================================
   webmap.net.ua — Main Hub Stylesheet
   Design System: Dark Premium / Multi-brand
   ================================================ */

/* === Design System Tokens === */
:root {
  /* Backgrounds */
  --bg-dark:       #06070d;
  --bg-card:       rgba(15, 17, 28, 0.65);
  --bg-card-hover: rgba(22, 25, 40, 0.9);
  --bg-alt:        rgba(10, 12, 20, 0.5);

  /* Borders */
  --border-color:       rgba(255, 255, 255, 0.07);
  --border-color-hover: rgba(255, 255, 255, 0.18);

  /* Category Accent Colors */
  --cat-vpn:      #4F8EFF;
  --cat-vpn-glow: rgba(79, 142, 255, 0.35);
  --cat-vpn-dim:  rgba(79, 142, 255, 0.12);

  --cat-crypto:      #F5C842;
  --cat-crypto-glow: rgba(245, 200, 66, 0.35);
  --cat-crypto-dim:  rgba(245, 200, 66, 0.10);

  --cat-invest:      #D92027;
  --cat-invest-glow: rgba(217, 32, 39, 0.35);
  --cat-invest-dim:  rgba(217, 32, 39, 0.10);

  --cat-cashback:      #34D399;
  --cat-cashback-glow: rgba(52, 211, 153, 0.35);
  --cat-cashback-dim:  rgba(52, 211, 153, 0.10);

  --cat-business:      #8B5CF6;
  --cat-business-glow: rgba(139, 92, 246, 0.35);
  --cat-business-dim:  rgba(139, 92, 246, 0.10);

  --cat-carshare:      #FF6900;
  --cat-carshare-glow: rgba(255, 105, 0, 0.35);
  --cat-carshare-dim:  rgba(255, 105, 0, 0.10);

  /* Individual crypto accents */
  --binance:  #F0B90B;
  --bybit:    #FFB11A;
  --whitebit: #38BDF8;

  /* Typography */
  --text-main:  #F0F2F8;
  --text-muted: #8B92A8;
  --text-dim:   #7E859E;

  /* Font */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

html[lang="uk"] .lang-en { display: none !important; }
html[lang="en"] .lang-uk { display: none !important; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

ul { list-style: none; }
button { font-family: var(--font-sans); }

/* === WCAG 2.2 AA Focus Indicators === */
:focus-visible {
  outline: 3px solid var(--cat-vpn) !important;
  outline-offset: 3px !important;
  border-radius: 4px;
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cat-vpn);
  color: white;
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  font-weight: 800;
  z-index: 1000;
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 0;
}

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

/* === Header === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 7, 13, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  flex-shrink: 0;
}
.logo-accent { color: var(--cat-vpn); }

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

/* === Lang Switcher === */
.lang-switcher {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 3px;
  flex-shrink: 0;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.03em;
}

.lang-btn.active {
  background: var(--cat-vpn);
  color: #fff;
}

.lang-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

/* === Hero === */
.hero {
  position: relative;
  padding: 4.5rem 0 3rem;
  overflow: hidden;
  text-align: center;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 142, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 142, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
}
.orb-1 {
  width: 600px; height: 600px;
  background: var(--cat-vpn);
  top: -200px; left: -150px;
}
.orb-2 {
  width: 400px; height: 400px;
  background: var(--cat-crypto);
  top: 50px; right: -100px;
}
.orb-3 {
  width: 300px; height: 300px;
  background: var(--cat-cashback);
  bottom: -100px; left: 40%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-color);
  background: rgba(79, 142, 255, 0.08);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cat-vpn);
  margin-bottom: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cat-vpn);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #c8d3f5 60%, #9ab0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-wrap: balance;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 1.75rem;
  line-height: 1.7;
}

/* Category Pills */
.hero-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.55rem 1.2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}

.cat-vpn {
  background: var(--cat-vpn-dim);
  border-color: rgba(79, 142, 255, 0.3);
  color: #7EB4FF;
}
.cat-vpn:hover { background: rgba(79, 142, 255, 0.2); border-color: var(--cat-vpn); }

.cat-crypto {
  background: var(--cat-crypto-dim);
  border-color: rgba(245, 200, 66, 0.3);
  color: #f5d060;
}
.cat-crypto:hover { background: rgba(245, 200, 66, 0.2); border-color: var(--cat-crypto); }

.cat-invest {
  background: var(--cat-invest-dim);
  border-color: rgba(217, 32, 39, 0.3);
  color: #ff6b70;
}
.cat-invest:hover { background: rgba(217, 32, 39, 0.2); border-color: var(--cat-invest); }

.cat-cashback {
  background: var(--cat-cashback-dim);
  border-color: rgba(52, 211, 153, 0.3);
  color: #5eead4;
}
.cat-cashback:hover { background: rgba(52, 211, 153, 0.2); border-color: var(--cat-cashback); }

.cat-business {
  background: var(--cat-business-dim);
  border-color: rgba(139, 92, 246, 0.3);
  color: #a78bfa;
}
.cat-business:hover { background: rgba(139, 92, 246, 0.2); border-color: var(--cat-business); }

.cat-carshare {
  background: var(--cat-carshare-dim);
  border-color: rgba(255, 105, 0, 0.3);
  color: #ff9b54;
}
.cat-carshare:hover { background: rgba(255, 105, 0, 0.2); border-color: var(--cat-carshare); }

/* Hero Stats */
.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.25rem 2rem;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

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

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

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

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

/* === Hub Sections === */
.hub-section {
  padding: 3.5rem 0;
  scroll-margin-top: 80px;
}

.hub-section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  border-radius: 100px;
  padding: 5px 14px;
  border: 1px solid transparent;
}

.section-label.cat-vpn    { color: var(--cat-vpn); background: var(--cat-vpn-dim); border-color: rgba(79,142,255,0.25); }
.section-label.cat-crypto { color: var(--cat-crypto); background: var(--cat-crypto-dim); border-color: rgba(245,200,66,0.25); }
.section-label.cat-invest { color: var(--cat-invest); background: var(--cat-invest-dim); border-color: rgba(217,32,39,0.25); }
.section-label.cat-cashback { color: var(--cat-cashback); background: var(--cat-cashback-dim); border-color: rgba(52,211,153,0.25); }
.section-label.cat-business { color: var(--cat-business); background: var(--cat-business-dim); border-color: rgba(139,92,246,0.25); }
.section-label.cat-carshare { color: var(--cat-carshare); background: var(--cat-carshare-dim); border-color: rgba(255,105,0,0.25); }

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.section-title-center { text-align: center; }

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  text-align: center;
  max-width: 420px;
  margin: 0 auto 3rem;
}

.section-body {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* Hub two-column grid */
.hub-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hub-section-grid-reverse { direction: rtl; }
.hub-section-grid-reverse > * { direction: ltr; }

/* Hub Card (decorative) */
.hub-section-card {
  border-radius: 20px;
  padding: 2px;
  position: relative;
}

.card-vpn {
  background: linear-gradient(135deg, var(--cat-vpn), transparent 60%);
  box-shadow: 0 0 60px rgba(79, 142, 255, 0.12);
}
.card-cashback {
  background: linear-gradient(135deg, var(--cat-cashback), transparent 60%);
  box-shadow: 0 0 60px rgba(52, 211, 153, 0.12);
}

.hub-card-inner {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hub-card-icon {
  font-size: 3rem;
  line-height: 1;
}

.hub-card-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.hub-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.hub-card-tag {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Cashback rates inside card */
.cashback-rates {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.rate-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.rate-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cat-cashback);
  line-height: 1;
}

.rate-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.feature-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 0.25rem;
}

/* Hub CTAs */
.hub-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

.cta-vpn {
  background: var(--cat-vpn);
  color: #fff;
}
.cta-vpn:hover {
  background: #3a7eff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--cat-vpn-glow);
}

.cta-cashback {
  background: var(--cat-cashback);
  color: #052e1f;
}
.cta-cashback:hover {
  background: #22c984;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--cat-cashback-glow);
}

/* === Crypto Grid === */
.crypto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Card Brand Colors & Glowing Hover Effects */
.card-binance   { --brand-color: #F0B90B; --brand-glow: rgba(240, 185, 11, 0.12); }
.card-bybit     { --brand-color: #FFB11A; --brand-glow: rgba(255, 177, 26, 0.12); }
.card-tgwallet  { --brand-color: #2AABEE; --brand-glow: rgba(42, 171, 238, 0.12); }
.card-whitebit  { --brand-color: #38BDF8; --brand-glow: rgba(56, 189, 248, 0.12); }
.card-ibkr      { --brand-color: #D92027; --brand-glow: rgba(217, 32, 39, 0.12); }
.card-monobank  { --brand-color: #ff007f; --brand-glow: rgba(255, 0, 127, 0.12); }
.card-pumb      { --brand-color: #ff0a3f; --brand-glow: rgba(255, 10, 63, 0.12); }
.card-privat    { --brand-color: #76b82a; --brand-glow: rgba(118, 184, 42, 0.12); }
.card-inzhur    { --brand-color: #ffe600; --brand-glow: rgba(255, 230, 0, 0.12); }
.card-checkbox  { --brand-color: #8b5cf6; --brand-glow: rgba(139, 92, 246, 0.12); }
.card-sendpulse { --brand-color: #00a383; --brand-glow: rgba(0, 163, 131, 0.12); }
.card-getmancar { --brand-color: #FF6900; --brand-glow: rgba(255, 105, 0, 0.12); }
.card-letyshops { --brand-color: #34D399; --brand-glow: rgba(52, 211, 153, 0.12); }
.card-silpo      { --brand-color: #FF8522; --brand-glow: rgba(255, 133, 34, 0.12); }

.crypto-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.crypto-card:hover {
  border-color: var(--brand-color, var(--border-color-hover));
  box-shadow: 
    0 12px 30px -10px var(--brand-glow, rgba(255, 255, 255, 0.05)),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
}

.crypto-card[aria-disabled="true"]:hover {
  transform: none;
  border-color: var(--border-color);
  box-shadow: none;
}

.crypto-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.crypto-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  flex-shrink: 0;
}

.crypto-logo-binance  { background: rgba(240, 185, 11, 0.15); color: var(--binance); border: 1px solid rgba(240,185,11,0.25); }
.crypto-logo-bybit    { background: rgba(255, 177, 26, 0.15); color: var(--bybit);   border: 1px solid rgba(255,177,26,0.25); }
.crypto-logo-tgwallet { background: rgba(42, 171, 238, 0.15); color: #2AABEE; border: 1px solid rgba(42,171,238,0.25); }
.crypto-logo-whitebit { background: rgba(56, 189, 248, 0.12); color: var(--whitebit);border: 1px solid rgba(56,189,248,0.2); }
.crypto-logo-ibkr     { background: rgba(217, 32, 39, 0.15); color: #D92027; border: 1px solid rgba(217, 32, 39, 0.25); }
.crypto-logo-monobank { background: rgba(255, 0, 127, 0.15); color: #ff007f; border: 1px solid rgba(255, 0, 127, 0.25); }
.crypto-logo-pumb     { background: rgba(255, 10, 63, 0.15); color: #ff0a3f; border: 1px solid rgba(255, 10, 63, 0.25); }
.crypto-logo-privat   { background: rgba(118, 184, 42, 0.15); color: #76b82a; border: 1px solid rgba(118, 184, 42, 0.25); }
.crypto-logo-inzhur   { background: rgba(255, 230, 0, 0.15); color: #ffe600; border: 1px solid rgba(255, 230, 0, 0.25); }
.crypto-logo-checkbox { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; border: 1px solid rgba(139, 92, 246, 0.25); }
.crypto-logo-sendpulse { background: rgba(0, 163, 131, 0.15); color: #00a383; border: 1px solid rgba(0, 163, 131, 0.25); }
.crypto-logo-getmancar { background: rgba(255, 105, 0, 0.15); color: var(--cat-carshare); border: 1px solid rgba(255,105,0,0.25); }
.crypto-logo-letyshops { background: rgba(52, 211, 153, 0.15); color: var(--cat-cashback); border: 1px solid rgba(52, 211, 153, 0.25); }
.crypto-logo-silpo     { background: rgba(255, 133, 34, 0.15); color: #FF8522; border: 1px solid rgba(255, 133, 34, 0.25); }



.crypto-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.crypto-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 2px 9px;
  margin-top: 2px;
}

.crypto-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  flex-grow: 1;
}

.crypto-perks {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.perk-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.crypto-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition);
  text-align: center;
  justify-content: center;
}

.crypto-link:hover {
  color: #ffffff;
  border-color: var(--brand-color, rgba(255, 255, 255, 0.55));
  background: rgba(255, 255, 255, 0.08);
  transform: scale(0.985);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.03);
}

.crypto-link:active {
  transform: scale(0.96);
}

/* === How It Works === */
.how-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-color);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.how-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.how-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-3px);
}

.how-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.how-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.how-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === FAQ Section === */
.faq-section {
  padding: 3.5rem 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-color);
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:has(.faq-q[aria-expanded="true"]) {
  border-color: rgba(79, 142, 255, 0.3);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.faq-q:hover { color: #fff; background: rgba(255,255,255,0.02); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.faq-q[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--cat-vpn);
}

.faq-a {
  padding: 0 1.5rem 1.25rem;
}

.faq-a p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-a strong {
  color: var(--text-main);
  font-weight: 600;
}

/* === Footer === */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

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

.footer-logo { font-size: 1.15rem; margin-bottom: 0.75rem; display: inline-block; }

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  max-width: 260px;
}

.footer-nav-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-link:hover { color: var(--text-main); }

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 320px;
  margin-top: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* === Scroll Reveal Animation === */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in grids */
.crypto-grid .crypto-card:nth-child(1) { transition-delay: 0.05s; }
.crypto-grid .crypto-card:nth-child(2) { transition-delay: 0.12s; }
.crypto-grid .crypto-card:nth-child(3) { transition-delay: 0.19s; }

.how-grid .how-card:nth-child(1) { transition-delay: 0.05s; }
.how-grid .how-card:nth-child(2) { transition-delay: 0.1s; }
.how-grid .how-card:nth-child(3) { transition-delay: 0.15s; }
.how-grid .how-card:nth-child(4) { transition-delay: 0.2s; }

/* === Responsive === */
@media (max-width: 1024px) {
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .crypto-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .hero { padding: 3.5rem 0 2.25rem; }

  .header-nav { display: none; }

  .hub-section-grid,
  .hub-section-grid-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  /* Show decorative card after text on mobile */
  .hub-section-grid .hub-section-card { order: -1; }
  .hub-section-grid-reverse .hub-section-text { order: -1; }

  .hub-section-card {
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
  }

  .crypto-grid { grid-template-columns: 1fr !important; }

  .how-grid { grid-template-columns: 1fr; }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
  }
  .stat-divider { display: none; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hub-section { padding: 2.25rem 0; }
  .how-section,
  .faq-section { padding: 2.25rem 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-title { font-size: 1.9rem; }
  .section-title { font-size: 1.6rem; }
  .hub-cta { width: 100%; justify-content: center; }
  .hero-categories { gap: 0.5rem; }
  .category-pill { font-size: 0.82rem; padding: 0.45rem 0.9rem; }
}

/* Coming Soon Hub styles */
.coming-soon { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
article[aria-disabled="true"] { opacity: 0.7; }

/* Verified Badge Styles */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(52, 211, 153, 0.2);
  background: rgba(52, 211, 153, 0.08);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #34D399;
}
.verified-badge time { font-weight: 600; }

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

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

/* ── UI/UX Optimizations and Layout Fixes ── */

/* Flex container for centering hero badges */
.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

/* Custom grid layouts for Banking and Business sections */
@media (min-width: 769px) {
  .grid-3col {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .grid-2col {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
  }
  .grid-1col {
    grid-template-columns: 1fr !important;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* Styled inline SVG container for how-it-works flag */
.how-icon-svg {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 32px;
  margin-bottom: 1rem;
}
.how-icon-svg svg {
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 87, 183, 0.25);
  display: block;
}




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

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

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

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

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

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

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

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


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

/* ── UX & Conversion Rate Optimization (CRO) Fixes ── */

/* 1. Збільшення розміру кнопок дій на картках для мобільних пристроїв (touch targets >= 48px) */
.crypto-link {
  padding: 0.85rem 1.5rem !important; /* Було 0.65rem 1rem */
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

/* 2. Усунення візуального розриву (6px gap) випадаючого мобільного меню */
@media (max-width: 1024px) {
  .hub-nav {
    top: 64px !important; /* Узгодження з висотою шапки */
  }
}

/* 3. Бейджі для фокусування уваги на рекомендованих сервісах (Nudging) */
.crypto-card {
  position: relative;
}

.crypto-card.recommended-choice {
  border-color: rgba(79, 142, 255, 0.35);
  background: linear-gradient(180deg, rgba(15, 17, 28, 0.8) 0%, rgba(10, 12, 20, 0.7) 100%);
}

.crypto-card.recommended-choice::after {
  content: "РЕКОМЕНДОВАНО";
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, var(--cat-vpn), #8B5CF6);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px var(--cat-vpn-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* 4. Покращення головної кнопки дії в Hero-секції (Above the Fold CTA) */
.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  gap: 0.9rem;
}

.hero-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.95rem 2.5rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.05rem;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #8b5cf6 100%);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.hero-primary-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: 0.6s ease;
}

.hero-primary-cta:hover::before {
  left: 100%;
}

.hero-primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.55);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.hero-primary-cta:active {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
}

.hero-primary-cta:focus-visible {
  outline: 3px solid #3b82f6 !important;
  outline-offset: 3px !important;
  border-radius: 12px !important;
}

.cta-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-primary-cta:hover .cta-arrow {
  transform: translateY(3px);
}

.hero-trust-reel {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  opacity: 0.8;
  text-align: center;
  margin: 0.2rem 0 0 0;
  line-height: 1.6;
  text-transform: uppercase;
  font-weight: 600;
}


