/* ============================================
   NeuralKit — Full-width cinematic, terminal aesthetic
   No sidebar, large sections, dramatic spacing
   ============================================ */

:root {
    --bg: #0a0a0a;
    --surface: #111111;
    --surface-2: #181818;
    --border: #222222;
    --border-h: #333333;
    --text: #ededed;
    --dim: #777777;
    --cyan: #22d3ee;
    --purple: #a78bfa;
    --blue: #6366f1;
    --pink: #ec4899;
    --green: #10b981;
    --orange: #f59e0b;
    --radius: 14px;
    --tr: 0.2s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- Floating Nav --- */
.nav-float {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 10px 20px;
    background: rgba(15,15,22,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 100px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 15px;
}

.logo-icon {
    width: 30px; height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.nav-center { display: flex; gap: 20px; }

.nav-center a {
    font-size: 13px;
    color: var(--dim);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--tr);
}
.nav-center a:hover { color: var(--text); }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all var(--tr);
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-sm { padding: 7px 14px; font-size: 12px; border-radius: 100px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-xl { padding: 18px 40px; font-size: 17px; }

.btn-glow {
    background: #ffffff;
    color: #0c1222;
    border: none;
    font-weight: 700;
}
.btn-glow:hover { box-shadow: 0 0 30px rgba(255,255,255,0.15); transform: translateY(-1px); }

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: #ffffff; color: #ffffff; }

.bundle-mini {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    padding: 2px 8px;
    background: rgba(34,211,238,0.1);
    border-radius: 4px;
    color: var(--cyan);
}

/* --- Hero Compact --- */
.hero-compact {
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 64px 32px;
    border-bottom: 1px solid var(--border);
}

.hc-inner { text-align: center; }

.hero-compact h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.gradient-text {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.hc-sub {
    font-size: 15px;
    color: var(--dim);
    margin-bottom: 16px;
}

.hc-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.hc-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--dim);
    font-family: 'JetBrains Mono', monospace;
}

.pulse-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 6px rgba(255,255,255,0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* --- Numbers Strip --- */
.numbers-strip {
    display: flex;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.ns-item {
    flex: 1;
    text-align: center;
    padding: 28px 16px;
    border-right: 1px solid var(--border);
}
.ns-item:last-child { border-right: none; }

.ns-val {
    display: block;
    font-size: 28px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.ns-label {
    font-size: 12px;
    color: var(--dim);
}

/* --- Section Heads --- */
.section-head {
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 64px 0;
}

.section-head h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.section-head p {
    font-size: 16px;
    color: var(--dim);
}

/* --- Collection List (rows, not cards) --- */
.collections { padding-bottom: 40px; }

.collection-list {
    max-width: 1300px;
    margin: 32px auto 0;
    padding: 0 64px;
    display: flex;
    flex-direction: column;
}

.cl-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: all var(--tr);
}
.cl-row:first-child { border-top: 1px solid var(--border); }
.cl-row:hover { background: var(--surface); border-radius: var(--radius); }

.cl-row.featured {
    background: var(--surface);
    margin: 8px -24px;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid #444444;
    box-shadow: 0 0 40px rgba(255,255,255,0.03);
}

.cl-featured-badge {
    position: absolute;
    top: -9px;
    right: 24px;
    padding: 3px 10px;
    background: #ffffff;
    color: #0a0a0a;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cl-icon {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.cl-icon.purple, .cl-icon.cyan, .cl-icon.green,
.cl-icon.pink, .cl-icon.orange, .cl-icon.blue {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
}

.cl-info { flex: 1; }
.cl-info h3 { font-size: 17px; font-weight: 600; margin-bottom: 2px; }
.cl-info p { font-size: 13px; color: var(--dim); }

.cl-stats { flex-shrink: 0; }
.cl-count { font-size: 12px; color: var(--dim); font-family: 'JetBrains Mono', monospace; }

.cl-price-col { flex-shrink: 0; width: 60px; text-align: right; }
.cl-price { font-size: 20px; font-weight: 700; }

.cl-arrow { flex-shrink: 0; color: var(--dim); transition: color var(--tr); }
.cl-row:hover .cl-arrow { color: var(--cyan); }

/* --- Assets --- */
.assets { padding-bottom: 80px; }

.assets-row {
    max-width: 1300px;
    margin: 32px auto 0;
    padding: 0 64px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.asset-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all var(--tr);
    cursor: pointer;
}
.asset-block.visible:hover { border-color: var(--border-h); transform: translateY(-2px); }

.ab-visual {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    border-radius: 10px;
    margin-bottom: 20px;
}

.wf-chain { display: flex; align-items: center; }
.wf-node { width: 28px; height: 28px; border-radius: 8px; }
.wf-wire { width: 32px; height: 2px; background: var(--border-h); }
.n-cyan { background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.3); }
.n-purple { background: rgba(255,255,255,0.06); border: 2px solid rgba(255,255,255,0.2); }
.n-green { background: rgba(255,255,255,0.03); border: 2px solid rgba(255,255,255,0.15); }

.lora-layers { display: flex; flex-direction: column; gap: 6px; width: 120px; }
.ll { height: 12px; border-radius: 4px; background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.15)); border: 1px solid var(--border); margin: 0 auto; }

.api-demo {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}
.api-method { color: var(--cyan); font-weight: 700; }
.api-path { color: var(--dim); }
.api-resp { display: flex; gap: 8px; }
.api-ok { color: var(--green); }
.api-time { color: var(--dim); }

.ab-type {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 6px;
}

.asset-block h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.asset-block p { font-size: 13px; color: var(--dim); line-height: 1.5; margin-bottom: 12px; }
.ab-price { font-size: 22px; font-weight: 700; }

/* --- Bundle Section --- */
.bundle-section {
    position: relative;
    text-align: center;
    padding: 120px 64px;
    overflow: hidden;
}

.bundle-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255,255,255,0.03), transparent 70%);
    pointer-events: none;
}

.bundle-inner { position: relative; z-index: 1; }

.bundle-eyebrow {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 20px;
}

.bundle-section h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.bundle-section p {
    font-size: 17px;
    color: var(--dim);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.bundle-price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.bundle-price {
    font-size: 56px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.bundle-original {
    font-size: 22px;
    color: var(--dim);
    text-decoration: line-through;
}

.bundle-note {
    display: block;
    margin-top: 16px;
    font-size: 13px;
    color: var(--dim);
}

/* --- Search & Filter Bar --- */
.search-filter {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 64px 32px;
}

.sf-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sf-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 16px;
    flex: 1;
    min-width: 200px;
    transition: border-color var(--tr);
}

.sf-search:focus-within {
    border-color: var(--cyan);
}

.sf-search input {
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    width: 100%;
}

.sf-search input::placeholder {
    color: var(--dim);
}

.sf-pills {
    display: flex;
    gap: 6px;
}

.sf-pill {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--dim);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--tr);
}

.sf-pill:hover {
    border-color: var(--border-h);
    color: var(--text);
}

.sf-pill.active {
    background: var(--text);
    border-color: var(--text);
    color: var(--bg);
}

/* --- Toast Animation --- */
@keyframes toastIn {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* --- Footer --- */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 24px 64px;
}

.sf-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--dim);
}

.sf-links { display: flex; gap: 16px; }
.sf-links a { color: var(--dim); text-decoration: none; }
.sf-links a:hover { color: var(--text); }

/* --- Scroll Reveal Animations --- */
.cl-row {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.cl-row.visible {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.6s ease, transform 0.2s ease, background 0.2s ease;
}

.asset-block {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.asset-block.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.2s ease, border-color 0.2s ease;
}

.bundle-inner {
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.bundle-inner.visible {
    opacity: 1;
    transform: scale(1);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-float { top: 8px; padding: 8px 14px; gap: 12px; }
    .nav-center { display: none; }
    .hero-compact { padding: 32px 24px 24px; }
    .hc-row { flex-wrap: wrap; gap: 12px; }
    .numbers-strip { flex-wrap: wrap; }
    .ns-item { flex: 1 1 50%; border-bottom: 1px solid var(--border); }
    .section-head, .collection-list, .assets-row, .bundle-section, .site-footer { padding-left: 24px; padding-right: 24px; }
    .assets-row { grid-template-columns: 1fr; }
    .cl-stats, .cl-arrow { display: none; }
}
