/* ╔══════════════════════════════════════════════════════════════════════╗
   ║  LINITE — Landing Page Stylesheet                                    ║
   ╚══════════════════════════════════════════════════════════════════════╝ */

/* ─── TOKENS ─────────────────────────────────────────────────────────── */
:root {
    /* ── Base palette (raised from near-black so neumorphic shadows show) ── */
    --bg: #1a1f2e;
    --bg-2: #1e2436;
    --bg-card: #1e2436;
    --bg-glass: rgba(30, 36, 54, 0.75);
    --border: rgba(255, 255, 255, 0.06);
    --border-2: rgba(255, 255, 255, 0.11);

    --purple: #7c5af5;
    --purple-l: #9d7fff;
    --purple-d: #5a3fc0;
    --cyan: #22d3ee;
    --cyan-d: #0e9bb5;
    --green: #34d399;
    --amber: #fbbf24;
    --red: #f87171;
    --pink: #ec4899;

    --text: #e2e8f0;
    --text-2: #94a3b8;
    --text-3: #64748b;

    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;

    --font: 'Inter', system-ui, sans-serif;
    --mono: 'JetBrains Mono', 'Fira Code', monospace;

    --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(124, 90, 245, 0.25);
    --trans: 0.25s ease;

    /* ── Neumorphic shadow tokens ───────────────────────────────────────── */
    /* Dark shadow  = deeper than bg (bottom-right)                         */
    /* Light shadow = slightly brighter than bg (top-left) — very subtle    */
    --neu-dark: #10131d;
    --neu-light: #242b40;

    /* Outset: element appears raised / embossed */
    --neu-out: -5px -5px 14px var(--neu-light),
        5px 5px 14px var(--neu-dark);

    /* Inset: element appears pressed in (active/hover state) */
    --neu-in: inset -3px -3px 8px var(--neu-light),
        inset 3px 3px 8px var(--neu-dark);

    /* Outset + purple accent glow (primary buttons, active tabs) */
    --neu-accent: -4px -4px 12px var(--neu-light),
        4px 4px 12px var(--neu-dark),
        0 0 20px rgba(124, 90, 245, 0.35);
}

/* ─── RESET ──────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
}

code {
    font-family: var(--mono);
}

/* ─── SCROLLBAR ──────────────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--purple-d);
    border-radius: 99px;
}

/* ─── CONTAINER ──────────────────────────────────────────────────────── */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--trans);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple), var(--purple-d));
    color: #fff;
    box-shadow: 0 4px 20px rgba(124, 90, 245, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(124, 90, 245, 0.55);
}

.btn-ghost {
    border: 1px solid var(--border-2);
    color: var(--text-2);
    background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ─── TYPOGRAPHY HELPERS ─────────────────────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, var(--purple-l), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--purple-l);
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-2);
    max-width: 580px;
    margin-bottom: 56px;
}

/* ─── NAV ────────────────────────────────────────────────────────────── */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0 24px;
    background: rgba(13, 15, 20, 0.8);
    backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: var(--trans);
}

.nav-inner {
    max-width: 1160px;
    margin: 0 auto;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 1.4rem;
}

.logo-text {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: auto;
}

.nav-links a {
    padding: 6px 14px;
    border-radius: 7px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-2);
    transition: var(--trans);
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid var(--border-2);
    color: var(--text-2);
    transition: var(--trans);
}

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

/* ─── HERO ───────────────────────────────────────────────────────────── */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
    overflow: hidden;
}

/* Two-column row inside hero */
.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: flex-start;
    /* both columns anchor at the top */
    gap: 56px;
}

/* Right column — stacks terminal above, mock window below */
.hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(124, 90, 245, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 90, 245, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    animation: float 8s ease-in-out infinite alternate;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    left: -80px;
    background: radial-gradient(circle, rgba(124, 90, 245, 0.18), transparent 70%);
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    bottom: 0;
    right: -60px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.12), transparent 70%);
    animation-direction: alternate-reverse;
}

@keyframes float {
    from {
        transform: translateY(0) scale(1);
    }

    to {
        transform: translateY(-20px) scale(1.05);
    }
}

.hero-content {
    flex: 0 0 460px;
    text-align: left;
    position: relative;
    z-index: 1;
    padding-top: 8px;
    /* slight visual offset from nav shadow */
}

@media (max-width: 1080px) {
    .hero-inner {
        flex-direction: column;
        gap: 40px;
    }

    .hero-content {
        flex: none;
        text-align: center;
    }

    .hero-right {
        width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 99px;
    border: 1px solid rgba(124, 90, 245, 0.35);
    background: rgba(124, 90, 245, 0.1);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--purple-l);
    letter-spacing: 0.04em;
    margin-bottom: 28px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(52, 211, 153, 0);
    }
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-2);
    max-width: 520px;
    margin: 0 0 40px;
    /* left-aligned: no auto sides */
    line-height: 1.7;
}

.hero-subtitle strong {
    color: var(--text);
}

.hero-subtitle em {
    color: var(--purple-l);
    font-style: normal;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-start;
    /* left-align buttons */
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    flex-wrap: nowrap;
    /* keep all 4 stats in one row */
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    overflow: hidden;
    width: fit-content;
    /* shrink to content, don't stretch */
}

.stat-card {
    padding: 16px 20px;
    /* tighter so all 4 fit in 460px */
    text-align: center;
    white-space: nowrap;
}

.stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--purple-l);
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
}

/* ─── HERO TERMINAL ──────────────────────────────────────────────────── */
.hero-terminal {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-2);
    box-shadow: var(--shadow), var(--shadow-glow);
    background: #0a0b11;
    /* Fixed height — prevents layout shift while typewriter types */
    flex-shrink: 0;
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    background: #111420;
    border-bottom: 1px solid var(--border);
}

.t-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.t-red {
    background: #ff5f56;
}

.t-yellow {
    background: #ffbd2e;
}

.t-green {
    background: #27c93f;
}

.t-title {
    flex: 1;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-3);
    font-family: var(--mono);
}

.terminal-body {
    padding: 20px 24px;
    height: 300px;
    /* fixed — never grows, no layout shift */
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 90, 245, 0.25) transparent;
}

.terminal-body::-webkit-scrollbar {
    width: 4px;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: rgba(124, 90, 245, 0.25);
    border-radius: 4px;
}

.terminal-code {
    font-family: var(--mono);
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--text);
    white-space: pre-wrap;
    word-break: break-word;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s ease infinite;
}

.scroll-arrow {
    width: 22px;
    height: 22px;
    border-right: 2px solid var(--text-3);
    border-bottom: 2px solid var(--text-3);
    transform: rotate(45deg);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* ─── FEATURES ───────────────────────────────────────────────────────── */
#features {
    padding: 120px 0;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--trans);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 90, 245, 0.05), transparent);
    opacity: 0;
    transition: var(--trans);
}

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

.feature-card:hover {
    border-color: rgba(124, 90, 245, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(124, 90, 245, 0.15);
}

.feature-card--large {
    grid-column: span 2;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.65;
}

.feature-card code {
    background: rgba(124, 90, 245, 0.15);
    color: var(--purple-l);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.82rem;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.tag {
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(124, 90, 245, 0.12);
    color: var(--purple-l);
    border: 1px solid rgba(124, 90, 245, 0.25);
}

.intel-examples {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.intel-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 8px 14px;
}

.intel-trigger {
    color: var(--amber);
    font-weight: 500;
    flex: 1;
}

.intel-arrow {
    color: var(--text-3);
}

.intel-result {
    color: var(--green);
    font-weight: 500;
    flex: 1;
    text-align: right;
}

.snippet {
    display: block;
    margin-top: 14px;
    font-family: var(--mono);
    font-size: 0.78rem;
    background: rgba(0, 0, 0, 0.4);
    color: var(--cyan);
    padding: 8px 12px;
    border-radius: 7px;
    border: 1px solid var(--border);
}

/* ─── PROFILES ───────────────────────────────────────────────────────── */
#profiles {
    padding: 120px 0;
    background: var(--bg-2);
}

.profiles-wrapper {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.profiles-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.profile-tab {
    padding: 9px 20px;
    border-radius: 9px;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid var(--border);
    color: var(--text-2);
    background: var(--bg-card);
    transition: var(--trans);
}

.profile-tab:hover {
    border-color: rgba(124, 90, 245, 0.35);
    color: var(--text);
}

.profile-tab.active {
    background: linear-gradient(135deg, var(--purple), var(--purple-d));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(124, 90, 245, 0.4);
}

.profiles-content {
    position: relative;
    min-height: 460px;
}

.profile-pane {
    display: none;
    animation: fadeUp 0.35s ease;
}

.profile-pane.active {
    display: block;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pane-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 20px;
}

.pane-screenshot img {
    border-radius: var(--radius);
    width: 100%;
    height: 260px;
    object-fit: cover;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.pane-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.pane-tagline {
    color: var(--purple-l);
    font-weight: 600;
    margin-bottom: 14px;
}

.pane-desc {
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 20px;
}

.pane-tweaks {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
}

.tweak-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 8px;
}

.pane-tweaks li {
    font-size: 0.85rem;
    color: var(--text-2);
    padding-left: 18px;
    position: relative;
    margin-bottom: 4px;
}

.pane-tweaks li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: 700;
}

.pane-tweaks code {
    background: rgba(34, 211, 238, 0.1);
    color: var(--cyan);
    padding: 1px 5px;
    border-radius: 3px;
}

.pane-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.app-pill {
    padding: 7px 16px;
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 600;
    background: rgba(124, 90, 245, 0.1);
    color: var(--purple-l);
    border: 1px solid rgba(124, 90, 245, 0.25);
    transition: var(--trans);
}

.app-pill:hover {
    background: rgba(124, 90, 245, 0.22);
    transform: translateY(-2px);
}

/* ─── CATALOG ────────────────────────────────────────────────────────── */
#catalog {
    padding: 120px 0;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.catalog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 18px;
    transition: var(--trans);
    cursor: default;
}

.catalog-card:hover {
    border-color: rgba(124, 90, 245, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.catalog-card-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.catalog-card-name {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.catalog-card-count {
    font-size: 0.75rem;
    color: var(--text-3);
    display: flex;
    align-items: center;
    gap: 4px;
}

.catalog-card-count .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--purple);
}

.catalog-card-apps {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.catalog-app-tag {
    font-size: 0.68rem;
    padding: 2px 8px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-3);
    border: 1px solid var(--border);
}

/* ─── HOW IT WORKS ───────────────────────────────────────────────────── */
#how-it-works {
    padding: 120px 0;
    background: var(--bg-2);
}

.pipeline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 680px;
}

.pipeline-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    width: 100%;
    transition: var(--trans);
}

.pipeline-step:hover {
    border-color: rgba(124, 90, 245, 0.35);
    transform: translateX(4px);
}

.step-num {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--purple-l);
    font-family: var(--mono);
    min-width: 28px;
}

.step-body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--mono);
    margin-bottom: 4px;
    color: var(--cyan);
}

.step-body p {
    font-size: 0.85rem;
    color: var(--text-2);
}

.step-body code {
    background: rgba(34, 211, 238, 0.1);
    color: var(--cyan);
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 0.82rem;
}

.pipeline-arrow {
    font-size: 1.5rem;
    color: var(--purple);
    padding: 6px 30px;
    opacity: 0.5;
}

/* ─── GALLERY ────────────────────────────────────────────────────────── */
#gallery {
    padding: 120px 0;
}

.gallery-track-wrapper {
    overflow: hidden;
    position: relative;
    margin-top: 0;
}

.gallery-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 0 calc((100vw - 900px) / 2) 24px;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-slide {
    scroll-snap-align: center;
    flex-shrink: 0;
    width: min(900px, 88vw);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.gallery-slide img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.slide-caption {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 14px 20px;
    font-size: 0.85rem;
    color: var(--text-2);
    text-align: center;
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.gallery-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    font-size: 1.4rem;
    color: var(--text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--trans);
}

.gallery-btn:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: #fff;
}

.gallery-dots {
    display: flex;
    gap: 8px;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-2);
    transition: var(--trans);
    cursor: pointer;
}

.gallery-dot.active {
    background: var(--purple);
    transform: scale(1.3);
}

/* ─── TECH ───────────────────────────────────────────────────────────── */
#tech {
    padding: 120px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px;
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 20px;
    text-align: center;
    transition: var(--trans);
}

.tech-card:hover {
    border-color: rgba(124, 90, 245, .3);
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
}

.tech-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.tech-name {
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 4px;
    line-height: 1.3;
}

.tech-role {
    font-size: 0.78rem;
    color: var(--text-3);
}

/* ─── INSTALL ────────────────────────────────────────────────────────── */
#install {
    padding: 120px 0;
    background: var(--bg-2);
}

.install-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 780px;
}

.install-step {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    transition: var(--trans);
}

.install-step:hover {
    border-color: rgba(124, 90, 245, 0.3);
}

.install-num {
    font-size: 2rem;
    font-weight: 900;
    font-family: var(--mono);
    color: var(--purple-l);
    opacity: 0.5;
    min-width: 52px;
    line-height: 1;
}

.install-body {
    flex: 1;
}

.install-body h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.code-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.code-tab {
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--border);
    color: var(--text-2);
    background: transparent;
    transition: var(--trans);
}

.code-tab:hover {
    color: var(--text);
    border-color: var(--border-2);
}

.code-tab.active {
    background: var(--purple);
    border-color: transparent;
    color: #fff;
}

.code-panel {
    display: none;
}

.code-panel.active {
    display: block;
}

.code-panel pre,
.code-block pre {
    background: #060810;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    overflow-x: auto;
}

.code-panel code,
.code-block code {
    font-size: 0.84rem;
    color: var(--cyan);
    line-height: 1.8;
}

.code-block {
    position: relative;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(124, 90, 245, 0.15);
    color: var(--purple-l);
    border: 1px solid rgba(124, 90, 245, 0.3);
    transition: var(--trans);
}

.copy-btn:hover {
    background: var(--purple);
    color: #fff;
    border-color: transparent;
}

.copy-btn.copied {
    background: var(--green);
    color: #000;
    border-color: transparent;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────── */
#footer {
    padding: 80px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.footer-brand .logo-icon {
    font-size: 2rem;
}

.footer-brand .logo-text {
    font-size: 1.4rem;
    font-weight: 800;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-3);
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    margin-left: auto;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col-title {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-3);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 0.9rem;
    color: var(--text-2);
    transition: var(--trans);
}

.footer-col a:hover {
    color: var(--text);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    font-size: 0.82rem;
    color: var(--text-3);
}

/* ─── ANIMATE ON SCROLL ──────────────────────────────────────────────── */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-card--large {
        grid-column: span 2;
    }

    .pane-meta {
        grid-template-columns: 1fr;
    }

    .pane-screenshot img {
        height: 200px;
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card--large {
        grid-column: span 1;
    }

    .hero-stats {
        gap: 0;
    }

    .stat-card {
        padding: 14px 18px;
    }

    .stat-divider {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        margin-left: 0;
        gap: 32px;
    }

    .install-step {
        flex-direction: column;
        gap: 12px;
    }

    .gallery-slide img {
        height: 240px;
    }

    .gallery-track {
        padding: 0 16px 24px;
    }
}

/* ══════════════════════════════════════════════════════════════════════
   GLASSMORPHISM — card & interactive element styles
   (neumorphism removed; clean glass + glow aesthetic)
   ══════════════════════════════════════════════════════════════════════ */

/* ─── Shared glass card base ─────────────────────────────────────────── */
.feature-card,
.catalog-card,
.tech-card,
.install-step,
.pane-meta {
    background: rgba(30, 36, 54, 0.6);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

/* ─── Feature cards ──────────────────────────────────────────────────── */
.feature-card:hover {
    border-color: rgba(124, 90, 245, 0.35);
    box-shadow: 0 8px 40px rgba(124, 90, 245, 0.2),
        0 4px 24px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

/* ─── Catalog cards ──────────────────────────────────────────────────── */
.catalog-card:hover {
    border-color: rgba(124, 90, 245, 0.3);
    box-shadow: 0 8px 32px rgba(124, 90, 245, 0.18),
        0 4px 20px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transform: translateY(-4px);
}

/* ─── Tech cards ─────────────────────────────────────────────────────── */
.tech-card:hover {
    border-color: rgba(124, 90, 245, 0.3);
    box-shadow: 0 8px 28px rgba(124, 90, 245, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transform: translateY(-5px);
}

/* ─── Install steps ──────────────────────────────────────────────────── */
.install-step:hover {
    border-color: rgba(124, 90, 245, 0.3);
    box-shadow: 0 8px 32px rgba(124, 90, 245, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ─── Profile pane meta card ─────────────────────────────────────────── */
.pane-meta {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ─── System tweak box ───────────────────────────────────────────────── */
.pane-tweaks {
    background: rgba(15, 18, 28, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}

/* ─── Hero stats bar ─────────────────────────────────────────────────── */
.hero-stats {
    background: rgba(30, 36, 54, 0.55);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ─── Gallery slides ─────────────────────────────────────────────────── */
.gallery-slide {
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* ─── Gallery buttons ────────────────────────────────────────────────── */
.gallery-btn {
    background: rgba(30, 36, 54, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    transition: background 0.25s ease, border-color 0.25s ease,
        box-shadow 0.25s ease, color 0.25s ease;
}

.gallery-btn:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: #fff;
    box-shadow: 0 4px 20px rgba(124, 90, 245, 0.5);
}

/* ─── Hero terminal ──────────────────────────────────────────────────── */
.hero-terminal {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(124, 90, 245, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.terminal-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* ─── Primary button ─────────────────────────────────────────────────── */
.btn-primary {
    background: linear-gradient(135deg, var(--purple), var(--purple-d));
    box-shadow: 0 4px 20px rgba(124, 90, 245, 0.45);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(124, 90, 245, 0.6);
}

.btn-primary:active {
    transform: translateY(0);
}

/* ─── Ghost button ───────────────────────────────────────────────────── */
.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    box-shadow: none;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--text);
    box-shadow: 0 4px 16px rgba(124, 90, 245, 0.1);
}

/* ─── Profile tabs ───────────────────────────────────────────────────── */
.profile-tab {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(30, 36, 54, 0.5);
    backdrop-filter: blur(8px);
    transition: background 0.25s ease, border-color 0.25s ease,
        box-shadow 0.25s ease, color 0.25s ease;
}

.profile-tab:hover {
    border-color: rgba(124, 90, 245, 0.3);
    color: var(--text);
    background: rgba(124, 90, 245, 0.08);
}

.profile-tab.active {
    background: linear-gradient(135deg, var(--purple), var(--purple-d));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 18px rgba(124, 90, 245, 0.45);
}

/* ─── Distro code-tabs ───────────────────────────────────────────────── */
.code-tab {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 18, 28, 0.5);
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.code-tab:hover {
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text);
}

.code-tab.active {
    background: var(--purple);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 12px rgba(124, 90, 245, 0.4);
}

/* ─── Code block / pre ───────────────────────────────────────────────── */
.code-panel pre,
.code-block pre {
    background: rgba(8, 10, 18, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* ─── Copy button ────────────────────────────────────────────────────── */
.copy-btn {
    border: 1px solid rgba(124, 90, 245, 0.3);
    background: rgba(124, 90, 245, 0.1);
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.copy-btn:hover {
    background: var(--purple);
    border-color: transparent;
    color: #fff;
}

.copy-btn.copied {
    background: rgba(52, 211, 153, 0.15);
    border-color: rgba(52, 211, 153, 0.4);
    color: var(--green);
}

/* ─── App pills ──────────────────────────────────────────────────────── */
.app-pill {
    border: 1px solid rgba(124, 90, 245, 0.2);
    background: rgba(124, 90, 245, 0.08);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.app-pill:hover {
    background: rgba(124, 90, 245, 0.18);
    border-color: rgba(124, 90, 245, 0.45);
    transform: translateY(-2px);
}

/* ─── Nav GitHub CTA ─────────────────────────────────────────────────── */
.nav-cta {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.nav-cta:hover {
    background: rgba(124, 90, 245, 0.12);
    border-color: rgba(124, 90, 245, 0.4);
    color: var(--purple-l);
}

/* ══════════════════════════════════════════════════════════════════════
   HOW IT WORKS — STEPS GRID
   ══════════════════════════════════════════════════════════════════════ */

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

/* Last card spans remaining 2 cols to fill the row of 3 visually */
.step-card--wide {
    grid-column: span 3;
}

.step-card {
    position: relative;
    background: rgba(30, 36, 54, 0.6);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 28px 26px 24px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Gradient top-left corner glow per card */
.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at top left,
            rgba(124, 90, 245, 0.12), transparent 70%);
    pointer-events: none;
}

.step-card:hover {
    border-color: rgba(124, 90, 245, 0.35);
    box-shadow: 0 12px 40px rgba(124, 90, 245, 0.2),
        0 4px 24px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

/* Step number badge — top right corner */
.step-card-num {
    position: absolute;
    top: 20px;
    right: 22px;
    font-family: var(--mono);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--purple-l), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.25;
    user-select: none;
}

/* Emoji icon */
.step-card-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    display: block;
}

/* Function name — monospace cyan */
.step-card-fn {
    font-family: var(--mono);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 10px;
    line-height: 1.4;
    word-break: break-word;
}

/* Description text */
.step-card-desc {
    font-size: 0.88rem;
    color: var(--text-2);
    line-height: 1.65;
}

.step-card-desc code {
    background: rgba(34, 211, 238, 0.1);
    color: var(--cyan);
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 0.82rem;
}

/* Wide last card — horizontal layout */
.step-card--wide {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.step-card--wide .step-card-icon {
    font-size: 2.5rem;
    margin-bottom: 0;
    flex-shrink: 0;
}

.step-card--wide .step-card-fn {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-card--wide {
        grid-column: span 2;
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-card--wide {
        grid-column: span 1;
    }
}

/* ── Feature cards — raised plates ───────────────────────────────────── */
.feature-card {
    background: var(--bg-card);
    box-shadow: var(--neu-out);
}

.feature-card:hover {
    box-shadow: -6px -6px 18px var(--neu-light),
        6px 6px 18px var(--neu-dark),
        0 0 22px rgba(124, 90, 245, 0.2);
    border: none;
    transform: translateY(-5px);
}

/* ── Catalog cards ────────────────────────────────────────────────────── */
.catalog-card {
    background: var(--bg-card);
    box-shadow: var(--neu-out);
}

.catalog-card:hover {
    box-shadow: -6px -6px 18px var(--neu-light),
        6px 6px 18px var(--neu-dark),
        0 0 18px rgba(124, 90, 245, 0.18);
    border: none;
    transform: translateY(-4px);
}

/* ── Tech cards ───────────────────────────────────────────────────────── */
.tech-card {
    background: var(--bg-card);
    box-shadow: var(--neu-out);
}

.tech-card:hover {
    box-shadow: -6px -6px 16px var(--neu-light),
        6px 6px 16px var(--neu-dark),
        0 0 20px rgba(124, 90, 245, 0.2);
    border: none;
    transform: translateY(-5px);
}

/* ── Pipeline steps ───────────────────────────────────────────────────── */
.pipeline-step {
    background: var(--bg-card);
    box-shadow: var(--neu-out);
}

.pipeline-step:hover {
    box-shadow: -5px -5px 14px var(--neu-light),
        5px 5px 14px var(--neu-dark),
        0 0 16px rgba(124, 90, 245, 0.18);
    border: none;
    transform: translateX(6px);
}

/* ── Install steps ───────────────────────────────────────────────────── */
.install-step {
    background: var(--bg-card);
    box-shadow: var(--neu-out);
}

.install-step:hover {
    box-shadow: -6px -6px 18px var(--neu-light),
        6px 6px 18px var(--neu-dark),
        0 0 18px rgba(124, 90, 245, 0.18);
    border: none;
}

/* ── Profile pane meta card ──────────────────────────────────────────── */
.pane-meta {
    background: var(--bg-card);
    box-shadow: var(--neu-out);
}

/* ── System tweak box — inset (recessed) ─────────────────────────────── */
.pane-tweaks {
    background: var(--bg);
    box-shadow: var(--neu-in);
}

/* ── Hero stats bar ──────────────────────────────────────────────────── */
.hero-stats {
    background: var(--bg-card);
    box-shadow: var(--neu-out);
    backdrop-filter: blur(12px);
}

/* ── Gallery slides ──────────────────────────────────────────────────── */
.gallery-slide {
    box-shadow: -5px -5px 18px var(--neu-light),
        5px 5px 22px var(--neu-dark);
}

/* ── Gallery prev/next buttons ───────────────────────────────────────── */
.gallery-btn {
    background: var(--bg-card);
    box-shadow: var(--neu-out);
}

.gallery-btn:hover {
    box-shadow: var(--neu-in);
    background: var(--bg-card);
    color: var(--purple-l);
    border: none;
}

/* ── Hero terminal window ────────────────────────────────────────────── */
.hero-terminal {
    border: none;
    box-shadow: -8px -8px 24px var(--neu-light),
        8px 8px 28px var(--neu-dark),
        0 0 40px rgba(124, 90, 245, 0.22);
}

.terminal-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ── Primary CTA button — embossed with purple glow ─────────────────── */
.btn-primary {
    box-shadow: var(--neu-accent);
    border: none;
}

.btn-primary:hover {
    box-shadow: -6px -6px 16px var(--neu-light),
        6px 6px 16px var(--neu-dark),
        0 0 28px rgba(124, 90, 245, 0.55);
    transform: translateY(-3px);
}

.btn-primary:active {
    box-shadow: var(--neu-in);
    transform: translateY(0);
}

/* ── Ghost button — subtle outset ────────────────────────────────────── */
.btn-ghost {
    border: none;
    box-shadow: var(--neu-out);
    background: var(--bg-card);
}

.btn-ghost:hover {
    box-shadow: -5px -5px 14px var(--neu-light),
        5px 5px 14px var(--neu-dark),
        0 0 14px rgba(255, 255, 255, 0.05);
    color: var(--text);
    background: var(--bg-card);
    border: none;
}

.btn-ghost:active {
    box-shadow: var(--neu-in);
}

/* ── Profile tabs — pill neumorphism ─────────────────────────────────── */
.profile-tab {
    border: none;
    background: var(--bg-card);
    box-shadow: var(--neu-out);
}

.profile-tab:hover {
    box-shadow: -4px -4px 12px var(--neu-light),
        4px 4px 12px var(--neu-dark);
    color: var(--text);
    border: none;
}

.profile-tab.active {
    box-shadow: var(--neu-in),
        0 0 16px rgba(124, 90, 245, 0.45);
    background: linear-gradient(135deg, var(--purple-d), #3d28a0);
    color: #fff;
    border: none;
}

/* ── Distro / install code-tabs ──────────────────────────────────────── */
.code-tab {
    border: none;
    background: var(--bg);
    box-shadow: var(--neu-out);
}

.code-tab:hover {
    box-shadow: -3px -3px 9px var(--neu-light),
        3px 3px 9px var(--neu-dark);
    color: var(--text);
    border: none;
}

.code-tab.active {
    box-shadow: var(--neu-in),
        0 0 12px rgba(124, 90, 245, 0.4);
    background: var(--purple-d);
    color: #fff;
    border: none;
}

/* ── Code block / pre — recessed console look ────────────────────────── */
.code-panel pre,
.code-block pre {
    background: var(--bg);
    border: none;
    box-shadow: var(--neu-in);
}

/* ── Copy button ─────────────────────────────────────────────────────── */
.copy-btn {
    border: none;
    box-shadow: 2px 2px 6px var(--neu-dark),
        -2px -2px 6px var(--neu-light);
    background: var(--bg-card);
}

.copy-btn:hover {
    box-shadow: inset 2px 2px 5px var(--neu-dark),
        inset -2px -2px 5px var(--neu-light),
        0 0 10px rgba(124, 90, 245, 0.4);
    background: var(--bg-card);
    color: var(--purple-l);
    border: none;
}

.copy-btn.copied {
    box-shadow: var(--neu-in);
    background: var(--bg-card);
    color: var(--green);
    border: none;
}

/* ── App pills in profile pane ───────────────────────────────────────── */
.app-pill {
    border: none;
    box-shadow: -3px -3px 8px var(--neu-light),
        3px 3px 8px var(--neu-dark);
    background: var(--bg-card);
}

.app-pill:hover {
    box-shadow: inset -2px -2px 6px var(--neu-light),
        inset 2px 2px 6px var(--neu-dark),
        0 0 12px rgba(124, 90, 245, 0.3);
    transform: translateY(-2px);
}

/* ── Nav GitHub CTA — outset pill ────────────────────────────────────── */
.nav-cta {
    border: none;
    box-shadow: -3px -3px 9px var(--neu-light),
        3px 3px 9px var(--neu-dark);
    background: var(--bg-card);
}

.nav-cta:hover {
    box-shadow: inset -2px -2px 6px var(--neu-light),
        inset 2px 2px 6px var(--neu-dark);
    color: var(--purple-l);
    background: var(--bg-card);
    border: none;
}

/* ── Smooth transition on all neumorphic elements ────────────────────── */
.feature-card,
.catalog-card,
.tech-card,
.pipeline-step,
.install-step,
.gallery-btn,
.btn,
.profile-tab,
.code-tab,
.copy-btn,
.app-pill,
.nav-cta {
    transition: box-shadow var(--trans), transform var(--trans),
        background var(--trans), color var(--trans);
}


/* ══════════════════════════════════════════════════════════════════════
   UI TWEAKS  ·  V2  ─  targeted polish on top of neumorphism
   ══════════════════════════════════════════════════════════════════════ */

/* ─── 1. Scroll progress bar ─────────────────────────────────────────── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--purple-d), var(--purple-l), var(--cyan));
    z-index: 9999;
    border-radius: 0 3px 3px 0;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(124, 90, 245, 0.7);
}

/* ─── 2. Navbar — gradient accent glow on scroll ─────────────────────── */
#navbar {
    border-bottom: none;
    position: relative;
}

#navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(124, 90, 245, 0.4) 30%,
            rgba(34, 211, 238, 0.3) 70%,
            transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

#navbar.scrolled::after {
    opacity: 1;
}

#navbar.scrolled {
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.55),
        0 1px 0 rgba(124, 90, 245, 0.12);
}

/* ─── 3. Hero badge — shimmer sweep animation ────────────────────────── */
.hero-badge {
    position: relative;
    overflow: hidden;
}

.hero-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.12),
            transparent);
    animation: badge-shimmer 3.5s ease infinite;
}

@keyframes badge-shimmer {
    0% {
        left: -100%;
    }

    40% {
        left: 160%;
    }

    100% {
        left: 160%;
    }
}

/* ─── 4. Hero stat numbers — gradient fill ───────────────────────────── */
.stat-num {
    background: linear-gradient(135deg, var(--purple-l), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ─── 5. Feature icons — gentle float with stagger ──────────────────── */
.feature-card .feature-icon {
    display: inline-block;
    animation: icon-float 3.6s ease-in-out infinite;
    transform-origin: center;
}

.feature-card:nth-child(2) .feature-icon {
    animation-delay: 0.4s;
}

.feature-card:nth-child(3) .feature-icon {
    animation-delay: 0.8s;
}

.feature-card:nth-child(4) .feature-icon {
    animation-delay: 1.2s;
}

.feature-card:nth-child(5) .feature-icon {
    animation-delay: 1.6s;
}

.feature-card:nth-child(6) .feature-icon {
    animation-delay: 2.0s;
}

.feature-card:nth-child(7) .feature-icon {
    animation-delay: 2.4s;
}

.feature-card:nth-child(8) .feature-icon {
    animation-delay: 2.8s;
}

.feature-card:nth-child(9) .feature-icon {
    animation-delay: 3.2s;
}

@keyframes icon-float {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-5px) scale(1.08);
    }
}

/* ─── 6. Section label — decorative flanking lines ───────────────────── */
.section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-bottom: 14px;
}

.section-label::before,
.section-label::after {
    content: '';
    display: block;
    height: 1px;
    width: 28px;
    background: linear-gradient(90deg, transparent, var(--purple-l));
    border-radius: 1px;
}

.section-label::after {
    background: linear-gradient(90deg, var(--purple-l), transparent);
}

/* ─── 7. Catalog cards — thin gradient top accent on hover ───────────── */
.catalog-card {
    position: relative;
    overflow: hidden;
}

.catalog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--purple), var(--cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    border-radius: 2px 2px 0 0;
}

.catalog-card:hover::before {
    transform: scaleX(1);
}

/* ─── 8. Gallery active dot — expands to a pill ──────────────────────── */
.gallery-dot.active {
    width: 24px;
    height: 8px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--purple), var(--cyan));
    transform: none;
    box-shadow: 0 0 8px rgba(124, 90, 245, 0.6);
}

/* ─── 9. Pipeline arrows — glowing dot connector ─────────────────────── */
.pipeline-arrow {
    font-size: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--purple);
    box-shadow: 0 0 12px rgba(124, 90, 245, 0.7);
    margin: 6px 24px;
    position: relative;
    flex-shrink: 0;
}

.pipeline-arrow::before,
.pipeline-arrow::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: rgba(124, 90, 245, 0.35);
}

.pipeline-arrow::before {
    top: -28px;
    height: 26px;
}

.pipeline-arrow::after {
    bottom: -28px;
    height: 26px;
}

/* ─── 10. Footer — gradient top border instead of flat line ──────────── */
#footer {
    border-top: none;
    position: relative;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(124, 90, 245, 0.5) 25%,
            rgba(34, 211, 238, 0.4) 75%,
            transparent);
}

/* ─── 11. Section titles — subtle gradient shimmer on "special" first word */
.section-title {
    position: relative;
}

/* ─── 12. Pane screenshot — subtle inner glow on hover ───────────────── */
.pane-screenshot img {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pane-screenshot img:hover {
    box-shadow: 0 0 0 2px rgba(124, 90, 245, 0.4),
        0 12px 32px rgba(0, 0, 0, 0.5);
    transform: scale(1.015);
}

/* ─── 13. Intel rows — left accent border on hover ───────────────────── */
.intel-row {
    border-left: 2px solid transparent;
    transition: border-color 0.25s ease, background 0.25s ease;
    padding-left: 12px;
}

.intel-row:hover {
    border-left-color: var(--amber);
    background: rgba(251, 191, 36, 0.06);
}

/* ─── 14. Snippet code block — glowing bottom border ────────────────── */
.snippet {
    border: none;
    border-bottom: 2px solid rgba(34, 211, 238, 0.3);
    box-shadow: var(--neu-in), 0 4px 12px rgba(34, 211, 238, 0.08);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover .snippet {
    border-bottom-color: rgba(34, 211, 238, 0.7);
    box-shadow: var(--neu-in), 0 4px 16px rgba(34, 211, 238, 0.2);
}

/* ─── 15. Scroll-to-top on logo click — smooth indicator ────────────── */
.nav-logo .logo-text {
    background: linear-gradient(135deg, #fff 40%, var(--purple-l));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ══════════════════════════════════════════════════════════════════════
   INTERACTIVE TERMINAL WIDGET (.iterm-wrap)
   ══════════════════════════════════════════════════════════════════════ */
.iterm-wrap {
    margin-top: 20px;
    background: #080b14;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(124, 90, 245, 0.08);
    font-family: var(--mono);
    cursor: text;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.iterm-wrap:focus-within {
    border-color: rgba(124, 90, 245, 0.35);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(124, 90, 245, 0.2),
        0 0 24px rgba(124, 90, 245, 0.1);
}

/* Title bar */
.iterm-bar {
    background: #0f1220;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.iterm-title {
    flex: 1;
    font-size: 0.75rem;
    color: var(--text-3);
    letter-spacing: 0.03em;
}

.iterm-try-badge {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--purple-l);
    background: rgba(124, 90, 245, 0.12);
    border: 1px solid rgba(124, 90, 245, 0.25);
    border-radius: 20px;
    padding: 2px 9px;
    letter-spacing: 0.04em;
    animation: pulse-border 3s ease infinite;
}

@keyframes pulse-border {

    0%,
    100% {
        border-color: rgba(124, 90, 245, 0.25);
    }

    50% {
        border-color: rgba(124, 90, 245, 0.6);
    }
}

/* Output area */
.iterm-output {
    padding: 14px 16px 6px;
    min-height: 160px;
    max-height: 230px;
    overflow-y: auto;
    font-size: 0.78rem;
    line-height: 1.75;
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 90, 245, 0.3) transparent;
}

.iterm-output::-webkit-scrollbar {
    width: 4px;
}

.iterm-output::-webkit-scrollbar-thumb {
    background: rgba(124, 90, 245, 0.3);
    border-radius: 4px;
}

/* Output line types */
.iterm-line {
    display: block;
    white-space: pre-wrap;
    word-break: break-word;
}

.iterm-line.cmd {
    color: var(--text);
}

.iterm-line.cmd::before {
    content: '❯ ';
    color: var(--purple-l);
    font-weight: 700;
}

.iterm-line.ok {
    color: #34d399;
}

.iterm-line.err {
    color: #f87171;
}

.iterm-line.info {
    color: var(--text-2);
}

.iterm-line.accent {
    color: var(--purple-l);
}

.iterm-line.warn {
    color: #fbbf24;
}

.iterm-line.blank {
    display: block;
    height: 0.6em;
}

/* Input row */
.iterm-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.iterm-prompt {
    color: var(--purple-l);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    user-select: none;
}

.iterm-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--text);
    caret-color: var(--purple-l);
}

.iterm-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

/* ══════════════════════════════════════════════════════════════════════
   SAMPLE FEATURES — Interactive Mock Window · Profile Overview · CLI
   ══════════════════════════════════════════════════════════════════════ */

/* ─── 1. Hero mock UI window ─────────────────────────────────────────── */
.hero-mockui {
    width: 100%;
    perspective: 1200px;
}

.mock-window {
    background: #11111f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(124, 90, 245, 0.12);
    transform: rotateY(-6deg) rotateX(4deg);
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.5s ease;
}

.mock-window:hover {
    transform: rotateY(0deg) rotateX(0deg);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(124, 90, 245, 0.2);
}

/* Title bar */
.mock-header {
    background: #1c1c2e;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

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

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-close {
    background: #f87171;
}

.dot-min {
    background: #fbbf24;
}

.dot-max {
    background: #34d399;
}

.mock-title {
    flex: 1;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-2);
    letter-spacing: 0.02em;
}

/* Body: sidebar + content */
.mock-body {
    display: flex;
    height: 260px;
}

.mock-sidebar {
    width: 120px;
    background: #181828;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    padding: 10px 8px;
    flex-shrink: 0;
}

.mock-sidebar ul {
    list-style: none;
}

.mock-cat {
    padding: 7px 10px;
    font-size: 0.78rem;
    color: var(--text-2);
    border-radius: 6px;
    margin-bottom: 3px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.mock-cat.active {
    background: rgba(124, 90, 245, 0.15);
    color: var(--purple-l);
}

.mock-cat:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

/* App grid */
.mock-content {
    flex: 1;
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    align-content: start;
    overflow-y: auto;
}

.app-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 0.78rem;
    color: var(--text-2);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.app-item:hover {
    border-color: rgba(124, 90, 245, 0.4);
    background: rgba(124, 90, 245, 0.06);
}

.app-item input[type="checkbox"] {
    accent-color: var(--purple);
    width: 14px;
    height: 14px;
    cursor: pointer;
    flex-shrink: 0;
}

/* Footer bar */
.mock-footer {
    background: #1c1c2e;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-distro {
    font-size: 0.72rem;
    color: var(--text-3);
}

.mock-install-btn {
    background: linear-gradient(135deg, var(--purple), var(--purple-d));
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 7px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mock-install-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.mock-install-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.mock-install-btn.done {
    background: linear-gradient(135deg, var(--green), #0e9b70);
    color: #0a1a11;
}

/* ─── 2. Profile overview card grid ─────────────────────────────────── */
.profile-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .profile-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .profile-overview-grid {
        grid-template-columns: 1fr;
    }
}

.profile-ov-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(30, 36, 54, 0.55);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 16px;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.profile-ov-card:hover {
    border-color: rgba(124, 90, 245, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(124, 90, 245, 0.15);
}

.profile-ov-emoji {
    font-size: 1.8rem;
    background: rgba(124, 90, 245, 0.1);
    border: 1px solid rgba(124, 90, 245, 0.2);
    border-radius: 10px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-ov-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}

.profile-ov-info p {
    font-size: 0.78rem;
    color: var(--text-2);
    margin-bottom: 8px;
    line-height: 1.4;
}

.profile-ov-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.ov-badge {
    display: inline-block;
    background: rgba(124, 90, 245, 0.12);
    border: 1px solid rgba(124, 90, 245, 0.25);
    color: var(--purple-l);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 600;
    font-family: var(--mono);
}

/* ─── 3. CLI Mode section — dual terminal blocks ─────────────────────── */
.cli-terminals {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 860px) {
    .cli-terminals {
        grid-template-columns: 1fr;
    }
}

.cli-terminal-block {
    background: #080a12;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.cli-terminal-block:hover {
    border-color: rgba(124, 90, 245, 0.3);
    box-shadow: 0 12px 50px rgba(124, 90, 245, 0.12);
}

.cli-term-header {
    background: #0f1120;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

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

.cli-term-title {
    flex: 1;
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--text-2);
}

.cli-term-body {
    padding: 20px;
    font-family: var(--mono);
    font-size: 0.82rem;
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: hidden;
    text-align: left;
}

.cli-prompt {
    color: var(--purple-l);
    font-weight: 700;
}

.cli-cmd {
    color: var(--text);
}

.cli-out {
    display: block;
    margin-top: 4px;
    color: var(--text-2);
    white-space: pre-wrap;
    word-break: break-word;
    text-align: left;
}

.cli-ok {
    color: var(--green);
    font-weight: 600;
}