:root {
    --bg: #0a0a0f;
    --surface: #12121a;
    --surface-2: #1a1a26;
    --border: rgba(255, 255, 255, 0.06);
    --text: #f0f0f5;
    --text-secondary: #8a8a9a;
    --accent: #7c5cff;
    --accent-2: #00d4aa;
    --gradient: linear-gradient(135deg, #7c5cff, #00d4aa);
    --radius: 16px;
    --radius-sm: 10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Nav */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 15, 0.8);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 18px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-btn {
    background: var(--gradient);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.nav-btn:hover {
    opacity: 0.9;
}

/* Hero */
.hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
}

.hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(124, 92, 255, 0.15), transparent 70%);
    pointer-events: none;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-2);
    margin-bottom: 32px;
}

.hero h1 {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(124, 92, 255, 0.3);
}

.btn-secondary {
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--surface);
}

/* Window Frame */
.hero-visual {
    max-width: 700px;
    margin: 0 auto;
}

.window-frame {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.window-dots {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--surface-2);
}

.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #febc2e; }
.window-dots span:nth-child(3) { background: #28c840; }

.window-content {
    padding: 24px;
}

.chat-msg {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.chat-msg.user {
    justify-content: flex-end;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.chat-bubble {
    background: var(--surface-2);
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.6;
    max-width: 80%;
}

.chat-msg.user .chat-bubble {
    background: var(--accent);
    color: #fff;
}

.chat-bubble code {
    display: block;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 8px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 13px;
    margin: 8px 0;
}

/* Features */
.features {
    padding: 120px 0;
}

.features h2,
.how-it-works h2,
.pricing h2 {
    text-align: center;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 64px;
    letter-spacing: -0.02em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
    border-color: rgba(124, 92, 255, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* How it works */
.how-it-works {
    padding: 120px 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.step {
    text-align: center;
}

.step-num {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step p {
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 280px;
    margin: 0 auto;
}

/* Pricing */
.pricing {
    padding: 120px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: start;
}

.price-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.price-card:hover {
    transform: translateY(-4px);
}

.price-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 60px rgba(124, 92, 255, 0.15);
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.price-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
}

.price-amount span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
}

.price-card ul {
    list-style: none;
    margin-bottom: 32px;
}

.price-card ul li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.price-card ul li:last-child {
    border-bottom: none;
}

/* CTA */
.cta-section {
    padding: 120px 0;
}

.cta-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(124, 92, 255, 0.2), transparent 70%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 32px;
}

.cta-form {
    display: flex;
    gap: 12px;
    max-width: 460px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-form input {
    flex: 1;
    min-width: 240px;
    padding: 14px 20px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.cta-form input:focus {
    border-color: var(--accent);
}

.cta-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1,
.hero-sub,
.hero-actions,
.hero-visual {
    animation: fadeUp 0.8s ease forwards;
}

.hero-sub { animation-delay: 0.1s; }
.hero-actions { animation-delay: 0.2s; }
.hero-visual { animation-delay: 0.3s; opacity: 0; }

/* =========================================================
   Grok-inspired monochrome redesign
   ========================================================= */
:root {
    --bg: #050505;
    --surface: #0c0c0c;
    --surface-2: #151515;
    --surface-3: #1d1d1d;
    --border: rgba(255, 255, 255, 0.11);
    --border-strong: rgba(255, 255, 255, 0.22);
    --text: #f4f4f2;
    --text-secondary: #989895;
    --accent: #ffffff;
    --accent-2: #d9d9d6;
    --gradient: linear-gradient(135deg, #ffffff, #8b8b88);
    --radius: 24px;
    --radius-sm: 14px;
}

::selection {
    color: #050505;
    background: #f4f4f2;
}

body {
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.09), transparent 32%),
        var(--bg);
    letter-spacing: -0.015em;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 42%);
}

a,
button,
input {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container,
.nav-container {
    max-width: 1320px;
}

/* Navigation */
.navbar {
    background: rgba(5, 5, 5, 0.72);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-container {
    min-height: 76px;
    padding: 14px 28px;
}

.logo {
    gap: 11px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.brand-mark {
    display: block;
    object-fit: contain;
}

.nav-links {
    gap: 36px;
}

.nav-links a {
    color: #a5a5a2;
    font-size: 13px;
}

.nav-links a:hover {
    color: #fff;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    color: #050505;
    background: #f4f4f2;
    border: 1px solid #f4f4f2;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-btn:hover {
    color: #fff;
    background: transparent;
    opacity: 1;
}

/* Hero */
.hero {
    min-height: 100vh;
    padding: 176px 0 86px;
}

.hero-glow {
    top: 12%;
    width: min(1040px, 100%);
    height: 560px;
    background:
        radial-gradient(ellipse at center, rgba(255, 255, 255, 0.09), transparent 62%);
}

.badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    margin-bottom: 28px;
    color: #aaa;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.badge span {
    width: 6px;
    height: 6px;
    background: #e8e8e5;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

.hero h1 {
    position: relative;
    z-index: 1;
    max-width: 1050px;
    margin: 0 auto 28px;
    font-size: clamp(52px, 8vw, 108px);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.075em;
}

.gradient-text {
    color: #878784;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.hero-sub {
    position: relative;
    z-index: 1;
    max-width: 610px;
    margin-bottom: 36px;
    color: #999996;
    font-size: clamp(16px, 1.7vw, 20px);
    line-height: 1.6;
    letter-spacing: -0.025em;
}

.hero-actions {
    position: relative;
    z-index: 1;
    gap: 10px;
    margin-bottom: 76px;
}

.btn {
    justify-content: center;
    min-height: 50px;
    padding: 13px 24px;
    font-size: 13px;
    letter-spacing: -0.01em;
}

.btn-primary {
    color: #050505;
    background: #f4f4f2;
    border: 1px solid #f4f4f2;
}

.btn-primary:hover {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: none;
}

.btn-secondary {
    color: #e8e8e5;
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Grok prompt */
.hero-visual {
    position: relative;
    max-width: 880px;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.32), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.15));
    border-radius: 27px;
    filter: blur(1px);
}

.window-frame {
    background: rgba(10, 10, 10, 0.9);
    border-color: rgba(255, 255, 255, 0.13);
    border-radius: 26px;
    box-shadow:
        0 50px 140px rgba(0, 0, 0, 0.78),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px);
}

.shell-topbar {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 58px;
    padding: 0 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
    gap: 7px;
    padding: 0;
    border: 0;
}

.window-dots span,
.window-dots span:nth-child(1),
.window-dots span:nth-child(2),
.window-dots span:nth-child(3) {
    width: 9px;
    height: 9px;
    background: #333;
}

.shell-model,
.shell-status {
    color: #b9b9b6;
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.04em;
}

.shell-model span {
    color: #666;
}

.shell-status {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    color: #666;
}

.shell-status > span {
    width: 5px;
    height: 5px;
    background: #bcbcb9;
    border-radius: 50%;
    box-shadow: 0 0 9px rgba(255, 255, 255, 0.55);
}

.window-content {
    padding: 58px 44px 32px;
}

.prompt-heading {
    margin-bottom: 28px;
    color: #ededeb;
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 500;
    letter-spacing: -0.045em;
}

.prompt-box {
    max-width: 680px;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
    background: #151515;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.prompt-text {
    min-height: 62px;
    color: #b7b7b4;
    font-size: 14px;
    line-height: 1.6;
}

.prompt-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

.prompt-modes {
    display: flex;
    gap: 8px;
}

.prompt-modes span,
.quick-prompts span {
    padding: 7px 10px;
    color: #8d8d8a;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
}

.prompt-actions button {
    width: 34px;
    height: 34px;
    color: #050505;
    background: #efefed;
    border: 0;
    border-radius: 9px;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.prompt-actions button:hover {
    background: #fff;
    transform: translateY(-2px);
}

.quick-prompts {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.quick-prompts span {
    padding: 8px 11px;
    color: #686865;
    background: transparent;
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    color: #5f5f5c;
    font-size: 11px;
}

.hero-meta span {
    padding: 6px 9px;
    color: #9c9c99;
    background: #101010;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    font-family: "IBM Plex Mono", monospace;
}

/* Product screenshot */
.product-preview {
    position: relative;
    padding: 88px 0 152px;
    overflow: hidden;
}

.product-preview::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2%;
    width: 900px;
    height: 420px;
    pointer-events: none;
    background: radial-gradient(ellipse, rgba(63, 43, 185, 0.16), transparent 68%);
    transform: translateX(-50%);
    filter: blur(24px);
}

.preview-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    max-width: 1120px;
    margin: 0 auto 46px;
}

.preview-header .section-kicker {
    margin-bottom: 18px;
}

.preview-header h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(38px, 5.4vw, 68px);
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: -0.065em;
}

.preview-header > p {
    max-width: 310px;
    padding-bottom: 7px;
    color: #777774;
    font-size: 12px;
    line-height: 1.75;
}

.preview-frame {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    box-shadow:
        0 70px 150px rgba(0, 0, 0, 0.72),
        0 0 110px rgba(64, 42, 190, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.preview-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.preview-frame img {
    display: block;
    width: 100%;
    height: auto;
    background: #07070a;
}

.editor-mock {
    display: grid;
    grid-template-columns: 180px 1fr 240px;
    min-height: 420px;
    background: #07070a;
    color: #c8c8c5;
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
}

.editor-mock aside,
.editor-code {
    padding: 18px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.editor-mock strong {
    display: block;
    margin-bottom: 16px;
    color: #6d6d6a;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.editor-mock aside span,
.editor-tabs span,
.editor-tabs b {
    display: block;
    margin: 8px 0;
    color: #8d8d8a;
}

.editor-mock aside span.active,
.editor-tabs b {
    color: #f4f4f2;
}

.editor-code {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.editor-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
}

.editor-code pre {
    margin: 0;
    color: #d7d7d4;
    line-height: 1.8;
    white-space: pre-wrap;
}

.editor-code i {
    display: inline-block;
    width: 18px;
    margin-right: 12px;
    color: #4e4e4b;
    font-style: normal;
}

.agent-pane {
    border-right: 0;
}

.agent-pane p {
    margin: 0 0 18px;
    color: #cfcfcc;
    line-height: 1.6;
}

.agent-pane em {
    color: #7a7a77;
    font-style: normal;
}

@media (max-width: 768px) {
    .editor-mock {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .editor-mock aside:first-child,
    .agent-pane {
        display: none;
    }
}

.preview-frame figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 20px;
    color: #62625f;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-family: "IBM Plex Mono", monospace;
    font-size: 8px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.preview-frame figcaption span:first-child {
    color: #a4a4a1;
}

/* Shared sections */
.features,
.how-it-works,
.pricing,
.cta-section {
    padding: 144px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.section-kicker {
    margin-bottom: 22px;
    color: #62625f;
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
}

.features h2,
.how-it-works h2,
.pricing h2 {
    max-width: 860px;
    margin: 0 0 72px;
    text-align: left;
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.065em;
}

/* Bento features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.feature-card {
    position: relative;
    grid-column: span 4;
    min-height: 300px;
    padding: 32px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 52%),
        #0b0b0b;
    border-color: rgba(255, 255, 255, 0.09);
    border-radius: 20px;
}

.feature-card:nth-child(1) {
    grid-column: span 7;
}

.feature-card:nth-child(2) {
    grid-column: span 5;
}

.feature-card:nth-child(3) {
    grid-column: span 5;
}

.feature-card:nth-child(4) {
    grid-column: span 7;
}

.feature-card:nth-child(5),
.feature-card:nth-child(6),
.feature-card:nth-child(7),
.feature-card:nth-child(8) {
    grid-column: span 6;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.24);
    transform: translateY(-3px);
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.06), transparent 30%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    margin-bottom: 72px;
    padding: 0 8px;
    color: #d7d7d4;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 10px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 14px;
}

.feature-index {
    position: absolute;
    top: 34px;
    right: 34px;
    color: #484846;
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
}

.feature-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
    font-size: 21px;
    font-weight: 500;
    letter-spacing: -0.035em;
}

.feature-card p {
    position: relative;
    z-index: 1;
    max-width: 450px;
    color: #858582;
    font-size: 13px;
    line-height: 1.7;
}

.search-lines {
    position: absolute;
    top: 45px;
    right: 70px;
    width: 175px;
    transform: rotate(-6deg);
}

.search-lines i {
    display: block;
    width: 100%;
    height: 1px;
    margin: 18px 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
}

.search-lines i:nth-child(2) {
    transform: translateX(-28px);
}

.card-orbit {
    position: absolute;
    top: -70px;
    right: -20px;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.card-orbit::before,
.card-orbit::after {
    content: "";
    position: absolute;
    inset: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.card-orbit::after {
    inset: 70px;
}

.card-orbit span {
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 8px;
    height: 8px;
    background: #dcdcd9;
    border-radius: 50%;
    box-shadow: 0 0 18px #fff;
}

/* Steps */
.how-it-works {
    background: #080808;
}

.steps {
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.step {
    min-height: 290px;
    padding: 34px 36px;
    text-align: left;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.step:last-child {
    border-right: 0;
}

.step-num {
    margin-bottom: 96px;
    color: #5d5d5a;
    background: none;
    -webkit-text-fill-color: currentColor;
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    font-weight: 400;
}

.step h3 {
    margin-bottom: 12px;
    font-size: 21px;
    font-weight: 500;
}

.step p {
    max-width: 310px;
    margin: 0;
    color: #858582;
    font-size: 13px;
}

/* Pricing */
.pricing-intro {
    max-width: 680px;
    margin: -42px 0 54px;
    color: #858582;
    font-size: 14px;
    line-height: 1.8;
}

.pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 1000px;
    margin: 0 auto;
}

.price-card {
    padding: 38px 32px 32px;
    text-align: left;
    background: #0b0b0b;
    border-color: rgba(255, 255, 255, 0.09);
    border-radius: 20px;
}

.price-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.price-card.featured {
    background: #f0f0ed;
    border-color: #f0f0ed;
    box-shadow: none;
}

.price-card.featured,
.price-card.featured .price-label,
.price-card.featured .price-amount span,
.price-card.featured ul li {
    color: #090909;
}

.price-card.featured ul li {
    border-color: rgba(0, 0, 0, 0.12);
}

.price-card.featured .btn-primary {
    color: #fff;
    background: #090909;
    border-color: #090909;
}

.price-card.featured .btn-primary:hover {
    color: #090909;
    background: transparent;
}

.price-badge {
    top: 18px;
    right: 18px;
    left: auto;
    transform: none;
    padding: 6px 10px;
    color: #fff;
    background: #090909;
    font-family: "IBM Plex Mono", monospace;
    font-size: 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.price-label {
    margin-bottom: 28px;
    color: #656562;
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.12em;
}

.price-amount {
    min-height: 58px;
    margin-bottom: 24px;
    font-size: 39px;
    font-weight: 500;
    letter-spacing: -0.05em;
}

.price-amount span {
    font-size: 12px;
}

.plan-description {
    min-height: 50px;
    margin: -12px 0 28px;
    color: #777774;
    font-size: 12px;
    line-height: 1.65;
}

.price-card.featured .plan-description {
    color: #555552;
}

.price-card ul {
    min-height: 218px;
    margin-bottom: 28px;
}

.price-card ul li {
    position: relative;
    padding: 11px 0 11px 18px;
    color: #888885;
    font-size: 12px;
    border-color: rgba(255, 255, 255, 0.08);
}

.price-card ul li::before {
    content: "↳";
    position: absolute;
    left: 0;
}

.price-card .btn {
    width: 100%;
}

/* CTA */
.cta-section {
    padding-bottom: 72px;
}

.cta-box {
    padding: 108px 40px;
    color: #090909;
    background: #efefec;
    border: 0;
    border-radius: 26px;
}

.cta-box::before {
    top: -230px;
    width: 700px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.08), transparent 67%);
}

.cta-mark {
    position: relative;
    margin-bottom: 32px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 18px;
}

.cta-box h2 {
    position: relative;
    margin-bottom: 22px;
    font-size: clamp(46px, 7vw, 82px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.07em;
}

.cta-box p {
    position: relative;
    color: #555552;
    font-size: 15px;
}

.cta-form {
    position: relative;
    max-width: 610px;
    padding: 6px;
    gap: 6px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.09);
}

.cta-form input {
    min-width: 260px;
    padding: 14px 16px;
    color: #0a0a0a;
    background: transparent;
    border: 0;
    border-radius: 11px;
}

.cta-form input::placeholder {
    color: #8a8a87;
}

.cta-form input:focus {
    border-color: transparent;
}

.cta-form .btn-primary {
    color: #fff;
    background: #090909;
    border-color: #090909;
    border-radius: 11px;
}

.cta-form .btn-primary:hover {
    color: #090909;
    background: #e7e7e4;
    border-color: #e7e7e4;
}

.cta-note {
    position: relative;
    color: #777774;
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.03em;
}

.form-success {
    width: 100%;
    padding: 15px 18px;
    color: #090909;
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    text-align: center;
    letter-spacing: 0.02em;
}

.install-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 4px;
    padding: 0 20px;
    color: #fff;
    background: #090909;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

/* Footer */
footer {
    border-top: 0;
}

.footer-content {
    padding: 0 4px;
}

.footer-content p {
    color: #555552;
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Responsive */
@media (max-width: 900px) {
    .preview-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .preview-header > p {
        max-width: 520px;
        padding-bottom: 0;
    }

    .feature-card,
    .feature-card:nth-child(n) {
        grid-column: span 6;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .price-card ul {
        min-height: 0;
    }

    .features h2,
    .how-it-works h2,
    .pricing h2 {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 18px;
    }

    .nav-container {
        min-height: 68px;
        padding: 12px 18px;
    }

    .nav-btn {
        padding: 9px 13px;
        font-size: 11px;
    }

    .hero {
        padding: 132px 0 64px;
    }

    .hero h1 {
        letter-spacing: -0.065em;
    }

    .hero-actions {
        margin-bottom: 56px;
    }

    .shell-topbar {
        padding: 0 16px;
    }

    .shell-status {
        font-size: 0;
    }

    .window-content {
        padding: 42px 18px 24px;
    }

    .prompt-box {
        padding: 15px;
    }

    .prompt-text {
        min-height: 74px;
        font-size: 13px;
    }

    .quick-prompts span:nth-child(3) {
        display: none;
    }

    .product-preview {
        padding: 64px 0 104px;
    }

    .preview-header {
        margin-bottom: 32px;
    }

    .preview-frame {
        border-radius: 16px;
    }

    .preview-frame figcaption {
        padding: 12px 14px;
    }

    .preview-frame figcaption span:last-child {
        display: none;
    }

    .features,
    .how-it-works,
    .pricing,
    .cta-section {
        padding: 96px 0;
    }

    .features h2,
    .how-it-works h2,
    .pricing h2 {
        margin-bottom: 48px;
    }

    .pricing-intro {
        margin: -20px 0 40px;
    }

    .feature-card,
    .feature-card:nth-child(n) {
        grid-column: 1 / -1;
        min-height: 275px;
    }

    .feature-icon {
        margin-bottom: 62px;
    }

    .search-lines {
        right: 10px;
        opacity: 0.7;
    }

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

    .step {
        min-height: 230px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .step:last-child {
        border-bottom: 0;
    }

    .step-num {
        margin-bottom: 60px;
    }

    .cta-box {
        padding: 78px 20px;
    }

    .cta-form {
        max-width: 420px;
        padding: 6px;
        border-radius: 14px;
    }

    .cta-form input,
    .cta-form .btn {
        flex: 1 0 100%;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

html.os-mac .only-win,
html.os-win .only-mac {
    display: none !important;
}
