/* ==========================================================================
   INVIBROWSER — Landing Page Styles
   Design system per design.md
   ========================================================================== */

/* ---------- 1. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html {
    scrollbar-color: rgba(0, 255, 255, 0.55) rgba(14, 10, 46, 0.96);
    scrollbar-width: thin;
}
body, h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

* {
    scrollbar-color: rgba(0, 255, 255, 0.45) rgba(14, 10, 46, 0.92);
    scrollbar-width: thin;
}
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}
::-webkit-scrollbar-track {
    background:
        linear-gradient(180deg, rgba(14, 10, 46, 0.98), rgba(25, 20, 67, 0.98));
    border-left: 1px solid rgba(0, 255, 255, 0.08);
}
::-webkit-scrollbar-thumb {
    min-height: 48px;
    background:
        linear-gradient(180deg, rgba(0, 255, 255, 0.78), rgba(0, 163, 255, 0.72));
    border: 3px solid rgba(14, 10, 46, 0.98);
    border-radius: var(--r-pill);
    box-shadow: 0 0 14px rgba(0, 255, 255, 0.25);
}
::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(180deg, rgba(0, 255, 255, 0.95), rgba(0, 163, 255, 0.9));
}
::-webkit-scrollbar-corner {
    background: var(--bg-base);
}

/* ---------- 2. DESIGN TOKENS (from design.md) ---------- */
:root {
    /* Brand */
    --c-cyan:       #00FFFF;
    --c-azure:      #00A3FF;
    --c-deep-blue:  #0055FF;
    --grad-primary: linear-gradient(135deg, #00FFFF 0%, #00A3FF 50%, #0055FF 100%);
    --grad-soft:    linear-gradient(135deg, rgba(0,255,255,.15) 0%, rgba(0,85,255,.15) 100%);

    /* Backgrounds */
    --bg-base:      #0E0A2E;          /* slightly deeper than #191443 for richer contrast */
    --bg-base-2:   #191443;
    --bg-surface:   #251E5C;
    --bg-elevated:  #2D2470;
    --c-border:     #382D82;
    --c-border-soft: rgba(0,255,255,.10);

    /* Text */
    --t-primary:    #FFFFFF;
    --t-accent:     #00FFFF;
    --t-muted:      #A09DBA;
    --t-dim:        #6E6A8E;

    /* Type */
    --f-display: 'Be Vietnam Pro', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --f-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Radii (8pt grid) */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-pill: 999px;

    /* Shadows */
    --sh-card: 0 8px 32px rgba(0, 0, 0, 0.5);
    --sh-glow-cyan: 0 4px 24px rgba(0, 255, 255, 0.35);
    --sh-glow-strong: 0 0 60px rgba(0, 255, 255, 0.45);

    /* Layout */
    --container: 1240px;
    --header-h: 76px;

    /* Motion */
    --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 3. BODY & TYPOGRAPHY ---------- */
body {
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--t-muted);
    background: var(--bg-base);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: var(--f-display);
    color: var(--t-primary);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
}

p { margin: 0; }

::selection { background: var(--c-cyan); color: var(--bg-base); }

/* ---------- 4. AMBIENT BACKGROUND ---------- */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -3;
    background-image:
        linear-gradient(rgba(56, 45, 130, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 45, 130, 0.18) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.55;
    z-index: -2;
    pointer-events: none;
}
.bg-glow--1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(0, 255, 255, .35), transparent 70%);
}
.bg-glow--2 {
    width: 700px;
    height: 700px;
    top: 30%;
    right: -300px;
    background: radial-gradient(circle, rgba(0, 85, 255, .4), transparent 70%);
}

/* ---------- 5. LAYOUT UTILITIES ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 6. EYEBROWS / SECTION HEADERS ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 255, 255, 0.06);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: var(--r-pill);
    font-family: var(--f-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--t-accent);
    text-transform: uppercase;
}
.eyebrow--center { margin: 0 auto; }
.eyebrow__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-cyan);
    box-shadow: 0 0 8px var(--c-cyan);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.4); }
}

.section-head {
    margin-bottom: 64px;
    max-width: 720px;
}
.section-head--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.section-label {
    display: block;
    font-family: var(--f-display);
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--t-accent);
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 600;
}
.section-title {
    font-size: clamp(2rem, 4.2vw, 3.25rem);
    margin-bottom: 16px;
    letter-spacing: 0;
}
.section-sub {
    font-size: 1.125rem;
    color: var(--t-muted);
    max-width: 600px;
    margin: 0 auto;
}
.section-subtitle {
    font-size: 1.125rem;
    color: var(--t-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---------- 7. BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--r-sm);
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all .25s var(--ease);
    white-space: nowrap;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
.btn--sm { padding: 10px 18px; font-size: 0.875rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

.btn--primary {
    background: var(--grad-primary);
    color: var(--t-primary);
    box-shadow: 0 4px 16px rgba(0, 163, 255, 0.3);
}
.btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fff, #00FFFF);
    opacity: 0;
    transition: opacity .25s var(--ease);
}
.btn--primary > * { position: relative; z-index: 1; }
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 255, 255, 0.5);
}
.btn--primary:hover::before { opacity: 0.15; }

.btn--secondary {
    background: transparent;
    border-color: var(--c-cyan);
    color: var(--c-cyan);
}
.btn--secondary:hover {
    background: rgba(0, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(0, 255, 255, 0.08);
}

/* ---------- 8. HEADER ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(14, 10, 46, 0.65);
    border-bottom: 1px solid var(--c-border-soft);
    height: var(--header-h);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 32px;
}
.header__logo img { height: 40px; width: auto; }

.header__nav {
    display: flex;
    align-items: center;
    gap: 36px;
    flex: 1;
    justify-content: center;
}
.header__nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--t-muted);
    transition: color .2s var(--ease);
    position: relative;
}
.header__nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: var(--c-cyan);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s var(--ease);
}
.header__nav a:hover { color: var(--t-primary); }
.header__nav a:hover::after { transform: scaleX(1); }

.header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switcher {
    display: flex;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-pill);
    padding: 3px;
}
.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--f-display);
    color: var(--t-muted);
    border-radius: var(--r-pill);
    transition: all .2s var(--ease);
    letter-spacing: 0.05em;
}
.lang-btn.is-active {
    background: var(--grad-primary);
    color: var(--t-primary);
    box-shadow: 0 2px 8px rgba(0, 163, 255, 0.4);
}
.lang-btn:not(.is-active):hover { color: var(--t-primary); }

.header__menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.header__menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--t-primary);
    border-radius: 2px;
    transition: all .25s var(--ease);
}

/* ---------- 9. HERO ---------- */
.hero {
    position: relative;
    padding: 80px 0 120px;
    overflow: hidden;
}
.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero__content {
    animation: fadeUp .9s var(--ease) both;
}

.hero__title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    margin: 22px 0 24px;
    letter-spacing: 0;
    line-height: 1.05;
}
.hero__title-grad {
    display: block;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.25));
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--t-muted);
    line-height: 1.6;
    max-width: 540px;
    margin-bottom: 36px;
}

.hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero__points {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.hero__points li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--t-muted);
}
.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.15);
    color: var(--c-cyan);
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Hero visual */
.hero__visual {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeUp .9s .15s var(--ease) both;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
}
.orb--1 {
    width: 280px;
    height: 280px;
    top: -40px;
    right: -20px;
    background: radial-gradient(circle, var(--c-cyan), transparent 65%);
}
.orb--2 {
    width: 320px;
    height: 320px;
    bottom: -40px;
    left: 0;
    background: radial-gradient(circle, var(--c-deep-blue), transparent 65%);
    animation-delay: -4s;
}
@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50%      { transform: translateY(-30px) translateX(10px); }
}

/* ---------- APP MOCKUP (mimics actual InviBrowser interface) ---------- */
.app-mockup {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 16, 56, 0.95), rgba(14, 10, 46, 0.98));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 255, 255, 0.18);
    border-radius: 14px;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(0, 163, 255, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.06);
    overflow: hidden;
    transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
    transform-origin: center center;
    transition: transform .6s var(--ease);
    width: 100%;
    max-width: 600px;
}
.app-mockup:hover {
    transform: perspective(1600px) rotateY(-2deg) rotateX(0deg);
}

/* Window chrome (titlebar) */
.app-mockup__chrome {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(0,0,0,0.4);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    height: 32px;
}
.app-mockup__dots { display: flex; gap: 6px; }
.app-mockup__dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.app-mockup__dots span:nth-child(1) { background: #FF5F57; }
.app-mockup__dots span:nth-child(2) { background: #FEBC2E; }
.app-mockup__dots span:nth-child(3) { background: #28C840; }
.app-mockup__title {
    flex: 1;
    text-align: center;
    font-size: 11px;
    color: var(--t-muted);
    font-weight: 500;
}

/* Body: sidebar + main */
.app-mockup__body {
    display: grid;
    grid-template-columns: 158px 1fr;
    min-height: 380px;
}

/* Sidebar */
.app-sidebar {
    background: rgba(0,0,0,0.25);
    border-right: 1px solid rgba(255,255,255,0.04);
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.app-sidebar__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 8px;
}
.app-sidebar__logo {
    width: min(118px, 100%);
    height: auto;
    max-height: 34px;
    object-fit: contain;
}

.app-sidebar__nav { display: flex; flex-direction: column; gap: 2px; }
.app-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 11px;
    color: var(--t-muted);
    cursor: default;
    transition: all .2s var(--ease);
}
.app-nav-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    stroke-width: 2;
}
.app-nav-item--active {
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.15), rgba(0, 163, 255, 0.05));
    color: var(--c-cyan);
    box-shadow: inset 2px 0 0 var(--c-cyan);
}
.app-nav-item:not(.app-nav-item--active):hover {
    background: rgba(255,255,255,0.03);
    color: var(--t-primary);
}

/* Main content area */
.app-main {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.app-main__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.app-main__header h3 {
    font-family: var(--f-display);
    font-size: 15px;
    font-weight: 800;
    color: var(--t-primary);
    margin: 0;
    letter-spacing: 0.01em;
}
.app-main__actions { display: flex; gap: 8px; }
.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 11px;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 600;
    color: #fff;
    border: none;
    cursor: default;
    transition: all .2s var(--ease);
    white-space: nowrap;
}
.app-btn svg { width: 11px; height: 11px; }
.app-btn--add {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}
.app-btn--bulk {
    background: linear-gradient(135deg, #F97316, #EA580C);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

/* Table */
.app-table {
    background: rgba(255,255,255,0.015);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    overflow: hidden;
}
.app-table__head,
.app-table__row {
    display: grid;
    grid-template-columns: 1.25fr 0.4fr 0.95fr 0.6fr 1.05fr;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    font-size: 11px;
}
.app-table__head {
    background: rgba(0,0,0,0.25);
    color: var(--t-dim);
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.app-table__row {
    border-bottom: 1px solid rgba(255,255,255,0.03);
    color: var(--t-muted);
    animation: slideInRight .6s var(--ease) both;
    animation-delay: var(--delay);
    transition: background .25s var(--ease);
}
.app-table__row:last-child { border-bottom: none; }
.app-table__row:hover { background: rgba(0, 255, 255, 0.04); }

.app-table__row--highlight {
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.06), transparent 80%);
    box-shadow: inset 2px 0 0 var(--c-cyan);
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(16px); }
    to   { opacity: 1; transform: translateX(0); }
}

.app-cell-name {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--t-primary);
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-width: 0;
}
.app-cell-name span:not(.app-cell-name__icon) {
    overflow: hidden;
    text-overflow: ellipsis;
}
.app-cell-name__icon {
    font-size: 13px;
    flex-shrink: 0;
}
.app-cell-os svg {
    width: 12px;
    height: 12px;
    color: var(--t-muted);
}

.app-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 7px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 999px;
    color: #34D399;
    font-size: 9.5px;
    font-weight: 500;
    white-space: nowrap;
}
.app-status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 4px #10B981;
}

.app-score-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 7px;
    background: rgba(16, 185, 129, 0.10);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 999px;
    color: #34D399;
    font-size: 10px;
    font-weight: 700;
    font-family: var(--f-display);
}
.app-score-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #10B981;
}

.app-cell-proxy {
    color: var(--t-muted);
    font-size: 10px;
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-table__footer {
    display: flex;
    justify-content: flex-end;
    padding: 0 4px;
}
.app-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--f-display);
    font-size: 10.5px;
    color: var(--t-accent);
    letter-spacing: 0.04em;
    font-weight: 600;
    white-space: nowrap;
}
.app-counter__pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Floating accent badges */
.float-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(20, 16, 56, 0.95), rgba(14, 10, 46, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: var(--c-cyan);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 255, 255, 0.2);
    z-index: 3;
    animation: float-y 4s ease-in-out infinite;
    white-space: nowrap;
}
.float-badge svg {
    color: var(--c-cyan);
    filter: drop-shadow(0 0 4px rgba(0, 255, 255, 0.6));
}
.float-badge--1 {
    top: 24px;
    left: -4px;
    animation-delay: 0s;
}
.float-badge--2 {
    bottom: -16px;
    right: -10px;
    animation-delay: -2s;
}
@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 10. WHAT IS ---------- */
.what {
    padding: 100px 0;
}
.what__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}
.what__text .lead {
    font-size: 1.25rem;
    color: var(--t-primary);
    line-height: 1.55;
    margin-bottom: 24px;
}
.what__text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--t-muted);
}
.what__text strong { color: var(--c-cyan); font-weight: 600; }

.what__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    padding: 28px 24px;
    box-shadow: var(--sh-card);
    transition: all .3s var(--ease);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 40px; height: 40px;
    background: var(--grad-primary);
    filter: blur(40px);
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.stat-card:hover {
    border-color: rgba(0, 255, 255, 0.3);
    transform: translateY(-4px);
}
.stat-card:hover::before { opacity: 0.5; }
.stat-value {
    font-family: var(--f-display);
    font-size: 2.4rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
    letter-spacing: 0.01em;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--t-muted);
}

/* ---------- 11. FEATURES ---------- */
.features {
    padding: 100px 0;
}
.feature-showcase {
    display: grid;
    gap: 88px;
}
.feature-showcase__item {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 56px;
    align-items: center;
}
.feature-showcase__item:nth-child(even) {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
}
.feature-showcase__item:nth-child(even) .feature-showcase__copy { order: 2; }
.feature-showcase__item:nth-child(even) .feature-showcase__visual { order: 1; }
.feature-showcase__copy {
    max-width: 500px;
}
.feature-showcase__item:nth-child(even) .feature-showcase__copy {
    margin-left: auto;
}
.feature-showcase__kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    font-family: var(--f-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--c-cyan);
}
.feature-showcase__copy h3 {
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    margin-bottom: 18px;
}
.feature-showcase__copy p {
    color: var(--t-muted);
    font-size: 1rem;
    line-height: 1.72;
    margin-bottom: 22px;
}
.feature-showcase__copy ul {
    display: grid;
    gap: 12px;
}
.feature-showcase__copy li {
    position: relative;
    padding-left: 28px;
    color: var(--t-muted);
    font-size: .94rem;
    line-height: 1.55;
}
.feature-showcase__copy li::before {
    content: '';
    position: absolute;
    top: .62em;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--grad-primary);
    box-shadow: 0 0 14px rgba(0, 255, 255, .55);
}
.feature-showcase__visual {
    min-width: 0;
    perspective: 1600px;
}
.feature-mockup {
    position: relative;
    width: 100%;
    min-height: 390px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, .16);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(20, 16, 56, .96), rgba(10, 14, 33, .98));
    box-shadow:
        0 24px 80px rgba(0, 0, 0, .52),
        0 0 58px rgba(0, 163, 255, .14),
        inset 0 1px 0 rgba(255,255,255,.06);
    transform: perspective(1600px) rotateY(-4deg) rotateX(1.4deg);
    transition: transform .5s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.feature-showcase__item:nth-child(even) .feature-mockup {
    transform: perspective(1600px) rotateY(4deg) rotateX(1.4deg);
}
.feature-mockup:hover,
.feature-showcase__item:nth-child(even) .feature-mockup:hover {
    transform: perspective(1600px) rotateY(0) rotateX(0) translateY(-4px);
    border-color: rgba(0, 255, 255, .28);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, .6),
        0 0 70px rgba(0, 255, 255, .16),
        inset 0 1px 0 rgba(255,255,255,.07);
}
.mock-window__bar {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    background: rgba(0,0,0,.36);
    border-bottom: 1px solid rgba(255,255,255,.06);
    color: var(--t-primary);
    font-size: 12px;
}
.mock-window__bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.mock-window__bar span:nth-child(1) { background: #ff5f57; }
.mock-window__bar span:nth-child(2) { background: #febc2e; }
.mock-window__bar span:nth-child(3) { background: #28c840; }
.mock-window__bar strong {
    margin-left: 8px;
    font-family: var(--f-display);
    color: var(--t-primary);
    font-size: 12px;
}
.mock-window__body { padding: 16px; }
.mock-window__body--split {
    display: grid;
    grid-template-columns: 1fr 170px;
    min-height: 348px;
}
.hardware-panel {
    padding-right: 14px;
    border-right: 1px solid rgba(255,255,255,.07);
}
.mock-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: -16px -14px 16px -16px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.mock-tabs span {
    padding: 13px 8px;
    text-align: center;
    font-size: 11px;
    color: var(--t-dim);
}
.mock-tabs .is-active {
    color: var(--c-cyan);
    box-shadow: inset 0 -2px 0 var(--c-azure);
}
.mock-form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}
.mock-form-grid label,
.mock-select,
.mock-metrics span {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid rgba(0, 163, 255, .32);
    border-radius: 6px;
    background: rgba(5, 14, 37, .9);
    color: var(--t-dim);
    font-size: 10px;
}
.mock-form-grid strong,
.mock-select,
.mock-metrics span {
    color: var(--t-primary);
    font-weight: 700;
}
.mock-select {
    display: block;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mock-check {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--t-primary);
    font-size: 12px;
    font-weight: 700;
    margin: 11px 0 8px;
}
.mock-check::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: var(--grad-primary);
    box-shadow: 0 0 10px rgba(0,255,255,.35);
}
.mock-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
}
.summary-panel {
    padding-left: 14px;
    font-size: 10px;
}
.summary-panel h4 {
    margin-bottom: 12px;
    font-size: 12px;
}
.summary-panel code {
    display: block;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 6px;
    background: rgba(255,255,255,.04);
    color: #d7ecff;
    font-size: 9px;
    line-height: 1.45;
}
.summary-panel dl {
    display: grid;
    gap: 9px;
}
.summary-panel dl div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,.05);
    padding-bottom: 7px;
}
.summary-panel dt { color: var(--t-dim); }
.summary-panel dd { margin: 0; color: var(--t-primary); font-weight: 700; text-align: right; }

.feature-mockup--sync {
    min-height: 390px;
    background: #0b1020;
    padding: 4px;
}
.sync-browser-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, 1fr);
    gap: 6px;
    height: 100%;
    min-height: 382px;
}
.sync-browser-window {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 5px;
    background: #fff;
    border: 1px solid rgba(14, 10, 46, .15);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}
.sync-browser-chrome {
    height: 12px;
    background:
        radial-gradient(circle at 10px 6px, #ff5f57 0 2px, transparent 2.4px),
        radial-gradient(circle at 18px 6px, #febc2e 0 2px, transparent 2.4px),
        radial-gradient(circle at 26px 6px, #28c840 0 2px, transparent 2.4px),
        linear-gradient(#e8eef8, #dfe7f3);
    border-bottom: 1px solid #d5deeb;
}
.sync-fb-logo {
    position: absolute;
    top: 22px;
    left: 12px;
    width: 14px;
    height: 14px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #0866ff;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    font-family: Arial, sans-serif;
}
.sync-fb-copy {
    position: absolute;
    left: 12px;
    bottom: 42px;
    color: #050505;
    font-size: 15px;
    font-weight: 900;
    line-height: .9;
    letter-spacing: 0;
}
.sync-fb-copy strong {
    color: #0866ff;
    font-weight: 900;
}
.sync-story-stack {
    position: absolute;
    top: 34px;
    left: 34%;
    width: 114px;
    height: 108px;
}
.sync-story-stack::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 6px;
    width: 66px;
    height: 82px;
    border-radius: 7px;
    background:
        radial-gradient(circle at 30% 28%, #c7e8ff 0 14%, transparent 15%),
        linear-gradient(135deg, #ffb06b, #70c8f4 58%, #1d75c9);
    box-shadow: 0 8px 14px rgba(0,0,0,.18);
}
.sync-story-stack::after {
    content: '';
    position: absolute;
    top: 0;
    right: 4px;
    width: 64px;
    height: 98px;
    border-radius: 8px;
    background:
        radial-gradient(circle at 88% 20%, #7b5cff 0 9%, transparent 10%),
        linear-gradient(150deg, #69d0f4, #2e92cf 52%, #d98c61);
    box-shadow: 0 8px 16px rgba(0,0,0,.2);
}
.sync-story-stack span:nth-child(1) {
    position: absolute;
    z-index: 2;
    left: 14px;
    bottom: 10px;
    width: 52px;
    height: 48px;
    border-radius: 6px;
    background:
        radial-gradient(circle at 35% 35%, #e94d4d 0 22%, transparent 23%),
        linear-gradient(150deg, #fff, #f8d7d2 45%, #e08c7a);
    box-shadow: 0 8px 14px rgba(0,0,0,.16);
}
.sync-story-stack span:nth-child(2) {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 4px;
    width: 36px;
    height: 36px;
    border: 2px solid #0b86ff;
    border-radius: 50%;
    background:
        radial-gradient(circle at 48% 40%, #ffe0c7 0 20%, transparent 21%),
        linear-gradient(135deg, #fff, #ffb5bd);
}
.sync-story-stack span:nth-child(3) {
    position: absolute;
    z-index: 4;
    right: -8px;
    top: 52px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ff356d;
}
.sync-story-stack span:nth-child(3)::before,
.sync-story-stack span:nth-child(3)::after {
    content: '';
    position: absolute;
    width: 9px;
    height: 14px;
    top: 5px;
    border-radius: 9px 9px 0 0;
    background: #fff;
}
.sync-story-stack span:nth-child(3)::before { left: 5px; transform: rotate(-45deg); }
.sync-story-stack span:nth-child(3)::after { right: 5px; transform: rotate(45deg); }
.sync-story-stack b {
    position: absolute;
    z-index: 5;
    left: 2px;
    top: 12px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffcf32;
    box-shadow: 0 0 0 5px rgba(255, 207, 50, .14);
}
.sync-story-stack--alt::before {
    background:
        radial-gradient(circle at 38% 30%, #e5b7ff 0 15%, transparent 16%),
        linear-gradient(135deg, #f1d4a5, #9ddc8b 42%, #2861b7);
}
.sync-story-stack--alt::after {
    background:
        radial-gradient(circle at 76% 26%, #f9d36e 0 10%, transparent 11%),
        linear-gradient(150deg, #9dc9ff, #2f73d8 48%, #f05c67);
}
.sync-story-stack--warm::before {
    background: linear-gradient(135deg, #f3c78b, #c77e51 44%, #4ea6df);
}
.sync-story-stack--warm::after {
    background: linear-gradient(150deg, #9fd9ed, #327eb5 48%, #f5b14c);
}
.sync-login-form {
    position: absolute;
    top: 50px;
    right: 16px;
    width: 120px;
    display: grid;
    gap: 6px;
}
.sync-login-form i {
    color: #1c1e21;
    font-size: 6px;
    font-style: normal;
    font-weight: 800;
}
.sync-login-form span,
.sync-login-form em {
    height: 12px;
    border: 1px solid #dddfe2;
    border-radius: 2px;
    background: #fff;
}
.sync-login-form button {
    height: 14px;
    border-radius: 4px;
    background: #0866ff;
    color: #fff;
    font-size: 5px;
    font-weight: 800;
}
.sync-login-form em {
    height: 10px;
    border-color: #0866ff;
}
.proxy-actions button,
.store-nav button {
    border-radius: 6px;
    padding: 8px 12px;
    background: #18c96e;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}
.proxy-actions button + button { background: #ff781f; }
.proxy-table .alive {
    color: #13df86;
    border-radius: 999px;
    background: rgba(19, 223, 134, .12);
    padding: 3px 8px;
    font-size: 10px;
}

.mock-app-shell {
    display: grid;
    grid-template-columns: 150px 1fr;
    min-height: 390px;
}
.mock-app-shell aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 14px;
    background: rgba(7, 15, 33, .96);
    border-right: 1px solid rgba(255,255,255,.06);
}
.mock-app-shell aside b {
    color: var(--t-primary);
    font-family: var(--f-display);
    margin-bottom: 8px;
}
.mock-app-shell aside span {
    padding: 8px 10px;
    border-radius: 6px;
    color: #91a0b8;
    font-size: 11px;
}
.mock-app-shell aside .is-active {
    background: #1e63ff;
    color: #fff;
}
.mock-app-shell main {
    padding: 18px;
    min-width: 0;
}
.mock-page-title {
    color: var(--t-primary);
    font-family: var(--f-display);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 18px;
}
.proxy-actions,
.proxy-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.proxy-filters span {
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(255,255,255,.07);
    color: #a9bbd8;
    font-size: 11px;
}
.proxy-filters .active {
    color: #fff;
    background: #2d7cff;
    box-shadow: 0 0 0 2px rgba(255, 181, 58, .95);
}
.proxy-filters .alive { color: #19d981; }
.proxy-filters .slow { color: #ffc52e; }
.proxy-filters .dead,
.proxy-table .dead { color: #ff3857; }
.proxy-table {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
}
.proxy-table div {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) 78px 58px 80px;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    background: rgba(12, 24, 49, .86);
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: 11px;
}
.proxy-table b { color: #fff; }
.proxy-table em { color: #9ec9ff; font-style: normal; }
.proxy-table small { color: #b6c8e9; }

.feature-mockup--extensions {
    min-height: 390px;
    padding: 16px;
    background: linear-gradient(135deg, #111a2e, #0a1020);
}
.store-shell {
    min-height: 356px;
    padding: 18px 22px;
    border-radius: 8px;
    background: #fff;
    color: #202124;
}
.store-nav {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    align-items: center;
    gap: 18px;
    margin-bottom: 34px;
    font-size: 13px;
}
.store-nav b {
    justify-self: center;
    width: min(360px, 100%);
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,.22);
    color: #3c4043;
    font-weight: 500;
}
.store-nav button {
    background: #0b57d0;
    border-radius: 24px;
}
.store-hero {
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(170, 230, 247, .95), rgba(199, 241, 255, .95));
}
.store-hero h4 {
    color: #202124;
    font-size: 22px;
    margin-bottom: 4px;
}
.store-hero p {
    color: #303134;
    font-size: 12px;
    margin-bottom: 22px;
}
.store-icons {
    display: flex;
    justify-content: center;
    gap: 26px;
}
.store-icons span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #fff;
    color: #0b57d0;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(0,0,0,.08);
}
.store-cats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 20px 0 18px;
}
.store-cats span {
    border-radius: 10px;
    padding: 13px 14px;
    background: #d7e6ff;
    color: #202124;
    font-size: 12px;
}
.store-cats span:nth-child(2) { background: #e7e7e7; }
.store-cats span:nth-child(3) { background: #c7efff; }
.store-cats span:nth-child(4) { background: #c9f1d4; }
.store-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.store-cards span {
    height: 54px;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(135deg, #cfe1ff, #74b8ff);
}
.store-cards span:nth-child(2) { background: linear-gradient(135deg, #d8fff2, #ff6e91); }
.store-cards span:nth-child(3) { background: linear-gradient(135deg, #212f4a, #ff7657); }

.feature-mockup--workflow {
    display: grid;
    grid-template-columns: 160px 1fr;
    min-height: 390px;
}
.workflow-sidebar {
    display: grid;
    align-content: start;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 18px 12px;
    background: rgba(12, 24, 49, .96);
    border-right: 1px solid rgba(255,255,255,.06);
}
.workflow-sidebar strong {
    grid-column: 1 / -1;
    color: #9ec9ff;
    font-size: 11px;
    letter-spacing: .08em;
}
.workflow-sidebar span {
    display: grid;
    place-items: center;
    min-height: 58px;
    padding: 8px;
    border-radius: 7px;
    border: 1px solid rgba(0, 255, 255, .2);
    background: rgba(0, 163, 255, .1);
    color: var(--c-cyan);
    text-align: center;
    font-size: 10px;
    font-weight: 700;
}
.workflow-canvas {
    position: relative;
    overflow: hidden;
    background-color: #070f1e;
    background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 16px 16px;
}
.workflow-toolbar {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    padding: 9px 14px;
    border-radius: 8px;
    background: rgba(16, 31, 59, .96);
    border: 1px solid rgba(255,255,255,.1);
    color: #b9c8df;
    font-size: 10px;
    z-index: 3;
}
.workflow-toolbar b {
    color: #fff;
    background: #00ad78;
    padding: 2px 8px;
    border-radius: 5px;
}
.workflow-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.workflow-lines--mobile { display: none; }
.workflow-lines path {
    fill: none;
    stroke: rgba(134, 167, 214, .58);
    stroke-width: 2.2;
    stroke-linecap: round;
}
.node {
    position: absolute;
    z-index: 2;
    min-width: 92px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #3d3e49;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
    box-shadow: 0 14px 28px rgba(0,0,0,.25);
}
.node::before {
    content: '';
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 5px;
    background: #16c6f3;
}
.node--start { top: 128px; left: 50px; }
.node--tab { top: 128px; left: 170px; }
.node--url { top: 128px; left: 290px; }
.node--click { top: 128px; left: 410px; }
.node--key { top: 218px; left: 360px; }
.node--excel { top: 222px; left: 62px; }
.node--code { top: 292px; left: 202px; }
.node--stop { top: 304px; left: 360px; }
.node--start::before,
.node--stop::before { background: #00d69b; }
.node--excel::before,
.node--code::before { background: #f25bb7; }

/* ---------- 12. USE CASES ---------- */
.usecases {
    padding: 100px 0;
}
.usecases__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.usecase {
    background: var(--bg-surface);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    padding: 32px 24px;
    transition: all .35s var(--ease);
    position: relative;
    overflow: hidden;
}
.usecase::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-primary);
    opacity: 0;
    transition: opacity .35s var(--ease);
    z-index: 0;
}
.usecase > * { position: relative; z-index: 1; }
.usecase:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 12px 40px rgba(0, 163, 255, 0.4);
}
.usecase:hover::after { opacity: 1; }
.usecase:hover .usecase__num,
.usecase:hover h3,
.usecase:hover p { color: var(--t-primary); }

.usecase__num {
    font-family: var(--f-display);
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    transition: all .35s var(--ease);
}
.usecase:hover .usecase__num {
    -webkit-text-fill-color: rgba(255,255,255,0.95);
    background: none;
}
.usecase h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    transition: color .35s var(--ease);
}
.usecase p {
    font-size: 0.875rem;
    color: var(--t-muted);
    line-height: 1.6;
    transition: color .35s var(--ease);
}

/* ---------- 13. WHY ---------- */
.why {
    padding: 100px 0;
}
.why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.why-item {
    padding: 32px 28px;
    background: var(--bg-surface);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    transition: all .3s var(--ease);
}
.why-item:hover {
    border-color: rgba(0, 255, 255, 0.25);
    transform: translateY(-4px);
}
.why-item__icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.3));
}
.why-item h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}
.why-item p {
    color: var(--t-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ---------- 14. TESTIMONIALS ---------- */
.testimonials {
    padding: 100px 0;
}
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial {
    background: var(--bg-surface);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    padding: 32px;
    box-shadow: var(--sh-card);
    transition: all .3s var(--ease);
    margin: 0;
}
.testimonial:hover {
    border-color: rgba(0, 255, 255, 0.25);
    transform: translateY(-4px);
}
.testimonial__stars {
    color: var(--c-cyan);
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 6px rgba(0, 255, 255, 0.4));
}
.testimonial blockquote p {
    color: var(--t-primary);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial figcaption {
    display: flex;
    align-items: center;
    gap: 14px;
}
.testimonial__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--t-primary);
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.testimonial__name {
    color: var(--t-primary);
    font-weight: 600;
    font-size: 0.95rem;
}
.testimonial__role {
    color: var(--t-dim);
    font-size: 0.825rem;
}

/* ---------- 15. PRICING ---------- */
.pricing {
    padding: 100px 0;
}
.pricing__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 940px;
    margin: 0 auto;
}

.price-card {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    padding: 40px 36px;
    box-shadow: var(--sh-card);
    transition: all .3s var(--ease);
    display: flex;
    flex-direction: column;
}
.price-card--featured {
    background:
        radial-gradient(ellipse at top, rgba(0, 163, 255, 0.15), transparent 70%),
        var(--bg-surface);
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: var(--sh-card), 0 0 60px rgba(0, 255, 255, 0.08);
}
.price-card--featured::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--r-md);
    padding: 1px;
    background: var(--grad-primary);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
}

.price-card__ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad-primary);
    color: var(--t-primary);
    font-family: var(--f-display);
    font-size: 11px;
    letter-spacing: 0.12em;
    padding: 6px 16px;
    border-radius: var(--r-pill);
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 163, 255, 0.4);
}

.price-card__name {
    font-size: 1.1rem;
    color: var(--t-accent);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.price-card__price {
    margin-bottom: 16px;
}
.price-card__amount {
    font-family: var(--f-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--t-primary);
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.price-card__period {
    display: block;
    color: var(--t-muted);
    font-size: 0.875rem;
    margin-top: 8px;
}
.price-card__tagline {
    color: var(--t-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px dashed var(--c-border-soft);
}

.price-card__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    flex-grow: 1;
}
.price-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--t-muted);
    line-height: 1.55;
}
.price-card__features li strong {
    color: var(--t-primary);
    font-weight: 600;
}

.pricing__note {
    text-align: center;
    margin-top: 40px;
    color: var(--t-muted);
    font-size: 0.92rem;
}
.pricing__note strong { color: var(--c-cyan); }

/* ---------- 16. DOWNLOAD ---------- */
.download {
    padding: 80px 0 100px;
}
.download__card {
    position: relative;
    background:
        radial-gradient(ellipse at top, rgba(0, 163, 255, 0.18), transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(0, 255, 255, 0.1), transparent 50%),
        var(--bg-surface);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: var(--r-lg);
    padding: 80px 40px;
    text-align: center;
    overflow: hidden;
    box-shadow: var(--sh-card);
}
.download__card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent 0%, rgba(0, 255, 255, 0.05) 25%, transparent 50%, rgba(0, 85, 255, 0.05) 75%, transparent 100%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.download__content { position: relative; z-index: 1; }
.download__card h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 16px 0 12px;
}
.download__card > .download__content > p {
    color: var(--t-muted);
    font-size: 1.1rem;
    margin-bottom: 36px;
}

.download__buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 28px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-sm);
    transition: all .25s var(--ease);
    text-align: left;
    color: var(--t-primary);
}
.dl-btn:hover {
    background: rgba(0, 255, 255, 0.08);
    border-color: rgba(0, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 255, 255, 0.15);
}
.dl-btn svg {
    width: 28px;
    height: 28px;
    color: var(--c-cyan);
    flex-shrink: 0;
}
.dl-btn span {
    font-size: 0.78rem;
    color: var(--t-muted);
    line-height: 1.3;
}
.dl-btn strong {
    display: block;
    color: var(--t-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 2px;
}

.download__note {
    display: block;
    color: var(--t-dim);
    font-size: 0.825rem;
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
}

/* ---------- 16.1 INSTALL GUIDE ---------- */
.install-guide {
    padding: 0 0 100px;
}
.install-guide--page {
    padding-top: calc(var(--header-h) + 72px);
}
.install-guide__download {
    display: flex;
    justify-content: center;
    margin: -18px 0 44px;
}
.install-steps {
    display: grid;
    gap: 24px;
}
.install-step {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    gap: 28px;
    align-items: center;
    padding: 24px;
    background: var(--bg-surface);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    box-shadow: var(--sh-card);
}
.install-step__media {
    min-width: 0;
}
.install-step__body {
    min-width: 0;
}
.install-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 32px;
    margin-bottom: 18px;
    border: 1px solid rgba(0, 255, 255, .28);
    border-radius: 999px;
    color: var(--c-cyan);
    font: 700 .86rem/1 'JetBrains Mono', 'SF Mono', monospace;
    background: rgba(0, 255, 255, .06);
}
.install-step h2,
.install-step h3 {
    margin: 0 0 10px;
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
}
.install-step p {
    margin: 0;
    color: var(--t-muted);
    line-height: 1.7;
}
.install-step p strong {
    color: var(--t-primary);
}
.install-shot {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    border: 1px solid rgba(205, 220, 235, .22);
    border-radius: 8px;
    background: #f7f9fb;
    color: #101317;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.65);
}
.install-shot--admin {
    min-height: 260px;
    background:
        linear-gradient(90deg, rgba(230,233,236,.85) 0 38%, transparent 38%),
        #fff;
}
.file-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 18px;
    padding: 5px 12px;
    background: #e5e5e5;
    font: 13px/1.25 'Segoe UI', Arial, sans-serif;
}
.file-row mark {
    display: block;
    padding: 0 3px;
    background: #fff563;
}
.file-row small {
    display: block;
    color: #111;
}
.file-icon {
    color: #02c4e7;
    font-size: 22px;
    transform: rotate(20deg);
}
.context-menu {
    position: absolute;
    top: 8px;
    right: 8px;
    width: min(48%, 360px);
    padding: 84px 6px 8px;
    background: rgba(252, 252, 252, .98);
    border: 1px solid #dce4ee;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
    font: 14px/1.25 'Segoe UI', Arial, sans-serif;
}
.context-menu::before {
    content: 'Cut     Copy     Paste     Rename     Share     Delete';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px 14px;
    border-bottom: 1px solid #e7edf4;
    color: #20242a;
    font-size: 12px;
    white-space: nowrap;
}
.context-menu span,
.context-menu strong {
    display: block;
    padding: 8px 14px;
    border-radius: 5px;
    font-weight: 400;
}
.context-menu strong {
    background: #eef1f4;
}
.setup-window {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    padding: 32px 22px 12px;
    background: #f5f5f5;
    border: 1px solid #aeb6c2;
    font: 12px/1.25 'Segoe UI', Arial, sans-serif;
}
.setup-title {
    position: absolute;
    top: 7px;
    left: 12px;
    font-size: 12px;
}
.setup-title::after {
    content: '';
    position: absolute;
    top: 28px;
    left: -12px;
    width: calc(100% + 520px);
    height: 1px;
    background: #c7c7c7;
}
.setup-window h4 {
    margin: 0 0 6px;
    color: #000;
    font-size: 15px;
}
.setup-window p {
    margin: 0;
    color: #000;
}
.setup-field {
    align-self: end;
    margin-bottom: 40px;
    padding: 6px;
    width: 70%;
    background: #fff;
    border: 1px solid #d6d6d6;
    color: #fff;
    box-shadow: inset 0 0 0 999px #0875d1;
}
.setup-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}
.setup-actions button {
    min-width: 74px;
    height: 26px;
    border: 1px solid #0a74d5;
    border-radius: 5px;
    background: #fff;
    color: #000;
    font: inherit;
}
.setup-window--finish {
    grid-template-columns: 34% 1fr;
    grid-template-rows: 1fr auto;
    gap: 0 16px;
    padding: 0;
    background: #fff;
}
.setup-window--finish .setup-art {
    grid-row: 1 / 3;
    background:
        linear-gradient(180deg, transparent 0 54%, #fff 54% 57%, transparent 57%),
        linear-gradient(135deg, transparent 42%, #fff 42% 50%, transparent 50%),
        #0a84df;
}
.setup-copy {
    padding: 44px 14px 0 0;
}
.setup-copy label {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-top: 28px;
    color: #000;
}
.setup-window--finish .setup-actions {
    grid-column: 2;
    padding: 12px;
    border-top: 1px solid #c7c7c7;
}

/* ---------- 17. FAQ ---------- */
.faq {
    padding: 100px 0;
}
.faq__list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    transition: all .3s var(--ease);
    overflow: hidden;
}
.faq-item[open] {
    border-color: rgba(0, 255, 255, 0.3);
    background:
        linear-gradient(135deg, rgba(0, 255, 255, 0.03), transparent 40%),
        var(--bg-surface);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 28px;
    color: var(--t-primary);
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-family: var(--f-display);
    font-size: 1.4rem;
    color: var(--c-cyan);
    flex-shrink: 0;
    transition: transform .3s var(--ease);
    line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--c-cyan); }

.faq-item__body {
    padding: 0 28px 24px;
}
.faq-item__body p {
    color: var(--t-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}
.faq-item__body strong { color: var(--c-cyan); font-weight: 600; }

/* ---------- 18. FOOTER ---------- */
.site-footer {
    background: var(--bg-base-2);
    border-top: 1px solid var(--c-border-soft);
    padding: 80px 0 32px;
    margin-top: 40px;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 70%; max-width: 700px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,255,255,.5), transparent);
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.footer__brand img {
    height: 88px;
    width: auto;
    margin-bottom: 20px;
}
.footer__brand p {
    color: var(--t-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer__col h4 {
    font-family: var(--f-display);
    font-size: 0.875rem;
    color: var(--t-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--t-muted);
    font-size: 0.92rem;
    transition: color .2s var(--ease);
}
.footer__col a:hover { color: var(--c-cyan); }
.footer__col svg { flex-shrink: 0; }

.footer__bottom {
    padding-top: 32px;
    border-top: 1px solid var(--c-border-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer__bottom p {
    color: var(--t-dim);
    font-size: 0.875rem;
}
.footer__legal {
    display: flex;
    gap: 24px;
}
.footer__legal a {
    color: var(--t-dim);
    font-size: 0.875rem;
    transition: color .2s var(--ease);
}
.footer__legal a:hover { color: var(--c-cyan); }

/* ---------- 19. RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; gap: 60px; }
    .hero__visual { min-height: auto; max-width: 600px; margin: 0 auto; width: 100%; }
    .what__grid { grid-template-columns: 1fr; gap: 48px; }
    .feature-showcase { gap: 72px; }
    .feature-showcase__item,
    .feature-showcase__item:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .feature-showcase__copy,
    .feature-showcase__item:nth-child(even) .feature-showcase__copy {
        order: 1;
        max-width: 680px;
        margin-left: 0;
    }
    .feature-showcase__visual,
    .feature-showcase__item:nth-child(even) .feature-showcase__visual {
        order: 2;
    }
    .feature-mockup,
    .feature-showcase__item:nth-child(even) .feature-mockup {
        transform: none;
    }
    .usecases__grid { grid-template-columns: repeat(2, 1fr); }
    .why__grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials__grid { grid-template-columns: 1fr; }
    .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

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

    /* Header */
    .header__nav,
    .header__actions .btn { display: none; }
    .header__menu-toggle { display: flex; }
    .header__inner.is-open + .mobile-menu-overlay { display: block; }

    /* Hero */
    .hero { padding: 48px 0 80px; }
    .hero__visual { min-height: auto; }
    .hero__cta { flex-direction: column; align-items: stretch; }
    .hero__cta .btn { width: 100%; }
    .hero__points { gap: 14px; }

    /* App mockup tweaks for mobile */
    .app-mockup { transform: none; }
    .app-mockup__body { grid-template-columns: 64px 1fr; min-height: 360px; }
    .app-sidebar { padding: 10px 6px; }
    .app-nav-item span { display: none; }
    .app-sidebar__brand { justify-content: center; padding: 6px 0 12px; }
    .app-sidebar__logo { width: 42px; max-height: 18px; }
    .app-nav-item { justify-content: center; padding: 9px 6px; }
    .app-table__head,
    .app-table__row { grid-template-columns: 1.4fr 0.9fr 0.7fr; gap: 6px; padding: 9px 10px; font-size: 10.5px; }
    .app-table__head span:nth-child(2),
    .app-table__row > div:nth-child(2),
    .app-table__head span:nth-child(5),
    .app-table__row > div:nth-child(5) { display: none; }
    .float-badge--1 { left: 8px; top: -10px; font-size: 10px; padding: 6px 10px; }
    .float-badge--2 { right: 8px; bottom: 12px; font-size: 10px; padding: 6px 10px; }

    /* Sections */
    .what, .features, .usecases, .why, .testimonials, .pricing, .faq { padding: 64px 0; }
    .section-head { margin-bottom: 40px; }

    .what__stats { grid-template-columns: 1fr 1fr; }
    .stat-value { font-size: 2rem; }

    .feature-showcase { gap: 58px; }
    .feature-showcase__copy h3 { font-size: 1.65rem; }
    .feature-mockup { min-height: 340px; border-radius: 12px; }
    .mock-window__body--split,
    .mock-app-shell,
    .feature-mockup--workflow {
        grid-template-columns: 1fr;
    }
    .summary-panel,
    .mock-app-shell aside,
    .workflow-sidebar {
        display: none;
    }
    .hardware-panel {
        padding-right: 0;
        border-right: 0;
    }
    .mock-tabs { margin-right: -16px; }
    .mock-form-grid { grid-template-columns: repeat(2, 1fr); }
    .mock-metrics { grid-template-columns: 1fr; }
    .sync-browser-grid { min-height: 360px; }
    .sync-fb-copy { font-size: 12px; bottom: 32px; }
    .sync-story-stack {
        left: 30%;
        transform: scale(.86);
        transform-origin: top left;
    }
    .sync-login-form {
        right: 10px;
        width: 98px;
    }
    .proxy-table div {
        grid-template-columns: minmax(130px, 1fr) 64px 48px;
    }
    .proxy-table small { display: none; }
    .store-shell { min-height: 306px; padding: 14px; }
    .store-nav {
        grid-template-columns: 1fr auto;
        gap: 12px;
        margin-bottom: 20px;
    }
    .store-nav b { display: none; }
    .store-hero { padding: 24px 14px; }
    .store-hero h4 { font-size: 18px; }
    .store-icons { gap: 12px; }
    .store-cats { grid-template-columns: repeat(2, 1fr); }
    .workflow-canvas { min-height: 340px; }
    .workflow-toolbar { left: 18px; transform: none; }

    .usecases__grid { grid-template-columns: 1fr; }
    .why__grid { grid-template-columns: 1fr; }

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

    .download__card { padding: 56px 24px; }
    .download__buttons { flex-direction: column; align-items: stretch; }
    .dl-btn { justify-content: flex-start; }
    .install-guide { padding-bottom: 64px; }
    .install-guide__download { margin-top: -18px; }
    .install-step {
        grid-template-columns: 1fr;
        padding: 18px;
        gap: 20px;
    }
    .install-shot { min-height: 220px; }
    .install-shot--admin { min-height: 270px; }
    .context-menu {
        top: 54px;
        width: 74%;
    }
    .context-menu::before {
        content: 'Open     Share     Delete';
    }
    .setup-field { width: 86%; }

    .footer__top { grid-template-columns: 1fr; gap: 32px; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }

    .price-card { padding: 28px 24px; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 2.25rem; }
    .what__stats { grid-template-columns: 1fr; }
    .price-card__amount { font-size: 2.4rem; }
    .install-step { padding: 14px; }
    .install-shot { min-height: 200px; }
    .install-shot--admin { min-height: 260px; }
    .file-row {
        margin: 12px;
        max-width: calc(100% - 24px);
        font-size: 11px;
    }
    .context-menu {
        right: 6px;
        width: 82%;
        top: 44px;
        padding-top: 46px;
        font-size: 12px;
    }
    .context-menu::before {
        padding: 10px;
        font-size: 10px;
    }
    .context-menu span,
    .context-menu strong {
        padding: 6px 10px;
    }
    .setup-window {
        padding: 30px 14px 10px;
        font-size: 10px;
    }
    .setup-window h4 { font-size: 13px; }
    .setup-field {
        width: 100%;
        margin-bottom: 28px;
    }
    .setup-actions { gap: 8px; }
    .setup-actions button {
        min-width: 62px;
        height: 24px;
    }
    .setup-window--finish {
        grid-template-columns: 30% 1fr;
    }
    .setup-copy { padding-top: 34px; }
    .feature-showcase__copy li { padding-left: 22px; }
    .mock-window__body { padding: 12px; }
    .mock-tabs { margin: -12px -12px 12px; }
    .mock-tabs span { font-size: 9px; padding: 11px 4px; }
    .mock-form-grid { gap: 6px; }
    .mock-form-grid label,
    .mock-select,
    .mock-metrics span {
        padding: 8px;
        font-size: 9px;
    }
    .sync-browser-grid {
        gap: 4px;
        min-height: 330px;
    }
    .sync-fb-logo {
        top: 18px;
        left: 8px;
        width: 12px;
        height: 12px;
        font-size: 11px;
    }
    .sync-fb-copy {
        left: 8px;
        bottom: 26px;
        font-size: 10px;
    }
    .sync-story-stack {
        left: 28%;
        top: 30px;
        transform: scale(.68);
    }
    .sync-login-form {
        top: 44px;
        right: 8px;
        width: 78px;
        gap: 4px;
    }
    .sync-login-form i { font-size: 5px; }
    .sync-login-form span,
    .sync-login-form em { height: 9px; }
    .sync-login-form button {
        height: 11px;
        font-size: 4px;
    }
    .mock-app-shell main { padding: 12px; }
    .mock-page-title { font-size: 22px; }
    .proxy-actions button { padding: 7px 10px; }
    .proxy-filters span { padding: 7px 9px; }
    .proxy-table div {
        grid-template-columns: minmax(120px, 1fr) 54px;
        gap: 8px;
        padding: 10px;
    }
    .proxy-table em { display: none; }
    .store-nav { grid-template-columns: 1fr; }
    .store-nav button { justify-self: start; }
    .store-icons span { width: 36px; height: 36px; font-size: 12px; }
    .store-cats,
    .store-cards { grid-template-columns: 1fr; }
    .store-cards span:nth-child(n+2) { display: none; }
    .workflow-lines--desktop { display: none; }
    .workflow-lines--mobile { display: block; }
    .node {
        min-width: 78px;
        min-height: 38px;
        padding: 8px 9px;
        gap: 6px;
        font-size: 10px;
    }
    .node::before {
        width: 18px;
        height: 18px;
    }
    .node--start { top: 96px; left: 24px; }
    .node--tab { top: 104px; left: 138px; }
    .node--url { top: 148px; left: 78px; }
    .node--click { top: 152px; left: 248px; }
    .node--key { top: 226px; left: 238px; }
    .node--excel { top: 230px; left: 24px; }
    .node--code { top: 280px; left: 122px; }
    .node--stop { top: 280px; left: 248px; }
}

/* ---------- 20. BLOG ---------- */
.blog-hero,
.blog-index-hero {
    padding: 72px 0 48px;
}
.blog-hero__inner,
.blog-index-hero .container {
    max-width: 920px;
}
.blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 0.9rem;
    color: var(--t-dim);
}
.blog-breadcrumb a { color: var(--t-muted); }
.blog-breadcrumb a:hover { color: var(--c-cyan); }
.blog-hero h1,
.blog-index-hero h1 {
    max-width: 980px;
    margin: 14px 0 20px;
    font-size: clamp(2.15rem, 5vw, 4rem);
    letter-spacing: 0;
}
.blog-hero p,
.blog-index-hero p {
    max-width: 760px;
    font-size: 1.12rem;
    color: var(--t-muted);
}
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    color: var(--t-dim);
    font-size: 0.9rem;
}
.blog-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-pill);
    background: rgba(255,255,255,0.03);
}
.blog-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    padding-bottom: 100px;
}
.blog-toc {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    padding: 20px;
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    background: rgba(37, 30, 92, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.blog-toc strong {
    display: block;
    margin-bottom: 14px;
    font-family: var(--f-display);
    color: var(--t-primary);
    font-size: 0.9rem;
}
.blog-toc ol {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: calc(100vh - var(--header-h) - 120px);
    overflow: auto;
    padding-right: 6px;
    scrollbar-color: rgba(0, 255, 255, 0.5) rgba(255,255,255,0.06);
    scrollbar-width: thin;
}
.blog-toc ol::-webkit-scrollbar {
    width: 8px;
}
.blog-toc ol::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border: 0;
    border-radius: var(--r-pill);
}
.blog-toc ol::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(0,255,255,0.75), rgba(0,163,255,0.68));
    border: 2px solid rgba(37, 30, 92, 0.92);
    border-radius: var(--r-pill);
}
.blog-toc a {
    display: block;
    color: var(--t-muted);
    font-size: 0.88rem;
    line-height: 1.4;
}
.blog-toc a:hover { color: var(--c-cyan); }
.blog-toc .toc-level-3 { padding-left: 14px; }
.blog-toc .toc-level-3 a {
    color: var(--t-dim);
    font-size: 0.82rem;
}
.blog-content {
    max-width: 880px;
    min-width: 0;
}
.blog-content > * + * { margin-top: 22px; }
.blog-content h2,
.blog-content h3 {
    scroll-margin-top: calc(var(--header-h) + 24px);
    letter-spacing: 0;
}
.blog-content h2 {
    margin-top: 56px;
    font-size: clamp(1.75rem, 3.5vw, 2.45rem);
}
.blog-content h3 {
    margin-top: 38px;
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
}
.blog-content p,
.blog-content li {
    color: var(--t-muted);
    font-size: 1.02rem;
    line-height: 1.82;
}
.blog-content a {
    color: var(--c-cyan);
    text-decoration: underline;
    text-decoration-color: rgba(0,255,255,0.35);
    text-underline-offset: 3px;
}
.blog-content ul {
    display: grid;
    gap: 10px;
    padding-left: 22px;
    list-style: disc;
}
.blog-content strong { color: var(--t-primary); }
.blog-summary {
    padding: 22px 24px;
    border: 1px solid rgba(0,255,255,0.2);
    border-radius: var(--r-md);
    background: rgba(0,255,255,0.06);
}
.blog-summary p {
    color: var(--t-primary);
    font-size: 1.04rem;
}
.blog-content hr {
    height: 1px;
    border: 0;
    background: var(--c-border-soft);
    margin: 34px 0;
}
.blog-figure {
    margin: 34px 0;
}
.blog-figure img,
.blog-card__image img {
    width: 100%;
    height: auto;
    border-radius: var(--r-md);
    border: 1px solid var(--c-border-soft);
    box-shadow: var(--sh-card);
}
.blog-figure figcaption {
    margin-top: 10px;
    color: var(--t-dim);
    font-size: 0.9rem;
    text-align: center;
}
.blog-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    background: rgba(255,255,255,0.03);
}
.blog-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}
.blog-table th,
.blog-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: left;
    vertical-align: top;
    color: var(--t-muted);
    font-size: 0.94rem;
}
.blog-table th {
    color: var(--t-primary);
    background: rgba(0,255,255,0.06);
}
.blog-table tr:last-child td { border-bottom: 0; }
.blog-note {
    color: var(--t-dim);
    font-size: 0.95rem;
}
.blog-index-list {
    padding: 24px 0 100px;
}
.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    align-items: stretch;
}
.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-md);
    background: var(--bg-surface);
}
.blog-card__image img {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    aspect-ratio: 16 / 8.3;
    object-fit: cover;
}
.blog-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px;
}
.blog-card__body > span {
    display: block;
    margin-bottom: 12px;
    font-family: var(--f-display);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-cyan);
}
.blog-card h2 {
    font-size: clamp(1.35rem, 3vw, 2rem);
    margin-bottom: 12px;
}
.blog-card p {
    color: var(--t-muted);
}
.blog-card .blog-meta {
    margin-top: auto;
    padding-top: 22px;
}
.blog-pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}
.blog-pagination__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid var(--c-border-soft);
    border-radius: var(--r-sm);
    color: var(--t-muted);
    background: rgba(255,255,255,0.03);
    font-weight: 600;
    transition: all .2s var(--ease);
}
.blog-pagination__item[href]:hover {
    color: var(--t-primary);
    border-color: rgba(0,255,255,0.35);
    background: rgba(0,255,255,0.08);
}
.blog-pagination__item.is-active {
    color: var(--t-primary);
    background: var(--grad-primary);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(0, 163, 255, 0.3);
}
.blog-pagination__item.is-disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .blog-toc {
        position: static;
    }
    .blog-toc ol {
        max-height: none;
    }
}

@media (max-width: 768px) {
    .blog-hero,
    .blog-index-hero {
        padding: 46px 0 34px;
    }
    .blog-layout {
        padding-bottom: 72px;
    }
    .blog-content p,
    .blog-content li {
        font-size: 1rem;
    }
    .blog-summary,
    .blog-card__body {
        padding: 20px;
    }
}

/* ---------- 21. SCROLL REVEAL ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- 22. MOTION REDUCTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
