/* ============================================================
   FAVSYNC 2 — Features page
   Standalone stylesheet (no Tailwind dependency)
   ============================================================ */

:root {
    --bg:            #030712;
    --bg-2:          #0b1120;
    --panel:         rgba(17, 24, 39, 0.66);
    --panel-solid:   #111827;
    --card:          rgba(31, 41, 55, 0.45);
    --line:          rgba(55, 65, 81, 0.55);
    --line-soft:     rgba(55, 65, 81, 0.3);
    --text:          #e5e7eb;
    --text-dim:      #9ca3af;
    --text-faint:    #6b7280;
    --blue:          #3b82f6;
    --blue-l:        #60a5fa;
    --purple:        #a855f7;
    --cyan:          #06b6d4;
    --green:         #22c55e;
    --pink:          #ec4899;
    --red:           #ef4444;
    --orange:        #f59e0b;
    --yellow:        #eab308;
    --grad:          linear-gradient(90deg, var(--blue-l), var(--purple));
    --radius:        1.25rem;
    --shadow:        0 24px 60px -24px rgba(0, 0, 0, 0.9);
    --ease:          cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; font-family: 'Jost', sans-serif; font-weight: 300; }

html { scroll-behavior: smooth; scroll-padding-top: 140px; overflow-x: hidden; }

body#features-body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

code {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.85em;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.22);
    color: var(--blue-l);
    padding: 0.1em 0.4em;
    border-radius: 6px;
}

.shell { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

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

/* ---------- Ambient background ---------- */
#fx-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

#fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }

#fx-grid {
    position: absolute; inset: -50%;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.055) 1px, transparent 1px);
    background-size: 64px 64px;
    transform: perspective(600px) rotateX(58deg) translateY(-8%);
    mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 10%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 10%, transparent 72%);
    animation: grid-drift 26s linear infinite;
}
@keyframes grid-drift { from { background-position: 0 0; } to { background-position: 0 64px; } }

.fx-orb { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.28; }
#fx-orb-1 { width: 520px; height: 520px; background: #2563eb; top: -140px; left: -120px; animation: orb 22s var(--ease) infinite alternate; }
#fx-orb-2 { width: 460px; height: 460px; background: #7c3aed; top: 38%; right: -160px; animation: orb 28s var(--ease) infinite alternate-reverse; }
#fx-orb-3 { width: 400px; height: 400px; background: #0891b2; bottom: -120px; left: 32%; animation: orb 34s var(--ease) infinite alternate; }
@keyframes orb {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(60px, -70px, 0) scale(1.18); }
}

/* ---------- Scroll progress ---------- */
#scroll-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 2px;
    z-index: 100; background: transparent;
}
#scroll-progress-bar {
    height: 100%; width: 0%;
    background: var(--grad);
    box-shadow: 0 0 14px rgba(96, 165, 250, 0.85);
    transition: width 0.08s linear;
}

/* ---------- Navbar ---------- */
#features-navbar {
    position: sticky; top: 0; z-index: 60;
    background: rgba(3, 7, 18, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line-soft);
}
.nav-shell { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }

#features-logo-container { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; flex-shrink: 0; }
#features-logo-img { width: 38px; border-radius: 8px; }
#features-logo-text {
    font-size: 1.4rem; font-weight: 700; letter-spacing: 0.03em;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

#features-nav-links { display: flex; gap: 0.35rem; }
.nav-link {
    position: relative;
    color: var(--text-dim); text-decoration: none;
    font-size: 0.85rem; font-weight: 400; letter-spacing: 0.03em;
    padding: 0.45rem 0.8rem; border-radius: 10px;
    transition: color 0.25s, background 0.25s;
}
.nav-link:hover { color: #fff; background: rgba(59, 130, 246, 0.1); }
.nav-link.active { color: var(--blue-l); background: rgba(59, 130, 246, 0.12); }
.nav-link.active::after {
    content: ''; position: absolute; left: 50%; transform: translateX(-50%);
    bottom: -1px; width: 22px; height: 2px; border-radius: 2px;
    background: var(--grad); box-shadow: 0 0 10px var(--blue-l);
}

#features-nav-actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }

.btn-ghost, .btn-primary {
    display: inline-flex; align-items: center; gap: 0.55rem;
    font-size: 0.8rem; font-weight: 500; letter-spacing: 0.02em;
    padding: 0.55rem 1rem; border-radius: 11px;
    text-decoration: none; cursor: pointer; border: 1px solid transparent;
    transition: all 0.25s var(--ease);
    white-space: nowrap;
}
.btn-ghost { background: rgba(31, 41, 55, 0.6); border-color: var(--line); color: var(--text-dim); }
.btn-ghost:hover { color: #fff; border-color: rgba(96, 165, 250, 0.55); background: rgba(59, 130, 246, 0.12); transform: translateY(-2px); }
.btn-primary {
    background: linear-gradient(120deg, #3b82f6, #8b5cf6);
    color: #fff;
    box-shadow: 0 8px 26px -10px rgba(59, 130, 246, 0.9);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(139, 92, 246, 0.95); }
.btn-lg { font-size: 0.95rem; padding: 0.9rem 1.6rem; border-radius: 14px; }

/* ---------- Hero ---------- */
#features-hero {
    position: relative; z-index: 1;
    padding: 6rem 0 4.5rem;
    text-align: center;
}
#hero-badge {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--blue-l);
    padding: 0.5rem 1.1rem; border-radius: 999px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 30px -12px rgba(59, 130, 246, 0.9) inset;
    margin-bottom: 2rem;
}
.pulse-dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--green);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse 2.2s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
    70%  { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

#hero-title {
    margin: 0 0 1.4rem;
    font-size: clamp(2.6rem, 7vw, 5rem);
    line-height: 1.02;
    font-weight: 200;
    letter-spacing: -0.03em;
    color: #fff;
}
#hero-title .grad-text { font-weight: 600; }

#hero-sub {
    max-width: 720px; margin: 0 auto;
    font-size: clamp(0.98rem, 1.5vw, 1.15rem);
    line-height: 1.75; color: var(--text-dim);
}

#hero-stats {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem;
    margin: 3rem 0 2.5rem;
}
.stat-chip {
    min-width: 118px;
    padding: 1rem 1.4rem;
    background: var(--panel);
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.35s var(--ease), border-color 0.35s;
}
.stat-chip:hover { transform: translateY(-5px); border-color: rgba(96, 165, 250, 0.5); }
.stat-num {
    font-size: 2rem; font-weight: 600; line-height: 1;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-inf { font-size: 2.1rem; }
.stat-label { margin-top: 0.4rem; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); }

#hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }

#hero-fade {
    position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    pointer-events: none;
}

/* ---------- Filter bar ---------- */
#filter-bar {
    position: sticky; top: 64px; z-index: 55;
    background: rgba(3, 7, 18, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    padding: 0.75rem 0;
}
.filter-shell { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

#filter-chips { display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none; }
#filter-chips::-webkit-scrollbar { display: none; }

.filter-chip {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-size: 0.78rem; font-weight: 400; white-space: nowrap;
    color: var(--text-dim); cursor: pointer;
    padding: 0.5rem 0.95rem; border-radius: 999px;
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid var(--line-soft);
    transition: all 0.25s var(--ease);
}
.filter-chip i { font-size: 0.7rem; opacity: 0.75; }
.filter-chip:hover { color: #fff; border-color: rgba(96, 165, 250, 0.45); transform: translateY(-1px); }
.filter-chip.active {
    color: #fff;
    background: linear-gradient(120deg, rgba(59, 130, 246, 0.28), rgba(168, 85, 247, 0.28));
    border-color: rgba(96, 165, 250, 0.6);
    box-shadow: 0 0 20px -8px rgba(96, 165, 250, 0.9);
}
.filter-chip.active i { opacity: 1; }

#filter-search-wrap { position: relative; flex-shrink: 0; width: 260px; max-width: 45vw; }
#filter-search-wrap > i {
    position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%);
    color: var(--text-faint); font-size: 0.78rem;
}
#filter-search {
    width: 100%;
    background: rgba(31, 41, 55, 0.6);
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    padding: 0.55rem 2.4rem 0.55rem 2.3rem;
    color: #fff; font-size: 0.82rem; outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}
#filter-search::placeholder { color: var(--text-faint); }
#filter-search:focus { border-color: rgba(96, 165, 250, 0.7); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
#filter-kbd {
    position: absolute; right: 0.7rem; top: 50%; transform: translateY(-50%);
    font-family: 'JetBrains Mono', monospace; font-size: 0.65rem;
    color: var(--text-faint);
    border: 1px solid var(--line); border-radius: 5px;
    padding: 0.05rem 0.35rem;
}

/* ---------- Sections ---------- */
#features-main { position: relative; z-index: 1; }

.feature-section { padding: 5rem 0 2rem; }

.section-head { display: flex; align-items: flex-start; gap: 1.4rem; margin-bottom: 3rem; }
.section-index {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem; letter-spacing: 0.1em;
    color: var(--blue-l);
    padding: 0.4rem 0.7rem;
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.07);
    flex-shrink: 0;
}
.section-title {
    margin: 0 0 0.4rem;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 300; letter-spacing: -0.02em; color: #fff;
}
.section-desc { margin: 0; color: var(--text-dim); font-size: 0.98rem; line-height: 1.65; max-width: 640px; }

/* ---------- Showcase rows ---------- */
.showcase {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: center;
    padding: 2.2rem;
    margin-bottom: 2.5rem;
    background: linear-gradient(150deg, rgba(17, 24, 39, 0.75), rgba(11, 17, 32, 0.5));
    border: 1px solid var(--line-soft);
    border-radius: 26px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.showcase::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(700px 300px at 15% 0%, rgba(59, 130, 246, 0.12), transparent 70%);
    pointer-events: none;
}
.showcase-reverse .showcase-copy { order: 2; }
.showcase-reverse .showcase-shot { order: 1; }

.showcase-copy { position: relative; z-index: 1; }
.feature-kicker {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.66rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--purple);
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.28);
    padding: 0.4rem 0.85rem; border-radius: 999px;
    margin-bottom: 1.1rem;
}
.showcase-copy h3 {
    margin: 0 0 0.9rem;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 400; color: #fff; letter-spacing: -0.015em;
}
.showcase-copy p { margin: 0 0 1.3rem; color: var(--text-dim); line-height: 1.75; font-size: 0.95rem; }
.showcase-copy strong { color: #fff; font-weight: 500; }

.feature-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.feature-points li {
    display: flex; align-items: flex-start; gap: 0.7rem;
    font-size: 0.88rem; color: var(--text-dim); line-height: 1.5;
}
.feature-points i {
    flex-shrink: 0; margin-top: 0.18rem;
    font-size: 0.6rem; color: var(--green);
    width: 17px; height: 17px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.showcase-shot { position: relative; z-index: 1; }

/* ---------- Browser-frame "screenshot" ---------- */
.shot {
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #0a1020;
    overflow: hidden;
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(96, 165, 250, 0.06);
}
.shot-bar {
    display: flex; align-items: center; gap: 0.4rem;
    padding: 0.6rem 0.85rem;
    background: rgba(17, 24, 39, 0.95);
    border-bottom: 1px solid var(--line-soft);
}
.shot-bar span { width: 9px; height: 9px; border-radius: 50%; background: #374151; }
.shot-bar span:nth-child(1) { background: #ef4444aa; }
.shot-bar span:nth-child(2) { background: #f59e0baa; }
.shot-bar span:nth-child(3) { background: #22c55eaa; }
.shot-bar em {
    margin-left: 0.7rem;
    font-style: normal; font-size: 0.66rem; color: var(--text-faint);
    font-family: 'JetBrains Mono', monospace;
    background: rgba(3, 7, 18, 0.7);
    border: 1px solid var(--line-soft);
    border-radius: 6px; padding: 0.12rem 0.55rem;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.shot-body { padding: 1.1rem; background: linear-gradient(160deg, #0b1120, #070c18); }

/* --- Quick add mock --- */
.mock-quickadd {
    display: flex; gap: 0.5rem;
    background: rgba(3, 7, 18, 0.9);
    border: 1px solid var(--line);
    border-radius: 15px; padding: 0.5rem;
    box-shadow: 0 18px 40px -22px #000;
}
.mock-input {
    background: rgba(31, 41, 55, 0.85);
    border: 1px solid var(--line-soft);
    border-radius: 11px;
    padding: 0.6rem 0.75rem;
    font-size: 0.76rem; color: var(--text);
    display: flex; align-items: center;
}
.mock-input-cat { width: 68px; color: var(--text-faint); flex-shrink: 0; }
.mock-input-url { flex: 1; position: relative; overflow: hidden; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; }
.caret { display: inline-block; width: 1.5px; height: 0.95em; background: var(--blue-l); margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.mock-badge {
    position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%);
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-family: 'Jost', sans-serif;
    font-size: 0.6rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 0.25rem 0.5rem; border-radius: 7px;
    background: rgba(59, 130, 246, 0.16); border: 1px solid rgba(59, 130, 246, 0.35); color: var(--blue-l);
    transition: all 0.3s var(--ease);
}
.mock-badge.is-video { background: rgba(239, 68, 68, 0.16); border-color: rgba(239, 68, 68, 0.35); color: #f87171; }
.mock-badge.is-image { background: rgba(236, 72, 153, 0.16); border-color: rgba(236, 72, 153, 0.35); color: #f472b6; }
.mock-badge.is-text  { background: rgba(34, 197, 94, 0.16); border-color: rgba(34, 197, 94, 0.35); color: #4ade80; }
.mock-btn-add {
    width: 42px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue); color: #fff; border-radius: 11px; font-size: 0.8rem;
    box-shadow: 0 6px 18px -6px rgba(59, 130, 246, 0.9);
}
.mock-types { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; justify-content: center; }
.tbadge {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.62rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 0.3rem 0.6rem; border-radius: 8px; border: 1px solid;
}
.tb-blue  { background: rgba(59, 130, 246, 0.12); border-color: rgba(59, 130, 246, 0.3); color: var(--blue-l); }
.tb-red   { background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.3); color: #f87171; }
.tb-pink  { background: rgba(236, 72, 153, 0.12); border-color: rgba(236, 72, 153, 0.3); color: #f472b6; }
.tb-green { background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.3); color: #4ade80; }

/* --- Tabs / board mock --- */
.mock-tabbar { display: flex; gap: 0.45rem; align-items: center; padding-bottom: 0.85rem; border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.mtab {
    font-size: 0.7rem; color: var(--text-faint);
    padding: 0.3rem 0.65rem; border-radius: 8px; white-space: nowrap;
    border: 1px solid transparent;
}
.mtab.active { color: #fff; background: rgba(59, 130, 246, 0.16); border-color: rgba(59, 130, 246, 0.4); }
.mtab-pub { font-size: 0.55rem; color: var(--green); margin-left: 0.2rem; }
.mtab-plus { color: var(--blue-l); border: 1px dashed var(--line); }

.mock-cat { margin: 0.95rem 0 0.55rem; font-size: 0.75rem; color: var(--text); letter-spacing: 0.02em; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.mg-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-left: 2px solid var(--edge, var(--blue));
    border-radius: 10px; padding: 0.6rem;
    min-height: 58px;
    box-shadow: 0 0 18px -12px var(--edge, var(--blue));
}
.mg-fav { display: block; width: 14px; height: 14px; border-radius: 4px; background: var(--edge, var(--blue)); opacity: 0.85; margin-bottom: 0.45rem; }
.mg-l { display: block; height: 5px; border-radius: 3px; background: rgba(156, 163, 175, 0.28); margin-bottom: 0.3rem; }
.mg-l.short { width: 55%; background: rgba(156, 163, 175, 0.16); }

/* --- Public tab mock --- */
.mock-switch-row {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 0.78rem; color: var(--text);
    padding: 0.6rem 0.8rem;
    background: var(--card); border: 1px solid var(--line-soft); border-radius: 11px;
}
.tg { width: 34px; height: 18px; border-radius: 999px; background: #374151; position: relative; display: inline-block; flex-shrink: 0; }
.tg::after { content: ''; position: absolute; left: 3px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform 0.3s var(--ease); }
.tg.on { background: var(--blue); box-shadow: 0 0 14px -4px var(--blue); }
.tg.on::after { transform: translateX(16px); }

.mock-slugbox { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 0.7rem; }
.msb label { display: block; font-size: 0.62rem; color: var(--text-faint); margin-bottom: 0.3rem; letter-spacing: 0.06em; }
.msb-field {
    font-size: 0.74rem; color: #fff;
    background: rgba(3, 7, 18, 0.8); border: 1px solid var(--line-soft);
    border-radius: 9px; padding: 0.45rem 0.6rem;
    display: flex; align-items: center; justify-content: space-between; gap: 0.4rem;
}
.msb-select i { font-size: 0.55rem; color: var(--text-faint); }
.mock-sharelink {
    margin-top: 0.85rem;
    display: flex; align-items: center; gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--blue-l);
    background: rgba(59, 130, 246, 0.09); border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: 10px; padding: 0.55rem 0.7rem;
}
.copy-chip {
    margin-left: auto; font-family: 'Jost', sans-serif;
    font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em;
    color: #fff; background: rgba(59, 130, 246, 0.4);
    padding: 0.18rem 0.5rem; border-radius: 6px;
}

/* --- Sync mock --- */
.mock-syncpill {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.68rem; color: var(--text-dim);
    background: rgba(17, 24, 39, 0.85); border: 1px solid var(--line-soft);
    border-radius: 999px; padding: 0.35rem 0.75rem; margin-bottom: 0.8rem;
}
.mock-syncpill .fa-bug { font-size: 0.55rem; opacity: 0.45; }
.sync-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2.2s infinite; }
.mock-log {
    font-family: 'JetBrains Mono', monospace; font-size: 0.63rem;
    background: rgba(3, 7, 18, 0.85); border: 1px solid var(--line-soft);
    border-radius: 11px; padding: 0.6rem;
    display: grid; gap: 0.3rem;
}
.mock-log > div { display: flex; align-items: center; gap: 0.5rem; color: var(--text-dim); }
.mock-log em { font-style: normal; font-size: 0.55rem; padding: 0.08rem 0.32rem; border-radius: 4px; letter-spacing: 0.06em; }
.lg-net  { background: rgba(59, 130, 246, 0.18); color: var(--blue-l); }
.lg-sync { background: rgba(168, 85, 247, 0.18); color: #c084fc; }
.lg-ok   { background: rgba(34, 197, 94, 0.18); color: #4ade80; }
.mock-log span { margin-left: auto; color: var(--text-faint); }

/* ---------- Feature card grid ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.feature-card {
    position: relative;
    background: linear-gradient(160deg, rgba(31, 41, 55, 0.5), rgba(17, 24, 39, 0.4));
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 1.4rem;
    overflow: hidden;
    transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.feature-card::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(96, 165, 250, 0.13), transparent 65%);
    opacity: 0; transition: opacity 0.35s; pointer-events: none;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(96, 165, 250, 0.45); box-shadow: var(--shadow); }
.feature-card:hover::after { opacity: 1; }

.feature-card h4 {
    display: flex; align-items: center; gap: 0.6rem;
    margin: 1.1rem 0 0.55rem;
    font-size: 1.02rem; font-weight: 500; color: #fff; letter-spacing: -0.01em;
}
.feature-card p { margin: 0; font-size: 0.86rem; line-height: 1.7; color: var(--text-dim); }

.ic {
    flex-shrink: 0;
    width: 28px; height: 28px; border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
    border: 1px solid;
}
.ic-blue   { color: var(--blue-l); background: rgba(59, 130, 246, 0.12); border-color: rgba(59, 130, 246, 0.3); }
.ic-purple { color: #c084fc;       background: rgba(168, 85, 247, 0.12); border-color: rgba(168, 85, 247, 0.3); }
.ic-cyan   { color: #22d3ee;       background: rgba(6, 182, 212, 0.12);  border-color: rgba(6, 182, 212, 0.3); }
.ic-green  { color: #4ade80;       background: rgba(34, 197, 94, 0.12);  border-color: rgba(34, 197, 94, 0.3); }
.ic-pink   { color: #f472b6;       background: rgba(236, 72, 153, 0.12); border-color: rgba(236, 72, 153, 0.3); }
.ic-red    { color: #f87171;       background: rgba(239, 68, 68, 0.12);  border-color: rgba(239, 68, 68, 0.3); }
.ic-orange { color: #fbbf24;       background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.3); }
.ic-yellow { color: #facc15;       background: rgba(234, 179, 8, 0.12);  border-color: rgba(234, 179, 8, 0.3); }

/* ---------- Card visuals ---------- */
.card-visual {
    position: relative;
    height: 132px;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(3, 7, 18, 0.85), rgba(11, 17, 32, 0.6));
    border: 1px solid var(--line-soft);
    padding: 0.85rem;
    overflow: hidden;
}
.card-visual-center { display: flex; align-items: center; justify-content: center; }

/* metadata flow */
.meta-flow { display: flex; align-items: center; gap: 0.6rem; height: 100%; }
.mini-card { flex: 1; background: var(--card); border: 1px solid var(--line-soft); border-radius: 9px; padding: 0.5rem; }
.mini-thumb {
    height: 34px; border-radius: 6px; margin-bottom: 0.45rem;
    background: rgba(55, 65, 81, 0.5);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-faint); font-size: 0.7rem;
}
.mini-thumb-img { background: linear-gradient(120deg, #1d4ed8, #7c3aed, #db2777); }
.mini-line { height: 5px; border-radius: 3px; background: rgba(156, 163, 175, 0.18); margin-bottom: 0.28rem; }
.mini-line.solid { background: rgba(229, 231, 235, 0.55); }
.w45 { width: 45%; } .w55 { width: 55%; } .w70 { width: 70%; } .w80 { width: 80%; }
.mini-arrow { color: var(--blue-l); font-size: 0.75rem; opacity: 0.8; }
.mini-done { border-color: rgba(96, 165, 250, 0.4); box-shadow: 0 0 22px -12px var(--blue-l); }

/* favicons */
.favicon-row { display: flex; gap: 0.55rem; }
.fav-dot {
    width: 40px; height: 40px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--c);
    background: rgba(31, 41, 55, 0.85);
    border: 1px solid var(--line);
    box-shadow: 0 0 18px -10px var(--c);
    animation: fav-float 4s ease-in-out infinite;
}
.fav-dot:nth-child(2) { animation-delay: 0.3s; }
.fav-dot:nth-child(3) { animation-delay: 0.6s; }
.fav-dot:nth-child(4) { animation-delay: 0.9s; }
.fav-dot:nth-child(5) { animation-delay: 1.2s; }
@keyframes fav-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* form mock */
.mock-form { display: grid; gap: 0.5rem; }
.mf-row { display: flex; align-items: center; gap: 0.6rem; }
.mf-label { width: 62px; flex-shrink: 0; font-size: 0.66rem; color: var(--text-faint); }
.mf-field {
    flex: 1; height: 24px; border-radius: 7px;
    background: rgba(31, 41, 55, 0.8); border: 1px solid var(--line-soft);
    display: flex; align-items: center; justify-content: flex-end; padding: 0 0.5rem;
}
.mf-select i { font-size: 0.55rem; color: var(--text-faint); }
.mf-row:first-child .mf-field { border-color: rgba(96, 165, 250, 0.5); box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.14); }

/* dropzone */
.mock-drop {
    width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem;
    border: 1.5px dashed rgba(96, 165, 250, 0.4); border-radius: 12px;
    color: var(--text-dim); font-size: 0.75rem;
    background: rgba(59, 130, 246, 0.05);
}
.mock-drop > i { font-size: 1.4rem; color: var(--blue-l); animation: fav-float 3s ease-in-out infinite; }
.mock-drop-bar { width: 60%; height: 4px; border-radius: 3px; background: rgba(55, 65, 81, 0.8); overflow: hidden; }
.mock-drop-bar i { display: block; height: 100%; width: 40%; border-radius: 3px; background: var(--grad); animation: loadbar 2.4s var(--ease) infinite; }
@keyframes loadbar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

/* context menu */
.mock-ctx {
    width: 100%;
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid var(--line);
    border-radius: 10px; padding: 0.25rem;
    box-shadow: 0 20px 40px -18px #000;
    display: grid; gap: 0;
}
.mock-ctx span {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.62rem; color: var(--text-dim);
    padding: 0.13rem 0.45rem; border-radius: 6px;
}
.mock-ctx span i { width: 12px; font-size: 0.6rem; opacity: 0.7; }
.mock-ctx .hot { background: rgba(59, 130, 246, 0.15); color: var(--blue-l); }
.mock-ctx .danger { color: #f87171; }

/* colors */
.mock-colors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; }
.mock-colors > i {
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--c); box-shadow: 0 0 14px -4px var(--c);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.25s var(--ease);
}
.mock-colors > i:hover { transform: scale(1.22); }
.mock-colors .pick {
    background: rgba(31, 41, 55, 0.9); border: 1px dashed var(--line);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-faint); font-size: 0.6rem; box-shadow: none;
}

/* pills */
.mock-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; }
.pill {
    font-size: 0.66rem; color: var(--text);
    background: rgba(55, 65, 81, 0.5); border: 1px solid rgba(75, 85, 99, 0.6);
    border-radius: 6px; padding: 0.2rem 0.5rem;
}
.pill em { font-style: normal; color: var(--text-faint); margin-right: 0.25rem; }

/* filters mock */
.mock-filters { display: grid; gap: 0.42rem; }
.mf-search {
    display: flex; align-items: center; gap: 0.45rem;
    font-size: 0.66rem; color: var(--text-faint);
    background: rgba(31, 41, 55, 0.8); border: 1px solid var(--line-soft);
    border-radius: 8px; padding: 0.35rem 0.55rem;
}
.mf-toggle { display: flex; align-items: center; justify-content: space-between; font-size: 0.68rem; color: var(--text-dim); }
.mf-toggle .tg { width: 28px; height: 15px; }
.mf-toggle .tg::after { width: 9px; height: 9px; top: 3px; }
.mf-toggle .tg.on::after { transform: translateX(13px); }

/* duplicates */
.mock-dupes { display: grid; gap: 0.32rem; width: 100%; font-family: 'JetBrains Mono', monospace; }
.dupe {
    font-size: 0.62rem; color: var(--text-dim);
    background: rgba(31, 41, 55, 0.6); border: 1px solid var(--line-soft);
    border-radius: 7px; padding: 0.28rem 0.5rem;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dupe.strike { color: var(--text-faint); text-decoration: line-through; opacity: 0.55; border-style: dashed; }
.dupe-action {
    font-family: 'Jost', sans-serif; text-align: center;
    font-size: 0.63rem; color: #f87171;
    background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 7px; padding: 0.3rem;
    margin-top: 0.15rem;
}

/* note */
.mock-note {
    background: rgba(17, 24, 39, 0.9); border: 1px solid var(--line-soft);
    border-radius: 10px; padding: 0.6rem; height: 100%;
}
.mn-title {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 0.72rem; color: #fff;
    padding-bottom: 0.4rem; margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--line-soft);
}
.mn-title i { font-size: 0.65rem; color: var(--text-faint); }
.mn-line { height: 5px; border-radius: 3px; background: rgba(156, 163, 175, 0.16); margin-bottom: 0.3rem; }
.w90 { width: 90%; } .w85 { width: 85%; } .w75 { width: 75%; } .w40 { width: 40%; }

/* video player */
.mock-player {
    width: 82%; aspect-ratio: 16 / 9;
    border-radius: 10px; position: relative;
    background: linear-gradient(140deg, #111827, #1f2937);
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.mock-player::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(239, 68, 68, 0.2), transparent 60%);
}
.mp-play {
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(239, 68, 68, 0.9); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; z-index: 1;
    box-shadow: 0 0 26px -4px rgba(239, 68, 68, 0.9);
    animation: pulse-red 2.4s infinite;
}
@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
    70% { box-shadow: 0 0 0 14px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.mp-bar { position: absolute; left: 0.6rem; right: 0.6rem; bottom: 0.55rem; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.15); }
.mp-bar i { display: block; height: 100%; width: 38%; border-radius: 3px; background: #ef4444; }

/* lightbox */
.mock-lightbox { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; }
.mock-lightbox::before {
    content: ''; position: absolute; inset: 8%;
    border-radius: 10px; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(2px);
}
.ml-frame {
    position: relative; width: 62%; height: 68%;
    border-radius: 9px;
    background: linear-gradient(120deg, #1d4ed8, #7c3aed, #db2777);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255, 255, 255, 0.85); font-size: 0.85rem;
    box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.9);
    animation: fav-float 5s ease-in-out infinite;
}

/* devices */
.mock-devices { display: flex; align-items: flex-end; gap: 0.6rem; }
.mock-devices span { border: 1.5px solid rgba(96, 165, 250, 0.5); border-radius: 6px; background: rgba(59, 130, 246, 0.08); display: block; }
.dev-desktop { width: 74px; height: 50px; border-radius: 7px; }
.dev-tablet  { width: 34px; height: 44px; }
.dev-phone   { width: 20px; height: 34px; border-radius: 5px; }

/* directory */
.mock-directory { display: grid; gap: 0.5rem; height: 100%; }
.md-head {
    display: flex; align-items: center; gap: 0.45rem;
    font-size: 0.66rem; color: var(--text-faint);
    background: rgba(31, 41, 55, 0.8); border: 1px solid var(--line-soft);
    border-radius: 999px; padding: 0.35rem 0.7rem;
}
.md-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; flex: 1; }
.md-grid i {
    display: block; height: 30px; border-radius: 7px;
    background: linear-gradient(140deg, rgba(59, 130, 246, 0.22), rgba(168, 85, 247, 0.18));
    border: 1px solid var(--line-soft);
}
.md-grid i:nth-child(2) { background: linear-gradient(140deg, rgba(168, 85, 247, 0.22), rgba(236, 72, 153, 0.18)); }
.md-grid i:nth-child(5) { background: linear-gradient(140deg, rgba(6, 182, 212, 0.22), rgba(59, 130, 246, 0.18)); }

/* code block */
.mock-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem; line-height: 1.75;
    color: var(--text-dim);
    white-space: pre-wrap; word-break: break-word;
    height: 100%; overflow: hidden;
}
.c-tag  { color: #f472b6; }
.c-attr { color: #22d3ee; }
.c-str  { color: #4ade80; }
.c-key  { color: #fbbf24; }

/* sitemap */
.mock-sitemap { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.mock-sitemap > i { font-size: 1.7rem; color: #22d3ee; filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.6)); }
.mock-sitemap span { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--text); }
.mock-sitemap em { font-style: normal; font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); }

/* import */
.mock-import { display: grid; gap: 0.35rem; }
.mi-line {
    font-family: 'JetBrains Mono', monospace; font-size: 0.58rem; color: var(--text-dim);
    background: rgba(31, 41, 55, 0.7); border: 1px solid var(--line-soft);
    border-radius: 7px; padding: 0.3rem 0.45rem;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mi-line em { color: var(--blue-l); font-style: normal; margin: 0 0.25rem; }
.mi-cols { display: flex; flex-wrap: wrap; gap: 0.28rem; margin-top: 0.2rem; }
.mi-cols span {
    font-size: 0.58rem; color: var(--text-faint);
    border: 1px solid var(--line-soft); border-radius: 5px; padding: 0.12rem 0.35rem;
}
.mi-cols .on { color: var(--blue-l); border-color: rgba(59, 130, 246, 0.4); background: rgba(59, 130, 246, 0.1); }

/* export */
.mock-export { display: grid; gap: 0.28rem; }
.mock-export span {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.64rem; color: var(--text-dim);
    background: rgba(31, 41, 55, 0.6); border: 1px solid var(--line-soft);
    border-radius: 8px; padding: 0.24rem 0.55rem;
}
.mock-export span i { font-size: 0.6rem; color: var(--blue-l); }
.mock-export .green { color: #4ade80; background: rgba(34, 197, 94, 0.08); border-color: rgba(34, 197, 94, 0.28); }
.mock-export .green i { color: #4ade80; }

/* backup */
.mock-backup { display: flex; flex-direction: column; align-items: center; gap: 0.55rem; }
.mock-backup > i { font-size: 1.7rem; color: #c084fc; filter: drop-shadow(0 0 14px rgba(168, 85, 247, 0.7)); }
.mb-json {
    font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; color: var(--text-dim);
    background: rgba(3, 7, 18, 0.8); border: 1px solid var(--line-soft);
    border-radius: 7px; padding: 0.25rem 0.55rem;
}

/* db stack */
.mock-dbstack { display: flex; flex-direction: column; align-items: center; gap: 0.28rem; }
.mock-dbstack > i {
    display: block; width: 62px; height: 13px; border-radius: 4px;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.5), rgba(59, 130, 246, 0.4));
    border: 1px solid rgba(34, 211, 238, 0.35);
    animation: fav-float 3.6s ease-in-out infinite;
}
.mock-dbstack > i:nth-child(2) { animation-delay: 0.25s; opacity: 0.75; }
.mock-dbstack > i:nth-child(3) { animation-delay: 0.5s; opacity: 0.5; }
.mock-dbstack span { margin-top: 0.35rem; font-size: 0.62rem; color: var(--text-faint); letter-spacing: 0.05em; }

/* install */
.mock-install {
    display: flex; align-items: center; gap: 0.7rem;
    background: rgba(17, 24, 39, 0.9); border: 1px solid var(--line);
    border-radius: 12px; padding: 0.6rem 0.8rem;
    box-shadow: 0 16px 34px -18px #000;
}
.mock-install img { width: 34px; border-radius: 8px; }
.mock-install div { display: flex; flex-direction: column; line-height: 1.3; }
.mock-install strong { font-size: 0.78rem; font-weight: 500; color: #fff; }
.mock-install span { font-size: 0.62rem; color: var(--text-faint); }
.mock-install > i { margin-left: 0.5rem; color: var(--blue-l); font-size: 0.8rem; }

/* offline */
.mock-offline { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.45rem; }
.mock-offline > i { font-size: 1.6rem; color: #22d3ee; opacity: 0.85; }
.mock-offline .slash {
    position: absolute; top: 2px; left: 50%; width: 44px; height: 2px;
    background: #f87171; border-radius: 2px;
    transform: translateX(-50%) rotate(-38deg); transform-origin: center;
    box-shadow: 0 0 10px rgba(248, 113, 113, 0.7);
}
.mock-offline em { font-style: normal; font-size: 0.68rem; color: var(--text-dim); letter-spacing: 0.06em; }

/* auth */
.mock-auth { display: grid; gap: 0.32rem; width: 100%; }
.ma-google {
    display: flex; align-items: center; justify-content: center; gap: 0.45rem;
    font-size: 0.66rem; color: #111827; background: #fff;
    border-radius: 8px; padding: 0.32rem;
}
.ma-or { text-align: center; font-size: 0.58rem; color: var(--text-faint); }
.ma-field {
    font-size: 0.64rem; color: var(--text-faint);
    background: rgba(31, 41, 55, 0.8); border: 1px solid var(--line-soft);
    border-radius: 8px; padding: 0.32rem 0.55rem;
}
.ma-btn {
    text-align: center; font-size: 0.66rem; color: #fff;
    background: linear-gradient(120deg, #3b82f6, #8b5cf6);
    border-radius: 8px; padding: 0.34rem;
    box-shadow: 0 6px 18px -8px rgba(139, 92, 246, 0.9);
}

/* guest */
.mock-guest { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; text-align: center; }
.mock-guest > i { font-size: 1.6rem; color: #4ade80; filter: drop-shadow(0 0 12px rgba(34, 197, 94, 0.6)); }
.mock-guest span { font-size: 0.7rem; color: var(--text); }
.mock-guest em { font-style: normal; font-size: 0.6rem; color: var(--text-faint); }

/* danger */
.mock-danger { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; }
.mock-danger > i { font-size: 1.6rem; color: #f87171; filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.6)); }
.mock-danger span {
    font-size: 0.66rem; color: #f87171;
    background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px; padding: 0.25rem 0.7rem;
}

/* edge */
.mock-edge { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.mock-edge > i { font-size: 1.5rem; color: #facc15; z-index: 1; filter: drop-shadow(0 0 14px rgba(250, 204, 21, 0.75)); }
.edge-rings span {
    position: absolute; top: 50%; left: 50%; border-radius: 50%;
    border: 1px solid rgba(250, 204, 21, 0.35);
    transform: translate(-50%, -50%);
    animation: ring 3s ease-out infinite;
}
.edge-rings span:nth-child(1) { width: 40px; height: 40px; }
.edge-rings span:nth-child(2) { width: 40px; height: 40px; animation-delay: 1s; }
.edge-rings span:nth-child(3) { width: 40px; height: 40px; animation-delay: 2s; }
@keyframes ring {
    0%   { opacity: 0.8; transform: translate(-50%, -50%) scale(0.6); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(2.6); }
}

/* ---------- View switcher demo ---------- */
.view-switch-demo {
    padding: 2rem;
    background: linear-gradient(150deg, rgba(17, 24, 39, 0.75), rgba(11, 17, 32, 0.5));
    border: 1px solid var(--line-soft);
    border-radius: 26px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
    margin-bottom: 2.5rem;
}
.vs-tabs { display: inline-flex; gap: 0.25rem; padding: 0.3rem; background: rgba(31, 41, 55, 0.7); border: 1px solid var(--line-soft); border-radius: 13px; margin-bottom: 1.4rem; }
.vs-tab {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-size: 0.8rem; color: var(--text-dim); cursor: pointer;
    background: transparent; border: none; border-radius: 10px;
    padding: 0.5rem 0.95rem;
    transition: all 0.25s var(--ease);
}
.vs-tab:hover { color: #fff; }
.vs-tab.active { color: #fff; background: var(--blue); box-shadow: 0 6px 18px -8px rgba(59, 130, 246, 0.95); }

.vs-shot { max-width: 100%; }
.vs-pane { display: none; animation: fade-up 0.4s var(--ease); }
.vs-pane.active { display: block; }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.vs-caption { margin: 1rem 0 0; text-align: center; font-size: 0.82rem; color: var(--text-dim); }
.vs-caption strong { color: #fff; font-weight: 500; }

.vs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; }
.vg-card { background: var(--card); border: 1px solid var(--line-soft); border-radius: 11px; padding: 0.5rem; }
.vg-img { height: 52px; border-radius: 7px; margin-bottom: 0.5rem; background: linear-gradient(140deg, #1d4ed8, #7c3aed); }
.vg-img.alt  { background: linear-gradient(140deg, #7c3aed, #db2777); }
.vg-img.alt2 { background: linear-gradient(140deg, #0891b2, #2563eb); }
.vg-img.alt3 { background: linear-gradient(140deg, #059669, #0891b2); }
.vg-fav { display: block; width: 13px; height: 13px; border-radius: 4px; background: rgba(96, 165, 250, 0.8); margin-bottom: 0.4rem; }

.vs-flat { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.5rem; }
.vs-flat span {
    height: 34px; border-radius: 8px;
    background: var(--card); border: 1px solid var(--line-soft);
    position: relative;
}
.vs-flat span::before {
    content: ''; position: absolute; left: 6px; top: 50%; transform: translateY(-50%);
    width: 12px; height: 12px; border-radius: 4px; background: rgba(96, 165, 250, 0.65);
}
.vs-flat span::after {
    content: ''; position: absolute; left: 24px; right: 6px; top: 50%; transform: translateY(-50%);
    height: 5px; border-radius: 3px; background: rgba(156, 163, 175, 0.22);
}

.vs-masonry { columns: 4; column-gap: 0.7rem; }
.vs-masonry i {
    display: block; width: 100%; border-radius: 9px; margin-bottom: 0.7rem;
    break-inside: avoid;
    border: 1px solid var(--line-soft);
}
.vs-masonry .h1 { height: 62px; background: linear-gradient(140deg, #1d4ed8, #7c3aed); }
.vs-masonry .h2 { height: 92px; background: linear-gradient(140deg, #7c3aed, #db2777); }
.vs-masonry .h3 { height: 46px; background: linear-gradient(140deg, #0891b2, #2563eb); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Filtering states ---------- */
.feature-item.filtered-out { display: none !important; }
.feature-section.section-hidden { display: none; }

#no-feature-results {
    display: none;
    text-align: center;
    padding: 5rem 1rem;
    color: var(--text-dim);
}
#no-feature-results.show { display: block; }
#no-feature-results i { font-size: 2.4rem; color: var(--text-faint); margin-bottom: 1rem; display: block; }
#no-feature-results p { margin: 0 0 1.3rem; font-size: 1rem; }
#btn-reset-search {
    font-size: 0.82rem; color: #fff; cursor: pointer;
    background: rgba(59, 130, 246, 0.16);
    border: 1px solid rgba(96, 165, 250, 0.5);
    border-radius: 11px; padding: 0.55rem 1.2rem;
    transition: all 0.25s var(--ease);
}
#btn-reset-search:hover { background: rgba(59, 130, 246, 0.3); transform: translateY(-2px); }

/* ---------- CTA ---------- */
#features-cta { padding: 5rem 0 6rem; position: relative; z-index: 1; }
#cta-panel {
    position: relative; overflow: hidden;
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 30px;
    background: linear-gradient(150deg, rgba(30, 58, 138, 0.35), rgba(88, 28, 135, 0.28));
    border: 1px solid rgba(96, 165, 250, 0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}
#cta-glow {
    position: absolute; top: -60%; left: 50%; transform: translateX(-50%);
    width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.22), transparent 65%);
    pointer-events: none;
}
#cta-panel h2 {
    position: relative;
    margin: 0 0 0.9rem;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 200; color: #fff; letter-spacing: -0.025em;
}
#cta-panel h2 .grad-text { font-weight: 600; }
#cta-panel p { position: relative; margin: 0 0 2rem; color: var(--text-dim); font-size: 1rem; }
#cta-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }

/* ---------- Footer ---------- */
#features-footer {
    position: relative; z-index: 1;
    border-top: 1px solid var(--line-soft);
    background: rgba(3, 7, 18, 0.7);
    padding: 2.2rem 0;
}
.footer-shell { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; }
.footer-brand img { width: 28px; border-radius: 7px; }
.footer-brand span { font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-links { display: flex; gap: 1.4rem; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.85rem; transition: color 0.25s; }
.footer-links a:hover { color: var(--blue-l); }
.footer-copy { color: var(--text-faint); font-size: 0.8rem; }

/* ---------- Back to top ---------- */
#btn-to-top {
    position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 70;
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid var(--line);
    color: var(--text-dim); cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: all 0.35s var(--ease);
}
#btn-to-top.show { opacity: 1; visibility: visible; transform: none; }
#btn-to-top:hover { color: #fff; border-color: rgba(96, 165, 250, 0.6); box-shadow: 0 0 22px -6px rgba(96, 165, 250, 0.9); }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #070c18; }
::-webkit-scrollbar-thumb { background: #374151; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #4b5563; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    #features-nav-links { display: none; }
    .showcase { grid-template-columns: 1fr; gap: 2rem; }
    .showcase-reverse .showcase-copy { order: 1; }
    .showcase-reverse .showcase-shot { order: 2; }
}

@media (max-width: 768px) {
    html { scroll-padding-top: 170px; }
    #features-hero { padding: 3.5rem 0 3rem; }
    #btn-nav-public span { display: none; }
    #btn-nav-launch span { display: none; }
    .filter-shell { flex-direction: column; align-items: stretch; gap: 0.6rem; }
    #filter-search-wrap { width: 100%; max-width: none; }
    #filter-kbd { display: none; }
    .section-head { gap: 0.9rem; }
    .showcase, .view-switch-demo { padding: 1.25rem; border-radius: 20px; }
    .feature-grid { grid-template-columns: 1fr; }
    .vs-grid { grid-template-columns: repeat(2, 1fr); }
    .vs-flat { grid-template-columns: repeat(3, 1fr); }
    .vs-masonry { columns: 2; }
    .mock-grid { grid-template-columns: repeat(2, 1fr); }
    .mock-slugbox { grid-template-columns: 1fr; }
    .footer-shell { flex-direction: column; text-align: center; }
    #cta-panel { padding: 2.5rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Browser extension section mocks
   ============================================================ */

/* --- Link-folder flow --- */
.mock-linkflow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.6rem; align-items: center; }

.lf-tree {
    background: rgba(3, 7, 18, 0.8);
    border: 1px solid var(--line-soft);
    border-radius: 10px; padding: 0.45rem;
    display: grid; gap: 0.15rem;
}
.lf-row {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.66rem; color: var(--text-dim);
    padding: 0.2rem 0.35rem; border-radius: 6px;
    white-space: nowrap; overflow: hidden;
}
.lf-row i { font-size: 0.6rem; color: var(--text-faint); }
.lf-indent { padding-left: 0.9rem; }
.lf-deep { padding-left: 1.6rem; opacity: 0.7; }
.lf-active {
    color: #fff;
    background: rgba(59, 130, 246, 0.16);
    border: 1px solid rgba(96, 165, 250, 0.4);
}
.lf-active i { color: var(--blue-l); }
.lf-link {
    margin-left: auto;
    display: inline-flex; align-items: center; gap: 0.25rem;
    font-size: 0.55rem; letter-spacing: 0.08em; text-transform: uppercase;
    color: #fff; background: var(--blue);
    padding: 0.1rem 0.4rem; border-radius: 5px;
    box-shadow: 0 0 14px -4px var(--blue);
}
.lf-link i { color: #fff; font-size: 0.5rem; }

.lf-arrow { color: var(--blue-l); font-size: 0.8rem; opacity: 0.85; text-align: center; }

.lf-form {
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid var(--line);
    border-radius: 10px; padding: 0.55rem;
    display: grid; gap: 0.25rem;
    box-shadow: 0 18px 36px -20px #000;
}
.lf-form label { font-size: 0.55rem; color: var(--text-faint); letter-spacing: 0.06em; margin-top: 0.15rem; }
.lf-chip {
    font-size: 0.66rem; color: var(--blue-l);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 7px; padding: 0.22rem 0.5rem;
    margin-bottom: 0.15rem;
}
.lf-field {
    font-size: 0.66rem; color: #fff;
    background: rgba(3, 7, 18, 0.85); border: 1px solid var(--line-soft);
    border-radius: 7px; padding: 0.26rem 0.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 0.4rem;
}
.lf-select i { font-size: 0.5rem; color: var(--text-faint); }
.lf-btn {
    margin-top: 0.35rem; text-align: center;
    font-size: 0.64rem; color: #fff;
    background: var(--blue); border-radius: 7px; padding: 0.28rem;
    box-shadow: 0 6px 16px -7px var(--blue);
}

.mock-linkresult {
    margin-top: 0.85rem;
    background: rgba(3, 7, 18, 0.7);
    border: 1px solid var(--line-soft);
    border-radius: 10px; padding: 0.6rem;
}
.lr-head {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.74rem; color: #fff;
    padding-bottom: 0.45rem; margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--line-soft);
}
.lr-badge {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-size: 0.55rem; letter-spacing: 0.04em;
    color: var(--blue-l);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 5px; padding: 0.08rem 0.35rem;
}
.lr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.45rem; }
.lr-card {
    background: var(--card); border: 1px solid var(--line-soft);
    border-radius: 8px; padding: 0.4rem; min-height: 40px;
}
.lr-fav { display: block; width: 13px; height: 13px; border-radius: 4px; background: rgba(96, 165, 250, 0.75); margin-bottom: 0.35rem; }
.lr-fav.lr-folder {
    background: rgba(245, 158, 11, 0.2);
    display: flex; align-items: center; justify-content: center;
    color: #fbbf24; font-size: 0.5rem;
}
.lr-up {
    display: flex; align-items: center; gap: 0.35rem;
    font-size: 0.6rem; color: var(--text-faint);
    border-style: dashed;
}
.lr-up i { font-size: 0.55rem; }

/* --- Extension popup --- */
.mock-extpopup {
    background: rgba(3, 7, 18, 0.9);
    border: 1px solid var(--line);
    border-radius: 12px; padding: 0.7rem;
    display: grid; gap: 0.22rem;
    box-shadow: 0 20px 44px -24px #000;
}
.ep-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.4rem; }
.ep-head div { display: flex; flex-direction: column; line-height: 1.35; }
.ep-head strong { font-size: 0.82rem; font-weight: 500; color: #fff; }
.ep-head span { font-size: 0.6rem; color: var(--text-faint); }
.ep-chip {
    flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.58rem; color: #4ade80;
    background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.28);
    border-radius: 999px; padding: 0.15rem 0.45rem;
}
.mock-extpopup label { font-size: 0.55rem; color: var(--text-faint); letter-spacing: 0.06em; margin-top: 0.2rem; }
.ep-labelrow { display: flex; align-items: center; justify-content: space-between; margin-top: 0.2rem; }
.ep-labelrow label { margin-top: 0; }
.ep-action { font-size: 0.55rem; color: var(--blue-l); }
.ep-field {
    font-size: 0.66rem; color: #fff;
    background: rgba(31, 41, 55, 0.75); border: 1px solid var(--line-soft);
    border-radius: 7px; padding: 0.28rem 0.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 0.4rem;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ep-muted { color: var(--text-faint); font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; }
.ep-select i { font-size: 0.5rem; color: var(--text-faint); }
.ep-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
.ep-two > div { display: grid; gap: 0.15rem; }
.ep-actions { display: flex; gap: 0.4rem; margin-top: 0.55rem; }
.ep-cancel {
    flex: 1; text-align: center; font-size: 0.64rem; color: var(--text-dim);
    background: rgba(31, 41, 55, 0.7); border: 1px solid var(--line-soft);
    border-radius: 7px; padding: 0.3rem;
}
.ep-save {
    flex: 1.4; text-align: center; font-size: 0.64rem; color: #fff;
    background: linear-gradient(120deg, #3b82f6, #8b5cf6);
    border-radius: 7px; padding: 0.3rem;
    box-shadow: 0 6px 18px -8px rgba(139, 92, 246, 0.9);
}
.ep-browser {
    margin-top: 0.4rem; text-align: center;
    font-size: 0.62rem; color: var(--blue-l);
    background: rgba(59, 130, 246, 0.08); border: 1px dashed rgba(59, 130, 246, 0.3);
    border-radius: 7px; padding: 0.28rem;
}
.ep-browser i { font-size: 0.55rem; margin-right: 0.3rem; }

/* --- Bookmarks tree card --- */
.mock-bmtree { display: grid; gap: 0.28rem; }
.bt-search {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.62rem; color: var(--text-faint);
    background: rgba(31, 41, 55, 0.8); border: 1px solid var(--line-soft);
    border-radius: 999px; padding: 0.28rem 0.6rem;
}
.bt-row {
    display: flex; align-items: center; gap: 0.45rem;
    font-size: 0.64rem; color: var(--text-dim);
    padding: 0.14rem 0.3rem; border-radius: 6px;
}
.bt-row i { font-size: 0.58rem; color: var(--text-faint); }
.bt-row em {
    margin-left: auto; font-style: normal; font-size: 0.54rem;
    color: var(--blue-l); background: rgba(59, 130, 246, 0.1);
    border-radius: 4px; padding: 0.04rem 0.28rem;
}
.bt-in { padding-left: 1rem; }

/* --- Dead links card --- */
.mock-deadlinks { display: grid; gap: 0.28rem; }
.dl-row {
    display: flex; align-items: center; gap: 0.45rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem; color: var(--text-dim);
    background: rgba(31, 41, 55, 0.55); border: 1px solid var(--line-soft);
    border-radius: 7px; padding: 0.24rem 0.45rem;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dl-row span {
    flex-shrink: 0; font-size: 0.52rem; letter-spacing: 0.04em;
    border-radius: 4px; padding: 0.05rem 0.3rem; border: 1px solid;
}
.dl-ok   { color: #4ade80; background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.3); }
.dl-bad  { color: #f87171; background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.3); }
.dl-warn { color: #fbbf24; background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.3); }
.dl-scan { height: 3px; border-radius: 3px; background: rgba(55, 65, 81, 0.8); overflow: hidden; margin-top: 0.15rem; }
.dl-scan i { display: block; height: 100%; width: 35%; border-radius: 3px; background: var(--grad); animation: loadbar 2.6s var(--ease) infinite; }

/* --- Edit bookmark card --- */
.mock-bmedit { display: grid; gap: 0.45rem; width: 100%; }
.be-item {
    display: flex; align-items: center; gap: 0.45rem;
    font-size: 0.68rem; color: #fff;
    background: var(--card); border: 1px solid var(--line-soft);
    border-radius: 8px; padding: 0.32rem 0.5rem;
}
.be-item i { font-size: 0.6rem; color: var(--blue-l); }
.be-actions { display: flex; gap: 0.3rem; }
.be-btn {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.28rem;
    font-size: 0.58rem; color: var(--text-dim);
    background: rgba(31, 41, 55, 0.7); border: 1px solid var(--line-soft);
    border-radius: 7px; padding: 0.24rem;
}
.be-btn i { font-size: 0.52rem; }
.be-danger { color: #f87171; background: rgba(239, 68, 68, 0.08); border-color: rgba(239, 68, 68, 0.25); }

/* --- Title fetch card --- */
.mock-titlefetch { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; width: 100%; }
.mock-titlefetch > i { color: var(--purple); font-size: 0.7rem; }
.tf-before {
    font-family: 'JetBrains Mono', monospace; font-size: 0.58rem; color: var(--text-faint);
    background: rgba(31, 41, 55, 0.6); border: 1px dashed var(--line);
    border-radius: 7px; padding: 0.24rem 0.55rem;
}
.tf-after {
    font-size: 0.7rem; color: #fff;
    background: rgba(168, 85, 247, 0.12); border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 7px; padding: 0.24rem 0.6rem;
    box-shadow: 0 0 20px -10px var(--purple);
}

/* --- Extension auth card --- */
.mock-extauth { display: grid; gap: 0.3rem; width: 100%; }
.ea-google {
    display: flex; align-items: center; justify-content: center; gap: 0.45rem;
    font-size: 0.64rem; color: #111827; background: #fff;
    border-radius: 8px; padding: 0.3rem;
}
.ea-or { text-align: center; font-size: 0.56rem; color: var(--text-faint); }
.ea-field {
    font-size: 0.62rem; color: var(--text-faint);
    background: rgba(31, 41, 55, 0.8); border: 1px solid var(--line-soft);
    border-radius: 8px; padding: 0.3rem 0.55rem;
}
.ea-btn {
    text-align: center; font-size: 0.64rem; color: #fff;
    background: linear-gradient(120deg, #3b82f6, #8b5cf6);
    border-radius: 8px; padding: 0.3rem;
    box-shadow: 0 6px 18px -8px rgba(139, 92, 246, 0.9);
}

/* --- Manifest V3 card --- */
.mock-mv3 { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.mock-mv3 > i { font-size: 1.5rem; color: #facc15; filter: drop-shadow(0 0 12px rgba(250, 204, 21, 0.6)); }
.mv-tags { display: flex; flex-wrap: wrap; gap: 0.25rem; justify-content: center; }
.mv-tags span {
    font-size: 0.55rem; color: var(--text-dim);
    background: rgba(31, 41, 55, 0.7); border: 1px solid var(--line-soft);
    border-radius: 5px; padding: 0.1rem 0.35rem;
}

@media (max-width: 768px) {
    .mock-linkflow { grid-template-columns: 1fr; }
    .lf-arrow { transform: rotate(90deg); }
    .lr-grid { grid-template-columns: repeat(2, 1fr); }
}
