:root {
    --bg: #0b0810;
    --panel: #13101a;
    --panel-2: #191321;
    --text: #f8f4fb;
    --muted: #a69bad;
    --pink: #ff5ebc;
    --pink-light: #ff9cdb;
    --red-offline: #ff4d6d;
    --line: rgba(255, 255, 255, 0.09);
    --font: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    --display: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: "JetBrains Mono", monospace;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

.wrap {
    width: min(1120px, calc(100% - 44px));
    margin-inline: auto;
}

.glow {
    position: absolute;
    pointer-events: none;
    filter: blur(90px);
    opacity: 0.18;
    border-radius: 50%;
    z-index: -1;
}

.glow-one {
    width: 380px;
    height: 380px;
    background: #e83caa;
    top: 80px;
    left: -220px;
}

.glow-two {
    width: 460px;
    height: 460px;
    background: #6b35c9;
    top: 500px;
    right: -300px;
}

/* NAVBAR */
.nav {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.brand {
    font-family: var(--display);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.brand-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--pink), #a45bff);
    color: white;
    font-size: 17px;
    box-shadow: 0 0 24px #ff5ebc36;
}

.brand-dot {
    color: var(--pink);
    margin-left: -8px;
}

.nav nav {
    display: flex;
    gap: 32px;
    color: var(--muted);
    font-size: 13px;
}

    .nav nav a:hover {
        color: var(--pink-light);
    }

.nav-cta {
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--line);
    padding: 11px 15px;
    border-radius: 11px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

    .nav-cta:hover {
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .nav-cta span {
        color: var(--pink);
        margin-left: 8px;
    }

/* HERO & STATUS */
.hero {
    padding-top: 92px;
    text-align: center;
}

.eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.3px;
    color: var(--pink-light);
    display: flex;
    align-items: center;
    gap: 9px;
    justify-content: center;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

    .status-dot.offline, .badge-dot.offline {
        background: var(--red-offline) !important;
        box-shadow: 0 0 12px rgba(255, 77, 109, 0.7) !important;
    }

h1, h2, h3, p {
    margin-top: 0;
}

h1, h2 {
    font-family: var(--display);
    letter-spacing: -2.7px;
}

h1 {
    font-size: clamp(52px, 8vw, 88px);
    line-height: 0.99;
    margin: 24px 0 20px;
}

    h1 span, h2 span {
        background: linear-gradient(100deg, #ffb4e5 0%, var(--pink) 50%, #b98aff 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.hero-copy {
    max-width: 520px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 30px 0 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .button:hover {
        transform: translateY(-2px);
    }

.primary {
    background: linear-gradient(110deg, #ff5ebc, #c45bff);
    color: #190b1b;
    box-shadow: 0 8px 28px #f84ab52a;
}

.secondary {
    border: 1px solid var(--line);
    background: #ffffff04;
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* WORKSPACE METRICS BAR */
.metrics-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 940px;
    margin: 0 auto 48px;
    text-align: center;
}

.metric-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line);
    padding: 18px 12px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.metric-val {
    display: block;
    font-family: var(--display);
    font-size: 28px;
    color: #f8f4fb;
    font-weight: 700;
}

.metric-lbl {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.5px;
}

/* EXECUTOR APP PREVIEW */
.preview {
    max-width: 940px;
    margin: 0 auto;
    border: 1px solid #ffffff20;
    background: #110e18;
    border-radius: 14px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 35px 100px #0008, 0 0 70px #ff5ebc0c;
    font-family: var(--mono);
}

.preview-top {
    height: 44px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
    background: #0d0a14;
    font-size: 12px;
}

.window-dots {
    display: flex;
    gap: 6px;
}

    .window-dots i {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #514354;
    }

        .window-dots i:first-child {
            background: #ff5f56;
        }

        .window-dots i:nth-child(2) {
            background: #ffbd2e;
        }

        .window-dots i:nth-child(3) {
            background: #27c93f;
        }

.preview-title {
    color: #d1c7dc;
    font-size: 12px;
}

.preview-status-badge {
    margin-left: auto;
    font-size: 10px;
    letter-spacing: 0.5px;
    color: var(--red-offline);
    background: rgba(255, 77, 109, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 77, 109, 0.2);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.editor-tabs-bar {
    display: flex;
    align-items: center;
    background: #0e0b15;
    border-bottom: 1px solid var(--line);
    padding: 8px 12px 0 12px;
    gap: 6px;
    font-size: 11px;
}

.tab {
    background: #191322;
    color: #f8f4fb;
    padding: 6px 14px;
    border-radius: 6px 6px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-tab {
    font-size: 13px;
    color: #7b6f88;
}

.add-tab-btn {
    background: transparent;
    border: 1px dashed var(--line);
    color: var(--muted);
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    font-size: 14px;
    opacity: 0.5;
    cursor: not-allowed;
}

.terminal-output-label {
    margin-left: auto;
    color: #8d8098;
    font-size: 11px;
}

.preview-body {
    position: relative;
    background: #120e19;
    min-height: 140px;
}

.code-editor-pane {
    padding: 18px 20px;
    font-size: 13px;
    color: #f8f4fb;
    font-weight: 500;
}

.code-line {
    display: flex;
    gap: 18px;
    align-items: center;
}

.line-num {
    color: #7d6f88;
    user-select: none;
}

.code-text {
    color: #ffffff;
}

.terminal-container {
    background: #09070e;
    border-top: 1px solid var(--line);
    padding: 12px 16px;
    font-size: 11px;
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    color: #7d7088;
    font-size: 10px;
    margin-bottom: 8px;
}

.terminal-logs p {
    margin: 0;
    line-height: 1.4;
}

.log-info {
    color: #d1c7dc;
}

.preview-footer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #0e0b15;
    border-top: 1px solid var(--line);
    font-size: 11px;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-input-status {
    color: #8d8098;
}

    .footer-input-status b {
        color: #f8f4fb;
        font-weight: 500;
    }

.executor-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.exec-btn {
    background: #181322;
    border: 1px solid var(--line);
    color: #f8f4fb;
    padding: 6px 12px;
    border-radius: 6px;
    font-family: var(--mono);
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .exec-btn.static-btn {
        opacity: 0.6;
        cursor: not-allowed;
    }

    .exec-btn.danger-action {
        color: #ff6b81;
        border-color: rgba(255, 107, 129, 0.2);
        background: rgba(255, 107, 129, 0.05);
    }

    .exec-btn.settings-action {
        color: #ff9cdb;
    }

.hero-foot {
    display: flex;
    justify-content: space-between;
    color: #665a70;
    font-size: 9px;
    letter-spacing: 1.6px;
    padding: 25px 0;
    border-bottom: 1px solid var(--line);
}

/* SECTION STYLES */
.section {
    padding-top: 115px;
}

.section-heading {
    text-align: center;
    margin-bottom: 43px;
}

    .section-heading h2 {
        font-size: clamp(36px, 5vw, 54px);
        margin: 17px 0;
    }

    .section-heading p {
        color: var(--muted);
        font-size: 14px;
        line-height: 1.8;
    }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.feature-card {
    position: relative;
    padding: 27px;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, #ffffff06, #ffffff01);
    border-radius: 15px;
    min-height: 220px;
}

    .feature-card.highlighted {
        border-color: #ff5ebc48;
        background: linear-gradient(145deg, #ff5ebc12, #ffffff02);
    }

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #ff5ebc16;
    color: var(--pink-light);
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--display);
    font-size: 17px;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted);
}

.card-number {
    position: absolute;
    bottom: 22px;
    left: 27px;
    color: #75667f;
    font-size: 8px;
    letter-spacing: 1.7px;
}

/* COMPARISON TABLE */
.table-container {
    max-width: 860px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #120e19;
}

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

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

    .comparison-table th {
        background: #0d0a14;
        font-family: var(--display);
        color: var(--muted);
        font-size: 12px;
    }

.highlight-col {
    background: rgba(255, 94, 188, 0.05);
    color: #ffffff;
    font-weight: 700;
}

.check {
    color: #5ef1bc;
    font-weight: bold;
    margin-right: 6px;
}

.cross {
    color: var(--red-offline);
    font-weight: bold;
    margin-right: 6px;
}

/* PRICING GRID (3 TIERS: WEEKLY, MONTHLY, YEARLY) */
.pricing-grid.three-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 980px;
    margin: 0 auto;
}

.price-card {
    position: relative;
    background: #120e19;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 32px 24px;
}

    .price-card.featured {
        border-color: var(--pink);
        background: linear-gradient(145deg, #ff5ebc10, #120e19);
    }

.popular-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--pink);
    color: #120e19;
    font-size: 9px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 20px;
}

.price {
    font-size: 28px;
    font-family: var(--display);
    font-weight: 700;
    margin: 12px 0 8px;
}

    .price span {
        font-size: 13px;
        color: var(--muted);
        font-weight: 400;
    }

.plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 28px;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* FAQ & FOOTER */
.faq {
    max-width: 780px;
}

    .faq details {
        border-bottom: 1px solid var(--line);
        padding: 20px 0;
    }

    .faq summary {
        cursor: pointer;
        font-size: 14px;
        font-weight: 600;
        display: flex;
        justify-content: space-between;
    }

        .faq summary span {
            color: var(--pink);
        }

    .faq details p {
        font-size: 12px;
        color: var(--muted);
        line-height: 1.8;
        margin-top: 12px;
    }

.final-cta {
    margin-top: 115px;
    padding: 42px;
    border: 1px solid #ff5ebc35;
    border-radius: 18px;
    background: radial-gradient(ellipse at 10% 20%, #ff5ebc14, transparent 50%), #ffffff03;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer {
    padding: 37px 0 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

    .footer p {
        margin-left: 0;
        margin-right: auto;
        font-size: 11px;
        color: var(--muted);
    }

    .footer small {
        color: #766a7e;
        font-size: 10px;
    }

@media (max-width: 900px) {
    .pricing-grid.three-cards {
        grid-template-columns: 1fr;
    }

    .metrics-bar {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .final-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}
