
/* ===================================================================
   BASE & RESET STYLES (SHARED)
   =================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img, svg {
  vertical-align: middle;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================================================
   CRITICAL: NAVBAR NO SCROLLBAR (STRICT ENFORCEMENT)
   =================================================================== */
.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: 16px 24px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 24px;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.75;
  letter-spacing: 0.5px;
}

.brand-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-left: 4px;
}

/* STRICT NAVBAR: NO HORIZONTAL SCROLLBAR */
.main-nav {
  display: flex !important;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  white-space: normal !important;
  -webkit-overflow-scrolling: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.main-nav::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.nav-item {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ===================================================================
   FOOTER STYLES (SHARED 4-SITE MUTUAL INTERLINKS)
   =================================================================== */
.site-footer {
  margin-top: auto;
  padding-top: 60px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-summary {
  font-size: 14px;
  line-height: 1.8;
  margin: 16px 0;
}

.footer-features-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.footer-features-tags .tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
}

.interlink-header {
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.footer-title {
  font-size: 17px;
  font-weight: 800;
}

.interlink-notice {
  font-size: 12px;
  opacity: 0.7;
}

.interlinks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.interlink-card {
  border-radius: 10px;
  padding: 14px;
  transition: all 0.25s ease;
}

.interlink-anchor {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.interlink-title {
  font-weight: 700;
  font-size: 14px;
}

.interlink-desc {
  font-size: 12px;
  opacity: 0.75;
  line-height: 1.4;
}

.interlink-domain {
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
}

.current-tag {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.seo-keywords-line {
  font-size: 13px;
  margin-bottom: 12px;
  line-height: 1.8;
  opacity: 0.85;
}

.copyright-bar {
  font-size: 12px;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .interlinks-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
   THEME 1: LUXURY DARK GLASSMORPHISM (nexitally.help)
   =================================================================== */
body.theme-luxury {
  background-color: #0B0F19;
  color: #F8FAFC;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(168, 85, 247, 0.12) 0%, transparent 45%);
}

.site-header {
  background: rgba(11, 15, 25, 0.85);
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.logo-icon {
  background: linear-gradient(135deg, #6366F1, #A855F7);
}

.brand-badge.badge-luxury {
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.nav-item {
  color: #94A3B8;
}

.nav-item:hover, .nav-item.active {
  color: #FFFFFF;
  background: rgba(99, 102, 241, 0.15);
}

.btn-primary {
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Cards & Glassmorphism */
.glass-card {
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.hero-section {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #818CF8;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #FFFFFF 30%, #C7D2FE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: #94A3B8;
  max-width: 800px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 50px 0 30px;
}

.metric-card {
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.metric-num {
  font-size: 32px;
  font-weight: 900;
  color: #818CF8;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 13px;
  color: #94A3B8;
}

.interlink-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.interlink-card:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
}
.interlink-title { color: #E2E8F0; }
.interlink-domain { color: #818CF8; }
.current-tag { background: #6366F1; color: #fff; }
.footer-features-tags .tag { background: rgba(99, 102, 241, 0.15); color: #A5B4FC; }

/* Grid Sections */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 40px 0;
}

.pricing-card.featured {
  border: 2px solid #6366F1;
  position: relative;
  background: rgba(99, 102, 241, 0.08);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #F59E0B;
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
}

.plan-price {
  font-size: 38px;
  font-weight: 900;
  color: #FFFFFF;
  margin: 16px 0;
}
.plan-price small { font-size: 14px; color: #94A3B8; }

.plan-features-list {
  list-style: none;
  margin: 20px 0 28px;
  font-size: 14px;
}
.plan-features-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #CBD5E1;
}

/* Table */
.data-table-wrap {
  overflow-x: visible;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 24px 0;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.data-table th, .data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.data-table th {
  background: rgba(255, 255, 255, 0.03);
  color: #818CF8;
  font-weight: 700;
}

@media (max-width: 768px) {
  .hero-title { font-size: 32px; }
  .hero-metrics { grid-template-columns: 1fr 1fr; }
  .features-grid, .pricing-grid { grid-template-columns: 1fr; }
}
