:root {
    --page-bg: radial-gradient(circle at 0% 0%, #1f2937 0%, #0f172a 30%, #0f172a 100%);
    --surface: rgba(15, 23, 42, 0.45);
    --card: rgba(15, 23, 42, 0.65);
    --text: #e2e8f0;
    --muted: rgba(226, 232, 240, 0.6);
    --accent: #36c5f0; /* Slack-ish blue */
    --accent2: #611f69; /* Slack purple */
    --radius-lg: 1.7rem;
    --radius-md: 1.2rem;
    --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.25);
    --container: min(1120px, 100% - 3rem);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--page-bg);
    color: var(--text);
    min-height: 100vh;
}

/* fixed blurred blobs like Slack */
.bg-blob {
    position: fixed;
    filter: blur(90px);
    opacity: 0.6;
    z-index: -1;
}
.bg-blob.one {
    background: radial-gradient(circle, rgba(97, 31, 105, 1) 0%, rgba(97, 31, 105, 0) 60%);
    width: 360px;
    height: 360px;
    top: -60px;
    right: 10%;
}
.bg-blob.two {
    background: radial-gradient(circle, rgba(54, 197, 240, 1) 0%, rgba(54, 197, 240, 0) 60%);
    width: 340px;
    height: 340px;
    bottom: -90px;
    left: 5%;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    backdrop-filter: saturate(140%) blur(14px);
    background: rgba(15, 23, 42, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 0.75rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.logo a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -0.03em;
}
.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(160deg, #36c5f0, #2eb67d, #ecb22e, #e01e5a);
    box-shadow: 0 8px 20px rgba(236, 178, 46, 0.4);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.1rem;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.15s ease-out;
}
.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.nav-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.btn-primary,
.btn-outline,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.8rem;
}

.btn-primary {
    background: linear-gradient(140deg, #611f69 0%, #36c5f0 70%);
    color: #fff;
    padding: 0.5rem 1.1rem;
    border: none;
    box-shadow: 0 10px 30px rgba(54, 197, 240, 0.3);
}

.btn-outline {
    background: rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.12);
    color: #fff;
    padding: 0.45rem 1.05rem;
}

.btn-ghost {
    background: transparent;
    border: 1px solid transparent;
    color: #fff;
    padding: 0.35rem 0.6rem;
}

.nav-toggle {
    display: none;
    background: rgba(15, 23, 42, 0.3);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    font-size: 1.2rem;
    padding: 0.1rem 0.6rem 0.3rem;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 2.5rem;
    align-items: center;
    padding: 3rem 0 3.6rem;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(236, 178, 46, 0.08);
    border: 1px solid rgba(236, 178, 46, 0.4);
    border-radius: 999px;
    font-size: 0.65rem;
    padding: 0.35rem 0.6rem;
    width: fit-content;
}

.hero h1 {
    font-size: clamp(2.45rem, 4.1vw, 3.3rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin: 0;
}

.hero p {
    max-width: 35rem;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    flex-wrap: wrap;
}

.hero-foot {
    font-size: 0.65rem;
    color: rgba(226, 232, 240, 0.4);
}

/* right hero panel */
.hero-panel {
    background: radial-gradient(circle at 25% 20%, rgba(97, 31, 105, 0.4) 0%, rgba(15, 23, 42, 0) 50%), rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.028);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.hero-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.hero-panel-header h2 {
    margin: 0;
    font-size: 1rem;
}
.hero-panel-header p {
    margin: 0;
    font-size: 0.65rem;
    color: rgba(226, 232, 240, 0.38);
}

.badge {
    background: rgba(54, 197, 240, 0.12);
    border: 1px solid rgba(54, 197, 240, 0.4);
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    font-size: 0.65rem;
}

.hero-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.9rem;
}

.stat {
    background: rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 1.1rem;
    padding: 0.6rem 0.7rem 0.7rem;
}
.stat-title {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(226, 232, 240, 0.45);
    margin-bottom: 0.35rem;
}
.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.stat-foot {
    font-size: 0.6rem;
    color: rgba(226, 232, 240, 0.4);
}

.hero-panel-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    padding-top: 0.4rem;
    font-size: 0.7rem;
    color: rgba(226, 232, 240, 0.5);
}

/* Content */
.section-title {
    font-size: 1.3rem;
    margin-bottom: 1.35rem;
}

.content {
    padding: 2.4rem 0 1rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.25rem;
}

.content-panel {
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.015);
    border-radius: 1.25rem;
    padding: 1.1rem 1.1rem 1.05rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}
.content-panel h3 {
    margin-top: 0;
}
.content-panel p {
    color: rgba(226, 232, 240, 0.68);
}
.panel-link {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 0.7rem;
    color: #fff;
    text-decoration: none;
}
.panel-link:hover {
    text-decoration: underline;
}

.moon-section .full {
    grid-column: 1 / -1;
    text-align: left;
}
.moon-section button {
    margin-top: 0.5rem;
}

/* Footer */
.site-footer {
    padding: 2.5rem 0 3rem;
    text-align: center;
    color: rgba(226, 232, 240, 0.4);
    font-size: 0.7rem;
}

/* Responsive */
@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
    }
    .nav-links,
    .nav-actions {
        display: none;
    }
    .nav-toggle {
        display: inline-flex;
    }
}

@media (max-width: 520px) {
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .container {
        width: min(98%, 100% - 1.5rem);
    }
}
