/* JCustoms — home.css (services-led homepage) */

/* ── Hero ─────────────────────────────────────────────────────── */
.home-hero {
    max-width: 1200px; margin: 0 auto; padding: 64px 24px 56px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.home-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(34,211,238,.3); background: rgba(34,211,238,.06);
    padding: 6px 12px; border-radius: 5px; margin-bottom: 22px;
}
.home-eyebrow .b { color: var(--text-muted); }

.home-wordmark { height: 30px; width: auto; display: block; margin-bottom: 24px; }
.home-wordmark__cursor { transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
    .home-wordmark__cursor { animation: homeWordmarkFlash 1.1s step-end infinite; }
}
@keyframes homeWordmarkFlash { 50% { opacity: 0; } }
.home-hero__h {
    font-weight: 700; font-size: clamp(2.2rem, 3.4vw, 3.1rem); line-height: 1.1;
    letter-spacing: -.02em; color: #fff; margin-bottom: 18px;
}
.home-hero__h em {
    font-style: normal;
    background: linear-gradient(100deg, var(--primary) 20%, var(--accent) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.home-hero__sub { font-size: 16px; color: var(--text-sub); max-width: 440px; margin-bottom: 28px; line-height: 1.65; }

@media (max-width: 860px) {
    .home-hero { grid-template-columns: 1fr; padding-top: 44px; gap: 36px; }
}

/* ── Console panel (signature element) ───────────────────────── */
.home-console {
    background: var(--bg-card); border: 1px solid var(--border-2); border-radius: 12px;
    overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.home-console__chrome {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 14px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02);
}
.home-console__dots { display: flex; gap: 6px; flex-shrink: 0; }
.home-console__dots span { width: 8px; height: 8px; border-radius: 50%; }
.home-console__dots span:nth-child(1) { background: var(--primary); }
.home-console__dots span:nth-child(2) { background: var(--accent); }
.home-console__dots span:nth-child(3) { background: var(--live); }
.home-console__url {
    flex: 1; display: flex; align-items: center; gap: 6px; min-width: 0;
    font-size: 11.5px; color: var(--text-sub);
    background: var(--bg); border: 1px solid var(--border); border-radius: 5px;
    padding: 5px 10px;
}
.home-console__url svg { width: 11px; height: 11px; color: var(--live); flex-shrink: 0; }
.home-console__url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.home-console__tabs { display: flex; gap: 4px; padding: 10px 14px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.home-tab {
    font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
    padding: 6px 12px; border-radius: 5px; color: var(--text-muted); cursor: pointer;
    border: 1px solid transparent; background: none; transition: all .15s; letter-spacing: .02em;
}
.home-tab:hover { color: var(--text-sub); }
.home-tab.active { color: var(--text); background: var(--bg); border-color: var(--border-2); }
.home-tab .n { color: var(--primary); margin-right: 6px; }
.home-tab.active .n { color: var(--accent); }

.home-console__stage { position: relative; aspect-ratio: 16/10; background: var(--bg); overflow: hidden; }
.home-console__stage img {
    width: 100%; height: 100%; object-fit: cover; object-position: top;
    opacity: 0; position: absolute; inset: 0; transition: opacity .35s ease;
}
.home-console__stage img.active { opacity: 1; }
.home-console__stage::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, transparent 60%, rgba(10,13,19,.55) 100%);
}

.home-console__term {
    display: flex; align-items: center; gap: 9px;
    padding: 11px 14px; border-top: 1px solid var(--border); background: rgba(255,255,255,.02);
    font-size: 12px; color: var(--text-sub);
}
#home-term-text { white-space: nowrap; overflow: hidden; transition: opacity .25s ease; }
.home-cursor { display: inline-block; width: 6px; height: 13px; background: var(--accent); margin-left: 2px; vertical-align: -2px; }
@media (prefers-reduced-motion: no-preference) {
    .home-cursor { animation: homeBlink 1s step-end infinite; }
}
@keyframes homeBlink { 50% { opacity: 0; } }

/* ── Services grid ────────────────────────────────────────────── */
.home-services { max-width: 1200px; margin: 0 auto 64px; padding: 0 24px; }
.home-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.home-service {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
    padding: 24px 24px 22px; transition: border-color .15s, transform .15s;
}
.home-service:hover { border-color: var(--border-2); transform: translateY(-2px); }
.home-service--muted { background: transparent; border-style: dashed; }
.home-service__n {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 6px; font-size: 12px; font-weight: 600;
    background: var(--bg); border: 1px solid var(--border-2); color: var(--primary);
    margin-bottom: 14px;
}
.home-service--muted .home-service__n { color: var(--text-muted); }
.home-service__title { font-weight: 600; font-size: 16.5px; margin-bottom: 9px; }
.home-service__desc { font-size: 13.5px; color: var(--text-sub); line-height: 1.6; margin-bottom: 12px; }
.home-service__proof { font-size: 11px; color: var(--accent); letter-spacing: .02em; }
.home-service__link { font-size: 13px; font-weight: 600; color: var(--text); }
.home-service__link:hover { color: var(--accent); }

@media (max-width: 860px) { .home-services__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .home-services__grid { grid-template-columns: 1fr; } }

/* ── Review spotlight ─────────────────────────────────────────── */
.home-spotlight { max-width: 1000px; margin: 0 auto 64px; padding: 0 24px; }
.home-spotlight__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .home-spotlight__grid { grid-template-columns: 1fr; } }
.home-spotlight__card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
    padding: 36px 32px; text-align: center;
    display: flex; flex-direction: column;
    position: relative;
}
.home-spotlight__quote { width: 30px; height: auto; margin: 0 auto 16px; opacity: .5; }
.home-spotlight__stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 18px; }
.home-spotlight__stars svg { width: 16px; height: 16px; }
.home-spotlight__quote-text {
    font-size: 18px; line-height: 1.6; color: var(--text);
    font-family: var(--font-display); font-weight: 500;
    margin-bottom: 22px;
}
.home-spotlight__foot { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: auto; }
.home-spotlight__author { font-size: 13.5px; font-weight: 600; color: var(--text-sub); }
.home-spotlight__author .mono { font-weight: 400; color: var(--text-muted); font-size: 12px; }
.home-spotlight__link { font-size: 13px; font-weight: 600; color: var(--accent); }
.home-spotlight__link:hover { color: var(--primary); }
@media (max-width: 600px) { .home-spotlight__card { padding: 32px 24px; } }

/* ── Stat widgets ─────────────────────────────────────────────── */
.home-widgets {
    max-width: 1200px; margin: 0 auto 80px; padding: 0 24px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.home-widget { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 20px 22px; }
.home-widget__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.home-widget__label { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.home-widget__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--live); flex-shrink: 0; }
@media (prefers-reduced-motion: no-preference) { .home-widget__dot { animation: jcStatusPulse 2.4s ease-in-out infinite; } }
.home-widget__val { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: #fff; }
.home-widget__val span { font-size: 14px; color: var(--text-muted); font-weight: 500; margin-left: 3px; }

@media (max-width: 860px) { .home-widgets { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .home-widgets { grid-template-columns: 1fr; } }
