/* liveapp.run — landing page. Layers on base.css. */

:root {
    --shell-max: 1000px;
    --brand-size: 1.08rem;
    --lh: 1.65;
}

html { scroll-behavior: smooth; }

body {
    position: relative;
    background:
        radial-gradient(ellipse 900px 600px at 12% -8%, rgba(74, 222, 128, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse 800px 600px at 95% 105%, rgba(56, 130, 246, 0.07) 0%, transparent 55%),
        linear-gradient(160deg, var(--bg-2) 0%, var(--bg) 55%);
    background-attachment: fixed;
}

/* faint blueprint grid + grain */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.15));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.15));
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.3;
    mix-blend-mode: overlay;
    background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 3px 3px;
    z-index: 0;
}

/* ---------- Layout ---------- */
.wrap {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px 72px;
}

/* ---------- Hero ---------- */
.hero {
    text-align: center;
    padding: 92px 0 20px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 999px;
    padding: 7px 16px;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    animation: pulse 2.4s infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0    rgba(74, 222, 128, 0.55); }
    70%  { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0    rgba(74, 222, 128, 0); }
}

h1 {
    margin: 26px 0 0;
    font-size: clamp(2.5rem, 7.4vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.06;
}

h1 .alt {
    display: block;
    background: linear-gradient(100deg, var(--brand-2) 0%, var(--brand) 45%, #2dd4bf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sub {
    margin: 22px auto 0;
    font-size: clamp(1rem, 1.8vw, 1.16rem);
    color: var(--muted);
    max-width: 590px;
}

.sub strong { color: var(--text); font-weight: 600; }

.cta-row {
    margin-top: 34px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 12px 24px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
    color: #04250f;
    background: linear-gradient(120deg, var(--brand-2), var(--brand));
    box-shadow: 0 6px 24px rgba(74, 222, 128, 0.22);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(74, 222, 128, 0.3); }

.btn-ghost {
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.28); }

/* ---------- Value chips ---------- */
.values {
    margin: 58px 0 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--muted);
    border: 1px solid var(--border);
    background: var(--card);
    border-radius: 12px;
    padding: 10px 16px;
}

.chip svg { color: var(--brand); flex: none; }

/* ---------- Sections ---------- */
.section-label {
    margin: 84px 0 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand);
}

.section-title {
    margin: 0 0 22px;
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* ---------- App cards ---------- */
.apps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
    gap: 18px;
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    background: var(--card-hover);
    border-color: rgba(74, 222, 128, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.card-head {
    display: flex;
    align-items: center;
    gap: 13px;
}

.glyph {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.22);
}

.app-name {
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.25;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    width: fit-content;
    border-radius: 999px;
    padding: 2px 10px;
}

.badge-live   { color: var(--brand);  border: 1px solid rgba(74, 222, 128, 0.4);  }
.badge-test   { color: var(--amber);  border: 1px solid rgba(251, 191, 36, 0.4);  }
.badge + .badge { margin-left: 6px; }

.app-desc {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    flex-grow: 1;
}

.app-links {
    margin: 18px 0 0;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.89rem;
}

.app-links a {
    color: var(--brand);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease;
}

.app-links a:hover { border-bottom-color: var(--brand); }

.more-note {
    margin: 26px 0 0;
    text-align: center;
    color: var(--faint);
    font-size: 0.9rem;
}

/* ---------- Contact ---------- */
.contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px 28px;
}

.contact-card p { margin: 0; color: var(--muted); font-size: 0.98rem; max-width: 520px; }
.contact-card p strong { color: var(--text); }

/* ---------- Footer ---------- */
footer {
    margin-top: 84px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
}

.foot-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.foot-brand .tld { color: var(--brand); }

.foot-links {
    margin: 14px 0 0;
    display: flex;
    justify-content: center;
    gap: 6px 18px;
    flex-wrap: wrap;
    font-size: 0.8rem;
}

.foot-links a {
    color: var(--faint);
    text-decoration: none;
    transition: color 0.15s ease;
}

.foot-links a:hover { color: var(--muted); }

.copyright {
    margin: 16px 0 0;
    text-align: center;
    font-size: 0.75rem;
    color: var(--faint);
    letter-spacing: 0.05em;
}
