/* Reset & Universal Mobile No-Scrollbar Compliance */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden !important;
  width: 100%;
  position: relative;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  padding: 64px 0;
  position: relative;
}
.section-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 48px auto;
}
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Nav Responsive Strict Wrap */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap !important;
  gap: 12px;
}
.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo-img {
  width: 38px;
  height: 38px;
}
.brand-main {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}
.badge-role {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.brand-sub {
  font-size: 0.75rem;
  display: block;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap !important;
  white-space: normal !important;
  overflow: visible !important;
  scrollbar-width: none !important;
}
.site-nav::-webkit-scrollbar {
  display: none !important;
}
.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.btn-glow-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-glow-primary:hover {
  transform: translateY(-2px);
}

/* Notice Bar */
.notice-bar {
  padding: 8px 0;
  font-size: 0.88rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.notice-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap !important;
  gap: 8px;
  text-align: center;
}
.notice-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

/* Hero Section */
.hero-section {
  padding: 72px 0 56px 0;
  text-align: center;
  position: relative;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}
.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: 1.15rem;
  max-width: 860px;
  margin: 0 auto 32px auto;
  line-height: 1.7;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn-hero-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
}

/* Telemetry HUD Box */
.telemetry-box {
  max-width: 1020px;
  margin: 0 auto;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}
.telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.telemetry-val {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 6px;
}
.telemetry-lbl {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Cards & Grid Matrix */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.card {
  border-radius: 14px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
}
.card-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: inline-block;
}
.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Node Matrix Grid */
.node-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.node-chip {
  padding: 16px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}
.node-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.node-flag {
  font-size: 1.6rem;
}
.node-name {
  font-size: 1rem;
  font-weight: 700;
}
.node-type {
  font-size: 0.75rem;
}
.node-meta {
  text-align: right;
}
.node-ping {
  font-size: 1.1rem;
  font-weight: 800;
}
.node-status {
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.pricing-card {
  border-radius: 16px;
  padding: 32px 24px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  transform: scale(1.03);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 9999px;
}
.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.plan-price {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 6px;
}
.plan-price span {
  font-size: 0.95rem;
  font-weight: 600;
}
.plan-desc {
  font-size: 0.9rem;
  margin-bottom: 24px;
  min-height: 40px;
}
.plan-features {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}
.plan-features li {
  font-size: 0.92rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Comparison Table */
.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}
.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.comparison-table th {
  font-size: 0.92rem;
  font-weight: 700;
}
.comparison-table td {
  font-size: 0.95rem;
}

/* Code Window */
.code-window {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 32px auto;
  max-width: 900px;
}
.code-header {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
}
.code-dots {
  display: flex;
  gap: 6px;
}
.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.code-dot.red { background: #EF4444; }
.code-dot.yellow { background: #F59E0B; }
.code-dot.green { background: #10B981; }
.code-body {
  padding: 20px;
  font-family: "JetBrains Mono", Consolas, "Courier New", monospace;
  font-size: 0.88rem;
  line-height: 1.6;
  overflow-x: auto;
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  padding: 22px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.review-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.review-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.review-author {
  font-size: 0.85rem;
  font-weight: 700;
}
.review-role {
  font-size: 0.75rem;
}

/* FAQ Accordion */
.faq-grid {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
}
.faq-q {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.faq-a {
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Ecosystem Grid */
.section-ecosystem {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.eco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.eco-card {
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.25s ease;
}
.eco-card:hover {
  transform: translateY(-3px);
}
.eco-card.active-site {
  border-width: 2px;
}
.eco-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.eco-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.current-site-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
}
.eco-arrow {
  font-size: 0.8rem;
  font-weight: 700;
}
.eco-title {
  font-size: 1rem;
  font-weight: 700;
}
.eco-domain {
  font-size: 0.82rem;
  font-family: monospace;
}

/* Footer */
.site-footer {
  padding: 56px 0 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 36px;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.1rem;
  }
}
.brand-main-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.footer-logo {
  width: 28px;
  height: 28px;
}
.footer-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.footer-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trust-chip {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.col-title {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.col-links a {
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 16px;
}
.copyright {
  font-size: 0.82rem;
}
.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.badge-mini {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==================== THEME: AEROSTREAM TECH (jfcloud.help) ==================== */
body.theme-aerostream {
  background-color: #060913;
  color: #E2E8F0;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(0, 242, 254, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(56, 189, 248, 0.06) 0%, transparent 45%),
    linear-gradient(180deg, #060913 0%, #0B1120 100%);
}
.theme-aerostream .site-header {
  background: rgba(6, 9, 19, 0.82);
  border-bottom: 1px solid rgba(0, 242, 254, 0.15);
}
.theme-aerostream .badge-role {
  background: rgba(0, 242, 254, 0.15);
  color: #00F2FE;
  border: 1px solid rgba(0, 242, 254, 0.3);
}
.theme-aerostream .brand-sub { color: #94A3B8; }
.theme-aerostream .nav-link:hover, .theme-aerostream .nav-link.active {
  color: #00F2FE;
  background: rgba(0, 242, 254, 0.1);
}
.theme-aerostream .btn-glow-primary, .theme-aerostream .btn-hero-main {
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  color: #060913;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
}
.theme-aerostream .btn-glow-primary:hover, .theme-aerostream .btn-hero-main:hover {
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.55);
}
.theme-aerostream .notice-bar {
  background: rgba(0, 242, 254, 0.05);
  border-bottom-color: rgba(0, 242, 254, 0.12);
}
.theme-aerostream .notice-badge {
  background: #00F2FE;
  color: #060913;
}
.theme-aerostream .hero-pill {
  background: rgba(0, 242, 254, 0.1);
  color: #00F2FE;
  border: 1px solid rgba(0, 242, 254, 0.25);
}
.theme-aerostream .pulse-dot { background: #00F2FE; }
.theme-aerostream .hero-title {
  background: linear-gradient(135deg, #FFFFFF 30%, #38BDF8 80%, #00F2FE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.theme-aerostream .hero-subtitle { color: #94A3B8; }
.theme-aerostream .btn-hero-outline:hover {
  background: rgba(0, 242, 254, 0.12);
  border-color: #00F2FE;
  color: #00F2FE;
}
.theme-aerostream .telemetry-box {
  background: rgba(11, 17, 32, 0.65);
  border-color: rgba(0, 242, 254, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 242, 254, 0.05);
}
.theme-aerostream .telemetry-val { color: #00F2FE; }
.theme-aerostream .telemetry-lbl { color: #64748B; }
.theme-aerostream .section-tag {
  background: rgba(0, 242, 254, 0.1);
  color: #00F2FE;
  border: 1px solid rgba(0, 242, 254, 0.2);
}
.theme-aerostream .card, .theme-aerostream .node-chip, .theme-aerostream .pricing-card, .theme-aerostream .review-card, .theme-aerostream .faq-item, .theme-aerostream .eco-card {
  background: rgba(11, 17, 32, 0.5);
  border-color: rgba(255, 255, 255, 0.08);
}
.theme-aerostream .card:hover, .theme-aerostream .node-chip:hover, .theme-aerostream .eco-card:hover {
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.12);
}
.theme-aerostream .node-ping { color: #00F2FE; }
.theme-aerostream .node-status { color: #10B981; }
.theme-aerostream .pricing-card.featured {
  border-color: #00F2FE;
  background: linear-gradient(180deg, rgba(0, 242, 254, 0.08) 0%, rgba(11, 17, 32, 0.8) 100%);
  box-shadow: 0 10px 35px rgba(0, 242, 254, 0.15);
}
.theme-aerostream .price-badge {
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  color: #060913;
}
.theme-aerostream .plan-price { color: #00F2FE; }
.theme-aerostream .eco-card.active-site {
  border-color: #00F2FE;
  background: rgba(0, 242, 254, 0.06);
}
.theme-aerostream .eco-badge {
  background: rgba(0, 242, 254, 0.15);
  color: #00F2FE;
}
.theme-aerostream .code-window {
  background: #080C16;
  border-color: rgba(0, 242, 254, 0.2);
}
.theme-aerostream .code-header {
  background: #0E1626;
  border-bottom: 1px solid rgba(0, 242, 254, 0.15);
}
.theme-aerostream .trust-chip {
  background: rgba(0, 242, 254, 0.08);
  color: #38BDF8;
}
.theme-aerostream .col-links a:hover { color: #00F2FE; }