:root {
    --bg: #07111f;
    --bg-soft: #0d1b2e;
    --panel: #10233b;
    --panel-2: #0c1b2f;
    --text: #eef5ff;
    --muted: #9bb0c7;
    --line: rgba(159, 186, 214, .16);
    --accent: #67d8ff;
    --accent-2: #8f78ff;
    --light: #f4f7fb;
    --light-text: #102033;
    --light-muted: #5c6b7d;
    --shadow: 0 20px 60px rgba(4, 12, 25, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 820px; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

.site-header {
    position: sticky; top: 0; z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(7, 17, 31, .82);
    border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .18em; }
.brand-mark {
    width: 32px; height: 32px; border: 1px solid rgba(103, 216, 255, .65); border-radius: 10px;
    display: grid; place-items: center; color: var(--accent); font-size: 15px; letter-spacing: 0;
    box-shadow: inset 0 0 20px rgba(103, 216, 255, .08);
}
.main-nav { display: flex; gap: 8px; margin-left: auto; }
.main-nav a { padding: 10px 13px; color: #b9c8d8; border-radius: 10px; font-size: 14px; }
.main-nav a:hover, .main-nav a.active { color: #fff; background: rgba(255,255,255,.055); }
.login-button {
    padding: 10px 15px; border: 1px solid rgba(103, 216, 255, .35); border-radius: 10px;
    color: #eafaff; font-size: 14px; background: rgba(103, 216, 255, .08);
}
.login-button:hover { background: rgba(103, 216, 255, .13); }

.hero {
    position: relative; overflow: hidden; min-height: 700px; display: flex; align-items: center;
    background: radial-gradient(circle at 78% 35%, rgba(103,216,255,.10), transparent 24%),
                radial-gradient(circle at 68% 56%, rgba(143,120,255,.12), transparent 26%), var(--bg);
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 52px 52px; mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.hero-glow { position: absolute; width: 560px; height: 560px; border-radius: 50%; border: 1px solid rgba(103,216,255,.08); right: 6%; top: 12%; box-shadow: 0 0 100px rgba(103,216,255,.05); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); font-size: 11px; letter-spacing: .18em; font-weight: 800; margin-bottom: 16px; }
.hero h1, .page-hero h1 { margin: 0; font-size: clamp(52px, 7vw, 88px); line-height: .97; letter-spacing: -.05em; font-weight: 850; }
.hero h1 span { color: var(--accent); }
.hero-text { max-width: 620px; margin: 28px 0 0; color: #b5c6d8; font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.button {
    border: 1px solid transparent; border-radius: 12px; padding: 13px 18px; font-weight: 750;
    display: inline-flex; align-items: center; justify-content: center; transition: transform .2s ease, background .2s ease;
}
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { opacity: .52; cursor: not-allowed; }
.button-primary { background: var(--accent); color: #062033; }
.button-primary:hover:not(:disabled) { background: #89e2ff; }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.03); color: #e8f0f8; }
.button-ghost:hover:not(:disabled) { background: rgba(255,255,255,.07); }
.hero-meta { display: flex; gap: 12px; align-items: center; color: #7f97af; margin-top: 24px; font-size: 12px; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

.hero-card { height: 470px; position: relative; display: grid; place-items: center; }
.portal-core {
    width: 220px; height: 220px; border-radius: 50%; display: grid; place-items: center; align-content: center;
    background: radial-gradient(circle at 42% 38%, rgba(143,120,255,.22), rgba(103,216,255,.08) 48%, rgba(0,0,0,0) 70%);
    border: 1px solid rgba(151, 218, 255, .32);
    box-shadow: 0 0 80px rgba(103,216,255,.10), inset 0 0 80px rgba(143,120,255,.06);
    text-align: center;
}
.portal-core strong { font-size: 34px; letter-spacing: .08em; }
.portal-core span { color: var(--accent); font-size: 9px; letter-spacing: .22em; }
.portal-core .core-bottom { color: #93a7bd; margin-top: 8px; }
.portal-orbit { position: absolute; border: 1px solid rgba(153, 191, 225, .12); border-radius: 50%; transform: rotate(-12deg); }
.orbit-one { width: 360px; height: 150px; }
.orbit-two { width: 440px; height: 220px; transform: rotate(36deg); }
.floating-tag { position: absolute; padding: 8px 11px; border: 1px solid rgba(103,216,255,.18); background: rgba(10,24,42,.78); border-radius: 10px; color: #b8cadc; font-size: 10px; letter-spacing: .14em; }
.tag-one { top: 70px; right: 26px; }
.tag-two { left: 12px; top: 220px; }
.tag-three { right: 14px; bottom: 82px; }

.section { padding: 100px 0; }
.section-dark { background: #081525; }
.section-light { background: var(--light); color: var(--light-text); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 44px; }
.section-heading h2, .split-panel h2, .download-panel h2, .feedback-panel h2 { margin: 0; font-size: clamp(34px, 5vw, 54px); letter-spacing: -.04em; line-height: 1.05; }
.section-heading p { max-width: 370px; color: var(--muted); line-height: 1.7; margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)); min-height: 280px; display: flex; flex-direction: column; }
.service-card:hover { border-color: rgba(103,216,255,.24); transform: translateY(-2px); }
.service-icon { color: var(--accent); font-size: 12px; letter-spacing: .18em; }
.service-card h3 { font-size: 25px; margin: 50px 0 10px; }
.service-card p { color: #9eb0c4; line-height: 1.7; margin: 0; }
.card-link { margin-top: auto; padding-top: 22px; color: #d7e6f5; font-size: 13px; }

.split-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.split-panel p { color: var(--light-muted); line-height: 1.8; font-size: 17px; max-width: 640px; }
.roadmap-card { border: 1px solid #dbe3eb; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.roadmap-row { display: grid; grid-template-columns: 38px 1fr auto; gap: 16px; padding: 20px 22px; border-bottom: 1px solid #e9eef3; align-items: center; }
.roadmap-row:last-child { border-bottom: 0; }
.roadmap-row span { color: #7e8ea0; font-size: 12px; }
.roadmap-row strong { font-size: 14px; }
.roadmap-row small { color: #8c99a8; }
.roadmap-row.active { background: #f4fbff; }

.page-hero { padding: 120px 0 95px; background: radial-gradient(circle at 70% 20%, rgba(103,216,255,.08), transparent 28%), var(--bg); }
.page-hero p { color: #b0c0d2; font-size: 18px; line-height: 1.8; max-width: 780px; margin-top: 24px; }
.page-section { min-height: 520px; }
.download-panel { max-width: 920px; padding: 42px; border: 1px solid #d8e0e8; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.download-panel h2 { margin-top: 12px; }
.download-panel p { max-width: 720px; color: var(--light-muted); line-height: 1.8; font-size: 16px; }
.status-badge, .tier-label { display: inline-flex; width: fit-content; padding: 7px 10px; border-radius: 999px; background: #eaf7fd; color: #14749a; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.download-actions { display: flex; gap: 14px; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.muted { color: #8a98a7; font-size: 13px; }
.info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 24px; }
.info-card { padding: 24px; border: 1px solid #dbe3eb; border-radius: 16px; background: rgba(255,255,255,.72); }
.info-card strong { color: #7d90a4; font-size: 11px; letter-spacing: .1em; }
.info-card span { display: block; font-weight: 800; margin-top: 12px; }
.info-card p { color: var(--light-muted); line-height: 1.6; }

.supporter-heading p { max-width: 420px; }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tier-card { border: 1px solid var(--line); border-radius: 18px; padding: 28px; background: #0d1b2e; }
.tier-featured { border-color: rgba(103,216,255,.35); background: linear-gradient(180deg, rgba(103,216,255,.07), rgba(13,27,46,1)); }
.tier-card .price { font-size: 58px; letter-spacing: -.05em; font-weight: 850; margin-top: 24px; }
.tier-card .price span { font-size: 24px; color: var(--accent); vertical-align: 22px; margin-right: 4px; }
.tier-card .price small { font-size: 13px; font-weight: 600; color: #8397ab; letter-spacing: 0; }
.tier-cap { color: #a1b3c6; font-size: 13px; margin-top: 6px; }
.tier-line { height: 1px; background: var(--line); margin: 22px 0; }
.tier-card p { color: #a0b1c4; line-height: 1.7; min-height: 52px; }

.feedback-panel { align-items: start; }
.feedback-card { border: 1px solid #dbe3eb; border-radius: 18px; background: #fff; padding: 24px; box-shadow: var(--shadow); }
.feedback-card-title { font-weight: 850; margin-bottom: 8px; }
.feature-row { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid #e8edf2; }
.feature-row:last-child { border-bottom: 0; }
.feature-row > span { color: #8597a9; font-size: 11px; padding-top: 3px; }
.feature-row strong { font-size: 14px; }
.feature-row p { margin: 5px 0 0; font-size: 14px; line-height: 1.6; }

.login-page { min-height: 620px; display: grid; align-items: center; }
.login-card { max-width: 620px; text-align: center; margin: 0 auto; }
.login-card p { margin-left: auto; margin-right: auto; }
.login-google { min-width: 240px; margin-top: 12px; }
.login-note { margin-top: 16px; }

.site-footer { background: #050d18; border-top: 1px solid var(--line); }
.footer-wrap { min-height: 170px; display: grid; grid-template-columns: 1.2fr .8fr auto; gap: 30px; align-items: center; }
.footer-brand { letter-spacing: .15em; font-size: 12px; font-weight: 850; }
.site-footer p { color: #7d90a4; margin: 8px 0 0; font-size: 13px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: #a4b4c5; }
.footer-links a:hover { color: #fff; }
.copyright { color: #65788b; font-size: 12px; text-align: right; }

@media (max-width: 900px) {
    .main-nav { display: none; }
    .hero-grid, .split-panel { grid-template-columns: 1fr; }
    .hero { padding: 70px 0; }
    .hero-card { min-height: 420px; }
    .service-grid, .tier-grid, .info-grid { grid-template-columns: 1fr; }
    .section-heading { align-items: start; flex-direction: column; }
    .footer-wrap { grid-template-columns: 1fr; padding: 30px 0; }
    .copyright { text-align: left; }
}

@media (max-width: 580px) {
    .container { width: min(100% - 28px, 1120px); }
    .nav-wrap { min-height: 70px; }
    .login-button { margin-left: auto; }
    .hero h1, .page-hero h1 { font-size: 48px; }
    .hero-card { transform: scale(.85); margin: -10px -40px; }
    .download-panel { padding: 26px; }
}

.download-error {
    margin-top: 20px;
    padding: 14px 16px;
    border: 1px solid #f0c4c4;
    border-radius: 12px;
    background: #fff4f4;
    color: #9d3e3e;
    font-size: 14px;
}

/* Auth area */
.account-area {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-left: 4px;
    flex-shrink: 0;
}

.account-name {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #dce9f6;
    font-size: 13px;
}

.account-area form {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.account-logout {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 9px 12px;
    background: rgba(255,255,255,.03);
    color: #aebfd0;
    cursor: pointer;
    white-space: nowrap;
}

.account-logout:hover {
    background: rgba(255,255,255,.07);
    color: #fff;
}

@media (max-width: 900px) {
    .account-area {
        margin-left: auto;
    }
}

@media (max-width: 580px) {
    .account-area {
        gap: 8px;
    }

    .account-name {
        display: none;
    }
}

