/* ============================================================
   MIKUWARE — NEW PREMIUM STOREFRONT DESIGN
   Modern dark + red (#FF2648) build. Clean, aggressive, premium.
   Independent of the old style.css — used only by the landing/auth pages.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700;800&display=swap');

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

:root {
    --bg:        #0a0a0c;
    --bg-2:      #0e0e11;
    --surface:   #151518;
    --surface-2: #1a1a1e;
    --border:    #26262b;
    --border-hi: #34343b;
    --text:      #f2f2f4;
    --text-dim:  #9b9ba4;
    --text-mute: #6c6c75;
    --accent:    #FF2648;
    --accent-hi: #ff4763;
    --accent-dk: #e01f3e;
    --accent-soft: rgba(255, 38, 72, 0.12);
    --radius:    18px;
    --radius-sm: 12px;
    --maxw:      1180px;
    --shadow:    0 20px 50px -20px rgba(0,0,0,0.7);
    --shadow-red: 0 18px 40px -16px rgba(255,38,72,0.35);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* subtle red ambient glow top + bottom */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(900px 500px at 80% -10%, rgba(255,38,72,0.10), transparent 60%),
        radial-gradient(700px 400px at 0% 110%, rgba(255,38,72,0.06), transparent 60%);
}

h1, h2, h3, .display { font-family: 'Space Grotesk', 'Inter', sans-serif; }

a { color: inherit; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ===================== NAV ===================== */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10,10,12,0.72);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.5px;
}
.brand .b-miku { color: var(--text); }
.brand .b-ware { color: var(--accent); }
.brand .b-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    margin-left: 2px;
}
.nav-links { display: flex; gap: 4px; }
.nav-links a {
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dim);
    border-radius: 10px;
    transition: all .18s ease;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 26px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
    white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-red);
}
.btn-primary:hover { background: var(--accent-hi); transform: translateY(-2px); }
.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-hi);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--border-hi); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ===================== HERO ===================== */
.hero {
    position: relative;
    padding: 90px 0 70px;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid rgba(255,38,72,0.25);
    padding: 7px 14px;
    border-radius: 999px;
    letter-spacing: .3px;
    margin-bottom: 22px;
}
.eyebrow .pulse {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(255,38,72,0.6);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,38,72,0.6); }
    70% { box-shadow: 0 0 0 10px rgba(255,38,72,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,38,72,0); }
}
.hero h1 {
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 22px;
}
.hero h1 .accent { color: var(--accent); }
.hero p.lead {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 540px;
    margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }

.hero-stats {
    display: flex;
    gap: 38px;
    margin-top: 44px;
    flex-wrap: wrap;
}
.hero-stats .hs-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.hero-stats .hs-lbl {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-mute);
    margin-top: 6px;
}

/* hero visual card */
.hero-visual {
    position: relative;
    border-radius: 24px;
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(255,38,72,0.10), transparent 60%),
        var(--surface);
    padding: 28px;
    box-shadow: var(--shadow);
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/bg.png') center / cover no-repeat;
    opacity: 0.22;
    filter: grayscale(0.3) contrast(1.05);
    z-index: 0;
}
.hero-visual > * { position: relative; z-index: 1; }
.hero-visual .hv-badge {
    position: absolute;
    top: 18px; left: 18px;
    font-size: 12px; font-weight: 700;
    color: #fff;
    background: var(--accent);
    padding: 6px 12px;
    border-radius: 8px;
    letter-spacing: .5px;
}
.hero-visual .hv-card {
    background: rgba(10,10,12,0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-hi);
    border-radius: 14px;
    padding: 16px 18px;
}
.hero-visual .hv-card .row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; color: var(--text-dim);
    padding: 7px 0;
}
.hero-visual .hv-card .row + .row { border-top: 1px solid var(--border); }
.hero-visual .hv-card .row b { color: #fff; font-weight: 700; }
.hero-visual .hv-card .row .ok { color: var(--accent); font-weight: 700; }

/* manifesto band */
.manifesto-band {
    margin-top: 70px;
    border: 1px solid rgba(255,38,72,0.3);
    background: linear-gradient(100deg, rgba(255,38,72,0.10), rgba(255,38,72,0.02));
    border-radius: var(--radius);
    padding: 26px 32px;
    text-align: center;
}
.manifesto-band .m-line {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.5px;
}
.manifesto-band .m-line .accent { color: var(--accent); }
.manifesto-band .m-sub {
    margin-top: 10px;
    color: var(--text-dim);
    font-size: 14px;
}

/* ===================== SECTION SHELL ===================== */
.section { padding: 80px 0; position: relative; z-index: 1; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.sec-head .tag {
    font-size: 13px; font-weight: 700; color: var(--accent);
    text-transform: uppercase; letter-spacing: 2px;
}
.sec-head h2 {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800; letter-spacing: -1px;
    margin: 12px 0 14px;
}
.sec-head p { color: var(--text-dim); font-size: 16px; }

/* ===================== FEATURES ===================== */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.feature:hover { border-color: rgba(255,38,72,0.4); transform: translateY(-3px); background: var(--surface-2); }
.feature .f-ico {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: var(--accent-soft);
    border: 1px solid rgba(255,38,72,0.25);
    font-size: 22px;
    margin-bottom: 18px;
}
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--text-dim); font-size: 14px; }
.feature p b { color: var(--accent); }

/* ===================== WHY / SPLIT ===================== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.checklist { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-dim); }
.checklist .ck {
    flex-shrink: 0;
    width: 22px; height: 22px; border-radius: 6px;
    background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800; margin-top: 1px;
}
.panel-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}
.panel-card .pc-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 0; border-bottom: 1px solid var(--border);
    font-size: 14px; color: var(--text-dim);
}
.panel-card .pc-row:last-child { border-bottom: none; }
.panel-card .pc-row b { color: #fff; }
.panel-card .pc-row .v { color: var(--accent); font-weight: 700; }

/* ===================== PRICING ===================== */
.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}
.plan {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    transition: border-color .2s ease, transform .2s ease;
}
.plan:hover { transform: translateY(-4px); border-color: var(--border-hi); }
.plan.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-red);
    position: relative;
}
.plan.featured .ribbon {
    position: absolute; top: 16px; right: 16px;
    background: var(--accent); color: #fff;
    font-size: 11px; font-weight: 800; letter-spacing: 1px;
    padding: 5px 11px; border-radius: 8px; text-transform: uppercase;
}
.plan .p-name { font-size: 14px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1.5px; }
.plan .p-price { font-family: 'Space Grotesk', sans-serif; font-size: 44px; font-weight: 800; margin: 12px 0 4px; color: #fff; }
.plan .p-price small { font-size: 15px; color: var(--text-mute); font-weight: 600; }
.plan ul { list-style: none; margin: 22px 0; display: grid; gap: 12px; flex-grow: 1; }
.plan ul li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--text-dim); }
.plan ul li .ck { color: var(--accent); font-weight: 800; }
.plan ul li.off { color: var(--text-mute); text-decoration: line-through; }
.plan ul li.off .ck { color: var(--text-mute); }

/* ===================== TESTIMONIALS ===================== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color .2s ease;
    position: relative;
}
.review:hover { border-color: rgba(255,38,72,0.35); }
.review .quote { font-size: 14px; color: var(--text); line-height: 1.6; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.review .av {
    width: 38px; height: 38px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 13px; color: #fff;
    background: rgba(255,38,72,0.15); border: 1px solid rgba(255,38,72,0.3);
}
.review .who .nm { font-size: 14px; font-weight: 700; color: #fff; }
.review .who .rl { font-size: 12px; color: var(--accent); font-weight: 600; }

/* ===================== FAQ ===================== */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(255,38,72,0.3); }
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic {
    flex-shrink: 0;
    width: 22px; height: 22px; border-radius: 6px;
    background: var(--accent-soft); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; transition: transform .2s ease;
}
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq .ans { padding: 0 22px 20px; color: var(--text-dim); font-size: 14px; }

/* ===================== COMMUNITY / CTA ===================== */
.cta {
    text-align: center;
    background:
        radial-gradient(600px 300px at 50% 0%, rgba(255,38,72,0.12), transparent 70%),
        var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 60px 24px;
}
.cta h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; }
.cta p { color: var(--text-dim); max-width: 520px; margin: 0 auto 28px; font-size: 16px; }
.social-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===================== FOOTER ===================== */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0 30px;
    margin-top: 30px;
    position: relative; z-index: 1;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer .f-copy { color: var(--text-mute); font-size: 13px; }
.footer .f-line { color: var(--text-dim); font-size: 13px; }
.footer .f-line b { color: var(--accent); }

/* ===================== AUTH ===================== */
.auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}
.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 38px 34px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.auth-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dk));
}
.auth-card .a-brand {
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800; font-size: 30px; margin-bottom: 6px;
}
.auth-card .a-brand .b-miku { color: var(--text); }
.auth-card .a-brand .b-ware { color: var(--accent); }
.auth-card .a-sub {
    text-align: center; color: var(--text-mute); font-size: 12px;
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 28px;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dim); margin-bottom: 7px; }
.field input {
    width: 100%;
    padding: 13px 15px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 11px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.field input::placeholder { color: var(--text-mute); }
.alert {
    padding: 12px 16px;
    border-radius: 11px;
    font-size: 13px;
    margin-bottom: 16px;
    border: 1px solid;
}
.alert.err { background: rgba(255,38,72,0.10); border-color: rgba(255,38,72,0.3); color: #ff7d92; }
.alert.ok  { background: rgba(40,200,120,0.10); border-color: rgba(40,200,120,0.3); color: #6ee7a8; }
.auth-switch { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-dim); }
.auth-switch a { color: var(--accent); font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 920px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 300px; }
    .features, .pricing, .reviews { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
@media (max-width: 560px) {
    .hero { padding: 60px 0 40px; }
    .hero-stats { gap: 24px; }
    .section { padding: 60px 0; }
}
