/* =========================================================
   DEVELOPERS PAGE
   ========================================================= */

.developers-page {
    position: relative;
    overflow: hidden;
}

.developers-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 14%, rgba(37, 99, 235, 0.16), transparent 30%),
        radial-gradient(circle at 84% 22%, rgba(56, 189, 248, 0.12), transparent 24%),
        radial-gradient(circle at 52% 82%, rgba(37, 99, 235, 0.08), transparent 30%);
    pointer-events: none;
    z-index: 0;
}

.developers-page>* {
    position: relative;
    z-index: 1;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.topbar {
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    background: rgba(248, 250, 252, 0.8);
}

.topbar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 42px;
}

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.topbar-nav a {
    color: #475569;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.topbar-nav a:hover,
.topbar-nav a.active {
    color: #0f172a;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 86px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.24);
}

.brand-text {
    color: #0f172a;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.site-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a {
    color: #334155;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: #2563eb;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

/* =========================================================
   HERO
   ========================================================= */

.developers-hero.section {
    padding: 128px 0 88px;
}

.developers-hero-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 40px;
    align-items: center;
}

.developers-copy h1 {
    margin: 0 0 18px;
    max-width: 12ch;
    color: #f8fbff;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.developers-copy p {
    max-width: 62ch;
    margin: 0;
    color: #c8d4e3;
    font-size: 1.08rem;
    line-height: 1.75;
}

.developers-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.developers-surface {
    display: flex;
    justify-content: center;
}

.code-window {
    width: 100%;
    max-width: 560px;
    padding: 20px;
    background: linear-gradient(180deg, rgba(7, 16, 32, 0.95), rgba(10, 18, 34, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.code-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.code-dots span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.code-window pre {
    margin: 0;
    overflow-x: auto;
    white-space: pre;
}

.code-window code {
    color: #d7e8ff;
    font-size: 0.95rem;
    line-height: 1.8;
    font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

/* =========================================================
   SECTIONS
   ========================================================= */

.developer-pillars.section,
.developer-quickstart.section,
.developer-cta.section {
    padding: 88px 0;
}

.developer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.developer-card,
.quickstep-card,
.developer-cta-box {
    background: linear-gradient(180deg, rgba(24, 35, 58, 0.88), rgba(13, 20, 37, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.developer-card {
    padding: 28px 24px;
    border-radius: 22px;
}

.developer-card h3 {
    margin: 0 0 12px;
    color: #f8fbff;
    font-size: 1.35rem;
}

.developer-card p {
    margin: 0;
    color: #c8d4e3;
    line-height: 1.75;
}

.quickstart-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.quickstep-card {
    padding: 28px 24px;
    border-radius: 22px;
}

.quickstep-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 34px;
    margin-bottom: 16px;
    padding: 0 12px;
    color: #8fd8ff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: rgba(59, 130, 246, 0.14);
    border: 1px solid rgba(125, 211, 252, 0.16);
    border-radius: 999px;
}

.quickstep-card h3 {
    margin: 0 0 12px;
    color: #f8fbff;
    font-size: 1.3rem;
}

.quickstep-card p {
    margin: 0;
    color: #c8d4e3;
    line-height: 1.75;
}

.developer-cta.section {
    padding-top: 44px;
    padding-bottom: 96px;
}

.developer-cta-box {
    padding: 40px 36px;
    border-radius: 28px;
}

.developer-cta-box h2 {
    margin: 0 0 14px;
    color: #f8fbff;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.developer-cta-box p {
    margin: 0;
    max-width: 62ch;
    color: #c8d4e3;
    line-height: 1.8;
}

.developer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 80px 0 40px;
    color: #cbd5e1;
    background: #020617;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 18px;
    font-weight: 700;
}

.footer-brand .brand-mark {
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6, #7c3aed);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
}

.footer-brand .brand-text {
    color: #f8fafc;
    font-weight: 700;
}

.footer-description {
    max-width: 320px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

.footer-col h4 {
    margin: 0 0 14px;
    color: #e2e8f0;
    font-size: 14px;
}

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

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #cbd5e1;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    color: #64748b;
    font-size: 13px;
    text-align: center;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {
    .developer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .developers-copy h1 {
        max-width: none;
    }

    .quickstart-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 980px) {
    .topbar {
        display: none;
    }

    .header-inner {
        min-height: 78px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        padding-bottom: 16px;
    }

    .nav-list {
        flex-wrap: wrap;
        gap: 16px 22px;
    }

    .header-actions {
        gap: 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {

    .developers-hero.section,
    .developer-pillars.section,
    .developer-quickstart.section,
    .developer-cta.section {
        padding: 64px 0;
    }

    .developers-hero.section {
        padding-top: 110px;
    }

    .developer-grid,
    .quickstart-grid {
        grid-template-columns: 1fr;
    }

    .developer-card,
    .quickstep-card,
    .developer-cta-box,
    .code-window {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .developers-copy h1,
    .developer-cta-box h2 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .header-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .brand-text {
        font-size: 1.28rem;
    }

    .site-footer {
        padding: 64px 0 32px;
    }

    .footer-bottom {
        margin-top: 40px;
    }
}