﻿/* 苏菲家宽 (sufejc.sbs) - Modern Residential Proxy Landing Page Styles */
:root {
  --bg-primary: #09090b;
  --bg-secondary: #121216;
  --bg-card: rgba(24, 24, 27, 0.78);
  --bg-card-hover: rgba(34, 34, 40, 0.92);
  --border-subtle: rgba(251, 191, 36, 0.14);
  --border-accent: rgba(251, 191, 36, 0.5);

  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  --accent-cyan: #fbbf24;
  --accent-indigo: #d97706;
  --accent-emerald: #34d399;
  --accent-amber: #fbbf24;

  --gradient-brand: linear-gradient(135deg, #fde68a 0%, #fbbf24 45%, #d97706 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(251, 191, 36, 0.14), transparent 65%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 12px 32px -8px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px -10px rgba(251, 191, 36, 0.35);

  --font-sans: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

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

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

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Background Ambient Glows */
.bg-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(251, 191, 36, 0.13), transparent),
    radial-gradient(ellipse 50% 40% at 85% 25%, rgba(217, 119, 6, 0.09), transparent),
    radial-gradient(ellipse 50% 40% at 15% 75%, rgba(251, 191, 36, 0.05), transparent);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(9, 9, 11, 0.82);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: block;
  flex-shrink: 0;
}

.brand-domain {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-cyan);
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

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

.nav-links a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: color 0.2s;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text-primary);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-ghost {
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.btn-primary {
  background: var(--gradient-brand);
  color: #070b14;
  box-shadow: 0 6px 20px -4px rgba(251, 191, 36, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -4px rgba(251, 191, 36, 0.6);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  padding: 6px;
}

/* Hero Section */
.hero {
  padding: 84px 0 64px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.25);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  max-width: 820px;
  margin: 0 auto 20px;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

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

.metric-value {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-primary);
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Section Headers */
.section {
  padding: 80px 0;
}

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

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 10px;
  display: block;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Billing Toggle */
.billing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.billing-toggle {
  display: inline-flex;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 5px;
  gap: 4px;
}

.billing-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.billing-btn.active {
  background: var(--gradient-brand);
  color: #070b14;
  box-shadow: 0 2px 12px rgba(251, 191, 36, 0.35);
}

.discount-pill {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(52, 211, 153, 0.16);
  color: var(--accent-emerald);
  font-weight: 700;
}

.billing-btn.active .discount-pill {
  background: rgba(7, 11, 20, 0.2);
  color: #070b14;
}

/* Pricing Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(12px);
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(148, 163, 184, 0.32);
  background: var(--bg-card-hover);
}

.plan-card.popular {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.08) 0%, rgba(24, 24, 27, 0.92) 100%);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #070b14;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.plan-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  min-height: 40px;
  margin-bottom: 20px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.plan-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.plan-price {
  font-family: var(--font-mono);
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

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

.plan-billing-note {
  font-size: 0.78rem;
  color: var(--accent-emerald);
  min-height: 20px;
  margin-bottom: 20px;
}

.plan-divider {
  height: 1px;
  background: var(--border-subtle);
  margin-bottom: 20px;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.plan-features li strong {
  color: var(--text-primary);
}

.check-icon {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-btn {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
  border-color: rgba(251, 191, 36, 0.35);
  transform: translateY(-3px);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.2);
  color: var(--accent-cyan);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Nodes Section */
.node-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-cyan);
  background: rgba(251, 191, 36, 0.12);
}

.nodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.node-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.node-card.hidden {
  display: none;
}

.node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.node-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
}

.node-flag {
  font-size: 1.35rem;
}

.node-latency {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-emerald);
  background: rgba(52, 211, 153, 0.12);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.node-isp {
  font-size: 0.83rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.node-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.node-tag {
  font-size: 0.74rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

/* Clients Banner */
.clients-bar {
  margin-top: 48px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
}

.clients-bar p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.clients-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.client-pill {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* FAQ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent-cyan);
  transition: transform 0.25s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* Order Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 7, 15, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 460px;
  background: #0f172a;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.4rem;
  color: var(--text-muted);
  padding: 4px 8px;
}

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

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.modal-summary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.summary-row span:first-child {
  color: var(--text-secondary);
}

.summary-row strong {
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.promo-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(251, 191, 36, 0.08);
  border: 1px dashed rgba(251, 191, 36, 0.4);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 20px;
  font-size: 0.86rem;
}

.promo-code {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-cyan);
}

.copy-btn {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1080px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .features-grid,
  .nodes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links,
  .nav-actions {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .navbar.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #0b1120;
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px 24px;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .plans-grid,
  .features-grid,
  .nodes-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 56px 0 40px;
  }
  .section {
    padding: 56px 0;
  }
}

