/* =========================================================
   KAZAMA API — Landing page styles
   ========================================================= */

.lp-hero {
    position: relative;
    padding: 64px var(--space-xl) 40px;
    overflow: hidden;
}
.lp-hero-grid {
    max-width: 1140px; margin: 0 auto;
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
@media (max-width: 900px) { .lp-hero-grid { grid-template-columns: 1fr; } }

.lp-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--secondary-color); margin-bottom: 18px;
}
.lp-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success-color); box-shadow: 0 0 0 4px rgba(52,211,153,0.18); }
.lp-eyebrow .dot.maintenance { background: var(--warning-color); box-shadow: 0 0 0 4px rgba(240,199,94,0.2); }

#greeting { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1.12; margin-bottom: 14px; }
#greeting .name-accent { display: block; }

.lp-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 480px; margin-bottom: 28px; }

.lp-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.lp-cta .btn { padding: 13px 22px; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 8px; }

.lp-meta-row { display: flex; gap: 28px; flex-wrap: wrap; }
.lp-meta-item { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--text-muted); }
.lp-meta-item i { color: var(--secondary-color); }

/* ---- Hero visual: abstract API banner (pure CSS/SVG) ---- */
.lp-visual { position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; }
.lp-orbit {
    position: absolute; border-radius: 50%; border: 1px solid var(--border-color);
}
.lp-orbit.o1 { width: 360px; height: 360px; }
.lp-orbit.o2 { width: 260px; height: 260px; border-color: rgba(77,141,255,0.25); }
.lp-glow {
    position: absolute; width: 280px; height: 280px; border-radius: 50%;
    background: radial-gradient(circle, rgba(77,141,255,0.35), transparent 70%);
    filter: blur(10px); z-index: 0;
}
.lp-card-stack { position: relative; z-index: 2; width: 100%; max-width: 340px; }
.lp-floating-card {
    background: var(--card-background); border: 1px solid var(--border-color);
    border-radius: var(--border-radius); padding: 16px 18px; box-shadow: var(--hover-shadow);
    font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-color);
    position: absolute; width: 280px;
    animation: floatCard 6s ease-in-out infinite;
}
.lp-floating-card.card-a { top: -40px; left: -10px; animation-delay: 0s; }
.lp-floating-card.card-b { top: 90px; left: 60px; animation-delay: 1.2s; z-index: 3; }
.lp-floating-card.card-c { top: 230px; left: -30px; animation-delay: 2.4s; }
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.lp-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.method-chip { font-size: 0.65rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; letter-spacing: 0.04em; }
.method-chip.get { background: rgba(77,141,255,0.18); color: var(--secondary-color); }
.method-chip.post { background: rgba(29,78,216,0.22); color: var(--primary-color); }
.lp-card-status { font-size: 0.68rem; color: var(--success-color); font-weight: 700; }
.lp-card-body { color: var(--text-muted); line-height: 1.6; }
.lp-card-body .k { color: var(--secondary-color); }
.lp-card-body .v { color: var(--success-color); }

/* ---- Stats ---- */
.lp-stats {
    padding: 10px var(--space-xl) 50px;
}
.lp-stats-grid {
    max-width: 1140px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
@media (max-width: 900px) { .lp-stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .lp-stats-grid { grid-template-columns: 1fr; } }
.stat-card {
    background: var(--card-background); border: 1px solid var(--border-color);
    border-radius: var(--border-radius); padding: 22px; transition: var(--hover-transition);
}
.stat-card:hover { transform: var(--hover-transform); box-shadow: var(--hover-shadow); border-color: var(--secondary-color); }
.stat-card .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 10px; }
.stat-card .value { font-size: 1.9rem; font-weight: 800; font-family: var(--font-display); }
.stat-card .value.gold { color: var(--secondary-color); }

/* ---- Section heading shared ---- */
.lp-section { padding: 50px var(--space-xl); }
.lp-section-inner { max-width: 1140px; margin: 0 auto; }
.lp-section-head { margin-bottom: 30px; max-width: 560px; }
.lp-section-head h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 8px; }
.lp-section-head p { color: var(--text-muted); }

/* ---- API key plans ---- */
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 760px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-card {
    border-radius: var(--border-radius-lg); padding: 28px; border: 1px solid var(--border-color);
    background: var(--card-background); position: relative; overflow: hidden;
}
.plan-card.premium {
    border-color: var(--secondary-color);
    background: linear-gradient(160deg, var(--card-background) 0%, rgba(77,141,255,0.08) 100%);
}
.plan-card .plan-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
.plan-card.premium .plan-tag { color: var(--secondary-color); }
.plan-card h3 { font-size: 1.4rem; font-weight: 800; margin: 10px 0 4px; }
.plan-card .plan-price { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 18px; }
.plan-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
.plan-card li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text-color); }
.plan-card li i { color: var(--success-color); }
.plan-card.premium li i { color: var(--secondary-color); }
.plan-card .key-box {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: rgba(var(--background-color-rgb), 0.6); border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm); padding: 10px 14px; font-family: var(--font-mono); font-size: 0.82rem;
}
.plan-card .key-box button { border: none; background: none; color: var(--text-muted); cursor: pointer; }
.plan-card .key-box button:hover { color: var(--secondary-color); }

/* ---- Quick access ---- */
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .quick-grid { grid-template-columns: 1fr; } }
.quick-card {
    display: flex; align-items: flex-start; gap: 16px; padding: 22px;
    border-radius: var(--border-radius); border: 1px solid var(--border-color);
    background: var(--card-background); transition: var(--hover-transition); color: var(--text-color);
}
.quick-card:hover { transform: var(--hover-transform); box-shadow: var(--hover-shadow); border-color: var(--secondary-color); }
.quick-card .icon {
    width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: var(--highlight-color); color: var(--secondary-color); font-size: 1.15rem; flex-shrink: 0;
}
.quick-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.quick-card p { font-size: 0.84rem; color: var(--text-muted); margin: 0 0 8px; }
.quick-card .go { font-size: 0.8rem; font-weight: 700; color: var(--secondary-color); display: inline-flex; align-items: center; gap: 6px; }

/* ---- Activity ticker ---- */
.activity-console {
    border-radius: var(--border-radius-lg); border: 1px solid var(--border-color);
    background: var(--card-background); overflow: hidden;
}
.activity-console-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; border-bottom: 1px solid var(--border-color);
    font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-muted);
}
.activity-console-head .dots { display: flex; gap: 6px; }
.activity-console-head .dots span { width: 9px; height: 9px; border-radius: 50%; }
.activity-console-head .dots span:nth-child(1) { background: #f87171; }
.activity-console-head .dots span:nth-child(2) { background: #f0c75e; }
.activity-console-head .dots span:nth-child(3) { background: #34d399; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; color: var(--success-color); font-weight: 700; font-size: 0.72rem; }
.live-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success-color); animation: pulseDot 1.5s infinite; }
@keyframes pulseDot { 50% { opacity: 0.3; } }
.activity-list { max-height: 230px; overflow-y: auto; font-family: var(--font-mono); font-size: 0.82rem; }
.activity-row { display: flex; gap: 14px; padding: 10px 18px; border-bottom: 1px solid var(--border-color); align-items: center; }
.activity-row .code { font-weight: 700; width: 42px; }
.activity-row .code.c2 { color: var(--success-color); }
.activity-row .code.c3 { color: var(--warning-color); }
.activity-row .method { width: 42px; color: var(--secondary-color); font-weight: 700; }
.activity-row .path { color: var(--text-muted); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity-row .time { color: var(--text-muted); opacity: 0.7; }

/* ---- CTA banner ---- */
.lp-cta-banner {
    border-radius: var(--border-radius-lg);
    background: linear-gradient(135deg, #0c1730 0%, #131b2e 60%, #1c1812 100%);
    border: 1px solid var(--border-color);
    padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    position: relative; overflow: hidden;
}
.lp-cta-banner::after {
    content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%;
    background: radial-gradient(circle, rgba(77,141,255,0.25), transparent 70%);
    top: -80px; right: -60px;
}
.lp-cta-banner .eyebrow { color: var(--secondary-color); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
.lp-cta-banner h3 { color: #fff; font-size: 1.7rem; font-weight: 800; margin-bottom: 10px; }
.lp-cta-banner p { color: rgba(255,255,255,0.65); max-width: 420px; }

/* ---- Policy / quick links list (legacy parity with reference) ---- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; } }
.info-card { border-radius: var(--border-radius); border: 1px solid var(--border-color); background: var(--card-background); padding: 22px; }
.info-card-head { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 14px; }
.info-card-head .icon { width: 34px; height: 34px; border-radius: 10px; background: var(--highlight-color); color: var(--secondary-color); display: flex; align-items: center; justify-content: center; }
.policy-row { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--text-muted); }
.policy-row .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success-color); }
.policy-row .dot.maintenance { background: var(--warning-color); }
.link-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--border-color); font-size: 0.88rem; color: var(--text-color); }
.link-row:last-child { border-bottom: none; }
.link-row i.lead { color: var(--secondary-color); margin-right: 10px; }
.link-row i.chev { color: var(--text-muted); }
