:root {
    --ink: #0d1116;
    --ink-soft: #141b22;
    --mist: #e7eef4;
    --accent: #f0b90b;
    --accent-2: #2ecc71;
    --accent-3: #19b4b8;
    --line: rgba(255, 255, 255, 0.12);
    --glow: rgba(240, 185, 11, 0.35);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
    background: radial-gradient(circle at top, #11202a 0%, #0b0f14 60%);
    color: #f7f8fb;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

.hero {
    padding: 24px 6vw 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(140deg, rgba(25, 180, 184, 0.1), rgba(240, 185, 11, 0.12));
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.brand-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 20px var(--glow);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-links a {
    padding: 10px 14px;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    margin-top: 48px;
}

.hero-kicker {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent-3);
}

.hero-copy h1 {
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    margin: 14px 0 16px;
}

.hero-copy p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--accent);
    color: #0b0f14;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(240, 185, 11, 0.35);
}

.btn-outline {
    border: 1px solid var(--line);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.hero-metrics {
    display: flex;
    gap: 18px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.metric {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    min-width: 120px;
}

.metric-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-2);
}

.metric-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero-visual {
    position: relative;
    min-height: 320px;
}

.planet {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #f8d76c, #10161c 70%);
    box-shadow: 0 0 60px rgba(25, 180, 184, 0.3);
    margin: auto;
}

.orbit {
    position: absolute;
    inset: 40px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: spin 18s linear infinite;
}

.orbit-small {
    inset: 80px;
    animation-duration: 12s;
    opacity: 0.7;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.section {
    padding: 80px 6vw;
}

.section-header {
    max-width: 700px;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 10px;
}

.section-header p {
    color: rgba(255, 255, 255, 0.68);
}

.grid {
    display: grid;
    gap: 24px;
}

.cards {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
    padding: 26px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(240, 185, 11, 0.6);
}

.tag {
    display: inline-block;
    margin-top: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(240, 185, 11, 0.15);
    color: var(--accent);
    font-size: 0.8rem;
}

.highlight {
    background: linear-gradient(135deg, rgba(25, 180, 184, 0.1), rgba(240, 185, 11, 0.1));
}

.products {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product {
    padding: 24px;
    border-radius: 16px;
    background: rgba(10, 17, 24, 0.7);
    border: 1px solid var(--line);
}

.dev-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.dev-card {
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dev-card ul {
    list-style: none;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.code-block {
    background: #0b1118;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
    font-family: "Courier New", monospace;
    font-size: 0.85rem;
    overflow-x: auto;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-list span {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(25, 180, 184, 0.15);
    font-size: 0.8rem;
    color: #9fe7ea;
}

.timeline {
    display: grid;
    gap: 16px;
}

.timeline-item {
    padding: 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    display: flex;
    gap: 18px;
    align-items: center;
}

.timeline-item span {
    font-weight: 700;
    color: var(--accent);
    min-width: 40px;
}

.cta {
    padding: 60px 6vw;
    margin: 20px 6vw 80px;
    border-radius: 24px;
    background: linear-gradient(120deg, rgba(240, 185, 11, 0.18), rgba(46, 204, 113, 0.15));
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.footer {
    padding: 40px 6vw 60px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.docs-body {
    background: radial-gradient(circle at top, #101924 0%, #0b0f14 60%);
}

.docs-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    padding: 40px 6vw 80px;
}

.docs-sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.docs-sidebar a {
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    color: rgba(255, 255, 255, 0.7);
}

.docs-sidebar a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.docs-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.docs-section h1,
.docs-section h2 {
    margin-bottom: 12px;
}

.docs-card {
    padding: 20px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.docs-tools {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.docs-nav {
    padding: 20px 6vw;
    border-bottom: 1px solid var(--line);
    background: rgba(11, 15, 20, 0.8);
}

@media (max-width: 960px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
    }

    .cta {
        margin: 20px 6vw 40px;
    }

    .docs-layout {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 720px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: #0b1118;
        padding: 16px;
        border-radius: 14px;
        position: absolute;
        top: 60px;
        right: 6vw;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero-metrics {
        flex-direction: column;
    }

    .cta {
        flex-direction: column;
        align-items: flex-start;
    }
}
