:root {
  --bg-page: #fff8f9;
  --bg-soft: #fff1f3;
  --bg-card: #ffffff;
  --bg-card-hover: #fffbfc;
  --text-main: #1f161a;
  --text-muted: #6b535c;
  --text-subtle: #9a7d87;
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --rose-700: #be123c;
  --amber-100: #fef3c7;
  --amber-500: #f59e0b;
  --emerald-50: #ecfdf5;
  --emerald-600: #059669;
  --border-light: rgba(225, 29, 72, 0.12);
  --border-strong: rgba(225, 29, 72, 0.24);
  --shadow-sm: 0 4px 14px rgba(190, 18, 60, 0.05);
  --shadow-md: 0 12px 32px rgba(190, 18, 60, 0.08);
  --shadow-lg: 0 24px 48px rgba(190, 18, 60, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --container: 1180px;
  --font-sans: "Plus Jakarta Sans", "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;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-page);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(251, 113, 133, 0.14) 0%, transparent 38%),
    radial-gradient(circle at 88% 14%, rgba(245, 158, 11, 0.09) 0%, transparent 32%),
    radial-gradient(circle at 50% 60%, rgba(255, 228, 232, 0.45) 0%, transparent 55%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

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

/* Floating Petals Layer */
.petals-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -40px;
  width: 16px;
  height: 22px;
  background: linear-gradient(135deg, #fecdd3 0%, #fb7185 100%);
  border-radius: 70% 30% 60% 40% / 60% 40% 70% 30%;
  opacity: 0.35;
  animation: petal-fall linear infinite;
}

@keyframes petal-fall {
  0% {
    transform: translateY(-40px) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.35;
  }
  90% {
    opacity: 0.25;
  }
  100% {
    transform: translateY(105vh) translateX(60px) rotate(320deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .petal {
    display: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 248, 249, 0.82);
  border-bottom: 1px solid var(--border-light);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

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

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

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

.brand-domain {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--rose-600);
  font-family: var(--font-mono);
}

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

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

.nav-links a:hover {
  color: var(--rose-600);
}

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

.mobile-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  color: var(--text-main);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose-400) 0%, var(--rose-600) 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.24);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(225, 29, 72, 0.32);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--rose-50);
  border-color: var(--rose-400);
  color: var(--rose-700);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--rose-600);
  background: rgba(225, 29, 72, 0.06);
}

.btn-lg {
  padding: 13px 26px;
  font-size: 1rem;
}

/* Main Content */
main {
  position: relative;
  z-index: 1;
}

section {
  padding: 84px 0;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--rose-100);
  color: var(--rose-700);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Hero Section */
.hero {
  padding: 64px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-strong);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--rose-700);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-600);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.16);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.15rem, 4.2vw, 3.25rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.hero h1 .highlight {
  background: linear-gradient(120deg, var(--rose-600) 0%, #fb7185 55%, var(--amber-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  margin: 0 0 28px;
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 560px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.stat-item strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-mono);
}

.stat-item span {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Hero Status Card */
.status-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

.status-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.status-card-title {
  font-weight: 700;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--emerald-50);
  color: var(--emerald-600);
}

.node-preview-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.node-preview-row {
  display: grid;
  grid-template-columns: 1.4fr auto 74px;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-page);
  border: 1px solid var(--border-light);
}

.node-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
}

.node-tag {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--rose-100);
  color: var(--rose-700);
  font-weight: 600;
}

.node-ping {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--emerald-600);
  text-align: right;
}

.load-bar {
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--rose-100);
  overflow: hidden;
}

.load-bar span {
  display: block;
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--rose-400), var(--amber-500));
}

.status-card-foot {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.protocol-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.protocol-chips span {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-main);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

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

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rose-50) 0%, var(--rose-100) 100%);
  color: var(--rose-600);
  margin-bottom: 16px;
  font-size: 1.35rem;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Nodes Matrix */
.nodes-section {
  background: linear-gradient(180deg, rgba(255, 241, 243, 0.55) 0%, rgba(255, 248, 249, 0) 100%);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

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

.filter-tab.active,
.filter-tab:hover {
  background: var(--rose-600);
  color: #ffffff;
  border-color: var(--rose-600);
}

.nodes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.node-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

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

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

.node-rate {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--amber-100);
  color: #b45309;
}

.node-route {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.node-unlocks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.node-unlocks span {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--rose-50);
  color: var(--rose-700);
  font-weight: 500;
}

/* Pricing */
.billing-switch {
  display: inline-flex;
  align-items: center;
  padding: 5px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  margin: 0 auto 38px;
}

.billing-wrap {
  text-align: center;
}

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

.billing-btn.active {
  background: var(--rose-600);
  color: #ffffff;
}

.discount-badge {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: var(--amber-100);
  color: #b45309;
}

.billing-btn.active .discount-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border: 2px solid var(--rose-500);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, #ffffff 0%, #fff9fa 100%);
}

.popular-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--rose-400), var(--rose-600));
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

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

.plan-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 20px;
}

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

.plan-price .currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--rose-600);
}

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

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

.plan-billing-note {
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-bottom: 22px;
  min-height: 20px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

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

.check-icon {
  color: var(--rose-600);
  font-weight: 700;
  flex-shrink: 0;
}

.payg-banner {
  margin-top: 24px;
  background: var(--bg-card);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.payg-banner h4 {
  margin: 0 0 4px;
  font-size: 1.04rem;
}

.payg-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

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

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

.faq-icon {
  font-size: 1.2rem;
  color: var(--rose-600);
  transition: transform 0.2s ease;
}

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

.faq-answer {
  display: none;
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA Banner */
.cta-box {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e8 50%, #fef3c7 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cta-box h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta-box p {
  margin: 0 auto 24px;
  max-width: 540px;
  color: var(--text-muted);
}

.domain-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  margin-top: 16px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.7);
  padding: 44px 0 32px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 28px;
}

.footer-brand p {
  margin: 10px 0 0;
  max-width: 340px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

.footer-col h5 {
  margin: 0 0 12px;
  font-size: 0.9rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--rose-600);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-subtle);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(31, 22, 26, 0.45);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-soft);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.modal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.modal-tab {
  flex: 1;
  padding: 9px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-page);
  font-weight: 600;
  color: var(--text-muted);
}

.modal-tab.active {
  background: var(--rose-600);
  color: #ffffff;
  border-color: var(--rose-600);
}

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

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  font-family: inherit;
  font-size: 0.94rem;
  outline: none;
}

.form-group input:focus {
  border-color: var(--rose-600);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}

.modal-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .features-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 248, 249, 0.98);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    gap: 16px;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  section {
    padding: 60px 0;
  }
  .features-grid,
  .pricing-grid,
  .nodes-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
