/* ============================================================
   lrx.st — License and Right eXchange
   Startup vibrant pitch / flat-design / bento mosaic
   ============================================================ */

:root {
    --primary: #4f46e5;       /* vibrant indigo - hero, primary accent */
    --secondary: #ffffff;     /* white - card backgrounds, text on dark */
    --tertiary: #f8f9fc;      /* cool white - alternate card background */
    --warm: #fef9c3;          /* pale yellow - highlight cards */
    --text: #1e293b;          /* dark slate - body text on light */
    --available: #22c55e;     /* green - available */
    --review: #f59e0b;        /* amber - in-review */
    --exchanged: #6366f1;     /* purple - completed exchange */
    --border: #e2e8f0;        /* light gray */
}

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

html, body {
    background: var(--secondary);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* ============================================================
   HERO  — The Exchange Board
   ============================================================ */
.hero {
    background: var(--primary);
    color: var(--secondary);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.hero::before {
    width: 320px;
    height: 320px;
    background: #6366f1;
    border-radius: 50%;
    top: -120px;
    right: -120px;
    opacity: 0.55;
}

.hero::after {
    width: 220px;
    height: 220px;
    background: #fef9c3;
    bottom: -90px;
    left: -60px;
    opacity: 0.18;
    border-radius: 50%;
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 760px;
    width: 100%;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.75rem;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    background: var(--available);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3);
}

.hero-domain {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(3rem, 9vw, 6.5rem);
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--secondary);
    margin: 0 0 1rem;
}

.hero-tagline {
    max-width: 540px;
    margin: 0 auto 1.75rem;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.86);
}

.hero-arrows {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.hero-arrows svg {
    transform-origin: 50% 50%;
    transition: transform 0.6s ease;
}

.hero-arrows:hover svg {
    transform: rotate(180deg);
}

.hero-pills {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

/* Status Pills */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4em 0.95em;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--secondary);
    color: var(--text);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}

.pill:hover { transform: translateY(-2px); }

.pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.pill-available { background: var(--available); color: #052e16; }
.pill-review    { background: var(--review);    color: #3b1d04; }
.pill-exchanged { background: var(--exchanged); color: #ffffff; }

.pill-available .pill-dot { background: #052e16; }
.pill-review .pill-dot    { background: #3b1d04; }
.pill-exchanged .pill-dot { background: #ffffff; }

.hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.75);
}

.meta-sep { opacity: 0.45; }
.meta-item strong { color: var(--secondary); font-weight: 700; }

/* ============================================================
   BENTO MOSAIC
   Zero-gap, touching colored cells.
   ============================================================ */
.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
}

.cell {
    padding: 2.25rem;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.cell-span-2 { grid-column: span 2; }

.cell-indigo {
    background: var(--primary);
    color: var(--secondary);
}

.cell-white {
    background: var(--secondary);
    color: var(--text);
    border: 1px solid var(--border);
    border-left: none;
    border-top: none;
}

.cell-cool {
    background: var(--tertiary);
    color: var(--text);
}

.cell-yellow {
    background: var(--warm);
    color: var(--text);
}

.cell-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--secondary);
    margin-bottom: 1.25rem;
}

.cell-icon.dark-icon {
    background: var(--tertiary);
    color: var(--primary);
    border: 1px solid var(--border);
}

.cell-tag {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.85rem;
    display: inline-block;
}

.cell-tag.tag-dark { color: var(--primary); }

.cell-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.cell-heading.dark { color: var(--text); }

.cell-body {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
    max-width: 46ch;
}

.cell-body-light {
    color: rgba(255, 255, 255, 0.85);
}

.cell-indigo .cell-body { color: rgba(255, 255, 255, 0.85); }

/* Big Numbers */
.big-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.big-number-amber { color: #b45309; }

/* Workflow list */
.workflow-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    counter-reset: step;
    margin-top: 0.5rem;
}

.workflow-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.step-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35em 0.85em;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    flex-shrink: 0;
    min-width: 110px;
    justify-content: center;
}

.step-pill.pill-available { background: var(--available); color: #052e16; }
.step-pill.pill-review    { background: var(--review);    color: #3b1d04; }
.step-pill.pill-exchanged { background: var(--exchanged); color: #ffffff; }

.step-text {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.5;
}

/* Code Block */
.code-block {
    font-family: 'Plus Jakarta Sans', monospace;
    background: rgba(0, 0, 0, 0.18);
    color: #e0e7ff;
    padding: 1.1rem 1.25rem;
    border-radius: 10px;
    font-size: 0.82rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    white-space: pre;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.code-key { color: #fef9c3; font-weight: 700; }
.code-val { color: #86efac; }
.code-id  { color: #ffffff; font-weight: 700; }

/* Live Ticker */
.ticker {
    list-style: none;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
}

.ticker li {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
}

.ticker li.flash { background: var(--warm); }

.ticker-id {
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--primary);
}

.ticker-name {
    font-size: 0.92rem;
    color: var(--text);
}

.ticker-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3em 0.8em;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.ticker-pill.pill-available { background: var(--available); color: #052e16; }
.ticker-pill.pill-review    { background: var(--review);    color: #3b1d04; }
.ticker-pill.pill-exchanged { background: var(--exchanged); color: #ffffff; }

/* ============================================================
   STATUS BAR / FOOTER
   ============================================================ */
.status-bar {
    background: var(--primary);
    color: var(--secondary);
    padding: 3rem 2rem 2rem;
}

.stats {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 140px;
}

.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--secondary);
    margin-bottom: 0.45rem;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.75);
}

.status-foot {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    max-width: 1200px;
    margin: 0 auto;
}

.status-pulse {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--available);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
    70%  { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
    .bento {
        grid-template-columns: repeat(2, 1fr);
    }
    .cell-span-2 { grid-column: span 2; }
}

@media (max-width: 600px) {
    .hero { padding: 3rem 1.25rem 4rem; min-height: 70vh; }
    .bento { grid-template-columns: 1fr; }
    .cell-span-2 { grid-column: span 1; }
    .cell { min-height: auto; padding: 1.85rem 1.5rem; }
    .ticker li {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
    .ticker-pill { justify-self: start; }
    .stats { gap: 1.5rem; }
    .status-foot { justify-content: center; text-align: center; }
}
