/* ==========================================================================
   Venom v7 · Executive Architectural Landing Page Stylesheet
   Matte Carbon / Brushed Platinum / Emerald Telemetry (#09090b / #111114)
   ========================================================================== */

:root {
    --lp-bg: #09090b;
    --lp-bg-elev: #0f0f12;
    --lp-bg-card: #121216;
    --lp-bg-card-hover: #17171c;
    --lp-bg-code: #0b0b0e;
    --lp-border: rgba(255, 255, 255, 0.08);
    --lp-border-strong: rgba(255, 255, 255, 0.16);
    --lp-text: #f4f4f5;
    --lp-text-sec: #a1a1aa;
    --lp-text-muted: #71717a;
    --lp-primary: #ffffff;
    --lp-primary-fg: #09090b;
    --lp-emerald: #10b981;
    --lp-emerald-soft: rgba(16, 185, 129, 0.12);
    --lp-emerald-border: rgba(16, 185, 129, 0.32);
    --lp-silver-grad: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
    --lp-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
    --lp-font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --lp-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

html[data-lp-theme="light"] {
    --lp-bg: #fafafa;
    --lp-bg-elev: #ffffff;
    --lp-bg-card: #ffffff;
    --lp-bg-card-hover: #f4f4f5;
    --lp-bg-code: #0f0f12;
    --lp-border: rgba(0, 0, 0, 0.08);
    --lp-border-strong: rgba(0, 0, 0, 0.18);
    --lp-text: #111114;
    --lp-text-sec: #52525b;
    --lp-text-muted: #71717a;
    --lp-primary: #09090b;
    --lp-primary-fg: #ffffff;
    --lp-emerald: #059669;
    --lp-emerald-soft: rgba(5, 150, 105, 0.10);
    --lp-emerald-border: rgba(5, 150, 105, 0.28);
    --lp-silver-grad: linear-gradient(180deg, #09090b 0%, #52525b 100%);
    --lp-shadow: 0 18px 48px rgba(0, 0, 0, 0.07);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--lp-bg);
    color: var(--lp-text);
    font-family: var(--lp-font);
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: -0.012em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

button {
    font-family: inherit;
    cursor: pointer;
}

code, pre, .lp-mono {
    font-family: var(--lp-mono);
}

/* Architectural Grid Backdrop */
.lp-grid-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 35%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 35%, transparent 100%);
}

html[data-lp-theme="light"] .lp-grid-bg {
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
}

.lp-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Logo Theme Switching */
.lp-logo-dark { display: block; height: 24px; width: auto; }
.lp-logo-light { display: none; height: 24px; width: auto; }
html[data-lp-theme="light"] .lp-logo-dark { display: none; }
html[data-lp-theme="light"] .lp-logo-light { display: block; }

/* Sticky Glass Topbar */
.lp-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 68px;
    border-bottom: 1px solid var(--lp-border);
    background: rgba(9, 9, 11, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

html[data-lp-theme="light"] .lp-header {
    background: rgba(250, 250, 250, 0.86);
}

.lp-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.lp-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.lp-brand-tag {
    font-family: var(--lp-mono);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 5px;
    border: 1px solid var(--lp-border-strong);
    color: var(--lp-text-sec);
}

.lp-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.lp-nav a {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--lp-text-sec);
    transition: color 0.16s ease;
}

.lp-nav a:hover {
    color: var(--lp-text);
}

.lp-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Buttons */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 7px;
    font-size: 13.5px;
    font-weight: 600;
    border: 1px solid var(--lp-border-strong);
    background: var(--lp-bg-card);
    color: var(--lp-text);
    transition: all 0.16s ease;
    white-space: nowrap;
}

.lp-btn:hover {
    background: var(--lp-bg-card-hover);
    border-color: var(--lp-text-muted);
}

.lp-btn-primary {
    background: var(--lp-primary);
    color: var(--lp-primary-fg);
    border-color: var(--lp-primary);
}

.lp-btn-primary:hover {
    opacity: 0.9;
    background: var(--lp-primary);
    color: var(--lp-primary-fg);
}

.lp-btn-lg {
    padding: 13px 22px;
    font-size: 14.5px;
    border-radius: 8px;
}

.lp-btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
}

/* Hero Section */
.lp-hero {
    padding: 72px 0 64px;
    border-bottom: 1px solid var(--lp-border);
}

.lp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: center;
}

.lp-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--lp-emerald-soft);
    border: 1px solid var(--lp-emerald-border);
    color: var(--lp-emerald);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.lp-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lp-emerald);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
}

.lp-hero-title {
    margin: 0 0 18px;
    font-size: clamp(34px, 4.6vw, 54px);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -0.04em;
}

.lp-hero-title span {
    background: var(--lp-silver-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-hero-sub {
    margin: 0 0 28px;
    font-size: 16.5px;
    color: var(--lp-text-sec);
    line-height: 1.62;
    max-width: 560px;
}

.lp-hero-ctas {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.lp-metrics-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding-top: 24px;
    border-top: 1px solid var(--lp-border);
}

.lp-metric-val {
    font-family: var(--lp-mono);
    font-size: 19px;
    font-weight: 700;
    color: var(--lp-text);
    line-height: 1.2;
}

.lp-metric-lbl {
    font-size: 12px;
    color: var(--lp-text-muted);
    margin-top: 3px;
}

/* Interactive Terminal Card */
.lp-terminal-card {
    background: var(--lp-bg-code);
    color: #e4e4e7;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: var(--lp-shadow);
    overflow: hidden;
}

.lp-term-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    background: #121217;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.lp-term-dots {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lp-term-dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.lp-term-dots i:nth-child(1) { background: #ef4444; }
.lp-term-dots i:nth-child(2) { background: #f59e0b; }
.lp-term-dots i:nth-child(3) { background: #10b981; }

.lp-term-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.lp-term-tab {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: #a1a1aa;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.15s ease;
}

.lp-term-tab.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

.lp-term-body {
    padding: 18px;
}

.lp-code-pre {
    margin: 0;
    font-size: 12.2px;
    line-height: 1.62;
    color: #e4e4e7;
    overflow-x: auto;
    white-space: pre;
}

.lp-term-resp {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.22);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: var(--lp-mono);
    font-size: 11.5px;
}

/* Section Headers */
.lp-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--lp-border);
}

.lp-sec-head {
    max-width: 680px;
    margin-bottom: 44px;
}

.lp-sec-kicker {
    font-family: var(--lp-mono);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--lp-emerald);
    margin-bottom: 10px;
}

.lp-sec-title {
    margin: 0 0 12px;
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.lp-sec-sub {
    margin: 0;
    font-size: 15.5px;
    color: var(--lp-text-sec);
}

/* Bento Grid */
.lp-bento {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.lp-card {
    background: var(--lp-bg-card);
    border: 1px solid var(--lp-border);
    border-radius: 12px;
    padding: 24px;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.lp-card:hover {
    border-color: var(--lp-border-strong);
}

.lp-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--lp-bg-elev);
    border: 1px solid var(--lp-border-strong);
    font-size: 18px;
    margin-bottom: 16px;
}

.lp-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lp-card p {
    margin: 0;
    font-size: 13.8px;
    color: var(--lp-text-sec);
    line-height: 1.58;
}

.lp-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.lp-mini-tag {
    font-family: var(--lp-mono);
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 5px;
    background: var(--lp-bg-elev);
    border: 1px solid var(--lp-border);
    color: var(--lp-text-sec);
}

/* Multi-OS Binary Showcase */
.lp-binary-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    background: var(--lp-bg-card);
    border: 1px solid var(--lp-border-strong);
    border-radius: 14px;
    padding: 32px;
    align-items: center;
}

.lp-os-selector {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.lp-os-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 9px;
    border: 1px solid var(--lp-border);
    background: var(--lp-bg-elev);
    color: var(--lp-text);
    text-align: left;
    transition: all 0.15s ease;
}

.lp-os-btn:hover {
    border-color: var(--lp-border-strong);
}

.lp-os-btn.active {
    border-color: var(--lp-emerald);
    background: var(--lp-emerald-soft);
}

.lp-os-btn i {
    font-size: 20px;
}

.lp-os-cmd {
    padding: 13px 15px;
    border-radius: 9px;
    background: #0b0b0e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e4e4e7;
    font-family: var(--lp-mono);
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    overflow-x: auto;
}

/* Pricing Grid */
.lp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.lp-price-card {
    background: var(--lp-bg-card);
    border: 1px solid var(--lp-border);
    border-radius: 14px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
}

.lp-price-card.featured {
    border-color: var(--lp-primary);
    box-shadow: 0 0 0 1px var(--lp-primary), var(--lp-shadow);
}

.lp-price-val {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.lp-calc-bar {
    padding: 12px 14px;
    border-radius: 9px;
    background: var(--lp-bg-elev);
    border: 1px solid var(--lp-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
}

.lp-step-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lp-step-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid var(--lp-border-strong);
    background: var(--lp-bg-card);
    color: var(--lp-text);
    font-weight: 700;
}

.lp-check-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 13.5px;
    color: var(--lp-text-sec);
}

.lp-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.lp-check-list i {
    color: var(--lp-emerald);
    margin-top: 2px;
    flex-shrink: 0;
}

/* Comparison Table */
.lp-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--lp-border);
    border-radius: 12px;
    background: var(--lp-bg-card);
}

.lp-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13.8px;
}

.lp-table th, .lp-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--lp-border);
}

.lp-table th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lp-text-muted);
    background: var(--lp-bg-elev);
}

.lp-table tr:last-child td {
    border-bottom: none;
}

/* FAQ Accordion (Independent Columns & Cards) */
.lp-faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.lp-faq-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lp-faq-item {
    background: var(--lp-bg-card);
    border: 1px solid var(--lp-border);
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.lp-faq-item:hover {
    border-color: var(--lp-border-strong);
}

.lp-faq-item[open] {
    border-color: var(--lp-emerald-border);
    background: var(--lp-bg-elev);
}

.lp-faq-item summary {
    cursor: pointer;
    user-select: none;
    padding: 18px 20px;
    font-weight: 700;
    font-size: 14.5px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.lp-faq-item summary::-webkit-details-marker {
    display: none;
}

.lp-faq-item summary i {
    font-size: 13px;
    color: var(--lp-text-muted);
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.lp-faq-item[open] summary i {
    transform: rotate(180deg);
    color: var(--lp-emerald);
}

.lp-faq-item p {
    margin: 0;
    padding: 14px 20px 18px;
    border-top: 1px solid var(--lp-border);
    font-size: 13.6px;
    color: var(--lp-text-sec);
    line-height: 1.62;
}

/* International Launch Notice Bar & Modal */
.lp-intl-bar {
    position: relative;
    z-index: 55;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.14), rgba(16, 185, 129, 0.05));
    border-bottom: 1px solid var(--lp-emerald-border);
    padding: 9px 16px;
    font-size: 12.8px;
    color: var(--lp-text);
    display: none;
}

.lp-intl-bar.visible {
    display: block;
}

.lp-intl-bar-inner {
    max-width: 1220px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    text-align: center;
}

.lp-intl-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(0, 0, 0, 0.76);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lp-intl-modal-backdrop.open {
    display: flex;
}

.lp-intl-modal {
    width: 100%;
    max-width: 540px;
    background: #121216;
    color: #f4f4f5;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.72);
}

/* Footer */
.lp-footer {
    padding: 44px 0;
    color: var(--lp-text-muted);
    font-size: 13px;
}

.lp-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
    .lp-hero-grid,
    .lp-binary-box,
    .lp-pricing-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .lp-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lp-faq-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .lp-container {
        padding: 0 16px;
    }
    .lp-nav,
    .lp-header .lp-brand-tag,
    #lp-intl-btn {
        display: none;
    }
    .lp-logo-dark,
    .lp-logo-light {
        height: 18px;
    }
    .lp-header-inner {
        gap: 8px;
    }
    .lp-header-actions {
        gap: 6px;
    }
    .lp-header-actions .lp-btn {
        padding: 7px 10px;
        font-size: 12px;
    }
    .lp-header-actions .lp-btn-icon {
        width: 32px;
        height: 32px;
        padding: 0;
    }
    .lp-hero {
        padding: 40px 0;
    }
    .lp-metrics-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lp-bento,
    .lp-os-selector {
        grid-template-columns: minmax(0, 1fr);
    }
    .lp-binary-box {
        padding: 20px;
    }
    .lp-os-cmd {
        flex-wrap: wrap;
    }
    .lp-os-cmd span {
        word-break: break-all;
        white-space: normal;
    }
    #lp-os-dl-link {
        white-space: normal;
        text-align: center;
    }
}
