/**
 * Proton VPN Design System - Official UI Replication
 * Themed for Download Center, Help Center, Features, Verification, FAQ & Status
 * Perfectly calibrated top navigation: zero overflow, comfortable spacing, framed buttons
 */

:root {
  /* Proton Purple Palette */
  --proton-purple: #6D4AFF;
  --proton-purple-hover: #5936E8;
  --proton-purple-active: #4A27D6;
  --proton-purple-light: #F3EFFF;
  --proton-purple-muted: #E2DBFF;
  --proton-purple-subtle: rgba(109, 74, 255, 0.08);
  --proton-purple-glow: rgba(109, 74, 255, 0.25);

  /* Secondary Accents */
  --proton-mint: #00F0C3;
  --proton-mint-dark: #00C8A2;
  --proton-emerald: #10B981;
  --proton-emerald-bg: #ECFDF5;
  --proton-amber: #F59E0B;
  --proton-amber-bg: #FFFBEB;
  --proton-blue: #3B82F6;
  --proton-blue-bg: #EFF6FF;

  /* Neutrals & Surfaces */
  --proton-deep: #1B1340;
  --proton-deep-dark: #120C2D;
  --proton-footer-bg: #0E0924;
  --proton-surface: #FFFFFF;
  --proton-surface-alt: #F8F7FD;
  --proton-surface-muted: #F2EFFB;
  --proton-border: #E8E4F5;
  --proton-border-focus: #B6A7F9;

  /* Typography */
  --proton-text-primary: #1B1340;
  --proton-text-secondary: #585376;
  --proton-text-muted: #8782A3;
  --proton-text-light: #F7F6FC;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(27, 19, 64, 0.04);
  --shadow-md: 0 6px 20px rgba(27, 19, 64, 0.07);
  --shadow-lg: 0 12px 36px rgba(27, 19, 64, 0.1);
  --shadow-purple: 0 8px 24px rgba(109, 74, 255, 0.32);
  --shadow-purple-hover: 0 12px 30px rgba(109, 74, 255, 0.45);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--proton-text-primary);
  background-color: var(--proton-surface-alt);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* Layout Utilities */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav Container with strictly controlled box-sizing and padding */
.container-nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

.container-narrow {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Announcement Banner */
.top-notice {
  background: linear-gradient(90deg, #1B1340 0%, #291C63 50%, #1B1340 100%);
  color: #FFFFFF;
  font-size: 0.84rem;
  padding: 8px 16px;
  text-align: center;
  position: relative;
  z-index: 1010;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.top-notice a {
  color: var(--proton-mint);
  text-decoration: underline;
  font-weight: 600;
  margin-left: 4px;
}

/* ========================================================
   HEADER & TOP NAVIGATION - ANTI-OVERFLOW CALIBRATION
   ======================================================== */
.proton-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1.5px solid rgba(226, 219, 255, 0.88);
  box-shadow: 0 4px 20px rgba(27, 19, 64, 0.05);
  transition: all var(--transition-fast);
  height: 74px;
  width: 100%;
  box-sizing: border-box;
}

.proton-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 12px;
  width: 100%;
}

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

.nav-brand img {
  height: 31px;
  width: auto;
}

/* Brand Badge */
.brand-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--proton-purple-light);
  color: var(--proton-purple);
  border: 1.5px solid var(--proton-purple-muted);
  box-shadow: 0 1px 3px rgba(109, 74, 255, 0.08);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap !important;
}

/* Nav Links: Calibrated for generous readability without overflowing */
.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  flex-wrap: nowrap !important;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--proton-text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 11px;
  border-radius: var(--radius-full);
  white-space: nowrap !important;
  word-break: keep-all !important;
  line-height: 1;
  border: 1.5px solid transparent;
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--proton-purple);
  background: var(--proton-purple-light);
  border-color: rgba(109, 74, 255, 0.15);
}

.nav-link.active {
  color: var(--proton-purple);
  background: var(--proton-purple-light);
  font-weight: 700;
  border-color: rgba(109, 74, 255, 0.3);
  box-shadow: 0 2px 6px rgba(109, 74, 255, 0.1);
}

/* Nav Actions Right with Framed Background Box & Auto-Right Align */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  background: #F7F5FC;
  border: 1.5px solid #E2DBFF;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(27, 19, 64, 0.04);
  flex-shrink: 0;
  flex-wrap: nowrap !important;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--proton-text-secondary);
  cursor: pointer;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  white-space: nowrap !important;
  transition: var(--transition-fast);
}

.lang-switch:hover {
  background: #FFFFFF;
  border-color: #D6CCFA;
  color: var(--proton-purple);
}

/* ========================================================
   PAGE BUTTON SYSTEM WITH FITTED FRAMES & SHADOWS
   ======================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
  white-space: nowrap !important;
  word-break: keep-all !important;
  position: relative;
}

/* Primary Button with Framed Gradient & Inset Rim */
.btn-primary {
  background: linear-gradient(135deg, #6D4AFF 0%, #5936E8 100%);
  color: #FFFFFF !important;
  border: 1.5px solid #4F2BD8;
  box-shadow: 0 4px 14px rgba(109, 74, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5936E8 0%, #4B27D6 100%);
  border-color: #401DC4;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(109, 74, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(109, 74, 255, 0.3);
}

/* Secondary Button with Clean Crisp Frame */
.btn-secondary {
  background-color: #FFFFFF;
  color: var(--proton-deep);
  border: 1.5px solid #D6CCFA;
  box-shadow: 0 2px 8px rgba(27, 19, 64, 0.05);
  font-weight: 600;
}

.btn-secondary:hover {
  border-color: var(--proton-purple);
  color: var(--proton-purple);
  background-color: #F8F6FF;
  box-shadow: 0 4px 14px rgba(109, 74, 255, 0.15);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(109, 74, 255, 0.05);
  color: var(--proton-text-secondary);
  border: 1.5px solid transparent;
}

.btn-ghost:hover {
  color: var(--proton-purple);
  background: var(--proton-purple-light);
  border-color: var(--proton-purple-muted);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.86rem;
}

.btn-lg {
  padding: 13px 28px;
  font-size: 1.05rem;
}

/* Download Action Button in Cards with Framed Border */
.download-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: #FFFFFF;
  border: 1.5px solid #E2DBFF;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--proton-deep);
  box-shadow: 0 2px 6px rgba(27, 19, 64, 0.04);
  transition: all var(--transition-fast);
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.download-link-btn:hover {
  background: #F8F6FF;
  border-color: #6D4AFF;
  color: #6D4AFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(109, 74, 255, 0.14);
}

.download-link-btn span:first-child {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.35;
}

.download-link-btn .btn-badge {
  flex-shrink: 0;
  font-size: 0.76rem;
  font-weight: 700;
  background: var(--proton-purple-light);
  color: var(--proton-purple);
  border: 1px solid rgba(109, 74, 255, 0.2);
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

/* Copy Hash Buttons with Framed Box */
.copy-hash-btn {
  background: #FFFFFF;
  color: var(--proton-purple);
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1.5px solid var(--proton-purple-muted);
  box-shadow: 0 2px 6px rgba(27, 19, 64, 0.04);
  transition: all var(--transition-fast);
}

.copy-hash-btn:hover {
  background: var(--proton-purple);
  color: #FFFFFF;
  border-color: var(--proton-purple);
  box-shadow: 0 4px 12px rgba(109, 74, 255, 0.25);
  transform: translateY(-1px);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: #F7F5FC;
  border: 1.5px solid #E2DBFF;
  cursor: pointer;
  padding: 8px;
  color: var(--proton-deep);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 6px rgba(27, 19, 64, 0.04);
}

.mobile-nav-toggle:hover {
  background: var(--proton-purple-light);
  border-color: var(--proton-purple);
  color: var(--proton-purple);
}

/* Mobile Drawer Overlay */
.mobile-drawer {
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 12, 45, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-content {
  background: #FFFFFF;
  border-bottom: 3px solid var(--proton-purple);
  padding: 24px;
  box-shadow: 0 16px 36px rgba(27, 19, 64, 0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-10px);
  transition: transform var(--transition-fast);
}

.mobile-drawer.open .mobile-drawer-content {
  transform: translateY(0);
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--proton-deep);
  background: var(--proton-surface-alt);
  border: 1.5px solid var(--proton-border);
}

.mobile-drawer-link.active {
  background: var(--proton-purple-light);
  color: var(--proton-purple);
  border-color: rgba(109, 74, 255, 0.3);
}

/* ========================================================
   HERO SECTIONS
   ======================================================== */
.hero-section {
  position: relative;
  padding: 68px 0 56px;
  background: radial-gradient(100% 80% at 50% 0%, #ECE7FF 0%, rgba(248, 247, 253, 0) 100%), var(--proton-surface-alt);
  overflow: hidden;
  text-align: center;
}

.hero-glow-1 {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 480px;
  background: radial-gradient(circle, rgba(109, 74, 255, 0.15) 0%, rgba(0, 240, 195, 0.05) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px solid rgba(109, 74, 255, 0.25);
  color: var(--proton-purple);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(109, 74, 255, 0.08);
  margin-bottom: 22px;
}

.swiss-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #FF0000;
  border-radius: 3px;
  position: relative;
}

.swiss-flag::before, .swiss-flag::after {
  content: '';
  position: absolute;
  background: #FFFFFF;
}

.swiss-flag::before {
  width: 4px;
  height: 12px;
}

.swiss-flag::after {
  width: 12px;
  height: 4px;
}

.hero-title {
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--proton-deep);
  margin-bottom: 18px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #6D4AFF 0%, #9F85FF 50%, #00C8A2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.18rem;
  color: var(--proton-text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Auto-detected OS Hero Card */
.os-detect-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--proton-surface);
  border: 1.5px solid var(--proton-purple-muted);
  border-radius: var(--radius-xl);
  padding: 30px 36px;
  box-shadow: 0 16px 40px rgba(109, 74, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.os-detect-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #6D4AFF 0%, #00F0C3 100%);
}

.os-detect-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.os-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--proton-purple-light);
  border: 1.5px solid rgba(109, 74, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--proton-purple);
}

.os-info-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--proton-deep);
  margin-bottom: 4px;
}

.badge-recommended {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: var(--radius-full);
  background: var(--proton-emerald-bg);
  color: var(--proton-emerald);
  border: 1px solid rgba(16, 185, 129, 0.35);
  text-transform: uppercase;
  white-space: nowrap;
}

.os-info-meta {
  font-size: 0.9rem;
  color: var(--proton-text-secondary);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.os-detect-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.hash-preview-link {
  font-size: 0.84rem;
  color: var(--proton-text-muted);
  text-decoration: underline;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.hash-preview-link:hover {
  color: var(--proton-purple);
}

/* ========================================================
   PLATFORMS DOWNLOAD MATRIX & FRAMED TABS
   ======================================================== */
.platform-tabs-wrapper {
  margin: 36px 0 28px;
  display: flex;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0 16px;
}

.platform-tabs {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid #E2DBFF;
  box-shadow: 0 4px 16px rgba(27, 19, 64, 0.06);
  padding: 5px;
  border-radius: var(--radius-full);
  gap: 4px;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.platform-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--proton-text-secondary);
  background: transparent;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap !important;
  flex-shrink: 0;
}

.tab-btn:hover {
  color: var(--proton-purple);
  background: #F7F5FF;
  border-color: #E2DBFF;
}

.tab-btn.active {
  background: var(--proton-purple);
  color: #FFFFFF !important;
  border-color: #5936E8;
  box-shadow: 0 4px 14px rgba(109, 74, 255, 0.35);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.platform-card {
  background: var(--proton-surface);
  border: 1.5px solid var(--proton-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
}

.platform-card:hover {
  border-color: var(--proton-border-focus);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card-top {
  margin-bottom: 24px;
}

.card-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.card-platform-icon {
  width: 48px;
  height: 48px;
  color: var(--proton-deep);
}

.card-version-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--proton-purple);
  background: var(--proton-purple-light);
  border: 1px solid rgba(109, 74, 255, 0.2);
  padding: 4px 11px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--proton-deep);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--proton-text-secondary);
  line-height: 1.58;
  margin-bottom: 16px;
  min-height: 48px;
}

.feature-bullets {
  list-style: none;
  font-size: 0.88rem;
  color: var(--proton-text-secondary);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-bullets li svg {
  color: var(--proton-emerald);
  flex-shrink: 0;
}

.card-downloads {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.card-sublinks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--proton-border);
  font-size: 0.84rem;
  color: var(--proton-text-muted);
  width: 100%;
  box-sizing: border-box;
}

.card-sublinks a:hover {
  color: var(--proton-purple);
}

/* ========================================================
   SECURITY VERIFICATION & HASHES SECTION
   ======================================================== */
.verification-section {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--proton-border);
  padding: 48px;
  margin: 48px 0;
  box-shadow: var(--shadow-md);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.section-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--proton-purple);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--proton-deep);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

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

.hash-table-container {
  overflow-x: auto;
}

.hash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.hash-table th {
  background: var(--proton-surface-alt);
  color: var(--proton-text-secondary);
  font-weight: 700;
  padding: 15px 18px;
  border-bottom: 1.5px solid var(--proton-border);
  white-space: nowrap;
}

.hash-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--proton-border);
  color: var(--proton-deep);
  vertical-align: middle;
}

.hash-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.84rem;
  background: var(--proton-surface-muted);
  border: 1px solid var(--proton-border);
  padding: 5px 11px;
  border-radius: 6px;
  color: var(--proton-text-secondary);
  display: inline-block;
  max-width: 380px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========================================================
   3-STEP SETUP SECTION
   ======================================================== */
.steps-section {
  padding: 56px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step-card {
  background: var(--proton-surface);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--proton-border);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--proton-border-focus);
  box-shadow: var(--shadow-md);
}

.step-num {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #6D4AFF 0%, #A28BFF 100%);
  color: #FFFFFF;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 14px rgba(109, 74, 255, 0.35);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--proton-deep);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--proton-text-secondary);
  line-height: 1.62;
}

/* ========================================================
   FEATURE SHOWCASE / DARK BANNER
   ======================================================== */
.features-dark-banner {
  background: linear-gradient(135deg, #1B1340 0%, #150E34 100%);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  color: #FFFFFF;
  margin: 56px 0;
  position: relative;
  overflow: hidden;
}

.features-dark-banner::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(109, 74, 255, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.features-dark-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.feature-dark-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-dark-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(109, 74, 255, 0.2);
  border: 1.5px solid rgba(109, 74, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--proton-mint);
  font-size: 1.35rem;
}

.feature-dark-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
}

.feature-dark-desc {
  font-size: 0.92rem;
  color: #A9A3C7;
  line-height: 1.62;
}

.features-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
  margin: 48px 0;
}

.feature-detail-card {
  background: #FFFFFF;
  border: 1.5px solid var(--proton-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.feature-detail-card:hover {
  border-color: var(--proton-border-focus);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--proton-purple-light);
  color: var(--proton-purple);
  border: 1px solid rgba(109, 74, 255, 0.2);
  margin-bottom: 16px;
  width: fit-content;
}

/* ========================================================
   HELP CENTER & KNOWLEDGE BASE
   ======================================================== */
.help-hero {
  position: relative;
  padding: 72px 0 60px;
  background: radial-gradient(100% 80% at 50% 0%, #EDE7FF 0%, rgba(248, 247, 253, 0) 100%), var(--proton-surface-alt);
  text-align: center;
  overflow: hidden;
}

.help-search-container {
  max-width: 740px;
  margin: 32px auto 0;
  position: relative;
  z-index: 2;
}

.help-search-box {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 2px solid var(--proton-border);
  border-radius: var(--radius-full);
  padding: 8px 14px 8px 24px;
  box-shadow: 0 12px 32px rgba(27, 19, 64, 0.08);
  transition: all var(--transition-fast);
}

.help-search-box:focus-within {
  border-color: var(--proton-purple);
  box-shadow: 0 0 0 4px var(--proton-purple-glow), 0 16px 36px rgba(109, 74, 255, 0.15);
}

.help-search-box svg {
  color: var(--proton-text-muted);
  flex-shrink: 0;
}

.help-search-input {
  flex: 1;
  padding: 10px 14px;
  font-size: 1.05rem;
  color: var(--proton-deep);
  background: transparent;
}

.help-search-input::placeholder {
  color: var(--proton-text-muted);
}

.search-clear-btn {
  background: none;
  cursor: pointer;
  color: var(--proton-text-muted);
  padding: 6px;
  display: none;
}

.search-clear-btn:hover {
  color: var(--proton-deep);
}

.hot-tags {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--proton-text-secondary);
}

.tag-pill {
  background: #FFFFFF;
  border: 1.5px solid #E2DBFF;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--proton-text-secondary);
  box-shadow: 0 2px 6px rgba(27, 19, 64, 0.04);
  cursor: pointer;
  white-space: nowrap !important;
  transition: all var(--transition-fast);
}

.tag-pill:hover {
  border-color: var(--proton-purple);
  color: var(--proton-purple);
  background: var(--proton-purple-light);
  box-shadow: 0 4px 12px rgba(109, 74, 255, 0.14);
  transform: translateY(-1px);
}

.help-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin: 56px 0;
}

.help-category-card {
  background: var(--proton-surface);
  border: 1.5px solid var(--proton-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.help-category-card:hover {
  border-color: var(--proton-border-focus);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.help-cat-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--proton-purple-light);
  border: 1px solid rgba(109, 74, 255, 0.2);
  color: var(--proton-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.help-cat-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--proton-deep);
  margin-bottom: 8px;
}

.help-cat-desc {
  font-size: 0.92rem;
  color: var(--proton-text-secondary);
  line-height: 1.58;
  margin-bottom: 20px;
  flex: 1;
}

.help-cat-articles {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--proton-border);
  padding-top: 16px;
}

.help-article-link {
  font-size: 0.9rem;
  color: var(--proton-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px;
  border-radius: 6px;
  transition: color var(--transition-fast);
}

.help-article-link:hover {
  color: var(--proton-purple);
}

.help-article-link svg {
  color: var(--proton-text-muted);
  transition: transform var(--transition-fast);
}

.help-article-link:hover svg {
  color: var(--proton-purple);
  transform: translateX(3px);
}

/* ========================================================
   FAQ ACCORDION
   ======================================================== */
.faq-section {
  padding: 48px 0;
}

.faq-list {
  max-width: 900px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--proton-surface);
  border: 1.5px solid var(--proton-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(27, 19, 64, 0.03);
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--proton-purple);
  box-shadow: 0 4px 16px rgba(109, 74, 255, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--proton-deep);
  gap: 16px;
}

.faq-question:hover {
  color: var(--proton-purple);
}

.faq-toggle-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background: var(--proton-surface-alt);
  border: 1px solid var(--proton-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--proton-text-secondary);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  background: var(--proton-purple);
  border-color: var(--proton-purple);
  color: #FFFFFF;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 26px;
  color: var(--proton-text-secondary);
  font-size: 0.98rem;
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 26px 22px 26px;
}

/* ========================================================
   SERVER STATUS MONITOR PAGE STYLES
   ======================================================== */
.status-indicator-box {
  background: #FFFFFF;
  border: 1.5px solid var(--proton-border);
  border-radius: var(--radius-lg);
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0 48px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 20px;
}

.status-live-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.status-metric-col {
  text-align: center;
}

.status-metric-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--proton-deep);
}

.status-metric-lbl {
  font-size: 0.88rem;
  color: var(--proton-text-muted);
}

.status-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--proton-border);
}

.status-table th {
  background: var(--proton-surface-alt);
  padding: 16px 20px;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--proton-text-secondary);
  border-bottom: 1.5px solid var(--proton-border);
}

.status-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--proton-border);
  font-size: 0.94rem;
  color: var(--proton-deep);
}

.load-bar-wrap {
  width: 120px;
  height: 8px;
  background: #EAE6F7;
  border-radius: 4px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

.load-bar-fill {
  height: 100%;
  border-radius: 4px;
}

/* Still Need Help Box */
.support-cta-box {
  background: linear-gradient(135deg, #1B1340 0%, #251B54 100%);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  color: #FFFFFF;
  text-align: center;
  margin: 56px 0;
  position: relative;
  overflow: hidden;
}

.support-cta-title {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.support-cta-subtitle {
  font-size: 1.05rem;
  color: #B5AFD4;
  max-width: 600px;
  margin: 0 auto 32px;
}

.support-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 12, 45, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(18, 12, 45, 0.25);
  transform: translateY(20px) scale(0.97);
  transition: all var(--transition-fast);
  position: relative;
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--proton-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: #FFFFFF;
  z-index: 10;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--proton-deep);
}

.modal-close-btn {
  background: var(--proton-surface-alt);
  border: 1px solid var(--proton-border);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--proton-text-secondary);
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: #EAE6F7;
  color: var(--proton-deep);
}

.modal-body {
  padding: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--proton-deep);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--proton-border);
  background: var(--proton-surface);
  color: var(--proton-deep);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--proton-purple);
  box-shadow: 0 0 0 3px var(--proton-purple-glow);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.article-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--proton-purple);
  background: var(--proton-purple-light);
  border: 1px solid rgba(109, 74, 255, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.article-content {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--proton-text-secondary);
}

.article-content h3 {
  color: var(--proton-deep);
  font-size: 1.18rem;
  margin: 20px 0 10px;
}

.article-content ol, .article-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.article-content li {
  margin-bottom: 6px;
}

.article-content .code-box {
  background: #1B1340;
  color: #00F0C3;
  padding: 14px 18px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 0.88rem;
  margin: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 3000;
  pointer-events: none;
}

.toast {
  background: #1B1340;
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(27, 19, 64, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.94rem;
  font-weight: 600;
  pointer-events: auto;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 4px solid var(--proton-mint);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ========================================================
   FOOTER COMPONENT
   ======================================================== */
.proton-footer {
  background: var(--proton-footer-bg);
  color: #A6A0C2;
  padding: 72px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

.footer-brand-col {
  padding-right: 24px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #A6A0C2;
  margin-bottom: 20px;
}

.footer-swiss-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: #EAE6F7;
}

.footer-col h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #A6A0C2;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #7B7599;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-bottom-links a:hover {
  color: #FFFFFF;
}

/* ========================================================
   VPN DOWNLOAD CENTER SPECIALIZED ELEMENTS & PROTOCOL BADGES
   ======================================================== */
.vpn-hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 28px;
}

.vpn-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid #D6CCFA;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--proton-deep);
  box-shadow: 0 2px 8px rgba(109, 74, 255, 0.08);
  white-space: nowrap;
}

.vpn-hero-badge svg {
  color: var(--proton-purple);
}

.vpn-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 16px;
  min-height: 52px;
  align-content: flex-start;
}

.vpn-pill {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: var(--proton-purple-light);
  color: var(--proton-purple);
  border: 1px solid var(--proton-purple-muted);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.vpn-pill.vpn-pill-green {
  background: #ECFDF5;
  color: #047857;
  border-color: #A7F3D0;
}

.vpn-pill.vpn-pill-blue {
  background: #EFF6FF;
  color: #1D4ED8;
  border-color: #BFDBFE;
}

.vpn-pill.vpn-pill-orange {
  background: #FFF7ED;
  color: #C2410C;
  border-color: #FED7AA;
}

.vpn-card-specs {
  background: #F8F7FD;
  border: 1.5px solid #EAE5FC;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin: 14px 0 18px;
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 122px;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.platform-card:hover .vpn-card-specs {
  border-color: #D6CCFA;
  background: #F5F3FC;
}

.vpn-spec-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  min-height: 24px;
}

.vpn-spec-row:not(:last-child) {
  padding-bottom: 6px;
  border-bottom: 1px dashed #E2DBFF;
}

.vpn-spec-label {
  color: #6D678E;
  font-weight: 600;
  font-size: 0.82rem;
  white-space: nowrap;
  flex: 0 0 64px;
  line-height: 1.35;
}

.vpn-spec-val {
  color: #1B1340;
  font-weight: 600;
  font-size: 0.81rem;
  line-height: 1.35;
  text-align: right;
  flex: 1;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

/* VPN Core Capabilities Strip */
.vpn-core-section {
  padding: 48px 0 32px;
}

.vpn-core-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.vpn-core-card {
  background: #FFFFFF;
  border: 1.5px solid #E2DBFF;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 4px 16px rgba(27, 19, 64, 0.04);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.vpn-core-card:hover {
  border-color: var(--proton-purple);
  box-shadow: 0 12px 28px rgba(109, 74, 255, 0.12);
  transform: translateY(-3px);
}

.vpn-core-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--proton-purple-light);
  border: 1.5px solid rgba(109, 74, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--proton-purple);
  margin-bottom: 16px;
}

.vpn-core-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--proton-deep);
  margin-bottom: 8px;
}

.vpn-core-card-desc {
  font-size: 0.92rem;
  color: var(--proton-text-secondary);
  line-height: 1.58;
  margin-bottom: 14px;
  flex-grow: 1;
}

.vpn-core-bullets {
  list-style: none;
  font-size: 0.85rem;
  color: var(--proton-text-secondary);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vpn-core-bullets li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vpn-core-bullets li svg {
  color: var(--proton-emerald);
  flex-shrink: 0;
}

/* VPN Server Infrastructure Banner */
.vpn-infra-banner {
  background: linear-gradient(135deg, #1B1340 0%, #2A1B66 50%, #150F33 100%);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  color: #FFFFFF;
  margin: 48px 0;
  border: 1.5px solid rgba(226, 219, 255, 0.18);
  box-shadow: 0 20px 48px rgba(27, 19, 64, 0.25);
  position: relative;
  overflow: hidden;
}

.vpn-infra-banner::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(109, 74, 255, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.vpn-infra-header {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.vpn-infra-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.vpn-infra-desc {
  font-size: 1rem;
  color: #C7C2E4;
  line-height: 1.6;
}

.vpn-infra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  margin-top: 36px;
  position: relative;
  z-index: 1;
}

.vpn-infra-item {
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.vpn-infra-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--proton-mint);
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.vpn-infra-label {
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.vpn-infra-sub {
  font-size: 0.8rem;
  color: #A6A0C2;
}

/* VPN Protocol Comparison Section */
.vpn-protocol-section {
  margin: 56px 0;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--proton-border);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.protocol-tag-active {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 2px 8px;
  border-radius: 9999px;
}

/* ========================================================
   MAIN PRODUCT SHOWCASE HERO CARD (QUICK LINK LAB STYLE)
   ======================================================== */
.download-hero-full-wrap {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  margin: 36px 0 32px;
  box-sizing: border-box;
}

.download-product-card {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1.5px solid #D6CCFA;
  border-radius: var(--radius-xl);
  padding: 36px 42px 30px;
  box-shadow: 0 12px 36px rgba(109, 74, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.download-product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #6D4AFF 0%, #9F85FF 50%, #00F0C3 100%);
}

.product-top-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.product-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.product-title-text {
  font-size: 34px;
  font-weight: 800;
  color: var(--proton-deep);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.product-version-pill {
  background: #FEF3C7;
  color: #D97706;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13.5px;
  border: 1px solid rgba(217, 119, 6, 0.25);
  display: inline-flex;
  align-items: center;
}

.product-tags-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-pill-hot {
  background: #FFE4E8;
  color: #E11D48;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(225, 29, 72, 0.2);
}

.tag-pill-rec {
  background: #ECFDF5;
  color: #047857;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(4, 120, 87, 0.2);
}

.tag-pill-fee {
  background: var(--proton-purple-light);
  color: var(--proton-purple);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(109, 74, 255, 0.25);
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #6D4AFF 0%, #5331D8 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(109, 74, 255, 0.3);
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid #4F2BD8;
}

.btn-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(109, 74, 255, 0.45);
  background: linear-gradient(135deg, #5B35F0 0%, #4322C4 100%);
  color: #FFFFFF !important;
}

/* Prompt Highlight Area with Enhanced Visual Attention */
.download-notice-highlight {
  background: linear-gradient(90deg, #FEF2F2 0%, #FFFBEB 100%);
  border: 1.5px solid #FCA5A5;
  border-left: 5px solid #DC2626;
  color: #991B1B;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.08);
  width: 100%;
  box-sizing: border-box;
}

.notice-highlight-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 260px;
}

.notice-highlight-icon {
  font-size: 22px;
  flex-shrink: 0;
  animation: pulseNotice 2s infinite ease-in-out;
}

@keyframes pulseNotice {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.notice-highlight-text {
  font-size: 15px;
  color: #7F1D1D;
  word-break: break-word;
}

.notice-highlight-text strong {
  color: #B91C1C;
  font-weight: 800;
}

.notice-highlight-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #DC2626;
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  border: 1.5px solid #B91C1C;
}

.notice-highlight-btn:hover {
  background: #B91C1C;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.5);
  color: #FFFFFF !important;
}

.product-desc-text {
  font-size: 15px;
  color: var(--proton-text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  border-top: 1px solid var(--proton-border);
  padding-top: 18px;
}

.product-bottom-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--proton-border);
}

.product-platform-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13.5px;
  color: var(--proton-text-secondary);
  flex-wrap: wrap;
  font-weight: 500;
}

.product-platform-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--proton-deep);
  font-weight: 600;
}

/* ========================================================
   RESPONSIVE DESIGN BREAKPOINTS - CAREFULLY CALIBRATED
   No text wrapping, zero right-side overflow, ample margin
   ======================================================== */
@media (max-width: 1360px) {
  .container-nav {
    padding: 0 16px;
  }
  .nav-brand img {
    height: 28px;
  }
  .brand-badge {
    font-size: 0.74rem;
    padding: 2px 7px;
  }
  .nav-links {
    gap: 2px;
  }
  .nav-link {
    font-size: 0.91rem;
    padding: 6px 8px;
  }
  .nav-actions {
    gap: 4px;
    padding: 3px 5px;
  }
  .nav-actions .btn-sm {
    padding: 6px 11px;
    font-size: 0.84rem;
  }
  .lang-switch {
    padding: 4px 7px;
    font-size: 0.82rem;
  }
}

@media (max-width: 1150px) {
  .brand-badge {
    display: none;
  }
  .nav-links {
    gap: 1px;
  }
  .nav-link {
    font-size: 0.87rem;
    padding: 5px 6px;
  }
  .nav-actions {
    padding: 2px 4px;
    gap: 3px;
  }
  .nav-actions .btn-sm {
    padding: 5px 9px;
    font-size: 0.81rem;
  }
  .lang-switch {
    padding: 4px 6px;
    font-size: 0.78rem;
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .nav-actions .lang-switch {
    display: none;
  }
  .nav-actions {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .vpn-core-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vpn-infra-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand-col {
    grid-column: span 2;
  }
  .tab-btn {
    padding: 8px 14px;
    font-size: 0.88rem;
  }
}

@media (max-width: 768px) {
  .platform-tabs-wrapper {
    justify-content: flex-start;
    padding: 0 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .platform-tabs {
    padding: 4px;
    gap: 3px;
  }
  .tab-btn {
    padding: 7px 12px;
    font-size: 0.82rem;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .vpn-core-grid {
    grid-template-columns: 1fr;
  }
  .vpn-infra-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .vpn-infra-banner {
    padding: 30px 20px;
  }
  .vpn-protocol-section {
    padding: 24px 16px;
  }
  .os-detect-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .os-detect-actions {
    width: 100%;
    align-items: stretch;
  }
  .platform-grid {
    grid-template-columns: 1fr;
  }
  .download-product-card {
    padding: 24px 20px;
  }
  .product-top-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-hero-cta {
    width: 100%;
    justify-content: center;
  }
  .download-notice-highlight {
    flex-direction: column;
    align-items: stretch;
  }
  .notice-highlight-btn {
    width: 100%;
    justify-content: center;
  }
  .features-detail-grid {
    grid-template-columns: 1fr;
  }
  .verification-section {
    padding: 24px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-brand-col {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .vpn-card-specs {
    height: auto;
    min-height: 122px;
  }
}

