:root {
    --primary: #3b82f6;
    --text: #f1f5f9;
    --muted: #94a3b8;
    --bg: #070b14;
    --card: rgba(15, 23, 42, 0.85);
    --surface: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.08);
    --landing-border: rgba(255, 255, 255, 0.08);
    --landing-surface: rgba(255, 255, 255, 0.04);
    --landing-muted: #94a3b8;
    --landing-text: #f1f5f9;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.5; }
a { color: #60a5fa; }
a:hover { color: #93c5fd; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.landing-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.site-main { padding: 40px 0 72px; min-height: 60vh; }
.home-main { padding: 0; min-height: auto; }

.site-header {
    background: rgba(7, 11, 20, 0.72);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.logo { font-weight: 700; font-size: 1.2rem; color: #fff; text-decoration: none; display: inline-flex; align-items: center; }
.site-logo-img { max-height: 36px; max-width: 180px; object-fit: contain; display: block; }
nav a { margin-left: 16px; color: var(--muted); text-decoration: none; font-size: .95rem; }
nav a:hover { color: #fff; }
.site-footer {
    background: #050810;
    border-top: 1px solid var(--border);
    padding: 28px 0;
    color: var(--muted);
    font-size: .9rem;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-links a { margin-left: 16px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: #fff; }

.page-header { margin-bottom: 32px; }
.page-header--compact { margin-bottom: 24px; }
.page-header--center { text-align: center; }
.page-header__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    color: #fff;
}
.page-header__sub { color: var(--muted); font-size: 1.05rem; line-height: 1.6; margin: 0; max-width: 640px; }
.page-header--center .page-header__sub { margin-left: auto; margin-right: auto; }

.site-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
}
.site-panel--flush { padding: 0; overflow: hidden; }
.panel-title { margin: 0 0 12px; font-size: 1rem; color: #fff; }
.section-title { font-size: 1.15rem; color: #fff; margin: 28px 0 14px; }

.btn { display: inline-block; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; cursor: pointer; font-size: 1rem; font-family: inherit; }
.btn-primary { background: linear-gradient(135deg, #3b82f6, #6366f1); color: #fff; border-color: transparent; }
.btn-secondary { background: var(--surface); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: .875rem; }
.btn-link { background: none; border: 0; color: #60a5fa; cursor: pointer; padding: 0; font-family: inherit; }
.btn-link.danger { color: #f87171; }

.badge { display: inline-block; font-size: .75rem; padding: 3px 10px; border-radius: 999px; background: var(--surface); text-transform: capitalize; font-weight: 600; }
.badge-free { background: rgba(34,197,94,.2); color: #86efac; }
.badge-one_time { background: rgba(59,130,246,.2); color: #93c5fd; }
.badge-subscription { background: rgba(234,179,8,.2); color: #fde047; }

.data-table { width: 100%; border-collapse: collapse; background: transparent; }
.data-table th, .data-table td { border-bottom: 1px solid var(--border); padding: 12px 16px; text-align: left; }
.data-table th { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: rgba(255,255,255,.02); }

.form-card { max-width: 480px; background: var(--card); padding: 24px; border-radius: 14px; border: 1px solid var(--border); }
.form-card.wide-form { max-width: 900px; }
.form-card label, .auth-form label { display: block; margin-top: 14px; font-weight: 600; font-size: .9rem; color: #e2e8f0; }
.form-card input, .form-card textarea, .form-card select,
.auth-form input, .auth-form textarea, .auth-form select {
    width: 100%; padding: 10px 12px; margin-top: 6px;
    background: rgba(0,0,0,.25); border: 1px solid var(--border);
    border-radius: 10px; color: #fff; font-family: inherit; font-size: .95rem;
}
.form-card input:focus, .form-card textarea:focus, .form-card select:focus,
.auth-form input:focus, .auth-form textarea:focus, .auth-form select:focus {
    outline: none; border-color: rgba(59,130,246,.5); box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}

.alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 20px; border: 1px solid transparent; }
.alert-success { background: rgba(34,197,94,.12); color: #86efac; border-color: rgba(34,197,94,.25); }
.alert-error { background: rgba(239,68,68,.12); color: #fca5a5; border-color: rgba(239,68,68,.25); }

.hint { color: var(--muted); font-size: .9rem; }
.empty-state { color: var(--muted); text-align: center; padding: 48px 20px; }
.code-inline, .license-key {
    font-family: ui-monospace, monospace;
    font-size: .85rem;
    background: rgba(0,0,0,.35);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 4px 8px;
    color: #93c5fd;
    word-break: break-all;
}
.license-key { display: block; padding: 14px 16px; font-size: .95rem; margin: 8px 0; }
.status-pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    background: rgba(59,130,246,.15);
    color: #93c5fd;
    text-transform: capitalize;
}

.content-body { line-height: 1.7; color: #cbd5e1; }
.content-body h1, .content-body h2, .content-body h3 { color: #fff; margin-top: 1.5em; }
.content-body a { color: #60a5fa; }
.content-body code { background: rgba(0,0,0,.35); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.content-page .content-body { padding: 28px; }

.doc-category { margin: 36px 0; }
.doc-category__title {
    font-size: .8rem; margin-bottom: 14px; color: var(--muted);
    text-transform: uppercase; letter-spacing: .1em; font-weight: 700;
}
.doc-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.doc-card {
    display: flex; flex-direction: column; gap: 8px;
    padding: 20px; border-radius: 14px;
    border: 1px solid var(--border); background: var(--card);
    text-decoration: none; color: inherit;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.doc-card:hover { border-color: rgba(59,130,246,.4); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.3); }
.doc-card__label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #60a5fa; font-weight: 700; }
.doc-card strong { color: #fff; font-size: 1.05rem; }
.doc-card__arrow { font-size: .85rem; color: var(--muted); margin-top: auto; }
.doc-back { margin-top: 20px; }

.doc-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.doc-toc { position: sticky; top: 80px; font-size: .9rem; }
.doc-toc__label { display: block; color: #fff; margin-bottom: 8px; }
.doc-toc ul { list-style: none; padding: 0; margin: 8px 0 0; }
.doc-toc li { margin: 6px 0; }
.doc-toc a { color: var(--muted); text-decoration: none; }
.doc-toc a:hover { color: #60a5fa; }

.plugin-detail { max-width: 860px; }
.plugin-hero {
    background: linear-gradient(145deg, rgba(30,41,59,.6), rgba(15,23,42,.9));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}
.plugin-hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--plugin-accent, #3b82f6);
}
.plugin-hero__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.plugin-hero__icon { width: 52px; height: 52px; font-size: 1rem; }
.plugin-hero h1 { margin: 0 0 8px; font-size: 2rem; color: #fff; }
.plugin-tagline { font-size: 1.1rem; color: var(--muted); margin: 0 0 12px; }
.plugin-meta { color: var(--muted); font-size: .9rem; margin: 0 0 8px; }
.plugin-section { margin: 24px 0; }
.plugin-section h2 { font-size: 1.25rem; margin: 0 0 14px; color: #fff; }
.plugin-section .content-body { padding: 0; }
.plugin-features ul { padding-left: 1.25rem; }
.price-lg { font-size: 1.75rem; font-weight: 800; color: #fff; margin: 12px 0; }
.plugin-checkout-form { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.promo-field label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.promo-field__row { display: flex; gap: 8px; }
.promo-field__row input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: #fff; }
.promo-feedback--ok { color: #86efac !important; }
.promo-feedback--error { color: #fca5a5 !important; }
.promo-summary { background: rgba(15,23,42,.35); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; display: grid; gap: 6px; font-size: .9rem; }
.promo-summary div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.promo-summary strong { color: #fff; }
.promo-summary__discount strong { color: #86efac; }
.promo-summary__total strong { font-size: 1.05rem; }

.account-shell { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.account-nav {
    position: sticky; top: 80px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: 14px; padding: 20px;
}
.account-nav__user { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.account-nav__avatar {
    width: 40px; height: 40px; border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #fff; flex-shrink: 0;
}
.account-nav__user strong { display: block; color: #fff; font-size: .95rem; }
.account-nav__user small { color: var(--muted); font-size: .8rem; word-break: break-all; }
.account-nav__links { display: flex; flex-direction: column; gap: 4px; }
.account-nav__links a {
    padding: 10px 12px; border-radius: 8px; color: var(--muted);
    text-decoration: none; font-size: .9rem; font-weight: 500;
}
.account-nav__links a:hover { background: var(--surface); color: #fff; }
.account-nav__links a.is-active { background: rgba(59,130,246,.15); color: #93c5fd; }
.account-nav__logout { margin-top: 8px; color: #f87171 !important; }
.account-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.account-footer-link { margin-top: 20px; }
.license-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 8px; }
.meta-list { margin: 0; }
.meta-list div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); }
.meta-list div:last-child { border-bottom: 0; }
.meta-list dt { color: var(--muted); font-size: .9rem; }
.meta-list dd { margin: 0; color: #fff; font-weight: 600; }

.auth-shell { display: flex; justify-content: center; padding: 24px 0 48px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-form .btn { margin-top: 20px; width: 100%; display: flex; justify-content: center; }
.auth-switch { text-align: center; margin-top: 20px; color: var(--muted); font-size: .9rem; }

.error-page { text-align: center; padding: 80px 20px; }
.error-page .page-header__title { font-size: 3rem; }
.error-page .btn { margin-top: 24px; }

.landing-plugin-card h2 { margin: 0 0 8px; font-size: 1.1rem; }
.landing-plugin-card h2 a { color: #fff; text-decoration: none; }
.landing-plugin-card h2 a:hover { color: #93c5fd; }

.site-chatbot { position: fixed; right: 20px; bottom: 20px; z-index: 9999; font-size: 14px; }
.chatbot-toggle { width: 52px; height: 52px; border-radius: 50%; border: 0; background: linear-gradient(135deg, #3b82f6, #6366f1); color: #fff; font-size: 1.4rem; font-weight: 700; cursor: pointer; box-shadow: 0 4px 16px rgba(59,130,246,.4); }
.chatbot-panel { display: none; position: absolute; right: 0; bottom: 64px; width: 340px; max-height: 420px; background: #1e293b; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 8px 32px rgba(0,0,0,.4); flex-direction: column; overflow: hidden; }
.site-chatbot.open .chatbot-panel { display: flex; }
.chatbot-header { padding: 12px 16px; background: rgba(0,0,0,.3); color: #fff; font-weight: 600; }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 12px; max-height: 300px; }
.chatbot-msg { margin-bottom: 10px; padding: 10px 12px; border-radius: 10px; line-height: 1.45; }
.chatbot-msg-user { background: rgba(59,130,246,.2); margin-left: 24px; color: #e2e8f0; }
.chatbot-msg-bot { background: rgba(255,255,255,.06); margin-right: 24px; color: #cbd5e1; }
.chatbot-msg-bot a { color: #60a5fa; }
.chatbot-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.chatbot-input { flex: 1; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: rgba(0,0,0,.25); color: #fff; }
.chatbot-typing { color: var(--muted); font-style: italic; }

.ticket-status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; text-transform: capitalize; }
.ticket-status-open { background: rgba(59,130,246,.2); color: #93c5fd; }
.ticket-status-answered { background: rgba(234,179,8,.2); color: #fde047; }
.ticket-status-closed { background: rgba(255,255,255,.08); color: var(--muted); }
.ticket-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: var(--muted); font-size: .9rem; margin: 0; }
.ticket-thread { display: flex; flex-direction: column; gap: 16px; margin: 24px 0; }
.ticket-msg { border: 1px solid var(--border); border-radius: 12px; padding: 16px; background: var(--card); }
.ticket-msg-admin { border-left: 4px solid #3b82f6; }
.ticket-msg-user { border-left: 4px solid #64748b; }
.ticket-msg-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; font-size: .85rem; color: var(--muted); }
.ticket-msg-head strong { color: #fff; }
.ticket-msg-body { line-height: 1.55; color: #cbd5e1; }
.ticket-attachments { list-style: none; padding: 0; margin: 10px 0 0; font-size: .9rem; }
.ticket-form textarea, .ticket-reply-form textarea { min-height: 120px; }

@media (max-width: 900px) {
    .account-shell { grid-template-columns: 1fr; }
    .account-nav { position: static; }
    .license-detail-grid { grid-template-columns: 1fr; }
    .doc-layout { grid-template-columns: 1fr; }
    .doc-toc { position: static; }
}
@media (max-width: 768px) {
    nav a { margin-left: 10px; font-size: .85rem; }
    .chatbot-panel { width: calc(100vw - 40px); }
}

/* —— Landing page (home) —— */
.site-body {
    background: var(--bg);
}
.site-body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(ellipse 60% 50% at 10% 0%, rgba(59,130,246,.12), transparent 50%),
        radial-gradient(ellipse 50% 40% at 90% 10%, rgba(139,92,246,.1), transparent 45%);
    pointer-events: none;
    z-index: 0;
}
.site-header, .site-main, .site-footer, .home-main { position: relative; z-index: 1; }
.success { color: #86efac; }

.landing-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 0 80px;
    min-height: 520px;
}
.landing-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.landing-hero__glow--1 {
    width: 480px; height: 480px;
    background: rgba(59, 130, 246, 0.35);
    top: -120px; left: -80px;
}
.landing-hero__glow--2 {
    width: 400px; height: 400px;
    background: rgba(139, 92, 246, 0.28);
    bottom: -80px; right: 10%;
}
.landing-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.landing-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.landing-pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.landing-pill {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--landing-border);
    background: var(--landing-surface);
    color: var(--landing-muted);
}
.landing-pill--green {
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.12);
    color: #86efac;
}
.landing-hero__title {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 16px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.landing-hero__lead {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--landing-muted);
    max-width: 520px;
    margin: 0 0 28px;
}
.landing-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.btn-landing {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-landing:hover { transform: translateY(-2px); }
.btn-landing--primary {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.35);
}
.btn-landing--ghost {
    background: var(--landing-surface);
    border-color: var(--landing-border);
    color: #fff;
}
.btn-landing--light {
    background: #fff;
    color: #0f172a;
}
.btn-landing--outline-light {
    background: transparent;
    border-color: rgba(255,255,255,.35);
    color: #fff;
}
.btn-arrow { opacity: .85; }
.landing-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.landing-hero__chips span {
    font-size: .8rem;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--landing-border);
    color: var(--landing-muted);
}

.landing-dashboard {
    background: linear-gradient(145deg, rgba(30,41,59,.9), rgba(15,23,42,.95));
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0,0,0,.45);
    overflow: hidden;
    transform: perspective(800px) rotateY(-6deg) rotateX(4deg);
}
.landing-dashboard__bar {
    display: flex; gap: 6px; padding: 12px 16px;
    background: rgba(0,0,0,.25);
    border-bottom: 1px solid var(--landing-border);
}
.landing-dashboard__bar span {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,.15);
}
.landing-dashboard__bar span:first-child { background: #ef4444; }
.landing-dashboard__bar span:nth-child(2) { background: #eab308; }
.landing-dashboard__bar span:nth-child(3) { background: #22c55e; }
.landing-dashboard__body { display: flex; min-height: 260px; }
.landing-dashboard__sidebar {
    width: 72px; padding: 16px 12px;
    border-right: 1px solid var(--landing-border);
    display: flex; flex-direction: column; gap: 10px;
}
.dash-line {
    height: 8px; border-radius: 4px;
    background: rgba(255,255,255,.08);
}
.dash-line--active { background: linear-gradient(90deg, #3b82f6, #8b5cf6); width: 80%; }
.landing-dashboard__main { flex: 1; padding: 16px; }
.dash-stat-row { display: flex; gap: 12px; margin-bottom: 16px; }
.dash-stat {
    flex: 1; padding: 12px; border-radius: 10px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--landing-border);
}
.dash-stat strong { display: block; font-size: 1.25rem; color: #fff; }
.dash-stat small { color: var(--landing-muted); font-size: .75rem; }
.dash-stat--accent { border-color: rgba(59,130,246,.4); }
.dash-chart {
    display: flex; align-items: flex-end; gap: 8px;
    height: 80px; margin-bottom: 16px;
}
.dash-bar {
    flex: 1; border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, rgba(59,130,246,.6), rgba(59,130,246,.15));
}
.dash-bar--hot { background: linear-gradient(180deg, #ee4d2d, rgba(238,77,45,.2)); }
.dash-sync-cards { display: flex; flex-direction: column; gap: 8px; }
.dash-sync {
    display: flex; align-items: center; gap: 8px;
    font-size: .8rem; padding: 8px 10px;
    border-radius: 8px; background: rgba(255,255,255,.04);
    border: 1px solid var(--landing-border);
    color: var(--landing-muted);
}
.dash-sync span {
    width: 22px; height: 22px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem; font-weight: 700; color: #fff;
}
.dash-sync--shopee span { background: #ee4d2d; }
.dash-sync--tiktok span { background: linear-gradient(135deg, #25f4ee, #fe2c55); }

.landing-stats { margin-top: -40px; position: relative; z-index: 2; padding-bottom: 48px; }
.landing-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.landing-stat {
    padding: 24px 20px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--landing-border);
    backdrop-filter: blur(8px);
    text-align: center;
}
.landing-stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}
.landing-stat span { font-size: .85rem; color: var(--landing-muted); }
.landing-stat--highlight {
    border-color: rgba(59, 130, 246, 0.45);
    background: linear-gradient(145deg, rgba(59,130,246,.15), rgba(15,23,42,.9));
}

.landing-section { padding: 72px 0; }
.landing-section__head { max-width: 640px; margin-bottom: 40px; }
.landing-section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.landing-eyebrow {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #60a5fa;
    margin: 0 0 10px;
}
.landing-section h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    color: #fff;
}
.landing-section__sub { color: var(--landing-muted); line-height: 1.65; margin: 0; }

.landing-marketplace__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.landing-market-card {
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--landing-border);
    background: var(--landing-surface);
    position: relative;
    overflow: hidden;
}
.landing-market-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}
.landing-market-card--shopee::before { background: linear-gradient(90deg, #ee4d2d, #ff7337); }
.landing-market-card--tiktok::before { background: linear-gradient(90deg, #25f4ee, #fe2c55); }
.landing-market-card__icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.25rem; color: #fff;
    margin-bottom: 16px;
}
.landing-market-card--shopee .landing-market-card__icon { background: #ee4d2d; }
.landing-market-card--tiktok .landing-market-card__icon { background: #111; border: 1px solid #333; }
.landing-market-card h3 { margin: 0 0 10px; font-size: 1.35rem; color: #fff; }
.landing-market-card p { color: var(--landing-muted); line-height: 1.6; margin: 0 0 16px; }
.landing-link { color: #60a5fa; text-decoration: none; font-weight: 600; font-size: .9rem; }
.landing-link:hover { color: #93c5fd; }

.landing-bento__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.bento-card {
    padding: 24px;
    border-radius: 14px;
    border: 1px solid var(--landing-border);
    background: var(--landing-surface);
    transition: border-color .2s, transform .2s;
}
.bento-card:hover { border-color: rgba(255,255,255,.15); transform: translateY(-2px); }
.bento-card h3 { margin: 0 0 8px; font-size: 1.1rem; color: #fff; }
.bento-card p { margin: 0; font-size: .9rem; color: var(--landing-muted); line-height: 1.55; }
.bento-card--wide { grid-column: span 2; }
.bento-card--accent {
    border-color: rgba(59,130,246,.35);
    background: linear-gradient(145deg, rgba(59,130,246,.12), rgba(255,255,255,.02));
}
.bento-card--dark {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-color: rgba(255,255,255,.1);
}

.landing-plugin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}
.landing-plugin-card {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--landing-border);
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.landing-plugin-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--plugin-accent) 50%, transparent);
    box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.landing-plugin-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}
.landing-plugin-card__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: .85rem;
    background: color-mix(in srgb, var(--plugin-accent) 25%, transparent);
    color: var(--plugin-accent);
    border: 1px solid color-mix(in srgb, var(--plugin-accent) 40%, transparent);
}
.landing-plugin-card__region {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #86efac;
    margin-bottom: 6px;
}
.landing-plugin-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.landing-plugin-card h3 a { color: #fff; text-decoration: none; }
.landing-plugin-card h3 a:hover { color: #93c5fd; }
.landing-plugin-card p {
    flex: 1;
    margin: 0 0 16px;
    font-size: .9rem;
    color: var(--landing-muted);
    line-height: 1.55;
}
.landing-plugin-card__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--landing-border);
}
.catalog-card-preview {
    margin: -24px -24px 16px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.25);
}
.catalog-card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.plugin-hero__media {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.25);
}
.plugin-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.upgrade-offer {
    margin: 0 0 4px;
    color: #93c5fd;
    font-size: 0.95rem;
}
.price-was {
    font-size: 0.85rem;
    font-weight: 400;
    text-decoration: line-through;
    margin-left: 8px;
}
.catalog-review-stars {
    margin: 0 0 6px;
    font-size: 0.85rem;
    color: #fbbf24;
}
.landing-plugin-price { font-weight: 700; color: #fff; font-size: .95rem; }
.landing-featured__more { text-align: center; margin-top: 32px; }
.badge-free { background: rgba(34,197,94,.2); color: #86efac; }
.badge-one_time { background: rgba(59,130,246,.2); color: #93c5fd; }
.badge-subscription { background: rgba(234,179,8,.2); color: #fde047; }

.landing-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.landing-timeline li {
    padding: 28px;
    border-radius: 14px;
    border: 1px solid var(--landing-border);
    background: var(--landing-surface);
}
.landing-timeline__num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}
.landing-timeline strong { display: block; color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.landing-timeline p { margin: 0; color: var(--landing-muted); font-size: .9rem; line-height: 1.55; }

.landing-cta {
    padding: 0 0 80px;
}
.landing-cta__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 48px 40px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1e40af 0%, #4c1d95 50%, #1e293b 100%);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 24px 64px rgba(0,0,0,.4);
}
.landing-cta h2 { margin: 0 0 8px; font-size: 1.75rem; color: #fff; }
.landing-cta p { margin: 0; color: rgba(255,255,255,.75); }
.landing-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 960px) {
    .landing-hero__inner { grid-template-columns: 1fr; }
    .landing-hero__visual { order: -1; max-width: 420px; margin: 0 auto; }
    .landing-dashboard { transform: none; }
    .landing-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .landing-marketplace__grid { grid-template-columns: 1fr; }
    .landing-bento__grid { grid-template-columns: 1fr; }
    .bento-card--wide { grid-column: span 1; }
    .landing-plugin-grid { grid-template-columns: 1fr 1fr; }
    .landing-timeline { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .landing-stats__grid,
    .landing-plugin-grid { grid-template-columns: 1fr; }
    .landing-cta__inner { padding: 32px 24px; }
    .landing-hero { padding-top: 32px; }
}

.catalog-filters, .search-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; align-items: center; }
.catalog-filters input[type=search], .search-bar input[type=search] { flex: 1; min-width: 180px; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; }
.faq-public-category { margin-bottom: 28px; }
.faq-public-item { border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px 16px; margin-bottom: 8px; }
.faq-public-answer { margin-top: 10px; color: #475569; }
.search-results { list-style: none; padding: 0; }
.search-results li { padding: 8px 0; border-bottom: 1px solid #f1f5f9; }
.changelog-item { padding: 16px 0; border-bottom: 1px solid #e2e8f0; }
.account-shell.narrow { max-width: 480px; margin: 0 auto; }
.impersonate-banner { background: #fef3c7; color: #92400e; padding: 10px 16px; text-align: center; font-size: 14px; }
.impersonate-banner a { color: #b45309; font-weight: 600; }
.cookie-consent { position: fixed; bottom: 0; left: 0; right: 0; background: #1e293b; color: #f8fafc; padding: 12px 20px; display: flex; gap: 12px; align-items: center; justify-content: center; z-index: 9999; font-size: 14px; }
.cookie-consent a { color: #93c5fd; }

#site-notices-root { position: relative; z-index: 9000; }
.site-notice-banner {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 16px;
    font-size: 14px;
    border-bottom: 1px solid transparent;
}
.site-notice-banner--info { background: rgba(59,130,246,.15); color: #bfdbfe; border-color: rgba(59,130,246,.3); }
.site-notice-banner--warning { background: rgba(234,179,8,.15); color: #fde68a; border-color: rgba(234,179,8,.35); }
.site-notice-banner--success { background: rgba(34,197,94,.12); color: #86efac; border-color: rgba(34,197,94,.25); }
.site-notice-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.site-notice-banner__text { display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.site-notice-banner__text strong { font-weight: 600; }
.site-notice-banner__actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.site-notice-dismiss {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    opacity: .8;
}
.site-notice-dismiss:hover { opacity: 1; }
body.has-site-notices .site-header { top: var(--site-notice-offset, 0); }
.site-notice-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.72);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.site-notice-modal {
    max-width: 480px;
    width: 100%;
    margin: 0;
    box-shadow: 0 24px 48px rgba(0,0,0,.35);
}
.site-notice-modal--info { background: #1e293b; color: #e2e8f0; border-color: rgba(59,130,246,.35); }
.site-notice-modal--warning { background: #422006; color: #fde68a; border-color: rgba(234,179,8,.35); }
.site-notice-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.site-notice-modal__head h2 { margin: 0; font-size: 1.15rem; }
.site-notice-modal__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
body.site-notice-modal-open { overflow: hidden; }
