/* ========================================
   VPN Rescue - Cyberpunk Dark Theme Styles
   ======================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Backgrounds */
  --bg-primary: #0A0B0E;
  --bg-secondary: #12141A;
  --bg-tertiary: #1A1D26;
  --bg-card: #161920;

  /* Accents */
  --accent-green: #00FF9D;
  --accent-blue: #00D4FF;
  --accent-purple: #A855F7;
  --accent-cyan: #22D3EE;

  /* Text */
  --text-primary: #F3F4F6;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;

  /* Glows */
  --glow-green: rgba(0,255,157,0.15);
  --glow-blue: rgba(0,212,255,0.15);

  /* Fonts */
  --font-body: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;

  /* Danger */
  --danger: #EF4444;
}

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

html {
  scroll-behavior: smooth;
}

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

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(0,255,157,0.3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0,255,157,0.5);
}

/* ---------- Animations ---------- */
@keyframes pulse-green {
  0%   { box-shadow: 0 0 0 rgba(0,255,157,0.6); }
  50%  { box-shadow: 0 0 6px rgba(0,255,157,0.6); }
  100% { box-shadow: 0 0 0 rgba(0,255,157,0.6); }
}

@keyframes radar-sweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes progress-glow {
  0%   { box-shadow: 8px 0 8px rgba(0,255,157,0.4); }
  50%  { box-shadow: 20px 0 20px rgba(0,255,157,0.8); }
  100% { box-shadow: 8px 0 8px rgba(0,255,157,0.4); }
}

@keyframes float-particle {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  20%  { opacity: 1; }
  60%  { opacity: 0.6; }
  100% { transform: translateY(-180px) translateX(20px); opacity: 0; }
}

@keyframes matrix-fall {
  0%   { transform: translateY(-100%); opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

@keyframes glow-border-pulse {
  0%   { border-color: rgba(0,255,157,0.3); box-shadow: 0 0 8px rgba(0,255,157,0.1); }
  50%  { border-color: rgba(0,255,157,0.7); box-shadow: 0 0 20px rgba(0,255,157,0.3); }
  100% { border-color: rgba(0,255,157,0.3); box-shadow: 0 0 8px rgba(0,255,157,0.1); }
}

@keyframes scan-line-card {
  0%   { top: -2px; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: calc(100% + 2px); opacity: 0; }
}

@keyframes countdown-flash {
  0%   { opacity: 1; }
  50%  { opacity: 0.6; }
  100% { opacity: 1; }
}

@keyframes success-burst {
  0%   { transform: scale(0); opacity: 1; }
  70%  { transform: scale(1.2); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes scanline {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes glow-text {
  0%   { text-shadow: 0 0 10px rgba(0,255,157,0.5); }
  50%  { text-shadow: 0 0 20px rgba(0,255,157,0.8); }
  100% { text-shadow: 0 0 10px rgba(0,255,157,0.5); }
}

@keyframes grid-scroll {
  from { background-position: 0 0; }
  to   { background-position: 0 40px; }
}

@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

@keyframes radar-ring-pulse {
  0%   { transform: scale(0.8); opacity: 0.4; }
  50%  { transform: scale(1); opacity: 0.2; }
  100% { transform: scale(0.8); opacity: 0.4; }
}

@keyframes signal-blink {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 1; }
}

@keyframes ping-red {
  0%   { transform: scale(1); opacity: 1; }
  75%  { transform: scale(2); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

@keyframes shield-ring-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes shield-ring-rotate-reverse {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}

/* ---------- Utility Classes ---------- */
.gradient-text-green-blue {
  background: linear-gradient(135deg, #00FF9D, #00D4FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-blue-purple {
  background: linear-gradient(135deg, #00D4FF, #A855F7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hidden { display: none !important; }

/* ---------- Browser Detect Overlay ---------- */
#browser-detect {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 11, 14, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
}

#browser-detect .bd-card {
  border-radius: 1rem;
  border: 1px solid rgba(239,68,68,0.3);
  background: var(--bg-secondary);
  padding: 2rem 3rem;
  box-shadow: 0 0 40px rgba(239,68,68,0.15);
  text-align: center;
  max-width: 28rem;
  position: relative;
  overflow: hidden;
}

#browser-detect .bd-card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239,68,68,0.6), transparent);
  animation: scan-line-card 3s linear infinite;
}

#browser-detect .bd-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--danger);
  background: rgba(239,68,68,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--danger);
}

#browser-detect .bd-title {
  color: var(--danger);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

#browser-detect .bd-message {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

#browser-detect .bd-copy-btn {
  margin-top: 1.5rem;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--danger);
  border-radius: 6px;
  background: transparent;
  color: var(--danger);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

#browser-detect .bd-copy-btn:hover {
  background: var(--danger);
  color: #fff;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  background: rgba(10,11,14,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse-green 2s ease-in-out infinite;
}

.status-text {
  font-size: 12px;
  color: var(--text-secondary);
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn:hover {
  border-color: rgba(0,255,157,0.3);
  color: var(--accent-green);
}

.lang-btn .globe-icon {
  font-size: 14px;
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 3rem 1rem 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Grid background */
.hero-section .cyber-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,255,157,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,157,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: grid-scroll 4s linear infinite;
  pointer-events: none;
}

/* Radial glows */
.hero-section .radial-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-section .glow-green {
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(0,255,157,0.08), transparent 70%);
  filter: blur(140px);
}

.hero-section .glow-blue {
  top: 10%;
  right: -5%;
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.05), transparent 70%);
  filter: blur(100px);
}

/* Floating particles */
.hero-section .particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: float-particle var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  bottom: 20%;
}

/* Full-page scanline */
.hero-section::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,255,157,0.08), transparent);
  animation: scanline 4s linear infinite;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 72rem;
  width: 100%;
  margin: 0 auto;
}

/* Hero text area */
.hero-text-area {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 42rem;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.limited-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(239,68,68,0.3);
  background: rgba(239,68,68,0.1);
  font-size: 11px;
  color: var(--danger);
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .limited-badge { font-size: 12px; }
}

.limited-badge .ping-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--danger);
  position: relative;
}

.limited-badge .ping-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--danger);
  animation: ping-red 1.5s cubic-bezier(0,0,0.2,1) infinite;
}

.hero-hook {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero-hook { font-size: 16px; }
}

.hero-title1 {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.hero-title2 {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero-title1 { font-size: 48px; }
  .hero-title2 { font-size: 48px; }
}

@media (min-width: 1024px) {
  .hero-title1 { font-size: 60px; }
  .hero-title2 { font-size: 60px; }
}

.hero-subtitle {
  color: var(--accent-green);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero-subtitle { font-size: 18px; }
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.625;
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

@media (min-width: 640px) {
  .hero-desc { font-size: 15px; }
}

/* Feature pills */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  font-size: 12px;
  color: var(--text-secondary);
}

/* Countdown */
.countdown-section {
  margin-bottom: 1.5rem;
}

.countdown-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  text-align: center;
}

.countdown-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.countdown-card {
  width: 56px;
  height: 72px;
  background: var(--bg-card);
  border: 1px solid rgba(0,255,157,0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(0,255,157,0.1), inset 0 0 12px rgba(0,255,157,0.05);
}

@media (min-width: 640px) {
  .countdown-card { width: 72px; height: 88px; }
}

.countdown-number {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--accent-green);
  animation: countdown-flash 1s ease-in-out infinite;
}

@media (min-width: 640px) {
  .countdown-number { font-size: 30px; }
}

.countdown-sep {
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--accent-green);
  opacity: 0.5;
}

.countdown-labels {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

@media (min-width: 640px) {
  .countdown-labels { gap: 8px; }
}

.countdown-unit {
  width: 56px;
  text-align: center;
  font-size: 10px;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .countdown-unit { width: 72px; }
}

.countdown-unit-sep {
  width: 8px;
}

/* Social proof */
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.avatar-stack {
  display: flex;
}

.avatar-stack .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  border: 2px solid var(--bg-primary);
  margin-left: -6px;
}

.avatar-stack .avatar:first-child { margin-left: 0; }

.avatar.blue   { background: var(--accent-blue); }
.avatar.purple { background: var(--accent-purple); }
.avatar.green  { background: var(--accent-green); color: #000; }
.avatar.orange { background: #F97316; }
.avatar.cyan   { background: var(--accent-cyan); }

.social-proof-text {
  font-size: 13px;
  color: var(--text-secondary);
}

.social-proof-count {
  color: var(--accent-green);
  font-weight: 600;
}

/* Stats cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-width: 36rem;
  margin: 0 auto 2rem;
  width: 100%;
}

@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 12px 8px;
  text-align: center;
}

.stat-card::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,255,157,0.3), transparent);
  animation: scan-line-card 3s linear infinite;
  pointer-events: none;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 2px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
}

/* Trust badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2rem;
  font-size: 12px;
  color: var(--text-secondary);
}

/* Scroll hint */
.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 12px;
  animation: bounce-arrow 2s ease-in-out infinite;
}

.scroll-hint .arrow {
  font-size: 16px;
}

/* Shield (desktop only) */
.hero-shield {
  display: none;
  position: relative;
  width: 290px;
  height: 290px;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .hero-shield { display: block; }
}

.hero-layout {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: 100%;
  justify-content: center;
  position: relative;
}

@media (min-width: 640px) {
  .hero-layout {
    min-height: 400px;
  }
  .hero-shield {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 639px) {
  .hero-layout {
    flex-direction: column;
  }
}

.shield-outer-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 290px;
  height: 290px;
  border-radius: 50%;
  border: 1px solid rgba(0,255,157,0.2);
}

.shield-mid-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.2);
  animation: shield-ring-rotate-reverse 8s linear infinite;
}

.shield-inner-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,157,0.15), rgba(0,212,255,0.1), transparent);
  filter: blur(8px);
}

.shield-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(0,255,157,0.4);
  background: rgba(0,255,157,0.05);
  box-shadow: 0 0 30px rgba(0,255,157,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-core svg {
  width: 36px;
  height: 36px;
  color: var(--accent-green);
}

.shield-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0,255,157,0.6), transparent);
  transform-origin: left center;
  animation: radar-sweep 3s linear infinite;
}

/* ---------- Claim Section ---------- */
.claim-section {
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.claim-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(0,255,157,0.3);
  background: rgba(0,255,157,0.1);
  font-size: 12px;
  color: var(--accent-green);
  margin-bottom: 1.5rem;
}

.claim-card {
  position: relative;
  max-width: 28rem;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(0,255,157,0.3);
  border-radius: 1rem;
  padding: 2rem;
  animation: glow-border-pulse 3s ease-in-out infinite;
  overflow: hidden;
}

.claim-card::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,255,157,0.3), transparent);
  animation: scan-line-card 3s linear infinite;
  pointer-events: none;
}

.region-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-body);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  margin-bottom: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.region-select:focus {
  border-color: rgba(0,255,157,0.5);
  box-shadow: 0 0 8px rgba(0,255,157,0.15);
}

.region-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.claim-btn {
  position: relative;
  width: 100%;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #00FF9D, #00D4FF);
  color: #0A0B0E;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.1s;
}

.claim-btn:hover {
  box-shadow: 0 0 20px rgba(0,255,157,0.4);
}

.claim-btn:active {
  transform: scale(0.98);
}

.claim-btn .shimmer-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
  pointer-events: none;
}

.claim-btn-text {
  position: relative;
  z-index: 1;
}

.claim-count {
  text-align: center;
  margin-top: 1rem;
  font-size: 13px;
  color: var(--text-secondary);
}

.claim-count-num {
  color: var(--accent-green);
  font-weight: 600;
}

/* ---------- Solutions Section ---------- */
.solutions-section {
  padding: 3rem 1rem;
}

.solutions-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

@media (min-width: 640px) {
  .solutions-title { font-size: 28px; }
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .solutions-grid { grid-template-columns: repeat(4, 1fr); }
}

.solution-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.solution-card::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,255,157,0.3), transparent);
  animation: scan-line-card 3s linear infinite;
  pointer-events: none;
}

.solution-card:hover {
  border-color: rgba(255,255,255,0.15);
}

.solution-card:nth-child(1):hover { box-shadow: 0 0 20px rgba(0,255,157,0.1); }
.solution-card:nth-child(2):hover { box-shadow: 0 0 20px rgba(0,212,255,0.1); }
.solution-card:nth-child(3):hover { box-shadow: 0 0 20px rgba(0,165,247,0.1); }
.solution-card:nth-child(4):hover { box-shadow: 0 0 20px rgba(34,211,238,0.1); }

.solution-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.solution-card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.solution-card:nth-child(1) .solution-card-title { color: var(--accent-green); }
.solution-card:nth-child(2) .solution-card-title { color: var(--accent-blue); }
.solution-card:nth-child(3) .solution-card-title { color: var(--accent-purple); }
.solution-card:nth-child(4) .solution-card-title { color: var(--accent-cyan); }

.solution-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ---------- Reviews Section ---------- */
.reviews-section {
  padding: 3rem 1rem;
}

.reviews-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

@media (min-width: 640px) {
  .reviews-title { font-size: 28px; }
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

.review-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 1.25rem;
}

.review-card::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,255,157,0.2), transparent);
  animation: scan-line-card 3s linear infinite;
  pointer-events: none;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}

.review-avatar.blue   { background: var(--accent-blue); }
.review-avatar.purple { background: var(--accent-purple); }
.review-avatar.green  { background: var(--accent-green); color: #000; }

.review-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.review-role {
  font-size: 12px;
  color: var(--text-muted);
}

.review-stars {
  color: #FBBF24;
  font-size: 14px;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
}

.reviews-trust-bar {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 1.5rem;
  font-size: 13px;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

/* ---------- Nodes Section ---------- */
.nodes-section {
  padding: 3rem 1rem;
}

.nodes-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

@media (min-width: 640px) {
  .nodes-title { font-size: 28px; }
}

.nodes-table-wrapper {
  overflow-x: auto;
  max-width: 56rem;
  margin: 0 auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nodes-table-wrapper::-webkit-scrollbar {
  display: none;
}

.nodes-table {
  width: 100%;
  min-width: 440px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}

.nodes-table th {
  padding: 10px 16px;
  text-align: left;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
}

.nodes-table td {
  padding: 10px 16px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.nodes-table tbody tr {
  transition: background 0.15s;
}

.nodes-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}

.nodes-table tbody tr:last-child td {
  border-bottom: none;
}

.type-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(0,255,157,0.1);
  color: var(--accent-green);
  font-size: 11px;
  font-weight: 600;
}

.latency-val {
  font-family: var(--font-mono);
  color: var(--accent-blue);
}

.status-cell {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse-green 2s ease-in-out infinite;
}

.status-text-cell {
  font-size: 12px;
  color: var(--text-secondary);
}

.nodes-total {
  text-align: center;
  margin-top: 1rem;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.5rem 1rem;
  text-align: center;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 11px;
}

@media (min-width: 640px) {
  .footer-copy { font-size: 12px; }
}

/* ---------- Loading Page ---------- */
.loading-page {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.loading-back-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  transition: color 0.2s;
  z-index: 10;
}

.loading-back-btn:hover {
  color: var(--text-primary);
}

.loading-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  width: 100%;
  max-width: 28rem;
}

.phase-label {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* Radar animation */
.radar-container {
  position: relative;
  width: 160px;
  height: 160px;
  margin-bottom: 1.5rem;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,255,157,0.15);
}

.radar-ring-1 {
  inset: 0;
}

.radar-ring-2 {
  inset: 25%;
}

.radar-ring-3 {
  inset: 45%;
}

.radar-center-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px var(--accent-green);
}

.radar-sweep-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0,255,157,0.8), transparent);
  transform-origin: left center;
  animation: radar-sweep 3s linear infinite;
}

.radar-signal {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: signal-blink 2s ease-in-out infinite;
}

.radar-signal-1 { top: 15%; left: 65%; animation-delay: 0s; }
.radar-signal-2 { top: 60%; left: 85%; animation-delay: 0.5s; }
.radar-signal-3 { top: 80%; left: 40%; animation-delay: 1s; }
.radar-signal-4 { top: 30%; left: 20%; animation-delay: 1.5s; }

/* Matrix animation */
.matrix-container {
  display: flex;
  gap: 8px;
  margin-bottom: 1.5rem;
  height: 40px;
  align-items: center;
}

.matrix-char {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-green);
  opacity: var(--opacity, 1);
  animation: matrix-fall var(--dur, 1.5s) linear infinite;
  animation-delay: var(--delay, 0s);
}

/* Progress bar */
.progress-wrapper {
  width: 100%;
  max-width: 24rem;
  margin-bottom: 1.5rem;
}

.progress-track {
  width: 100%;
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00FF9D, #00D4FF);
  border-radius: 2px;
  transition: width 50ms linear;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 8px rgba(0,212,255,0.6);
  animation: progress-glow 1.5s ease-in-out infinite;
}

/* Logs */
.log-area {
  width: 100%;
  max-width: 24rem;
  max-height: 200px;
  overflow-y: auto;
}

.log-entry {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 4px 0;
  animation: fade-in 0.5s ease-out;
  display: flex;
  align-items: center;
  gap: 6px;
}

.log-icon {
  font-size: 12px;
  flex-shrink: 0;
}

/* ---------- Result Page ---------- */
.result-page {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
}

.result-back-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  transition: color 0.2s;
  z-index: 10;
}

.result-back-btn:hover {
  color: var(--text-primary);
}

.result-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem 2rem;
  width: 100%;
  max-width: 28rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(0,255,157,0.4);
  background: rgba(0,255,157,0.1);
  box-shadow: 0 0 30px rgba(0,255,157,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  animation: success-burst 0.5s ease-out;
}

.success-icon svg {
  width: 36px;
  height: 36px;
  color: var(--accent-green);
}

.success-text {
  font-size: 30px;
  font-weight: 800;
  color: var(--accent-green);
  margin-bottom: 1.5rem;
  animation: glow-text 2s ease-in-out infinite;
}

@media (min-width: 640px) {
  .success-text { font-size: 36px; }
}

.result-card {
  position: relative;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(0,255,157,0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  animation: glow-border-pulse 3s ease-in-out infinite;
  overflow: hidden;
  margin-bottom: 1rem;
}

.result-card::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,255,157,0.3), transparent);
  animation: scan-line-card 3s linear infinite;
  pointer-events: none;
}

.result-connection-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.result-code-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--bg-secondary);
  border: 1px solid rgba(0,255,157,0.3);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 1rem;
}

.result-code-text {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-green);
  word-break: break-all;
}

.result-sub-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--accent-blue);
  word-break: break-all;
  line-height: 1.4;
}

.result-copy-code-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
  flex-shrink: 0;
}

.result-copy-code-btn:hover {
  color: var(--accent-green);
}

.result-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 1rem;
}

.result-info-item {
  text-align: center;
  padding: 8px 4px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

.result-info-value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.result-info-label {
  font-size: 10px;
  color: var(--text-muted);
}

.result-info-item.protocol .result-info-value { color: var(--accent-blue); }
.result-info-item.latency .result-info-value { color: var(--accent-green); }
.result-info-item.validity .result-info-value { color: var(--accent-purple); }

.result-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 1.25rem;
  font-size: 13px;
  color: var(--text-secondary);
}

.result-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse-green 2s ease-in-out infinite;
}

.result-copy-link-btn {
  position: relative;
  width: 100%;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #00FF9D, #00D4FF);
  color: #0A0B0E;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.1s;
}

.result-copy-link-btn:hover {
  box-shadow: 0 0 20px rgba(0,255,157,0.4);
}

.result-copy-link-btn:active {
  transform: scale(0.98);
}

.result-copy-link-btn .shimmer-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
  pointer-events: none;
}

.result-copy-link-btn-text {
  position: relative;
  z-index: 1;
}
