/* ==============================================================================
   Lol Account Switcher - Official Web Ecosystem Styling
   Theme: Hextech Elite (Dark) & Piltover Architecture (Light)
   Standards: Anthropic Frontend Design • Authentic Subject Matter • Zero Bloat
   Publisher: HaYTooL | Dev: HaYTo
   ============================================================================== */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500 900;
  font-display: optional;
  src: url('https://fonts.gstatic.com/s/outfit/v15/QGYvz_MVcBeNP4NJtEtqUYLknw.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
  src: url('https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* -------------------------------------------------------------
     HEXTECH ELITE PALETTE (Dark - Default)
     Deep runic abyss, authentic hextech gold, vibrant zaun cyan
     ------------------------------------------------------------- */
  --bg-deep: #050911;
  --bg-surface: #091322;
  --bg-card: #0D1A2E;
  --bg-card-hover: #12243D;
  --bg-badge: #142842;
  --bg-avatar: #07101B;
  --bg-input: #081424;

  --border-subtle: #162E49;
  --border-card: #1C3959;
  --border-hover: #C8AA6E;
  --border-glow: rgba(10, 200, 185, 0.4);

  --text-primary: #F0E6D2;
  --text-secondary: #B9CAD8;
  --text-muted: #7E93A7;

  --hextech-gold: #C8AA6E;
  --hextech-gold-bright: #F0E6D2;
  --hextech-gold-dark: #785A28;
  --hextech-gold-glow: rgba(200, 170, 110, 0.35);

  --hextech-cyan: #0AC8B9;
  --hextech-cyan-bright: #00F0FF;
  --hextech-cyan-subtle: rgba(10, 200, 185, 0.12);
  --hextech-cyan-glow: rgba(10, 200, 185, 0.45);

  --switch-btn-bg: #092B45;
  --switch-btn-hover: #0F446D;
  --switch-btn-text: #00F0FF;
  --switch-btn-border: #0AC8B9;

  --danger-bg: #3D0E17;
  --danger-text: #FFA4B2;
  --danger-border: #E84057;

  --nav-bg: rgba(5, 9, 17, 0.88);
  --shadow-card: 0 14px 35px -8px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 35px rgba(10, 200, 185, 0.2);
  --hero-glow: radial-gradient(circle at 50% 15%, rgba(10, 200, 185, 0.16) 0%, rgba(200, 170, 110, 0.08) 35%, transparent 70%);
}

[data-theme="light"] {
  /* -------------------------------------------------------------
     PILTOVER ARCHITECTURE PALETTE (Light)
     Crisp marble alabaster, warm bronze gold, deep cobalt navy
     ------------------------------------------------------------- */
  --bg-deep: #F3F5F9;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F6F9FD;
  --bg-badge: #E8EFF7;
  --bg-avatar: #DEE7F2;
  --bg-input: #FFFFFF;

  --border-subtle: #C8D6E5;
  --border-card: #CFDDEE;
  --border-hover: #A67C37;
  --border-glow: rgba(2, 132, 138, 0.3);

  --text-primary: #0A1626;
  --text-secondary: #2C425D;
  --text-muted: #566D88;

  --hextech-gold: #9E7432;
  --hextech-gold-bright: #704F14;
  --hextech-gold-dark: #C8AA6E;
  --hextech-gold-glow: rgba(158, 116, 50, 0.25);

  --hextech-cyan: #01838A;
  --hextech-cyan-bright: #006066;
  --hextech-cyan-subtle: rgba(1, 131, 138, 0.09);
  --hextech-cyan-glow: rgba(1, 131, 138, 0.25);

  --switch-btn-bg: #E1F4F5;
  --switch-btn-hover: #CCEFF1;
  --switch-btn-text: #00565C;
  --switch-btn-border: #01838A;

  --danger-bg: #FEECEE;
  --danger-text: #9E152B;
  --danger-border: #D12A45;

  --nav-bg: rgba(243, 245, 249, 0.92);
  --shadow-card: 0 10px 30px -8px rgba(10, 22, 38, 0.08);
  --shadow-glow: 0 4px 25px rgba(1, 131, 138, 0.12);
  --hero-glow: radial-gradient(circle at 50% 15%, rgba(1, 131, 138, 0.08) 0%, rgba(158, 116, 50, 0.06) 35%, transparent 70%);
}

/* -------------------------------------------------------------
   GLOBAL BASE & RESET
   ------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Atmospheric Runic Background Aura */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 980px;
  background: var(--hero-glow);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4, .brand-title {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--hextech-cyan);
  outline-offset: 3px;
}

/* -------------------------------------------------------------
   NAVIGATION BAR
   ------------------------------------------------------------- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 68px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
  padding: 0 6%;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-sizing: border-box;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--hextech-gold);
  object-fit: cover;
  background: var(--bg-card);
  box-shadow: 0 0 12px var(--hextech-gold-glow);
  flex-shrink: 0;
}

.nav-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.version-badge {
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--bg-badge);
  color: var(--hextech-gold);
  border: 1px solid var(--hextech-gold);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--hextech-gold);
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: var(--hextech-gold);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switch-group {
  display: inline-flex;
  align-items: center;
  background: var(--bg-badge);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
}

.lang-switch-group .lang-btn {
  border: 1px solid transparent;
  background: transparent;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  gap: 6px;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.lang-switch-group .lang-btn:hover {
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.lang-switch-group .lang-btn.active {
  background: var(--switch-btn-bg);
  color: var(--switch-btn-text);
  border-color: var(--switch-btn-border);
  box-shadow: 0 0 10px var(--hextech-cyan-subtle);
}

.flag-icon {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  display: inline-block;
}

.theme-toggle-btn {
  font-size: 1.05rem;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--bg-badge);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  border-color: var(--hextech-gold);
  color: var(--text-primary);
}

/* -------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------- */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 48px;
  max-width: 1340px;
  margin: 0 auto;
  padding: 5rem 6% 4rem;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 16px;
  border-radius: 24px;
  background: var(--hextech-cyan-subtle);
  border: 1px solid var(--hextech-cyan);
  color: var(--hextech-cyan);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  box-shadow: 0 0 12px var(--hextech-cyan-subtle);
}

.hero-title {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-primary);
  text-wrap: balance;
}

.hero-title span {
  background: linear-gradient(135deg, var(--hextech-cyan) 0%, var(--hextech-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--hextech-cyan) 0%, #079C90 100%);
  color: #032120;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 22px rgba(10, 200, 185, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(10, 200, 185, 0.55);
  filter: brightness(1.1);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid var(--border-card);
}

.btn-secondary:hover {
  border-color: var(--hextech-gold);
  transform: translateY(-2px);
  color: var(--hextech-gold);
  box-shadow: 0 4px 18px var(--hextech-gold-glow);
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* -------------------------------------------------------------
   INTERACTIVE HEXTECH APP MOCKUP (CENTERPIECE)
   ------------------------------------------------------------- */
.hero-right {
  display: flex;
  justify-content: center;
}

.app-mockup {
  width: 100%;
  max-width: 480px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-card);
  border-radius: 14px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

/* Hextech Window Header */
.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-logo {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--hextech-gold);
}

.mock-title {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.mock-hz-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--hextech-cyan-subtle);
  border: 1px solid var(--hextech-cyan);
  color: var(--hextech-cyan);
  padding: 4px 11px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.mock-hz-pill:hover {
  filter: brightness(1.2);
  transform: scale(1.03);
}

.mock-hz-pill.mode-60hz {
  background: rgba(126, 147, 167, 0.12);
  border-color: var(--text-muted);
  color: var(--text-muted);
}

.mock-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px 14px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.mock-card:hover {
  border-color: var(--hextech-gold);
  background: var(--bg-card-hover);
  transform: translateX(3px);
}

.mock-card.active {
  border-color: var(--hextech-cyan);
  box-shadow: 0 0 20px rgba(10, 200, 185, 0.22);
}

.mock-card.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--hextech-cyan);
}

.mock-avatar-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.mock-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--hextech-gold);
  object-fit: cover;
  background: var(--bg-avatar);
}

.mock-card.active .mock-avatar {
  border-color: var(--hextech-cyan);
}

.mock-lvl-badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #FFF;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 8px;
  border: 1px solid var(--hextech-gold);
}

.mock-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mock-row-1 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-acc-name {
  font-weight: 800;
  font-size: 0.94rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-server-badge {
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--bg-badge);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 1px 6px;
  border-radius: 4px;
}

.mock-row-2 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.mock-rank-medal {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.mock-rank-text {
  font-weight: 700;
  color: var(--hextech-gold);
}

.mock-card.active .mock-rank-text {
  color: var(--hextech-cyan);
}

.mock-switch-btn {
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  background: var(--switch-btn-bg);
  color: var(--switch-btn-text);
  border: 1px solid var(--switch-btn-border);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.mock-switch-btn:hover {
  filter: brightness(1.2);
  transform: scale(1.04);
}

/* 4-Phase Toast Simulator */
.mock-toast {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(9, 19, 34, 0.95);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--hextech-cyan);
  color: var(--hextech-cyan-bright);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 20px rgba(10, 200, 185, 0.3);
  z-index: 20;
  display: none;
}

.mock-toast.active {
  display: block;
}

.mock-toast.step-pulse {
  animation: toastPulse 0.4s ease;
}

@keyframes toastPulse {
  0% { transform: scale(0.97); opacity: 0.8; }
  50% { transform: scale(1.02); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* Personalized Hero Simulator Strip */
.mock-simulator-strip {
  background: var(--bg-card);
  border: 1px dashed var(--border-card);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-sim-header {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--hextech-gold);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.mock-sim-inputs {
  display: flex;
  gap: 6px;
}

.mock-sim-input {
  flex: 1.4;
  min-width: 0;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.8rem;
  color: var(--text-primary);
  font-family: inherit;
}

.mock-sim-input:focus {
  border-color: var(--hextech-cyan);
  outline: none;
}

.mock-sim-select {
  flex: 1;
  min-width: 0;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 6px 6px;
  font-size: 0.8rem;
  color: var(--text-primary);
  font-family: inherit;
  cursor: pointer;
}

.mock-sim-btn {
  background: linear-gradient(135deg, var(--hextech-cyan) 0%, #079C90 100%);
  color: #032120;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.mock-sim-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

/* -------------------------------------------------------------
   VANGUARD SECURITY & BAN-FREE GUARANTEE PANEL
   ------------------------------------------------------------- */
.security-section {
  max-width: 1340px;
  margin: 3rem auto 5rem;
  padding: 0 6%;
}

.security-card {
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-card) 100%);
  border: 1.5px solid var(--border-card);
  border-radius: 16px;
  padding: 3rem 5%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.security-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(10, 200, 185, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.security-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.security-shield-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--hextech-cyan-subtle);
  border: 1.5px solid var(--hextech-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 0 16px var(--hextech-cyan-subtle);
}

.security-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
  color: var(--text-primary);
}

.security-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 820px;
  margin-bottom: 2rem;
}

.security-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.security-pillar {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.security-pillar:hover {
  border-color: var(--hextech-gold);
  transform: translateY(-2px);
}

.pillar-icon {
  font-size: 1.4rem;
}

.pillar-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.pillar-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* -------------------------------------------------------------
   4-PHASE PROTOCOL PIPELINE SECTION (GROUNDED SUBJECT MATTER)
   ------------------------------------------------------------- */
.protocol-section {
  max-width: 1340px;
  margin: 2rem auto 5rem;
  padding: 0 6%;
}

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  position: relative;
}

.protocol-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-card);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.protocol-card:hover {
  border-color: var(--hextech-cyan);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.protocol-step-num {
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--hextech-cyan);
  text-transform: uppercase;
  background: var(--hextech-cyan-subtle);
  border: 1px solid var(--hextech-cyan);
  padding: 3px 10px;
  border-radius: 20px;
  align-self: flex-start;
}

.protocol-card:nth-child(2) .protocol-step-num,
.protocol-card:nth-child(3) .protocol-step-num {
  color: var(--hextech-gold);
  border-color: var(--hextech-gold);
  background: rgba(200, 170, 110, 0.12);
}

.protocol-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-primary);
}

.protocol-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* -------------------------------------------------------------
   FEATURES SECTION
   ------------------------------------------------------------- */
.features-section {
  max-width: 1340px;
  margin: 3rem auto 5rem;
  padding: 0 6%;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-tag {
  color: var(--hextech-cyan);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-card);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.feature-card:hover {
  border-color: var(--hextech-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.feature-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hextech-cyan-subtle);
  border: 1.5px solid var(--hextech-cyan);
  color: var(--hextech-cyan);
  font-size: 1.5rem;
}

.feature-card:nth-child(2) .feature-icon-wrap,
.feature-card:nth-child(4) .feature-icon-wrap {
  background: rgba(200, 170, 110, 0.12);
  border-color: var(--hextech-gold);
  color: var(--hextech-gold);
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* -------------------------------------------------------------
   BENCHMARK / ARCHITECTURE SPEED COMPARISON
   ------------------------------------------------------------- */
.benchmarks-section {
  max-width: 1340px;
  margin: 3rem auto 5rem;
  padding: 0 6%;
}

.benchmark-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.benchmark-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.benchmark-card:hover {
  border-color: var(--hextech-cyan);
  box-shadow: var(--shadow-glow);
}

.benchmark-metric {
  font-size: 2.8rem;
  font-weight: 900;
  font-family: var(--font-display);
  color: var(--hextech-cyan);
  line-height: 1;
}

.benchmark-card:nth-child(2) .benchmark-metric {
  color: var(--hextech-gold);
}

.benchmark-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.benchmark-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------
   CONTROLS & BUTTONS GUIDE
   ------------------------------------------------------------- */
.controls-section {
  max-width: 1340px;
  margin: 2rem auto 5rem;
  padding: 0 6%;
}

.controls-group {
  margin-bottom: 3.5rem;
}

.controls-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.controls-group-icon {
  font-size: 1.5rem;
}

.controls-group-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.control-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.control-item:hover {
  border-color: var(--hextech-cyan);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.control-item-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.control-key-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  background: var(--hextech-cyan-subtle);
  border: 1px solid var(--hextech-cyan);
  color: var(--hextech-cyan);
}

.control-item:nth-child(2n) .control-key-badge {
  background: rgba(200, 170, 110, 0.12);
  border-color: var(--hextech-gold);
  color: var(--hextech-gold);
}

.control-item-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.control-item-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* -------------------------------------------------------------
   ARCHITECTURE & PROTOCOL SECTION
   ------------------------------------------------------------- */
.arch-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 5rem 6%;
}

.arch-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.arch-specs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.spec-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--hextech-cyan);
  margin-top: 7px;
  box-shadow: 0 0 10px var(--hextech-cyan);
  flex-shrink: 0;
}

.spec-content h3,
.spec-content h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.spec-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.arch-code-box {
  background: var(--bg-deep);
  border: 1.5px solid var(--border-card);
  border-radius: 12px;
  padding: 24px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.6;
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.45);
  position: relative;
}

.code-keyword { color: var(--hextech-cyan); font-weight: bold; }
.code-gold { color: var(--hextech-gold); }
.code-comment { color: var(--text-muted); font-style: italic; }

.code-copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--bg-badge);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
}

.code-copy-btn:hover {
  border-color: var(--hextech-gold);
  color: var(--hextech-gold);
}

/* -------------------------------------------------------------
   DOWNLOAD / CTA BANNER
   ------------------------------------------------------------- */
.cta-banner {
  max-width: 1240px;
  margin: 5rem auto;
  padding: 4rem 6%;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-card) 100%);
  border: 1.5px solid var(--border-card);
  border-radius: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(10, 200, 185, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}

/* -------------------------------------------------------------
   FEEDBACK & COMMUNITY SECTION
   ------------------------------------------------------------- */
.feedback-section {
  padding: 5rem 6%;
  max-width: 1240px;
  margin: 0 auto;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 2.5rem;
}

.feedback-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.feedback-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hextech-cyan), var(--hextech-gold));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feedback-card:hover {
  transform: translateY(-4px);
  border-color: var(--hextech-cyan);
  box-shadow: var(--shadow-glow);
}

.feedback-card:hover::before {
  opacity: 1;
}

/* -------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 6%;
  background: var(--bg-surface);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

footer a {
  color: var(--text-secondary);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-meta {
  color: var(--text-muted);
}

.footer-meta a {
  color: var(--hextech-cyan);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  font-weight: 600;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--hextech-gold);
  text-decoration-color: var(--hextech-gold);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--hextech-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* -------------------------------------------------------------
   RESPONSIVE LAYOUT
   ------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 3.5rem;
  }

  .hero-left {
    align-items: center;
  }

  .hero-tag {
    align-self: center;
  }

  .hero-ctas, .hero-meta {
    justify-content: center;
  }

  .arch-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  header {
    height: 64px;
  }

  .navbar {
    height: 64px;
    padding: 0 4%;
  }

  .nav-links {
    display: none !important;
  }

  .nav-title {
    font-size: 1.05rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .app-mockup {
    padding: 14px;
  }
}
