
/* ===================================================================
   BASE & RESET STYLES (LIGHT THEMES 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(0, 0, 0, 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: 20px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.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 (LIGHT THEME SHARED 3-SITE MUTUAL INTERLINKS)
   =================================================================== */
.site-footer {
  margin-top: auto;
  padding-top: 60px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  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;
  gap: 12px;
}

.interlink-card {
  border-radius: 10px;
  padding: 14px 18px;
  transition: all 0.25s ease;
}

.interlink-anchor {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.interlink-title {
  font-weight: 700;
  font-size: 14px;
}

.interlink-desc {
  font-size: 12px;
  opacity: 0.75;
}

.interlink-domain {
  font-size: 12px;
  font-weight: 700;
}

.current-tag {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.seo-keywords-line {
  font-size: 13px;
  margin-bottom: 12px;
  line-height: 1.8;
  opacity: 0.85;
}

.copyright-bar {
  font-size: 12px;
  opacity: 0.6;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ===================================================================
   THEME 1: PURE MINIMALIST LIGHT SAAS (flowercloud.help)
   =================================================================== */
body.theme-light-saas {
  background-color: #F8FAFC;
  color: #0F172A;
}

.site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #E2E8F0;
}

.logo-icon {
  background: linear-gradient(135deg, #2563EB, #4F46E5);
}

.brand-badge.badge-light-saas {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
}

.nav-item {
  color: #475569;
}

.nav-item:hover, .nav-item.active {
  color: #2563EB;
  background: #EFF6FF;
}

.btn-primary {
  background: #2563EB;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover {
  background: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: #FFFFFF;
  color: #1E293B;
  border: 1px solid #CBD5E1;
}
.btn-secondary:hover {
  background: #F1F5F9;
}

.light-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.light-card:hover {
  border-color: #93C5FD;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08);
  transform: translateY(-3px);
}

.hero-section {
  padding: 70px 0 50px;
  text-align: center;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #2563EB;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.25;
  color: #0F172A;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 18px;
  color: #475569;
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0 20px;
}

.metric-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.metric-num {
  font-size: 32px;
  font-weight: 900;
  color: #2563EB;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 13px;
  color: #64748B;
  font-weight: 600;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 36px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 36px 0;
}

.pricing-card.featured {
  border: 2px solid #2563EB;
  background: #FFFFFF;
  position: relative;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #2563EB;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
}

.plan-price {
  font-size: 38px;
  font-weight: 900;
  color: #0F172A;
  margin: 16px 0;
}
.plan-price small { font-size: 14px; color: #64748B; }

.plan-features-list {
  list-style: none;
  margin: 20px 0 28px;
  font-size: 14px;
}
.plan-features-list li {
  padding: 8px 0;
  border-bottom: 1px solid #F1F5F9;
  color: #334155;
}

/* Table */
.data-table-wrap {
  overflow-x: visible;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  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 #F1F5F9;
}
.data-table th {
  background: #F8FAFC;
  color: #2563EB;
  font-weight: 700;
}

.interlink-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
}
.interlink-card:hover {
  border-color: #2563EB;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}
.interlink-title { color: #0F172A; }
.interlink-domain { color: #2563EB; }
.current-tag { background: #2563EB; color: #FFFFFF; }
.footer-features-tags .tag { background: #EFF6FF; color: #2563EB; border: 1px solid #BFDBFE; }

@media (max-width: 768px) {
  .hero-title { font-size: 32px; }
  .hero-metrics { grid-template-columns: 1fr 1fr; }
  .features-grid, .pricing-grid { grid-template-columns: 1fr; }
}
