
:root {
    --bg-dark: #050811;
    --bg-card: #0a1120;
    --border: #1e293b;
    --text-light: #f1f5f9;
    --text-muted: #8492a6;
    --emerald: #10b981;
    --emerald-hover: #059669;
    --cyan: #06b6d4;
    --amber: #f59e0b;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--text-light); background: var(--bg-dark); line-height: 1.7; font-size: 15px; }
a { color: var(--emerald); text-decoration: none; transition: 0.2s; }
a:hover { color: #fff; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header { background: rgba(5, 8, 17, 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 26px; }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-size: 17px; font-weight: 800; color: #fff; letter-spacing: 0.08em; }
.logo-sub { font-size: 9px; font-weight: 700; color: var(--emerald); letter-spacing: 0.1em; }
.nav ul { display: flex; list-style: none; gap: 20px; }
.nav a { font-weight: 600; font-size: 13px; color: var(--text-muted); padding: 8px 0; position: relative; }
.nav a:hover, .nav a.active { color: #fff; }
.nav a.active::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--emerald); }
.nav a.starlight-link { color: #38bdf8; font-weight: 700; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 8px 18px; font-weight: 700; border-radius: 6px; font-size: 13px; cursor: pointer; transition: 0.2s; border: none; }
.btn-emerald { background: var(--emerald); color: #050811; }
.btn-emerald:hover { background: #fff; color: #050811; }
.btn-mainbase { background: rgba(56, 189, 248, 0.15); border: 1px solid rgba(56, 189, 248, 0.4); color: #38bdf8; }
.btn-mainbase:hover { background: #38bdf8; color: #050811; }

/* Hero */
.hero { background: radial-gradient(circle at 75% 25%, rgba(16, 185, 129, 0.12) 0%, transparent 60%), radial-gradient(circle at 25% 75%, rgba(6, 182, 212, 0.12) 0%, transparent 60%), #050811; padding: 70px 0; border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 16px; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); color: var(--emerald); }
.hero-title { font-size: 38px; font-weight: 900; line-height: 1.25; margin-bottom: 18px; letter-spacing: -0.02em; }
.hero-title .highlight { background: linear-gradient(135deg, #10b981, #06b6d4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { color: var(--text-muted); font-size: 16px; line-height: 1.8; margin-bottom: 28px; }

.telemetry-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.tele-title { font-size: 13px; font-weight: 800; color: var(--emerald); letter-spacing: 0.1em; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
.pulse-green { width: 8px; height: 8px; background: var(--emerald); border-radius: 50%; box-shadow: 0 0 10px var(--emerald); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.tele-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 13px; }
.tele-row:last-child { border-bottom: none; }
.tele-label { color: var(--text-muted); }
.tele-val { font-weight: 700; color: #fff; font-family: monospace; font-size: 14px; }

/* Sister Banner */
.parent-banner { background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%); border: 1px solid rgba(56, 189, 248, 0.4); border-radius: 14px; padding: 32px; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 28px; align-items: center; margin: 40px 0; }
.parent-title { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.parent-desc { color: var(--text-muted); font-size: 14px; line-height: 1.8; margin-bottom: 18px; }

/* Cards & Grid */
.section { padding: 64px 0; }
.sec-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.sec-title { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.sec-desc { color: var(--text-muted); font-size: 15px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 26px; transition: 0.25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); border-color: rgba(16, 185, 129, 0.4); box-shadow: 0 12px 28px rgba(0,0,0,0.4); }
.card-icon { font-size: 32px; margin-bottom: 16px; }
.card h3 { font-size: 18px; margin-bottom: 10px; color: #fff; }
.card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; flex-grow: 1; margin-bottom: 16px; }

/* Footer */
.footer { background: #02040a; border-top: 1px solid var(--border); padding-top: 50px; font-size: 13px; color: var(--text-muted); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-desc { font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.interlink-badge { display: flex; flex-direction: column; gap: 8px; }
.parent-tag { background: rgba(56, 189, 248, 0.15); border: 1px solid rgba(56, 189, 248, 0.3); color: #38bdf8; padding: 6px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; display: inline-block; width: fit-content; }
.parent-tag:hover { background: #38bdf8; color: #02040a; }
.footer-links h4 { color: #fff; font-size: 14px; margin-bottom: 16px; letter-spacing: 0.05em; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 20px; display: flex; justify-content: space-between; font-size: 12px; }

@media(max-width: 800px) {
    .nav ul { display: none; }
    .hero-grid, .parent-banner, .footer-grid { grid-template-columns: 1fr; }
}
