/* ============================================
   LUMOS 路摸思 - Design System
   Dark Theme + Golden Glow
   "Light Up Your Social Presence"
   ============================================ */

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  background: #06090F;
  color: #E2E8F0;
  overflow-x: hidden;
  line-height: 1.7;
}

/* ===== DESIGN TOKENS ===== */
:root {
  /* Brand Colors */
  --gold: #F5A623;
  --gold-light: #FBCF68;
  --gold-dark: #C7841A;
  --gold-glow: rgba(245, 166, 35, 0.4);

  /* Accent */
  --cyan: #22D3EE;
  --cyan-glow: rgba(34, 211, 238, 0.3);
  --emerald: #34D399;
  --rose: #FB7185;
  --violet: #A78BFA;

  /* Neutrals */
  --bg-deep: #06090F;
  --bg-dark: #0C1221;
  --bg-card: #111827;
  --bg-card-hover: #1A2337;
  --bg-elevated: #1F2937;
  --border: rgba(245, 166, 35, 0.08);
  --border-hover: rgba(245, 166, 35, 0.2);
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  /* Shadows */
  --glow-sm: 0 0 20px rgba(245, 166, 35, 0.1);
  --glow-md: 0 0 40px rgba(245, 166, 35, 0.15);
  --glow-lg: 0 0 60px rgba(245, 166, 35, 0.2);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 40px rgba(245, 166, 35, 0.08);

  /* Radius */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: rgba(245, 166, 35, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(245, 166, 35, 0.4); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(6, 9, 15, 0.8);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled {
  background: rgba(6, 9, 15, 0.95);
  border-bottom-color: var(--border-hover);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(245, 166, 35, 0.05);
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.logo-mark {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900;
  color: #06090F;
  box-shadow: var(--glow-sm);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.logo-mark::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.logo:hover .logo-mark::after { transform: translateX(100%); }
.logo:hover .logo-mark { box-shadow: var(--glow-md); transform: rotate(-5deg); }
.logo-text-group { display: flex; flex-direction: column; }
.logo-name {
  font-size: 20px; font-weight: 800;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1.2; letter-spacing: 1px;
}
.logo-cn { font-size: 10px; color: var(--text-muted); font-weight: 500; letter-spacing: 3px; }

/* Nav links */
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  padding: 8px 14px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  transition: all 0.3s; position: relative;
}
.nav-links a:hover { color: var(--gold-light); background: rgba(245, 166, 35, 0.06); }
.nav-links a.active {
  color: var(--gold);
  background: rgba(245, 166, 35, 0.08);
}
.nav-links a.active::after {
  content: '';
  position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 2px;
  background: var(--gold);
  border-radius: 1px;
}
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
  color: #06090F !important;
  padding: 9px 22px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  box-shadow: var(--glow-sm);
  margin-left: 8px;
}
.nav-cta:hover {
  box-shadow: var(--glow-md) !important;
  transform: translateY(-1px);
  color: #06090F !important;
  background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: all 0.3s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 12px;
  font-weight: 700; font-size: 14px;
  text-decoration: none; border: none;
  cursor: pointer; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit; letter-spacing: 0.3px;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #06090F;
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.3);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(245, 166, 35, 0.45);
}
.btn-ghost {
  background: rgba(245, 166, 35, 0.06);
  color: var(--gold-light);
  border: 1px solid rgba(245, 166, 35, 0.15);
}
.btn-ghost:hover {
  background: rgba(245, 166, 35, 0.12);
  border-color: rgba(245, 166, 35, 0.3);
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: #06090F;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(255, 255, 255, 0.2);
}
.btn-lg { padding: 18px 38px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 10px 20px; font-size: 13px; border-radius: 8px; }

/* ===== SECTIONS ===== */
.section {
  padding: 120px 48px;
  position: relative;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245, 166, 35, 0.06);
  border: 1px solid rgba(245, 166, 35, 0.1);
  color: var(--gold);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-label .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-glow);
}
.section-title {
  font-size: 44px; font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.section-title .glow {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.9;
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}
.card:hover::before { opacity: 1; }

/* Card icon */
.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  position: relative;
}
.card-icon::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 18px;
  background: inherit;
  opacity: 0.15;
  filter: blur(12px);
}

/* ===== GLOW EFFECTS ===== */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Light beam */
.light-beam {
  position: absolute;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-glow), transparent);
  pointer-events: none;
  opacity: 0.3;
}

/* Floating particles */
@keyframes float-up {
  0% { transform: translateY(0) scale(1); opacity: 0.6; }
  100% { transform: translateY(-100vh) scale(0); opacity: 0; }
}
.particle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 6px var(--gold-glow);
}

/* Shimmer effect */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.shimmer-text {
  background: linear-gradient(90deg,
    var(--gold-light) 0%,
    #fff 25%,
    var(--gold-light) 50%,
    var(--gold) 75%,
    var(--gold-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

/* Pulse glow */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(245, 166, 35, 0.15); }
  50% { box-shadow: 0 0 40px rgba(245, 166, 35, 0.3); }
}

/* Float */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.floating { animation: float 6s ease-in-out infinite; }

/* Rotate glow */
@keyframes rotate-glow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== GRID HELPERS ===== */
.container { max-width: 1200px; margin: 0 auto; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }

/* ===== PAGE HERO (Sub-pages) ===== */
.page-hero {
  padding: 140px 48px 80px;
  position: relative; overflow: hidden;
  min-height: 480px;
  display: flex; align-items: center;
  background: var(--bg-dark);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 50%, rgba(245, 166, 35, 0.08), transparent),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(34, 211, 238, 0.04), transparent);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: 52px; font-weight: 900;
  color: var(--text-primary);
  line-height: 1.2; margin-bottom: 20px;
}
.page-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

/* ===== PRICING ===== */
.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: all 0.4s;
  text-align: center;
  position: relative;
}
.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}
.pricing-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(245,166,35,0.04), var(--bg-card));
  transform: scale(1.03);
}
.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
}
.pricing-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #06090F;
  padding: 4px 20px;
  border-radius: var(--radius-full);
  font-size: 11px; font-weight: 800;
  letter-spacing: 1px;
  box-shadow: var(--glow-sm);
}
.pricing-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin: 0 auto 18px;
  background: rgba(245, 166, 35, 0.06);
}
.pricing-name {
  font-size: 20px; font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.pricing-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.pricing-price {
  font-size: 48px; font-weight: 900;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  line-height: 1; margin-bottom: 4px;
}
.pricing-price .cur { font-size: 18px; vertical-align: super; }
.pricing-price .per { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.pricing-features {
  list-style: none;
  margin: 24px 0;
  text-align: left;
}
.pricing-features li {
  padding: 10px 0; font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.pricing-features li .check {
  color: var(--emerald); font-size: 14px;
}

/* ===== FAQ ===== */
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-q {
  padding: 20px 24px;
  font-weight: 700; font-size: 15px;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q .icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(245, 166, 35, 0.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 16px;
  transition: all 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-q .icon {
  background: rgba(245, 166, 35, 0.12);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 24px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.9;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all 0.4s;
}
.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.testimonial-stars { margin-bottom: 16px; }
.testimonial-stars .star { color: var(--gold); font-size: 16px; }
.testimonial-text {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.9; margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
  color: #06090F;
}
.testimonial-name { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.testimonial-role { font-size: 12px; color: var(--text-muted); }

/* ===== STEP / PROCESS ===== */
.step-card {
  text-align: center;
  padding: 40px 24px;
  position: relative;
}
.step-num {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900;
  color: #06090F;
  margin: 0 auto 20px;
  box-shadow: var(--glow-sm);
  transition: all 0.3s;
}
.step-card:hover .step-num {
  box-shadow: var(--glow-md);
  transform: scale(1.1) rotate(-5deg);
}
.step-card h3 {
  font-size: 18px; font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.step-card p {
  font-size: 14px; color: var(--text-secondary);
}

/* ===== STATS STRIP ===== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 60px 48px;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 42px; font-weight: 900;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-num .unit { font-size: 20px; }
.stat-label {
  font-size: 13px; color: var(--text-muted);
  margin-top: 6px; font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 80px 48px 40px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  bottom: -200px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.04), transparent 70%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.8;
}
.footer h4 {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  display: block;
  padding: 5px 0;
  transition: all 0.3s;
}
.footer a:hover { color: var(--gold-light); padding-left: 6px; }
.footer-socials {
  display: flex; gap: 10px; margin-top: 20px;
}
.footer-socials a {
  width: 40px; height: 40px;
  background: rgba(245, 166, 35, 0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; padding: 0;
  transition: all 0.3s;
}
.footer-socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #06090F;
  transform: translateY(-3px);
  box-shadow: var(--glow-sm);
  padding-left: 0;
}
.footer-bottom {
  text-align: center;
  padding-top: 40px;
  margin-top: 60px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  position: relative; z-index: 1;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== MARQUEE ===== */
.marquee-wrap {
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-dark);
}
.marquee-track {
  display: flex; gap: 32px;
  animation: slide 35s linear infinite;
  width: fit-content;
}
@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  flex-shrink: 0;
  padding: 10px 24px;
  background: rgba(245, 166, 35, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13px; font-weight: 600;
  color: var(--text-secondary);
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .navbar { padding: 0 20px; height: 64px; }
  .nav-links {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(6, 9, 15, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 16px;
    gap: 2px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .section { padding: 80px 20px; }
  .section-title { font-size: 30px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 20px;
    gap: 24px;
  }
  .stat-num { font-size: 32px; }
  .page-hero { padding: 120px 20px 60px; min-height: 380px; }
  .page-hero h1 { font-size: 32px; }
  .footer { padding: 60px 20px 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .pricing-card.featured { transform: scale(1); }
  .pricing-card.featured:hover { transform: translateY(-8px); }
}
