.hero {
    position: relative;
    z-index: 1;
    padding: 100px 24px 60px;
    text-align: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(254, 214, 214, 0.06);
    border: 1px solid rgba(254, 214, 214, 0.15);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-pale-rose);
    margin-bottom: 28px;
    animation: fade-up 0.6s var(--ease) both;
}

.hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8fd6a8;
    box-shadow: 0 0 8px 1px rgba(143, 214, 168, 0.6);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(48px, 9vw, 96px);
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(50deg, #fffefe 20%, #fed6d6 55%, #5e2828 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin: 0 0 20px;
    animation: fade-up 0.6s var(--ease) 0.1s both;
}

.hero-subtitle {
    font-size: clamp(16px, 2.4vw, 20px);
    color: var(--color-text-dim);
    max-width: 560px;
    margin: 0 auto 40px;
    animation: fade-up 0.6s var(--ease) 0.2s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 90px;
    animation: fade-up 0.6s var(--ease) 0.3s both;
}

.hero-actions .btn {
    padding: 15px 30px;
    font-size: 16px;
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Code editor window */

.code-window {
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(15, 8, 8, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-glass-border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    animation: fade-up 0.7s var(--ease) 0.4s both;
}

.code-window-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--color-glass-border);
}

.code-window-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.code-window-filename {
    margin-left: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-text-faint);
}

.code-window-body {
    padding: 22px 24px;
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.7;
    white-space: pre;
    overflow-x: auto;
}

.code-window-body .line {
    display: block;
    min-height: 1.7em;
}

.tok-keyword { color: #ff9c9c; }
.tok-var { color: #fed6d6; }
.tok-fn { color: #9fc9ff; }
.tok-string { color: #b6f0c3; }
.tok-property { color: #ffe08a; }
.tok-punct { color: var(--color-text-faint); }
.tok-comment { color: #6e5a5a; font-style: italic; }

.code-window-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--color-pale-rose);
    vertical-align: text-bottom;
    animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Feature strip below hero */

.feature-strip {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 120px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 28px 24px;
    background: var(--color-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(254, 214, 214, 0.2);
}

.feature-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(94, 40, 40, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--color-pale-rose);
}

.feature-card h3 {
    font-size: 16px;
    margin: 0 0 8px;
    font-weight: 700;
}

.feature-card p {
    font-size: 14px;
    color: var(--color-text-dim);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 780px) {
    .feature-strip {
        grid-template-columns: 1fr;
    }
    .hero {
        padding-top: 70px;
    }
}
