/* ==========================================================================
   WINNIE CLOUD & VPN — DESIGN SYSTEM
   NVIDIA-INSPIRED HIGH-TECH DARK THEME WITH RADIANT AMBER GOLD ACCENTS
   PERFECT RESPONSIVE CONTAINMENT FOR ALL MOBILE DEVICES & DESKTOPS
   ========================================================================== */

:root {
  /* Obsidian Dark Tones (Brand Backgrounds) */
  --bg-black: #07080a;
  --bg-surface-1: #0e1015;
  --bg-surface-2: #14171f;
  --bg-surface-3: #1c202b;
  --bg-surface-glass: rgba(14, 16, 21, 0.88);
  
  /* Honey Amber / Gold Tones (Brand Accent from User Assets) */
  --amber-primary: #ffb800;
  --amber-hover: #ffc93c;
  --amber-dark: #d99b00;
  --amber-glow: rgba(255, 184, 0, 0.25);
  --amber-subtle: rgba(255, 184, 0, 0.08);
  --amber-border: rgba(255, 184, 0, 0.35);

  /* High-Tech Neutral Typography */
  --text-pure-white: #ffffff;
  --text-high-contrast: #f0f2f5;
  --text-muted: #959aa8;
  --text-dim: #606575;

  /* Borders & Glassmorphism */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 184, 0, 0.5);
  --glass-blur: blur(16px);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Elevation Shadows */
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(255, 184, 0, 0.18);
  --shadow-glow-strong: 0 0 50px rgba(255, 184, 0, 0.35);
  
  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* Reset & Strict Containment */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--bg-black);
  color: var(--text-high-contrast);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Backlight Wrapper (Strictly Contained) */
.ambient-glow-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
}

.glow-top {
  top: -100px;
  right: 5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
}

.glow-middle {
  top: 45%;
  left: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
}

/* Typography Utilities */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--text-pure-white);
  word-break: break-word;
}

.accent-text {
  color: var(--amber-primary);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--amber-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg-surface-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  transition: border-color 0.3s ease;
}

.navbar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

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

.brand-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-active);
  object-fit: cover;
  flex-shrink: 0;
}

.brand-avatar-sm {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-active);
  object-fit: cover;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-badge {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--amber-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--amber-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--amber-primary);
  animation: pulseAnimation 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulseAnimation {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-link:hover {
  color: var(--amber-primary);
}

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

/* Button System (NVIDIA High Precision) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 18px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--amber-primary);
  color: #000000;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.25);
}

.btn-primary:hover {
  background-color: var(--amber-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.4);
}

.btn-secondary {
  background-color: var(--bg-surface-2);
  color: var(--text-high-contrast);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-3);
  border-color: var(--border-active);
  color: var(--amber-primary);
}

.btn-nav {
  background: var(--amber-subtle);
  color: var(--amber-primary);
  border: 1px solid var(--amber-border);
  padding: 7px 14px;
  font-size: 0.82rem;
}

.btn-nav:hover {
  background: var(--amber-primary);
  color: #000000;
  box-shadow: 0 0 15px var(--amber-glow);
}

.btn-large {
  padding: 13px 24px;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

.tg-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.tg-icon-sm {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.arrow-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn:hover .arrow-icon {
  transform: translateX(3px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 50px 20px 70px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  max-width: 100%;
}

.pill-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--amber-primary);
  letter-spacing: 0.04em;
}

.pill-divider {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.pill-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.12;
  margin-bottom: 18px;
  word-break: break-word;
}

.hero-description {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-pure-white);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.metric-divider {
  display: none;
}

/* Hero Visual Showcase Card */
.hero-visual-card {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.visual-glow-frame {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  position: relative;
  width: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.visual-glow-frame:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.card-header-bar {
  padding: 10px 14px;
  background: var(--bg-surface-2);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.status-indicator {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  flex-shrink: 0;
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: var(--amber-subtle);
  color: var(--amber-primary);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--amber-border);
  flex-shrink: 0;
}

.visual-image-container {
  position: relative;
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at center, rgba(255, 184, 0, 0.05) 0%, transparent 70%);
  width: 100%;
}

.hero-card-img {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.floating-telemetry {
  position: absolute;
  background: var(--bg-surface-glass);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  font-family: var(--font-mono);
}

.telemetry-left {
  bottom: 20px;
  left: 12px;
  border-left: 2px solid var(--amber-primary);
}

.telemetry-right {
  top: 20px;
  right: 12px;
  border-left: 2px solid #10b981;
}

.telemetry-icon {
  font-size: 1rem;
}

.telemetry-val {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-pure-white);
  white-space: nowrap;
}

.telemetry-sub {
  font-size: 0.65rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.card-footer-bar {
  padding: 10px 14px;
  background: var(--bg-surface-2);
  border-top: 1px solid var(--border-subtle);
}

.crypto-accept-pill {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.crypto-coin {
  background: var(--bg-surface-3);
  padding: 2px 5px;
  border-radius: 4px;
  color: var(--amber-primary);
  font-weight: 700;
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   COMMON SECTION STYLES
   ========================================================================== */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 20px;
  position: relative;
  z-index: 1;
  width: 100%;
}

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

.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber-primary);
  background: var(--amber-subtle);
  border: 1px solid var(--amber-border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

.section-title {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 14px;
  word-break: break-word;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   PRICING & VPS SPECS
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.pricing-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  width: 100%;
}

.pricing-card:hover {
  transform: translateY(-3px);
  border-color: var(--amber-border);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(255, 184, 0, 0.04) 0%, var(--bg-surface-1) 100%);
  border-color: var(--border-active);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.featured-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--amber-primary);
  color: #000000;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.card-ambient-light {
  position: absolute;
  top: 0;
  left: 20%;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pricing-card:hover .card-ambient-light,
.pricing-card.featured .card-ambient-light {
  opacity: 1;
}

.plan-header {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.plan-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 4px;
}

.plan-name {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.price-box .currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--amber-primary);
}

.price-box .price-val {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-pure-white);
  line-height: 1;
}

.price-box .period {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  gap: 6px;
}

.spec-label {
  color: var(--text-muted);
}

.spec-val {
  font-weight: 600;
  color: var(--text-high-contrast);
  text-align: right;
}

.highlight-amber {
  color: var(--amber-primary);
}

.os-support-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.os-tag {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  padding: 3px 6px;
  border-radius: 4px;
  color: var(--text-muted);
}

.btn-card-order {
  margin-top: auto;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-high-contrast);
  padding: 11px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.btn-card-order:hover {
  background: var(--amber-primary);
  color: #000000;
  border-color: var(--amber-primary);
  box-shadow: 0 4px 15px var(--amber-glow);
}

/* ==========================================================================
   WINNIE VPN & ANTI-CENSORSHIP
   ========================================================================== */
.vpn-feature-wrapper {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.vpn-feature-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  width: 100%;
}

.censorship-target-box {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  margin: 18px 0 24px;
}

.target-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--amber-primary);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 8px;
}

.target-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.flag-chip {
  background: var(--bg-surface-3);
  border: 1px solid var(--border-subtle);
  padding: 5px 9px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.vpn-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.highlight-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.hl-icon {
  font-size: 1.2rem;
  background: var(--amber-subtle);
  border: 1px solid var(--amber-border);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.hl-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-pure-white);
  margin-bottom: 2px;
}

.hl-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.visual-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.vpn-card-img {
  width: 100%;
  max-width: 340px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-glow);
}

.node-status-hud {
  margin-top: 12px;
  width: 100%;
  max-width: 340px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}

.hud-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--amber-primary);
  font-weight: 700;
  margin-bottom: 6px;
}

.hud-dot {
  width: 5px;
  height: 5px;
  background-color: var(--amber-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.hud-protocols {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.proto-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: var(--bg-surface-3);
  color: var(--text-muted);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.proto-badge.active {
  color: var(--text-high-contrast);
  border-color: rgba(255, 184, 0, 0.3);
}

/* ==========================================================================
   LOCATIONS
   ========================================================================== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  width: 100%;
}

.location-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.2s ease;
  width: 100%;
}

.location-card:hover {
  border-color: var(--amber-border);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.loc-flag {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.loc-name {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-pure-white);
}

.loc-region {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.loc-status {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.loc-status.online {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   INTERACTIVE ORDER BUILDER
   ========================================================================== */
.builder-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.builder-header {
  text-align: center;
  margin-bottom: 24px;
}

.builder-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.control-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-high-contrast);
}

.btn-group-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
}

.toggle-btn {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-grow: 1;
  text-align: center;
}

.toggle-btn:hover {
  border-color: var(--amber-border);
  color: var(--text-pure-white);
}

.toggle-btn.active {
  background: var(--amber-subtle);
  border-color: var(--amber-primary);
  color: var(--amber-primary);
  box-shadow: 0 0 10px var(--amber-subtle);
}

.builder-preview-box {
  background: var(--bg-black);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  width: 100%;
  overflow: hidden;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.target-user {
  color: var(--amber-primary);
  font-weight: 700;
}

.preview-text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #e2e8f0;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.5;
  width: 100%;
}

.builder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  width: 100%;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.faq-item {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
  width: 100%;
}

.faq-item.open {
  border-color: var(--amber-border);
}

.faq-question {
  width: 100%;
  padding: 16px 18px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-pure-white);
  cursor: pointer;
  text-align: left;
  gap: 10px;
}

.faq-arrow {
  font-size: 1.2rem;
  color: var(--amber-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-arrow {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 18px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 250px;
  padding: 0 18px 16px;
}

/* ==========================================================================
   TELEGRAM COMMUNITY HUB CARD
   ========================================================================== */
.telegram-hub-card {
  background: linear-gradient(135deg, var(--bg-surface-1) 0%, var(--bg-surface-2) 100%);
  border: 1px solid var(--amber-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  width: 100%;
}

.hub-avatar {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  border: 2px solid var(--amber-primary);
  box-shadow: 0 0 15px var(--amber-glow);
}

.hub-title {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.hub-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.hub-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-black);
  padding: 40px 20px 20px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 32px;
  margin-bottom: 30px;
  width: 100%;
}

.footer-copy {
  color: var(--text-dim);
  font-size: 0.84rem;
  margin-top: 8px;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.footer-col h4 {
  font-size: 0.88rem;
  margin-bottom: 12px;
  color: var(--text-pure-white);
}

.footer-col a, .footer-col span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.footer-col a:hover {
  color: var(--amber-primary);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: var(--glass-blur);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--amber-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), var(--shadow-glow);
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-size: 1.2rem;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-pure-white);
}

.modal-plan-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-surface-2);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
  border: 1px solid var(--border-subtle);
}

.modal-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 18px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (UNIVERSAL MOBILE PERFECTION)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group, .hero-metrics {
    justify-content: center;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .vpn-feature-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .telegram-hub-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .section-container {
    padding: 40px 16px;
  }

  .hero-section {
    padding: 30px 16px 50px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 7.5vw, 2.5rem);
  }

  .section-title {
    font-size: 1.75rem;
  }

  .vpn-feature-wrapper, .builder-card {
    padding: 20px 14px;
  }

  .footer-links-group {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Specific narrow viewport optimizations (Samsung Galaxy S21 / S22, Redmi, iPhones 320px-480px) */
@media (max-width: 540px) {
  .navbar {
    padding: 10px 12px;
  }

  .brand-logo {
    gap: 8px;
  }

  .brand-avatar {
    width: 32px;
    height: 32px;
  }

  .brand-title {
    font-size: 0.95rem;
  }

  .brand-badge {
    font-size: 0.6rem;
  }

  .btn-nav {
    padding: 6px 10px;
    font-size: 0.78rem;
    gap: 4px;
  }

  .hero-pill {
    flex-wrap: wrap;
    justify-content: center;
    padding: 5px 10px;
    gap: 4px;
    border-radius: 6px;
    margin-bottom: 16px;
  }

  .pill-divider {
    display: none;
  }

  .pill-tag, .pill-text {
    font-size: 0.62rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
    margin-bottom: 12px;
  }

  .hero-description {
    font-size: 0.92rem;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding-top: 16px;
    width: 100%;
  }

  .metric-value {
    font-size: 1.05rem;
  }

  .metric-label {
    font-size: 0.65rem;
  }

  /* Telemetry containment */
  .floating-telemetry {
    display: none; /* Hide absolute telemetry on mobile for pure clean fluid fit */
  }

  /* Anti-censorship flags */
  .target-flags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  .flag-chip {
    font-size: 0.72rem;
    padding: 5px 6px;
    justify-content: center;
  }

  /* Locations grid */
  .locations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .location-card {
    padding: 10px 6px;
  }

  .loc-flag {
    font-size: 1.4rem;
  }

  .loc-name {
    font-size: 0.82rem;
  }

  /* Order Builder Toggles */
  .btn-group-toggle {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 6px;
    width: 100%;
  }

  .toggle-btn {
    padding: 7px 8px;
    font-size: 0.75rem;
  }

  .builder-actions {
    flex-direction: column;
    width: 100%;
  }

  .builder-actions .btn {
    width: 100%;
  }

  /* Hub Card */
  .telegram-hub-card {
    padding: 20px 14px;
  }

  .hub-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hub-buttons .btn {
    width: 100%;
  }
}
