/* ─────────────────────────────────────────────────────────────────────
   GALAXY EXPRESS — MARKETING / PUBLIC WEBSITE STYLES
───────────────────────────────────────────────────────────────────── */

.marketing-body { background: var(--dark-bg); }

/* ── Nav ── */
.mkt-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 68px;
  background: rgba(8,14,20,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  padding: 0 var(--sp-8);
  gap: var(--sp-8);
}
.mkt-nav-logo {
  display: flex; align-items: center; gap: var(--sp-3);
  font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl);
  color: #fff;
  flex-shrink: 0;
}
.mkt-nav-logo .logo-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--lime-500), var(--forest-600));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-glow-lime);
  animation: glow 3s ease-in-out infinite;
}
.mkt-nav-links { display: flex; align-items: center; gap: var(--sp-1); flex: 1; }
.mkt-nav-link {
  padding: 0.45rem 1rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-400);
  border-radius: var(--r-lg);
  transition: all var(--ease-fast);
  cursor: pointer;
}
.mkt-nav-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.mkt-nav-link.active { color: var(--primary); }
.mkt-nav-cta { display: flex; align-items: center; gap: var(--sp-3); }

/* ── Hero ── */
.hero {
  padding: 160px var(--sp-8) 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(125,203,6,.12) 0%, rgba(22,163,74,.06) 40%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(125,203,6,.10);
  border: 1px solid rgba(125,203,6,.25);
  border-radius: var(--r-full);
  padding: 6px 18px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--lime-400);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
  animation: fadeIn 0.5s ease;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime-400); animation: pulse 2s infinite; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  color: #fff;
  margin-bottom: var(--sp-6);
  animation: slideUp 0.6s ease both 0.1s;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--lime-400), var(--lime-300), var(--forest-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--gray-400);
  max-width: 680px;
  margin: 0 auto var(--sp-10);
  line-height: 1.7;
  animation: slideUp 0.6s ease both 0.2s;
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  animation: slideUp 0.6s ease both 0.3s;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-10);
  margin-top: var(--sp-16);
  padding-top: var(--sp-10);
  border-top: 1px solid var(--dark-border);
  animation: slideUp 0.6s ease both 0.4s;
  flex-wrap: wrap;
}
.hero-stat-value { font-family: var(--font-display); font-size: var(--text-4xl); font-weight: 800; color: #fff; }
.hero-stat-label { font-size: var(--text-sm); color: var(--gray-500); margin-top: 2px; }

/* ── Dashboard Preview ── */
.hero-preview {
  margin-top: var(--sp-16);
  padding: 0 var(--sp-8);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  animation: slideUp 0.8s ease both 0.5s;
}
.preview-frame {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04);
  position: relative;
}
.preview-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 70%, var(--dark-bg) 100%);
  pointer-events: none;
  z-index: 2;
}
.preview-titlebar {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--dark-border);
}
.preview-dot { width: 12px; height: 12px; border-radius: 50%; }
.preview-url {
  flex: 1;
  background: rgba(255,255,255,.05);
  border-radius: var(--r-md);
  padding: 4px 12px;
  font-size: var(--text-xs);
  color: var(--gray-500);
  text-align: center;
}

/* ── Features ── */
.features-section {
  padding: var(--sp-24) var(--sp-8);
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  background: rgba(125,203,6,.10);
  border: 1px solid rgba(125,203,6,.20);
  color: var(--lime-400);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 16px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-4);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: var(--sp-4);
}
.section-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-500);
  max-width: 560px;
  margin-bottom: var(--sp-12);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.feature-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  transition: all var(--ease-normal);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.feature-card:hover {
  border-color: rgba(125,203,6,.30);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.3), 0 0 0 1px rgba(125,203,6,.10);
}
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(125,203,6,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--ease-normal);
}
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: var(--sp-4);
  position: relative; z-index: 1;
}
.feature-name { font-size: var(--text-lg); font-weight: 700; color: #fff; margin-bottom: var(--sp-2); position: relative; z-index: 1; }
.feature-desc { font-size: var(--text-sm); color: var(--gray-500); line-height: 1.7; position: relative; z-index: 1; }

/* ── Portals Section ── */
.portals-section {
  padding: var(--sp-24) var(--sp-8);
  background: var(--dark-surface);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}
.portals-inner { max-width: 1200px; margin: 0 auto; }
.portals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-12);
}
.portal-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  cursor: pointer;
  transition: all var(--ease-normal);
}
.portal-card:hover {
  border-color: rgba(125,203,6,.30);
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
}
.portal-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.portal-name { font-size: var(--text-base); font-weight: 700; color: #fff; margin-bottom: 4px; }
.portal-desc { font-size: var(--text-xs); color: var(--gray-500); }
.portal-arrow { margin-left: auto; color: var(--gray-600); font-size: 1.2rem; transition: all var(--ease-fast); }
.portal-card:hover .portal-arrow { color: var(--primary); transform: translateX(4px); }

/* ── Module Tiles ── */
.modules-section { padding: var(--sp-24) var(--sp-8); max-width: 1200px; margin: 0 auto; }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-10);
}
.module-tile {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  cursor: pointer;
  transition: all var(--ease-normal);
  text-align: center;
}
.module-tile:hover {
  border-color: rgba(125,203,6,.25);
  background: rgba(125,203,6,.05);
  transform: translateY(-3px);
}
.module-tile-icon { font-size: 2rem; margin-bottom: var(--sp-3); }
.module-tile-name { font-size: var(--text-sm); font-weight: 600; color: var(--gray-200); }
.module-tile-count { font-size: var(--text-xs); color: var(--gray-600); margin-top: 3px; }

/* ── Pricing ── */
.pricing-section { padding: var(--sp-24) var(--sp-8); max-width: 1200px; margin: 0 auto; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
  align-items: start;
}
.pricing-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-2xl);
  padding: var(--sp-8);
  transition: all var(--ease-normal);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.pricing-card.featured {
  border-color: rgba(125,203,6,.35);
  background: linear-gradient(180deg, rgba(125,203,6,.08) 0%, var(--dark-card) 40%);
  box-shadow: 0 0 0 1px rgba(125,203,6,.15), var(--shadow-lg);
}
.pricing-plan-name { font-size: var(--text-lg); font-weight: 700; color: #fff; margin-bottom: var(--sp-2); }
.pricing-price { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: #fff; }
.pricing-price span { font-size: var(--text-base); color: var(--gray-500); font-weight: 400; }
.pricing-desc { font-size: var(--text-sm); color: var(--gray-500); margin: var(--sp-4) 0 var(--sp-6); }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: var(--sp-3); margin-bottom: var(--sp-8); }
.pricing-features li { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--text-sm); color: var(--gray-300); }
.pricing-features .check { color: var(--primary); font-weight: 700; }

/* ── CTA Section ── */
.cta-section {
  padding: var(--sp-24) var(--sp-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  bottom: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(circle, rgba(125,203,6,.10) 0%, transparent 70%);
  pointer-events: none;
}
.cta-card {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(125,203,6,.10) 0%, rgba(22,163,74,.08) 100%);
  border: 1px solid rgba(125,203,6,.25);
  border-radius: var(--r-3xl);
  padding: var(--sp-16) var(--sp-12);
  position: relative;
  z-index: 1;
}

/* ── Footer ── */
.mkt-footer {
  border-top: 1px solid var(--dark-border);
  padding: var(--sp-12) var(--sp-8) var(--sp-8);
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-12);
}
.footer-col-title { font-weight: 700; font-size: var(--text-sm); color: #fff; margin-bottom: var(--sp-4); }
.footer-link {
  display: block;
  font-size: var(--text-sm);
  color: var(--gray-500);
  margin-bottom: var(--sp-2);
  cursor: pointer;
  transition: color var(--ease-fast);
}
.footer-link:hover { color: var(--primary); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--dark-border);
  font-size: var(--text-sm);
  color: var(--gray-600);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .modules-grid  { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .portals-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .modules-grid  { grid-template-columns: repeat(2, 1fr); }
  .mkt-nav-links { display: none; }
  .hero { padding: 120px var(--sp-5) 80px; }
  .hero-stats { gap: var(--sp-6); }
}
