:root {
    --bg-color: #030303;
    --surface: rgba(10, 10, 10, 0.62);
    --surface-soft: rgba(255, 255, 255, 0.03);
    --surface-border: rgba(255, 255, 255, 0.08);
    --surface-border-strong: rgba(255, 255, 255, 0.16);
    --accent-primary: #00d2ff;
    --accent-secondary: #3a7bd5;
    --text-main: #ffffff;
    --text-dim: #8b8b8b;
    --text-soft: #b8c3cf;
    --shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.85);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    height: 100vh;
    overflow: hidden;
    font-family: "Outfit", sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 12% 18%, rgba(0, 210, 255, 0.09) 0%, transparent 32%),
        radial-gradient(circle at 88% 20%, rgba(58, 123, 213, 0.08) 0%, transparent 28%),
        radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.03) 0%, transparent 30%);
}

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

.page-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    height: 100vh;
    padding: 24px 0;
    display: flex;
    align-items: center;
}

.brand-mark {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.08));
}

.brand-mark-large {
    width: 120px;
    height: 120px;
}

.hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.78fr);
    gap: 28px;
    width: 100%;
    height: min(860px, calc(100vh - 48px));
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 32px;
    backdrop-filter: blur(36px);
    -webkit-backdrop-filter: blur(36px);
    box-shadow: var(--shadow);
}

.app-preview,
.download-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    min-width: 0;
}

.app-preview {
    overflow: hidden;
}

.app-window-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
}

.app-window {
    width: min(100%, 470px);
    max-width: 100%;
    padding: clamp(18px, 2.1vw, 30px);
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--surface-border);
    border-radius: 28px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.8);
    transform: scale(0.92);
    transform-origin: center;
}

.app-branding {
    text-align: center;
    margin-bottom: 22px;
}

.app-logo {
    width: 92px;
    margin-bottom: 14px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.app-branding p {
    font-size: 0.76rem;
    color: var(--text-dim);
    font-weight: 300;
    letter-spacing: 1px;
}

.monitor {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--surface-border);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 18px;
}

.monitor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.tracking-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    font-weight: 600;
}

.status-active .status-pill {
    color: var(--accent-primary);
    border-color: rgba(0, 210, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.1);
}

.monitor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.monitor-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.item-label {
    font-size: 0.65rem;
    color: var(--text-dim);
}

.item-value {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.95rem;
    letter-spacing: -0.5px;
}

.eye-bars {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    height: 34px;
}

.eye-bar-container {
    flex: 1;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.eye-bar-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, var(--accent-secondary), var(--accent-primary));
}

.eye-bar-left {
    height: 68%;
}

.eye-bar-right {
    height: 54%;
}

.app-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.app-btn,
.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 14px;
    font-family: inherit;
    font-weight: 500;
    font-size: 0.9rem;
    color: #eee;
    border: 1px solid var(--surface-border-strong);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.25s ease;
}

.app-btn-wide {
    width: 100%;
    margin-bottom: 18px;
}

.app-btn-start {
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.app-btn-stop {
    background: rgba(255, 75, 43, 0.05);
    border: 1px solid rgba(255, 75, 43, 0.2);
}

.app-footer {
    width: 100%;
    text-align: center;
    color: #888;
    font-size: 0.68rem;
}

.download-panel {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
    padding-left: 12px;
}

.download-actions {
    width: min(320px, 100%);
    display: grid;
    gap: 14px;
}

.download-copy {
    display: grid;
    gap: 12px;
}

.download-kicker {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.download-title {
    font-size: clamp(3.5rem, 9vw, 7rem);
    line-height: 0.88;
    letter-spacing: -0.06em;
    font-weight: 600;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.download-tagline {
    max-width: 18ch;
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    line-height: 1.35;
    color: var(--text-soft);
}

.download-cta-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    margin-top: 6px;
}

.primary-button {
    border: 1px solid rgba(0, 210, 255, 0.22);
    background: linear-gradient(180deg, rgba(0, 210, 255, 0.16), rgba(58, 123, 213, 0.14));
    color: var(--text-main);
    box-shadow: 0 20px 30px -20px rgba(0, 210, 255, 0.45);
}

.primary-button:hover,
.app-btn:hover {
    transform: translateY(-1px);
}

.secondary-button {
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.08);
    cursor: not-allowed;
    box-shadow: none;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 210, 255, 0.18);
    background: rgba(0, 0, 0, 0.35);
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-family: "JetBrains Mono", monospace;
    letter-spacing: 0.12em;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent-primary);
    box-shadow: 0 0 14px rgba(0, 210, 255, 0.8);
}

@media (max-width: 920px) {
    body {
        height: auto;
        overflow: auto;
    }

    .page-shell {
        height: auto;
        min-height: 100vh;
        padding: 20px 0;
    }

    .hero-card {
        grid-template-columns: 1fr;
        height: auto;
    }

    .download-panel {
        align-items: center;
        padding-left: 0;
        text-align: center;
    }

    .app-window {
        transform: none;
        width: min(100%, 520px);
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100% - 20px, 1120px);
    }

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

    .brand-mark {
        width: 56px;
        height: 56px;
    }

    .brand-mark-large {
        width: 96px;
        height: 96px;
    }

    .app-window {
        padding: 24px;
        transform: none;
    }

    .monitor-grid,
    .app-actions {
        grid-template-columns: 1fr;
    }
}
