/* ==========================================================================
   ASYNCHADS NETWORK - TIER 1 DARK MONO SYSTEM (VERCEL / LINEAR STYLE)
   ========================================================================== */

/* FONT IMPORT - GEIST MONO */
@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@300;400;500;600;700&display=swap');

/* CORE DESIGN SYSTEM VARIABLES */
:root {
    --header-height: 68px;
    --bg-base: #000000;
    --bg-surface: #111111;
    --border-color: #222222;
    --neon-green: #00FF88;
    --neon-green-hover: #00cc6d;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --font-mono: 'Geist Mono', monospace, monospace;
    --transition-speed: 0.15s;
}

/* GLOBAL RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-base);
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-mono);
    line-height: 1.5;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, .heading-font {
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.text-gradient {
    color: var(--text-primary);
}

.accent-text {
    color: var(--neon-green);
}

/* BRAND TEXT LOGO CLASS */
.brand-text-logo {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

/* LAYOUT UTILITIES */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.page-wrapper {
    padding-top: 130px !important;
    padding-bottom: 60px;
    min-height: 70vh;
}

/* HEADER & NAVIGATION */
.global-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: #000000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: color var(--transition-speed);
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: #111111;
}

/* MOBILE NAVIGATION & DRAWER */
.mobile-hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
}

.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.mobile-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-color);
    z-index: 2001;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: right 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px;
    border-radius: 6px;
}

.drawer-link.active {
    color: var(--text-primary);
    background: #222222;
}

/* BUTTON STYLES - PILL SHAPED #00FF88 */
.btn-primary {
    background: var(--neon-green);
    color: #000000;
    border: 1px solid var(--neon-green);
    padding: 12px 28px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-speed);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 44px;
}

.btn-primary:hover {
    background: var(--neon-green-hover);
    border-color: var(--neon-green-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 12px 28px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-speed);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 44px;
}

.btn-secondary:hover {
    border-color: #444444;
    background: #111111;
}

.btn-contact {
    background: var(--neon-green);
    color: #000000 !important;
    padding: 8px 18px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-contact:hover {
    background: var(--neon-green-hover);
}

/* CARDS & PANELS */
.glass-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    width: 100%;
}

/* HERO & BADGE */
.hero-section {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.neon-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #111111;
    border: 1px solid var(--border-color);
    color: var(--neon-green);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-transform: lowercase;
    margin-bottom: 24px;
}

.pk-icon {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--neon-green);
    stroke-width: 2;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.25rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 18px;
    font-weight: 700;
}

.hero-sub-title {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 400;
}

.hero-summary {
    font-size: 0.92rem;
    color: var(--text-secondary);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-heading {
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.04em;
}

.section-subheading {
    text-align: center;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 32px auto;
    font-size: 0.92rem;
}

/* STATS GRID */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 40px 0;
}

.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 20px 16px;
    border-radius: 12px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--neon-green);
    letter-spacing: -0.04em;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

/* GRIDS */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.three-col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

/* BENTO CARDS & LISTS */
.bento-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.bento-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.punchy-list {
    list-style: none;
}

.punchy-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.punchy-list li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--neon-green);
    font-weight: bold;
}

.punchy-list strong {
    color: var(--text-primary);
}

/* WORKFLOW STEPS */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.step-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #222222;
    color: var(--neon-green);
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 16px;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
}

.publisher-cta-banner {
    margin-top: 40px;
    background: var(--bg-surface);
    border: 1px dashed var(--neon-green);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

/* FAQ ACCORDION */
.faq-layout {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-surface);
    overflow: hidden;
}

.faq-question {
    padding: 18px 20px;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

.faq-item.active {
    border-color: #333333;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
    max-height: 350px;
}

/* GLOBAL FOOTER */
.global-footer {
    background: #000000;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px 0;
    margin-top: 60px;
}

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

.footer-text {
    color: var(--text-secondary);
    font-size: 0.82rem;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.peerlist-footer-wrapper img {
    height: 48px;
    width: auto;
    border-radius: 6px;
    filter: grayscale(1) invert(0.1);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
    .three-col-grid, .workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    .desktop-only {
        display: none !important;
    }
    .mobile-hamburger {
        display: flex;
    }
    .page-wrapper {
        padding-top: 110px !important;
        padding-bottom: 40px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .two-col-grid, .three-col-grid, .workflow-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-actions {
        flex-direction: column;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
    }
    .glass-panel {
        padding: 20px 16px;
    }
}