:root {
    --bg: #060911;
    --bg-alt: #0b1120;
    --surface: #0f172a;
    --surface-2: #141d33;
    --border: rgba(148, 163, 184, 0.16);
    --text: #e2e8f0;
    --muted: #94a3b8;
    --gold: #f5b301;
    --gold-soft: rgba(245, 179, 1, 0.12);
    --cyan: #22d3ee;
    --radius: 16px;
    --radius-sm: 12px;
    --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
    --maxw: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

.container,
.container-fluid {
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.02em;
}

a {
    color: var(--gold);
    text-decoration: none;
}

a:hover {
    color: #ffca28;
}

img {
    max-width: 100%;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--gold);
    color: #060911;
    padding: 10px 16px;
    z-index: 2000;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

.container {
    max-width: var(--maxw);
}

/* Buttons */
.btn {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    border-radius: 10px;
    padding: 12px 22px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.btn-gold {
    background: linear-gradient(120deg, #f5b301, #ffca28);
    color: #0a0e1a;
    border: 0;
    box-shadow: 0 14px 34px -14px rgba(245, 179, 1, 0.8);
}

.btn-gold:hover {
    color: #0a0e1a;
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -16px rgba(245, 179, 1, 0.9);
}

.btn-ghost {
    background: rgba(148, 163, 184, 0.08);
    color: #fff;
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    color: #fff;
    border-color: rgba(245, 179, 1, 0.6);
    background: var(--gold-soft);
}

.btn-outline-light-2 {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(226, 232, 240, 0.35);
}

.btn-outline-light-2:hover {
    color: #fff;
    border-color: var(--gold);
    background: var(--gold-soft);
}

/* Nav */
.site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1030;
    transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
    border-bottom: 1px solid transparent;
}

.site-nav.is-scrolled {
    background: rgba(6, 9, 17, 0.82);
    backdrop-filter: blur(14px);
    border-bottom-color: var(--border);
}

.site-nav .navbar-brand img {
    max-height: 42px;
    width: auto;
}

.site-nav .nav-link {
    color: rgba(226, 232, 240, 0.8);
    font-weight: 500;
    padding: 8px 12px;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
    color: var(--gold);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero */
.hero {
    position: relative;
    padding: 170px 0 110px;
    overflow: hidden;
    background:
        radial-gradient(1100px 520px at 78% -10%, rgba(34, 211, 238, 0.12), transparent 60%),
        radial-gradient(900px 500px at 6% 8%, rgba(245, 179, 1, 0.14), transparent 60%),
        linear-gradient(180deg, #060911 0%, #0a1020 100%);
}

.hero-glow {
    position: absolute;
    width: 620px;
    height: 620px;
    right: -180px;
    top: -120px;
    background: radial-gradient(circle, rgba(245, 179, 1, 0.22), transparent 65%);
    filter: blur(20px);
    pointer-events: none;
}

.hero-title {
    font-size: clamp(2rem, 4.4vw, 3.5rem);
    line-height: 1.12;
    margin: 22px 0 18px;
}

.hero-sub {
    color: var(--muted);
    font-size: 1.06rem;
    max-width: 620px;
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
}

.text-gold {
    color: var(--gold);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid rgba(245, 179, 1, 0.35);
    background: var(--gold-soft);
    color: #ffd766;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pill .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(245, 179, 1, 0.18);
}

.contract-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    padding: 9px 14px;
    border-radius: 10px;
    border: 1px dashed var(--border);
    background: rgba(15, 23, 42, 0.7);
    color: var(--muted);
    font-size: 0.82rem;
    cursor: pointer;
}

.contract-pill:hover {
    border-color: rgba(245, 179, 1, 0.5);
    color: var(--text);
}

.contract-pill .contract-label {
    color: var(--gold);
    font-weight: 600;
}

.contract-pill .contract-value {
    font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Stats */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.stat-card {
    padding: 22px 20px;
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(20, 29, 51, 0.9), rgba(15, 23, 42, 0.9));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.stat-key {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-val {
    display: block;
    margin: 6px 0 2px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: #fff;
}

.stat-note {
    color: var(--muted);
    font-size: 0.82rem;
}

/* Sections */
.section {
    padding: 96px 0;
}

.section-alt {
    background: linear-gradient(180deg, var(--bg-alt), var(--bg));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-head {
    max-width: 720px;
    margin-bottom: 54px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--gold);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.6rem, 2.8vw, 2.3rem);
    margin-bottom: 16px;
}

.section-text {
    color: var(--muted);
    margin-bottom: 16px;
}

/* About orb */
.feature-orb {
    display: grid;
    gap: 14px;
    padding: 24px;
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(20, 29, 51, 0.96), rgba(11, 17, 32, 0.96));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.orb-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 14px;
    border-radius: var(--radius-sm);
    background: rgba(6, 9, 17, 0.55);
    border: 1px solid transparent;
}

.orb-item:hover {
    border-color: rgba(245, 179, 1, 0.35);
}

.orb-item i {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--gold-soft);
    color: var(--gold);
    font-size: 1.1rem;
}

.orb-item h4 {
    font-size: 1rem;
    margin: 0 0 2px;
}

.orb-item p {
    color: var(--muted);
    font-size: 0.88rem;
    margin: 0;
}

/* Check list */
.check-list {
    display: grid;
    gap: 12px;
    padding: 26px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
}

.check-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
}

.check-item i {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gold-soft);
    color: var(--gold);
    font-size: 0.8rem;
}

/* Feature cards */
.feature-card {
    height: 100%;
    padding: 26px 22px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform .2s ease, border-color .2s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 179, 1, 0.45);
}

.feature-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(140deg, rgba(245, 179, 1, 0.2), rgba(34, 211, 238, 0.12));
    color: var(--gold);
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.feature-card h5 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.88rem;
    margin: 0;
}

/* Token sale */
.token-sale-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(245, 179, 1, 0.08), transparent 28%),
        radial-gradient(circle at 88% 82%, rgba(34, 211, 238, 0.06), transparent 30%),
        linear-gradient(180deg, var(--bg-alt), var(--bg));
}

.token-sale-section .section-title,
.token-sale-section h3 {
    color: #fff;
}

.token-sale-section .section-text {
    color: var(--muted);
}

.token-sale-section .eyebrow {
    color: var(--gold);
}

/* Tables */
.token-sale-section .table-card,
.token-sale-section .alloc {
    background: rgba(15, 23, 42, 0.88);
    border-color: rgba(245, 179, 1, 0.2);
    box-shadow: 0 20px 50px -32px rgba(0, 0, 0, 0.9);
}

.table-card {
    height: 100%;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
}

.token-table {
    margin: 0;
    color: var(--text);
}

.token-table td {
    padding: 16px 20px;
    border-color: var(--border);
    vertical-align: middle;
}

.token-table tr td:first-child {
    color: var(--muted);
    width: 52%;
}

.token-table tr td:last-child {
    color: #fff;
    font-weight: 600;
}

/* Allocation bars */
.alloc {
    display: grid;
    gap: 20px;
    padding: 26px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
}

.alloc-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
    color: var(--text);
    font-size: 0.9rem;
}

.alloc-val {
    color: var(--gold);
    font-weight: 600;
}

.alloc-row .bar {
    grid-column: 1 / -1;
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.15);
    overflow: hidden;
}

.alloc-row .bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), var(--cyan));
}

/* Roadmap */
.roadmap {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
    padding-left: 34px;
}

.roadmap::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), rgba(34, 211, 238, 0.4));
}

.road-item {
    position: relative;
    padding: 0 0 34px 12px;
}

.road-item:last-child {
    padding-bottom: 0;
}

.road-dot {
    position: absolute;
    left: -33px;
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg);
    border: 3px solid var(--gold);
    box-shadow: 0 0 0 5px rgba(245, 179, 1, 0.12);
}

.road-date {
    display: block;
    color: var(--cyan);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.road-item h5 {
    margin-bottom: 6px;
}

.road-tag {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--gold-soft);
    color: var(--gold);
    font-size: 0.72rem;
    vertical-align: middle;
}

.road-item p {
    color: var(--muted);
    margin: 0;
    font-size: 0.92rem;
}

/* FAQ */
.faq-accordion {
    max-width: 820px;
}

.faq-accordion .accordion-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm) !important;
    margin-bottom: 14px;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    background: transparent;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    padding: 20px 22px;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--gold);
    background: var(--gold-soft);
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-accordion .accordion-button::after {
    filter: invert(1) sepia(1) saturate(4) hue-rotate(1deg);
}

.faq-accordion .accordion-body {
    color: var(--muted);
    padding: 4px 22px 22px;
}

.faq-accordion .accordion-body ul {
    padding-left: 18px;
    margin-bottom: 0;
}

.faq-accordion .accordion-body li {
    margin-bottom: 6px;
}

/* CTA */
.cta-band {
    padding: 20px 0 90px;
}

.cta-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 40px;
    border-radius: 22px;
    background:
        radial-gradient(600px 300px at 90% 0%, rgba(34, 211, 238, 0.16), transparent 60%),
        linear-gradient(135deg, rgba(245, 179, 1, 0.16), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(245, 179, 1, 0.35);
}

.cta-box p {
    color: var(--muted);
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    padding: 70px 0 30px;
    border-top: 1px solid var(--border);
    background: #04060d;
}

.site-footer img {
    max-height: 44px;
    width: auto;
}

.footer-text {
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-title {
    color: #fff;
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    color: var(--muted);
    margin-bottom: 10px;
    font-size: 0.92rem;
}

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contract {
    font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
    font-size: 0.82rem;
    color: var(--cyan);
    word-break: break-all;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 46px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-social a {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--muted);
}

.footer-social a:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* Back to top + toast */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--gold);
    color: #0a0e1a;
    font-size: 1.1rem;
    box-shadow: 0 14px 30px -12px rgba(245, 179, 1, 0.9);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    z-index: 1040;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.toast-note {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translate(-50%, 20px);
    padding: 10px 18px;
    border-radius: 10px;
    background: #fff;
    color: #0a0e1a;
    font-weight: 600;
    font-size: 0.85rem;
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
    z-index: 1050;
}

.toast-note.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero {
        padding: 140px 0 80px;
    }

    .section {
        padding: 72px 0;
    }

    .site-nav .navbar-collapse {
        margin-top: 14px;
        padding: 16px;
        border-radius: var(--radius);
        background: rgba(11, 17, 32, 0.98);
        border: 1px solid var(--border);
    }
}

@media (max-width: 575.98px) {
    .stat-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 28px 22px;
    }

    .hero-cta .btn {
        width: 100%;
    }
}
