
:root {
  --bg-body: #0a1128;
  --bg-card: rgba(18, 30, 66, 0.85);
  --bg-card-hover: rgba(28, 45, 98, 0.95);
  --border: rgba(37, 99, 235, 0.3);
  --border-hover: rgba(234, 179, 8, 0.6);
  --primary: #2563eb;
  --primary-glow: rgba(37, 99, 235, 0.35);
  --accent: #eab308;
  --text-main: #ffffff;
  --text-muted: #93c5fd;
  --nav-bg: rgba(10, 17, 40, 0.95);
  --badge-bg: rgba(37, 99, 235, 0.2);
  --badge-text: #60a5fa;
  --btn-primary: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}


* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
body { background-color: var(--bg-body); color: var(--text-main); line-height: 1.65; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--primary); text-decoration: none; transition: all 0.2s ease; }
a:hover { filter: brightness(1.2); }

.container { width: 100%; max-width: 1380px; margin: 0 auto; padding: 0 24px; }

/* Navbar */
.navbar { position: sticky; top: 0; z-index: 1000; background: var(--nav-bg); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--text-main); white-space: nowrap; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; }
.brand .brand-badge { font-size: 0.72rem; padding: 2px 8px; border-radius: 9999px; background: var(--badge-bg); color: var(--badge-text); border: 1px solid var(--border); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; white-space: nowrap; overflow-x: auto; }
.nav-links a { color: var(--text-muted); font-size: 0.92rem; font-weight: 500; padding: 7px 12px; border-radius: 6px; transition: all 0.15s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--text-main); background: rgba(255,255,255,0.06); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: 0.92rem; padding: 8px 18px; border-radius: 8px; cursor: pointer; transition: all 0.2s; border: none; white-space: nowrap; text-decoration: none; }
.btn-primary { background: var(--btn-primary); color: #fff !important; box-shadow: 0 4px 14px var(--primary-glow); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px var(--primary-glow); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-main); }
.btn-outline:hover { border-color: var(--primary); background: rgba(255,255,255,0.04); }

/* Hero */
.hero { padding: 64px 0 48px; text-align: center; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 9999px; background: var(--badge-bg); color: var(--badge-text); font-size: 0.86rem; font-weight: 600; margin-bottom: 20px; border: 1px solid var(--border); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { opacity: 0.4; } 50% { opacity: 1; } 100% { opacity: 0.4; } }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.25; margin-bottom: 18px; letter-spacing: -0.02em; }
.hero h1 .highlight { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: 1.12rem; color: var(--text-muted); max-width: 860px; margin: 0 auto 28px; line-height: 1.7; }
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

/* Metrics Bar */
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 32px 0; }
.metric-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; text-align: center; }
.metric-card .val { font-size: 1.8rem; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.metric-card .lbl { font-size: 0.85rem; color: var(--text-muted); }

/* Section Common */
.section { padding: 50px 0; }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 36px; }
.section-header h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 1.02rem; }

/* Grid Cards */
.card-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 28px; transition: all 0.25s ease; position: relative; }
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.2); }
.feature-card .icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.94rem; line-height: 1.6; }

/* Pricing Table */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 24px; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 32px 24px; text-align: center; position: relative; display: flex; flex-direction: column; justify-content: space-between; }
.pricing-card.popular { border-color: var(--primary); box-shadow: 0 8px 30px var(--primary-glow); }
.pricing-card .badge-popular { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 0.76rem; font-weight: 700; padding: 4px 12px; border-radius: 9999px; }
.pricing-card .p-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.pricing-card .p-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 20px; min-height: 40px; }
.pricing-card .p-price { font-size: 2.2rem; font-weight: 800; color: var(--text-main); margin-bottom: 20px; }
.pricing-card .p-price span { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }
.pricing-card ul { list-style: none; text-align: left; margin-bottom: 28px; }
.pricing-card li { padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,0.06); font-size: 0.9rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.pricing-card li::before { content: "✓"; color: #10b981; font-weight: 800; }

/* FAQ Accordion */
.faq-box { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 18px 22px; cursor: pointer; transition: all 0.2s; }
.faq-item summary { font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); transition: transform 0.2s; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 14px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* Subpage Header */
.page-hero { padding: 48px 0 24px; text-align: center; border-bottom: 1px solid var(--border); margin-bottom: 36px; background: rgba(255,255,255,0.01); }
.page-hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: var(--text-muted); font-size: 1.05rem; max-width: 800px; margin: 0 auto; }

/* Article / Rich Content */
.rich-text { max-width: 900px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 36px; font-size: 1.02rem; line-height: 1.8; }
.rich-text h2 { font-size: 1.4rem; margin: 28px 0 14px; color: var(--text-main); border-left: 4px solid var(--primary); padding-left: 12px; }
.rich-text h3 { font-size: 1.18rem; margin: 20px 0 10px; color: var(--text-main); }
.rich-text p { margin-bottom: 16px; color: var(--text-muted); }
.rich-text ul, .rich-text ol { margin: 0 0 20px 24px; color: var(--text-muted); }
.rich-text li { margin-bottom: 8px; }
.code-block { background: #000; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 16px; font-family: monospace; font-size: 0.9rem; color: #a5b4fc; overflow-x: auto; margin: 16px 0; }

/* Footer */
footer { margin-top: auto; border-top: 1px solid var(--border); background: var(--nav-bg); padding: 50px 0 24px; font-size: 0.9rem; }
.footer-friendly-links { border: 1px solid var(--border); border-radius: 12px; padding: 20px; background: var(--bg-card); margin-bottom: 36px; }
.footer-friendly-links .links-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 12px; color: var(--text-main); display: flex; align-items: center; gap: 8px; }
.links-flex { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.friendly-link { font-size: 0.85rem; color: var(--text-muted); padding: 4px 10px; background: rgba(255,255,255,0.04); border-radius: 6px; border: 1px solid var(--border); text-decoration: none; transition: all 0.2s; }
.friendly-link:hover { color: var(--primary); border-color: var(--primary); background: rgba(255,255,255,0.08); }
.friendly-link.current { border-color: var(--primary); color: var(--text-main); font-weight: 600; background: var(--badge-bg); }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-about h3 { font-size: 1.1rem; margin-bottom: 12px; }
.footer-about p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }
.footer-col h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 14px; color: var(--text-main); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-muted); font-size: 0.86rem; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; text-align: center; color: var(--text-muted); font-size: 0.82rem; }

/* Quick Jump Dock */
.quick-jump-dock { position: fixed; right: 24px; bottom: 28px; display: flex; flex-direction: column; gap: 10px; z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.quick-jump-dock.visible { opacity: 1; pointer-events: auto; }
.dock-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-main); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 0.65rem; text-decoration: none; box-shadow: 0 4px 12px rgba(0,0,0,0.3); transition: all 0.2s; cursor: pointer; }
.dock-btn.primary { background: var(--btn-primary); color: #fff; border: none; }
.dock-btn:hover { transform: scale(1.08); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .navbar-inner { height: auto; padding: 12px 0; flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; padding-top: 8px; }
}
