/* ═══════════════════════════════════════════════════════════════════════════
   Nodlyn Landing — landing.css
   Pure CSS, no frameworks. Inter font, dark theme, modern gradients.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:         #0a0a0f;
    --bg-card:    #12121a;
    --bg-hover:   #1a1a2e;
    --bg-input:   #0e0e18;
    --border:     #1e1e30;
    --border-focus: #6366f1;
    --text:       #e2e2f0;
    --text-muted: #8888a8;
    --primary:    #6366f1;
    --primary-hover: #818cf8;
    --accent:     #06b6d4;
    --emerald:    #10b981;
    --amber:      #f59e0b;
    --red:        #ef4444;
    --radius:     12px;
    --radius-lg:  20px;
    --max-w:      1200px;
    --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── Gradient Text ─────────────────────────────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--emerald) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Badge ─────────────────────────────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    background: rgba(99,102,241,0.12);
    color: var(--primary-hover);
    border: 1px solid rgba(99,102,241,0.2);
    margin-bottom: 20px;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    gap: 8px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #4f46e5);
    color: #fff;
    box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}
.btn-primary:hover {
    box-shadow: 0 6px 30px rgba(99,102,241,0.5);
    transform: translateY(-1px);
}
.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary-hover);
    background: rgba(99,102,241,0.06);
}
.btn-lg { padding: 14px 32px; font-size: 1.05rem; border-radius: 12px; }
.btn-xl { padding: 18px 40px; font-size: 1.15rem; border-radius: 14px; }
.btn-block { width: 100%; }

/* ── Section Headers ───────────────────────────────────────────────────── */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}
.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════════════════════ */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 14px 0;
    background: rgba(10,10,15,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30,30,48,0.6);
}
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 40px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-svg { flex-shrink: 0; }
.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.nav-links {
    display: flex;
    gap: 28px;
    flex: 1;
}
.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
    white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); position: relative; }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}
.nav-actions { display: flex; gap: 12px; flex-shrink: 0; }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--text); cursor: pointer; }

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    padding: 160px 0 80px;
    text-align: center;
    overflow: hidden;
}
.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.15) 0%, rgba(6,182,212,0.08) 40%, transparent 70%);
    pointer-events: none;
}
.hero-glow-2 {
    position: absolute;
    top: 200px;
    right: 0;
    width: 500px;
    max-width: 100%;
    height: 500px;
    background: radial-gradient(ellipse, rgba(16,185,129,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.hero h1 {
    font-size: 4.2rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}
.hero-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.75;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }

/* ── Hero Stats ────────────────────────────────────────────────────────── */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 64px;
    padding: 24px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    padding: 4px 8px;
}
.hero-stat-num {
    font-family: 'Space Grotesk', var(--font);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
}
.hero-stat-sep {
    width: 1px;
    height: 36px;
    background: var(--border);
    flex-shrink: 0;
}

/* ── Mock Canvas (hero) ────────────────────────────────────────────────── */
.hero-visual { display: flex; justify-content: center; }
.mock-canvas {
    position: relative;
    padding: 48px 56px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 80px rgba(0,0,0,0.5);
    overflow: hidden;
}
.canvas-label {
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.canvas-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}
.mock-flow {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 2;
}
.mock-node {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    white-space: nowrap;
    position: relative;
}
.node-icon { font-size: 1.3rem; }
.node-body { display: flex; flex-direction: column; gap: 2px; }
.node-type { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.node-name { font-size: 0.85rem; font-weight: 600; }
.node-status {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.pulse-green { background: var(--emerald); animation: pulse-glow 2s infinite; }
.pulse-blue  { background: var(--accent);  animation: pulse-glow 2s infinite 0.5s; }
.trigger-node { border-color: rgba(99,102,241,0.3); }
.ai-node { border-color: rgba(6,182,212,0.3); }
.action-node { border-color: rgba(16,185,129,0.3); }
.switch-node { border-color: rgba(245,158,11,0.3); }
.mock-connector { padding: 0 4px; }
.mock-branch {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mock-branch .action-node.alt { border-color: rgba(245,158,11,0.3); }

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 4px currentColor; opacity: 1; }
    50% { box-shadow: 0 0 12px currentColor; opacity: 0.6; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   WHY NODLYN
   ═══════════════════════════════════════════════════════════════════════════ */
.why-nodlyn {
    padding: 120px 0;
    border-top: 1px solid var(--border);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.why-card {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.3s, transform 0.3s;
    text-align: center;
}
.why-card:hover {
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-4px);
}
.why-icon { font-size: 2.2rem; margin-bottom: 20px; }
.why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.why-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURES — HIGHLIGHT GRID + DEEP DIVES
   ═══════════════════════════════════════════════════════════════════════════ */
.features { padding: 120px 0; }

/* Scannable feature grid */
.feature-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.fh-card {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
    text-align: center;
}
.fh-card:hover {
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(99,102,241,0.08);
}
.fh-icon { font-size: 1.8rem; margin-bottom: 16px; }
.fh-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    overflow-wrap: break-word;
}
.fh-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    overflow-wrap: break-word;
}

/* Deep dives section */
.deep-dives { padding: 120px 0; border-top: 1px solid var(--border); }

.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}
.feature-showcase:last-child { margin-bottom: 0; }
.feature-showcase.reverse { direction: rtl; }
.feature-showcase.reverse > * { direction: ltr; }
.feature-showcase-text h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.feature-showcase-text > p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 24px;
}
.feature-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.feature-bullets li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 20px;
    position: relative;
}
.feature-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

/* ── Showcase Boxes ────────────────────────────────────────────────────── */
.showcase-box {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

/* Mini flow */
.mini-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.mini-node {
    padding: 10px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}
.mn-trigger { border-color: rgba(99,102,241,0.3); }
.mn-condition { border-color: rgba(245,158,11,0.3); }
.mn-action { border-color: rgba(16,185,129,0.3); }
.mini-arrow { color: var(--text-muted); font-size: 1.2rem; }
.mini-branch-wrap { display: flex; flex-direction: column; gap: 8px; }

/* Device grid */
.device-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.device-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: border-color 0.2s;
}
.device-chip:hover { border-color: rgba(6,182,212,0.4); }

/* AI demo */
.ai-demo { text-align: center; }
.ai-prompt-box, .ai-result-box {
    padding: 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-align: left;
}
.ai-prompt-box { border-color: rgba(99,102,241,0.3); }
.ai-result-box { border-color: rgba(16,185,129,0.3); }
.ai-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.ai-text { font-size: 0.88rem; color: var(--text); line-height: 1.5; font-style: italic; }
.ai-arrow { color: var(--text-muted); font-size: 1.5rem; padding: 8px 0; }
.ai-result { font-size: 0.9rem; }
.ai-tag {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(16,185,129,0.15);
    color: var(--emerald);
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.82rem;
    margin-right: 8px;
}

/* Connector grid */
.connector-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.conn-chip {
    padding: 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-muted);
    transition: all 0.2s;
}
.conn-chip:hover {
    color: var(--text);
    border-color: var(--primary);
}

/* Monitor demo */
.monitor-demo { padding: 24px; }
.monitor-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(30,30,48,0.5);
}
.monitor-row:last-child { border-bottom: none; }
.m-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.m-dot.green { background: var(--emerald); }
.m-dot.amber { background: var(--amber); }
.m-dot.red   { background: var(--red); }
.m-status {
    margin-left: auto;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
}
.m-status.ok   { background: rgba(16,185,129,0.12); color: var(--emerald); }
.m-status.warn { background: rgba(245,158,11,0.12); color: var(--amber); }
.m-status.err  { background: rgba(239,68,68,0.12);  color: var(--red); }

/* Mini undo bar */
.mini-undo-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 10px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.78rem;
}
.undo-btn {
    padding: 4px 12px;
    background: rgba(99,102,241,0.12);
    color: var(--primary-hover);
    border-radius: 6px;
    font-weight: 600;
    cursor: default;
}
.undo-label {
    color: var(--text-muted);
    margin-left: auto;
    font-style: italic;
}

/* User management demo */
.user-demo { padding: 24px; }
.user-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(30,30,48,0.5);
}
.user-row:last-child { border-bottom: none; }
.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(99,102,241,0.2);
    color: var(--primary-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}
.user-avatar.bg-cyan { background: rgba(6,182,212,0.2); color: var(--accent); }
.user-avatar.bg-emerald { background: rgba(16,185,129,0.2); color: var(--emerald); }
.user-name { font-weight: 600; flex: 1; }
.user-role {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.role-admin    { background: rgba(99,102,241,0.12); color: var(--primary-hover); }
.role-operator { background: rgba(6,182,212,0.12); color: var(--accent); }
.role-viewer   { background: rgba(16,185,129,0.12); color: var(--emerald); }

/* Export runtime demo */
.export-demo { text-align: center; }
.export-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.export-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
}
.export-icon { font-size: 1.6rem; }
.export-arrow { color: var(--text-muted); font-size: 1.3rem; }
.export-targets {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.export-tag {
    padding: 6px 14px;
    background: rgba(6,182,212,0.1);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
}

/* Plugin / custom component demo */
.plugin-demo { padding: 24px; }
.plugin-code {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.code-label {
    padding: 8px 16px;
    background: rgba(99,102,241,0.08);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border);
}
.plugin-code pre {
    padding: 20px;
    margin: 0;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.82rem;
    line-height: 1.7;
    overflow-x: auto;
}
.plugin-code code { color: var(--text); }
.plugin-code .kw { color: #c084fc; }
.plugin-code .cls { color: var(--accent); }
.plugin-code .fn { color: #fbbf24; }
.plugin-code .cm { color: var(--text-muted); font-style: italic; }

/* ═══════════════════════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════════════════════ */
.how-it-works {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(18,18,26,1) 50%, var(--bg) 100%);
}
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.step {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.3s, transform 0.3s;
}
.step:hover {
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-4px);
}
.step-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary);
}
.step-num {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 16px;
}
.step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.step p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   USE CASES
   ═══════════════════════════════════════════════════════════════════════════ */
.use-cases { padding: 120px 0; }
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.use-case-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
    text-align: center;
}
.use-case-card:hover {
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(99,102,241,0.08);
}
.uc-icon { font-size: 2.2rem; margin-bottom: 20px; }
.use-case-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.use-case-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DOWNLOAD
   ═══════════════════════════════════════════════════════════════════════════ */
.download-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(18,18,26,1) 100%);
}
.download-card {
    position: relative;
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
}
.download-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.download-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.download-btn svg { flex-shrink: 0; }
.download-meta {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.coming-soon {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 0.85rem;
}
.cs-label { color: var(--text-muted); }
.cs-item { color: var(--text-muted); opacity: 0.7; }

/* ═══════════════════════════════════════════════════════════════════════════
   BETA & SUPPORT
   ═══════════════════════════════════════════════════════════════════════════ */
.beta-support {
    padding: 120px 0;
    border-top: 1px solid var(--border);
}
.beta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.beta-card {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.3s, transform 0.3s;
}
.beta-card:hover {
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-4px);
}
.beta-icon {
    margin-bottom: 20px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99,102,241,0.08);
    border-radius: 14px;
}
.beta-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.beta-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════════════════ */
.contact-section { padding: 120px 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-info h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.contact-info > p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 32px;
}
.contact-details { display: flex; flex-direction: column; gap: 12px; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Contact channels */
.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}
.contact-channel {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.2s;
}
.contact-channel:hover { border-color: rgba(99,102,241,0.3); }
.channel-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-channel div { display: flex; flex-direction: column; gap: 2px; }
.contact-channel strong { font-size: 0.88rem; font-weight: 700; }
.contact-channel span { font-size: 0.82rem; color: var(--text-muted); }

/* ── Form ──────────────────────────────────────────────────────────────── */
.contact-form-wrap {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}
.form-group input,
.form-group textarea {
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.92rem;
    transition: border-color 0.2s;
    outline: none;
    resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(136,136,168,0.5);
}
.form-result {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    text-align: center;
}
.form-result.success {
    background: rgba(16,185,129,0.1);
    color: var(--emerald);
    border: 1px solid rgba(16,185,129,0.2);
}
.form-result.error {
    background: rgba(239,68,68,0.1);
    color: var(--red);
    border: 1px solid rgba(239,68,68,0.2);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.site-footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; }
.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 4px 0;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }
.footer-social { display: flex; gap: 16px; align-items: center; }
.footer-social a { color: var(--text-muted); transition: color 0.2s; }
.footer-social a:hover { color: var(--text); }

/* ═══════════════════════════════════════════════════════════════════════════
   BLOG
   ═══════════════════════════════════════════════════════════════════════════ */
.blog-preview-section { padding: 120px 0; }
.blog-hero { padding: 140px 0 40px; }
.blog-list-section { padding: 40px 0 120px; }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.blog-card {
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}
.blog-card:hover {
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(99,102,241,0.08);
}
.blog-card-icon { font-size: 2rem; margin-bottom: 16px; }
.blog-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.blog-card-header .blog-card-icon { font-size: 1.6rem; margin-bottom: 0; }
.blog-card-header .blog-card-category { margin-bottom: 0; }
.blog-card-category {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 10px;
}
.blog-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}
.blog-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    flex: 1;
}
.blog-card-meta {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ── Article page ─────────────────────────────────────────────────────── */
.blog-article-page { padding: 120px 0 80px; }
.blog-article-container { max-width: 780px; margin: 0 auto; }
.blog-breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}
.blog-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.blog-breadcrumb a:hover { color: var(--accent); }
.blog-article-header { margin-bottom: 48px; }
.blog-article-header h1 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 12px 0 20px;
}
.blog-article-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.88rem;
    color: var(--text-muted);
}
.blog-article-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text);
}
.blog-article-body h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 40px 0 16px;
}
.blog-article-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 28px 0 12px;
}
.blog-article-body p { margin-bottom: 18px; }
.blog-article-body ul,
.blog-article-body ol {
    padding-left: 24px;
    margin-bottom: 18px;
}
.blog-article-body li { margin-bottom: 8px; }
.blog-article-body code {
    background: rgba(99,102,241,0.12);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}
.blog-article-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.blog-article-body a:hover { color: var(--primary); }

.blog-related {
    margin-top: 80px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}
.blog-related h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 28px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
    .hero h1 { font-size: 3rem; }
    .section-header h2 { font-size: 2.2rem; }
    .why-grid,
    .beta-grid,
    .contact-grid,
    .feature-showcase,
    .feature-showcase.reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
    .feature-highlight-grid { grid-template-columns: 1fr 1fr; }
    .steps,
    .use-case-grid { grid-template-columns: 1fr 1fr; }
    .blog-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .device-grid { grid-template-columns: repeat(2, 1fr); }
    .connector-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); padding: 16px 24px; border-bottom: 1px solid var(--border); gap: 12px; }
    .nav-links.open { display: flex; }
    .nav-actions .btn { font-size: 0.82rem; padding: 8px 16px; }
    .mobile-menu-btn { display: block; }

    .hero { padding: 130px 0 60px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-sub { font-size: 1rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .mock-canvas { display: none; }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px 12px;
        padding: 20px 16px;
    }
    .hero-stat-sep { display: none; }
    .hero-stat { min-width: 0; }
    .hero-stat-num { font-size: 1.6rem; }
    .hero-stat-label { font-size: 0.65rem; line-height: 1.3; }

    /* Sections — reduce vertical padding on mobile */
    .why-nodlyn,
    .features,
    .deep-dives,
    .how-it-works,
    .use-cases,
    .download-section,
    .beta-support,
    .contact-section,
    .blog-preview-section { padding: 60px 0; }

    .section-header { margin-bottom: 36px; }
    .section-header h2 { font-size: 1.8rem; }

    .why-grid { grid-template-columns: 1fr; }
    .why-card { padding: 28px 20px; }
    .why-card .why-icon { font-size: 1.8rem; margin-bottom: 14px; }
    .why-card h3 { font-size: 1rem; }
    .why-card p { margin-top: 8px; }

    .beta-grid { grid-template-columns: 1fr; }
    .beta-card { padding: 28px 20px; text-align: center; }
    .beta-card .beta-icon { margin-left: auto; margin-right: auto; }

    .feature-highlight-grid { grid-template-columns: 1fr; }
    .fh-card { padding: 24px 16px; }
    .fh-card .fh-icon { font-size: 1.5rem; margin-bottom: 10px; }
    .fh-card h3 { font-size: 0.95rem; line-height: 1.45; margin-bottom: 8px; }
    .fh-card p { margin-top: 6px; font-size: 0.84rem; line-height: 1.65; }

    .feature-showcase-text h3 { font-size: 1.2rem; line-height: 1.4; }
    .feature-showcase-text > p { font-size: 0.9rem; line-height: 1.65; }
    .feature-bullets li { font-size: 0.84rem; line-height: 1.6; }
    .showcase-box { padding: 24px 16px; }

    .connector-grid { grid-template-columns: repeat(2, 1fr); }
    .device-grid { grid-template-columns: 1fr; }

    .steps,
    .use-case-grid { grid-template-columns: 1fr; }
    .step { padding: 28px 20px; text-align: center; }
    .use-case-card { padding: 24px 20px; }
    .use-case-card .uc-icon { font-size: 1.8rem; margin-bottom: 14px; }
    .use-case-card h3 { font-size: 1rem; }
    .use-case-card p { margin-top: 8px; }

    .blog-grid { grid-template-columns: 1fr; }

    .blog-article-header h1 { font-size: 1.8rem; }

    .contact-info h2 { font-size: 1.8rem; }
    .contact-form-wrap { padding: 24px; }
    .contact-grid { gap: 40px; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 12px; }

    .download-card { padding: 48px 24px; }
    .download-buttons { flex-direction: column; align-items: center; }
    .download-btn { width: 100%; justify-content: center; }
    .download-meta { flex-direction: row; flex-wrap: wrap; justify-content: center; }

    .export-flow { flex-direction: column; }
    .export-arrow { transform: rotate(90deg); }

    .mini-flow { gap: 6px; }
    .monitor-row { flex-wrap: wrap; gap: 8px; }
    .user-row { flex-wrap: wrap; gap: 8px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CHATBOT WIDGET
   ═══════════════════════════════════════════════════════════════════════════ */
.chatbot-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(99,102,241,0.4);
    z-index: 9999;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: chatbot-pulse 3s ease-in-out infinite;
}
.chatbot-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(99,102,241,0.6);
}
.chatbot-fab svg { color: #fff; pointer-events: none; }

@keyframes chatbot-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(99,102,241,0.4); }
    50% { box-shadow: 0 4px 28px rgba(6,182,212,0.5); }
}

.chatbot-window {
    position: fixed;
    bottom: 92px;
    right: 24px;
    width: 400px;
    height: 520px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9998;
    box-shadow: 0 12px 48px rgba(0,0,0,0.5);
    animation: chatbot-slide-up 0.25s ease-out;
}
.chatbot-window.open { display: flex; }

@keyframes chatbot-slide-up {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(6,182,212,0.1));
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.chatbot-header-info { display: flex; align-items: center; gap: 10px; }
.chatbot-header-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
}
.chatbot-header-avatar svg { color: #fff; }
.chatbot-header-title { font-weight: 600; font-size: 0.95rem; color: var(--text); }
.chatbot-header-sub { font-size: 0.75rem; color: var(--text-muted); }
.chatbot-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}
.chatbot-close:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.chatbot-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.55;
    word-wrap: break-word;
}
.chatbot-msg.bot {
    align-self: flex-start;
    background: var(--bg-hover);
    color: var(--text);
    border-bottom-left-radius: 4px;
}
.chatbot-msg.user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--primary), #818cf8);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.chatbot-msg.bot strong { color: var(--accent); }

.chatbot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 20px 12px;
    flex-shrink: 0;
}
.chatbot-chip {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.25);
    color: var(--primary-hover);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.chatbot-chip:hover {
    background: rgba(99,102,241,0.2);
    border-color: var(--primary);
}

.chatbot-input-area {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    background: var(--bg);
    flex-shrink: 0;
}
.chatbot-input {
    flex: 1;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    color: var(--text);
    font-size: 0.88rem;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.2s;
}
.chatbot-input::placeholder { color: var(--text-muted); }
.chatbot-input:focus { border-color: var(--primary); }
.chatbot-send {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s;
    flex-shrink: 0;
}
.chatbot-send:hover { transform: scale(1.05); }
.chatbot-send:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.chatbot-send svg { color: #fff; pointer-events: none; }

.chatbot-typing {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 10px 14px;
    align-self: flex-start;
    background: var(--bg-hover);
    border-radius: 14px;
    border-bottom-left-radius: 4px;
}
.chatbot-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: chatbot-dot 1.2s infinite;
}
.chatbot-typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatbot-dot {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1); }
}

/* Responsive: mobile → full-width */
@media (max-width: 768px) {
    .chatbot-window {
        width: auto;
        left: 8px;
        right: 8px;
        height: calc(100dvh - 120px);
        bottom: 84px;
        border-radius: var(--radius);
    }
    .chatbot-fab {
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        right: 16px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCREENSHOT GALLERY
   ═══════════════════════════════════════════════════════════════════════════ */
.screenshot-gallery { padding: 100px 0; }

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.gallery-tab {
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
}
.gallery-tab:hover {
    border-color: var(--primary);
    color: var(--text);
}
.gallery-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    justify-items: center;
}

.gallery-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    width: 100%;
}
.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-thumb {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--bg-card);
    aspect-ratio: 16 / 10;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.gallery-thumb:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15);
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-thumb:hover img {
    transform: scale(1.03);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-thumb:hover .gallery-overlay {
    opacity: 1;
}
.gallery-zoom {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.8);
    border-radius: 8px;
}

.gallery-caption {
    padding: 12px 4px 0;
}
.gallery-caption h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.gallery-caption p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ── Lightbox ──────────────────────────────────────────────────────────── */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 101;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-close:hover { opacity: 0.7; }
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(99, 102, 241, 0.5);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* ── Gallery responsive ────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-tabs { gap: 6px; }
    .gallery-tab { padding: 6px 14px; font-size: 0.8rem; }
    .screenshot-gallery { padding: 60px 0; }
    .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.8rem; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}
