:root {
    --bg: #0d1323;
    --panel: rgba(255, 255, 255, 0.04);
    --panel-strong: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.08);
    --text: #f6f8ff;
    --muted: #c5cce0;
    --accent: #b6f3c6;
    --accent-2: #f7d07b;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Manrope", "Space Grotesk", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 10% 20%, rgba(182, 243, 198, 0.08), transparent 25%),
        radial-gradient(circle at 80% 0%, rgba(247, 208, 123, 0.08), transparent 25%),
        linear-gradient(160deg, #0b0f1d 0%, #0d1323 40%, #0e1729 100%);
    overflow-x: hidden;
}

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

.bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.glow {
    position: absolute;
    filter: blur(100px);
    opacity: 0.8;
}

.glow-1 {
    width: 520px;
    height: 520px;
    background: #b6f3c6;
    top: -120px;
    left: -80px;
    opacity: 0.3;
}

.glow-2 {
    width: 620px;
    height: 620px;
    background: #f7d07b;
    bottom: -200px;
    right: -120px;
    opacity: 0.25;
}

.grain {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 3px 3px;
    opacity: 0.15;
}

.top-nav {
    width: min(1100px, 92%);
    margin: 0 auto;
    padding: 14px 0 8px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: linear-gradient(180deg, rgba(13, 19, 35, 0.9) 0%, rgba(13, 19, 35, 0.65) 100%);
}

.top-nav.compact {
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

.brand-logo.large {
    width: 64px;
    height: 64px;
}

.brand-logo.small {
    width: 36px;
    height: 36px;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(182, 243, 198, 0.8), rgba(247, 208, 123, 0.75));
    color: #0b0f1d;
    font-weight: 700;
    display: grid;
    place-items: center;
    letter-spacing: 0.5px;
}

.brand-mark.small {
    width: 32px;
    height: 32px;
    font-size: 14px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-weight: 700;
    letter-spacing: 0.3px;
}

.brand-sub {
    color: var(--muted);
    font-size: 12px;
}

.nav-links {
    display: flex;
    gap: 18px;
    font-weight: 500;
    color: var(--muted);
}

.nav-links a {
    padding: 10px 12px;
    border-radius: 10px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
    color: var(--text);
    background: var(--panel);
}

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

.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--panel);
    color: var(--text);
    font-weight: 600;
    letter-spacing: 0.2px;
}

.status .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6ee7b7;
    box-shadow: 0 0 12px rgba(110, 231, 183, 0.7);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button.primary {
    background: linear-gradient(135deg, #b6f3c6, #f7d07b);
    color: #0b0f1d;
    box-shadow: 0 15px 40px rgba(182, 243, 198, 0.3);
}

.button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 50px rgba(182, 243, 198, 0.35);
}

.button.ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.button.ghost:hover {
    background: var(--panel);
    border-color: rgba(255, 255, 255, 0.12);
}

main {
    width: min(1100px, 92%);
    margin: 0 auto 72px auto;
    flex: 1;
}

.hero {
    padding: 36px 0 10px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
}

.brand-inline {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 8px;
}

.brand-inline h1 {
    margin: 6px 0 0 0;
}

.hero-copy h1 {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: clamp(34px, 4vw, 48px);
    margin: 12px 0 12px 0;
    letter-spacing: -0.5px;
}

.hero-copy .lede {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
    margin: 10px 0 20px 0;
}

.eyebrow {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: #8dd7a5;
    font-weight: 700;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin: 6px 0 14px 0;
    flex-wrap: wrap;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.pill-row.loose {
    gap: 12px;
    margin-top: 16px;
}

.pill {
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--panel);
    color: var(--muted);
    font-weight: 600;
    border: 1px solid var(--border);
}

.pill.wide {
    padding-inline: 16px;
}

.auth {
    margin-top: 70px;
}

.auth.first {
    margin-top: 24px;
}

.modal-overlay[hidden] {
    display: none;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 8, 14, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 20;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-content {
    position: relative;
    width: min(1100px, 96vw);
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(13, 19, 35, 0.92);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    padding: 18px;
    transform: translateY(12px);
    opacity: 0;
    transition: all 0.2s ease;
}

.modal-grid {
    margin-top: 12px;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--panel);
    border: 1px solid var(--border);
    color: var(--text);
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 20px;
    cursor: pointer;
}

.form-message {
    margin-top: 6px;
    font-size: 14px;
}

.form-message.error {
    color: #fca5a5;
}

.form-message.success {
    color: #b6f3c6;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.auth-card {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(13, 19, 35, 0.82);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-card h3 {
    margin: 0 0 4px 0;
}

.auth-card label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--muted);
    font-size: 14px;
}

.auth-card input {
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 15px;
}

.auth-card input:focus {
    outline: 2px solid rgba(182, 243, 198, 0.5);
    border-color: rgba(182, 243, 198, 0.7);
}

.button.full {
    width: 100%;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-panel {
    padding: 18px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(13, 19, 35, 0.78);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.panel-header {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--panel);
    border: 1px solid var(--border);
    margin-bottom: 14px;
    font-weight: 700;
}

.panel-header .dot.live {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6ee7b7;
    box-shadow: 0 0 12px rgba(110, 231, 183, 0.7);
}

.panel-title {
    letter-spacing: 0.2px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--panel);
    border: 1px solid var(--border);
}

.info-list span {
    color: var(--muted);
    font-size: 13px;
}

.info-list strong {
    font-weight: 700;
    letter-spacing: 0.2px;
}

.panel-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.small-note {
    margin: 0;
    color: var(--muted);
}

.logo-panel {
    display: grid;
    place-items: center;
    padding: 12px;
    border-radius: 14px;
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.logo-panel img {
    max-width: 180px;
    width: 100%;
    height: auto;
}

.logo-caption {
    margin-top: 8px;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.2px;
}

.visual-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.visual-card.small img {
    max-height: 240px;
    object-fit: cover;
}

.visual-card img {
    width: 100%;
    display: block;
    height: auto;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 8px 12px;
    background: rgba(13, 19, 35, 0.7);
    border-radius: 12px;
    border: 1px solid var(--border);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.visual-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 16px 18px 18px 18px;
    background: linear-gradient(180deg, transparent 0%, rgba(13, 19, 35, 0.78) 50%, rgba(13, 19, 35, 0.9) 100%);
}

.overlay-title {
    margin: 0 0 4px 0;
    font-weight: 700;
}

.overlay-text {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.stat-strip.tight {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.stat {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--panel);
}

.stat .label {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 6px;
}

.stat .value {
    font-weight: 700;
    letter-spacing: 0.2px;
}

.section {
    margin-top: 60px;
}

.section.compact {
    margin-top: 40px;
}

.section-head h2 {
    margin: 6px 0 8px 0;
    font-size: clamp(28px, 3vw, 36px);
    letter-spacing: -0.4px;
}

.section-head .subline {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

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

.card {
    padding: 14px 14px 16px 14px;
    border-radius: 14px;
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--panel-strong);
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 12px;
}

.card h3 {
    margin: 4px 0 8px 0;
}

.card p {
    margin: 0 0 12px 0;
    color: var(--muted);
    line-height: 1.6;
}

.chip {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(182, 243, 198, 0.14);
    color: #a1e8b0;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.highlight {
    background: linear-gradient(120deg, rgba(182, 243, 198, 0.08), rgba(247, 208, 123, 0.05));
    border-radius: 22px;
    border: 1px solid var(--border);
    padding: 32px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.feature {
    padding: 14px 16px 16px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
}

.feature-title {
    font-weight: 700;
    margin-bottom: 6px;
}

.feature p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.cta-panel {
    margin-top: 18px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(13, 19, 35, 0.8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-panel h3 {
    margin: 6px 0;
    font-size: 20px;
}

.compact-cta {
    margin-top: 14px;
}

.community {
    margin-top: 90px;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.community-card {
    padding: 18px 18px 20px 18px;
    border-radius: 16px;
    background: var(--panel);
    border: 1px solid var(--border);
}

.community-card h3 {
    margin: 4px 0 8px 0;
}

.community-card p {
    margin: 0 0 12px 0;
    color: var(--muted);
    line-height: 1.6;
}

.cta-row {
    margin-top: 20px;
    padding: 16px;
    border-radius: 14px;
    background: var(--panel-strong);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.footer {
    width: min(1100px, 92%);
    margin: 40px auto 24px auto;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
}

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

.muted {
    color: var(--muted);
}

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

    .hero-visual {
        order: -1;
    }

    .brand-logo {
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 640px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

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