:root {
    --primary: #2563eb;
    --secondary: #22c55e;
    --purple: #7c3aed;
    --dark: #070b1d;
    --dark2: #0d1433;
    --text: #111827;
    --muted: #5f687a;
    --light: #f5f7fb;
    --white: #ffffff;
    --border: #e3e8f3;
    --shadow: 0 22px 60px rgba(15, 23, 42, .10);
    --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: var(--dark);
    color: #f8fafc;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.countdown-banner {
    background: linear-gradient(90deg, var(--primary), var(--purple));
    color: #fff;
    text-align: center;
    padding: 9px 16px;
    font-weight: 800;
    font-size: 14px;
}
.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(7, 11, 29, .88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.10);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.logo { font-size: 24px; font-weight: 950; letter-spacing: -.04em; color: #fff; }
.logo span { color: #93c5fd; margin-left: 3px; }
.menu { display: flex; align-items: center; gap: 24px; }
.menu a { color: rgba(255,255,255,.74); font-weight: 750; font-size: 15px; }
.menu a:hover { color: #fff; }
.mobile-menu-btn { display:none; border:0; border-radius:12px; background: rgba(255,255,255,.08); color:#fff; font-size:22px; padding:8px 12px; }
.btn {
    min-height: 46px;
    border-radius: 14px;
    padding: 12px 18px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 900;
    line-height: 1.1;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--purple)); color: #fff; box-shadow: 0 14px 34px rgba(37,99,235,.28); }
.btn-secondary, .btn-whatsapp { background: linear-gradient(135deg, var(--secondary), #16a34a); color:#fff; box-shadow: 0 14px 34px rgba(34,197,94,.22); }
.btn-light { background: rgba(255,255,255,.08); color:#fff; border-color: rgba(255,255,255,.16); }
.btn-danger { background:#ef4444; color:#fff; }
.btn-disabled { background:#cbd5e1; color:#64748b; cursor:not-allowed; width:100%; }
.kicker, .section-label, .badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    font-weight: 950;
}
.kicker, .section-label {
    padding: 7px 12px;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(37,99,235,.12);
    color: #bfdbfe;
    border: 1px solid rgba(147,197,253,.22);
}
.badge { padding: 7px 12px; font-size: 12px; }
.badge.success { color:#166534; background:#dcfce7; border:1px solid #bbf7d0; }
.badge.danger { color:#991b1b; background:#fee2e2; border:1px solid #fecaca; }
.badge.dark { color:#1d4ed8; background:#dbeafe; border:1px solid #bfdbfe; }
.home-hero, .page-hero, .detail-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 15%, rgba(37,99,235,.36), transparent 30%),
        radial-gradient(circle at 90% 20%, rgba(124,58,237,.32), transparent 32%),
        linear-gradient(135deg, #070b1d 0%, #121a45 58%, #080d24 100%);
}
.home-hero::before, .page-hero::before, .detail-hero::before {
    content:''; position:absolute; inset:0;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity:.38;
}
.home-hero-grid, .detail-hero-grid { position: relative; z-index: 1; display:grid; grid-template-columns: 1.1fr .9fr; gap: 42px; align-items:center; padding: 84px 0 66px; }
.home-hero h1, .page-hero h1, .detail-hero h1 { margin: 18px 0; font-size: clamp(2.55rem, 5.2vw, 4.9rem); line-height:.98; letter-spacing:-.065em; color:#fff; }
.home-hero p, .page-hero p, .detail-hero p { color: rgba(248,250,252,.76); font-size: 18px; line-height:1.72; max-width: 720px; }
.hero-actions { display:flex; flex-wrap:wrap; gap: 12px; margin-top: 28px; }
.hero-offer-card, .detail-preview {
    background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.06));
    border:1px solid rgba(255,255,255,.14);
    border-radius: 30px;
    box-shadow: 0 30px 100px rgba(0,0,0,.32);
    padding: 26px;
    backdrop-filter: blur(12px);
}
.hero-offer-card h2 { margin: 16px 0 8px; color:#fff; font-size:30px; letter-spacing:-.04em; }
.hero-offer-card p { color: rgba(255,255,255,.72); font-size:16px; }
.hero-price { margin: 22px 0; padding: 18px; border-radius: 22px; background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); }
.hero-price small { display:block; color:#bfdbfe; font-weight:900; text-transform:uppercase; font-size:12px; margin-bottom:6px; }
.hero-price strong { font-size: 38px; color:#fff; line-height:1; }
.check-list, .list { list-style:none; padding:0; margin:0; display:grid; gap:10px; }
.check-list li { color: rgba(255,255,255,.82); font-weight:750; }
.check-list li::before { content:'✓'; color:#86efac; font-weight:950; margin-right:8px; }
.trust-strip { display:grid; grid-template-columns: repeat(4, 1fr); gap:12px; margin-top:34px; }
.trust-strip div { padding:14px; border-radius:18px; border:1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.07); }
.trust-strip strong { display:block; color:#fff; font-size:22px; }
.trust-strip span { color: rgba(255,255,255,.68); font-weight:700; font-size:13px; }
.page-hero.compact .container { position:relative; z-index:1; padding: 64px 0 46px; }
.page-hero.compact h1 { max-width: 840px; font-size: clamp(2.2rem, 4vw, 4rem); }
.section { padding: 68px 0; background: var(--dark); }
.section-light { background: var(--light); color: var(--text); }
.section-title { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:30px; }
.section-title h2 { margin: 12px 0 0; font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height:1.05; letter-spacing:-.045em; color: inherit; }
.section-title p { color: var(--muted); line-height:1.65; max-width: 720px; margin: 10px 0 0; }
.option-grid-public { display:grid; grid-template-columns: repeat(3,1fr); gap:18px; }
.option-public-card { padding:24px; border-radius:24px; background:#fff; border:1px solid var(--border); box-shadow: var(--shadow); }
.option-public-card.featured { border-color: rgba(37,99,235,.35); box-shadow: 0 24px 70px rgba(37,99,235,.15); }
.option-public-card span { width:42px; height:42px; display:grid; place-items:center; background:#eff6ff; color:#1d4ed8; border-radius:14px; font-weight:950; margin-bottom:14px; }
.option-public-card h3 { margin:0 0 8px; font-size:22px; color:#111827; }
.option-public-card p { margin:0; color:var(--muted); line-height:1.55; }
.category-grid { display:grid; grid-template-columns: repeat(6,1fr); gap:16px; }
.category-filter { margin-bottom: 28px; }
.category-card { min-height:132px; padding:18px 14px; border-radius:22px; border:1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:8px; box-shadow: 0 18px 46px rgba(0,0,0,.14); }
.section-light .category-card { background:#fff; color:#111827; border-color: var(--border); box-shadow: var(--shadow); }
.category-card:hover { transform: translateY(-4px); border-color: rgba(37,99,235,.36); }
.category-card .icon { width:48px; height:48px; display:grid; place-items:center; border-radius:16px; background: rgba(37,99,235,.11); color: var(--primary); font-size:24px; }
.category-card .icon i { line-height:1; }
.section-light .category-card .icon { background:#eef2ff; color: var(--primary); }
.category-card small { color: var(--muted); line-height:1.35; }
.cards { display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
.cards > .reveal { display:flex; }
.lp-card { width:100%; display:flex; flex-direction:column; overflow:hidden; border-radius:26px; border:1px solid var(--border); background:#fff; box-shadow: var(--shadow); color:#111827; transition: transform .24s ease, box-shadow .24s ease; }
.lp-card:hover { transform: translateY(-6px); box-shadow: 0 28px 80px rgba(15,23,42,.16); }
.lp-card .thumb { height:215px; display:flex; align-items:center; justify-content:center; background: linear-gradient(135deg, rgba(37,99,235,.16), rgba(124,58,237,.13)); color: var(--primary); font-size:48px; }
.lp-card .thumb img { width:100%; height:100%; object-fit:cover; }
.lp-body { padding:22px; flex:1; display:flex; flex-direction:column; }
.lp-body h3 { margin:12px 0 10px; font-size:22px; line-height:1.2; color:#111827; }
.lp-body p { color:var(--muted); line-height:1.58; flex:1; margin:0; }
.price { margin: 16px 0 18px; }
.new { color:#111827; font-size:22px; font-weight:950; }
.card-actions { display:grid; grid-template-columns: 1fr 1fr; gap:10px; }
.lp-card .btn-light { background:#f8fafc; color:#111827; border-color:#dbe3ef; }
.custom-landing-cta { display:grid; grid-template-columns: 1fr auto; gap:24px; align-items:center; padding:30px; border-radius:28px; border:1px solid rgba(255,255,255,.13); background: linear-gradient(135deg, rgba(37,99,235,.16), rgba(124,58,237,.10)); box-shadow: 0 28px 80px rgba(0,0,0,.20); }
.custom-landing-cta h3 { margin: 12px 0 8px; font-size:32px; color:#fff; }
.custom-landing-cta p { color:rgba(255,255,255,.72); max-width:760px; margin:0; line-height:1.6; }
.detail-hero-grid { grid-template-columns: 1fr .82fr; }
.detail-preview { min-height: 360px; padding:0; overflow:hidden; display:flex; align-items:center; justify-content:center; font-size:72px; color:#fff; }
.detail-box .thumb i { color: var(--primary); font-size:76px; }
.detail-preview img { width:100%; height:100%; object-fit:cover; }
.detail-grid, .contact-grid { display:grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .62fr); gap:26px; align-items:start; }
.light-box, .light-checkout { background:#fff; color:#111827; border:1px solid var(--border); box-shadow: var(--shadow); border-radius:26px; padding:28px; }
.detail-box h2, .checkout-box h2 { color:#111827; margin: 18px 0 12px; letter-spacing:-.035em; }
.lead-text { color:var(--muted); font-size:17px; line-height:1.75; }
.feature-list li, .compact-list li { padding:12px 14px; border-radius:14px; border:1px solid var(--border); background:#f8fafc; color:#334155; line-height:1.4; }
.checkout-box { position: sticky; top: 102px; }
.light-checkout > p { color:var(--muted); line-height:1.55; }
.single-demo-btn { width:100%; margin: 12px 0 16px; background:#f8fafc; color:#111827; border-color:#dbe3ef; }
.purchase-tabs-clean { border:1px solid var(--border); border-radius:22px; overflow:hidden; background:#fff; margin: 18px 0; }
.purchase-tab-buttons-clean { display:grid; grid-template-columns: repeat(3,1fr); gap:8px; padding:10px; background:#f8fafc; border-bottom:1px solid var(--border); }
.purchase-tab-btn.clean { border:1px solid transparent; border-radius:15px; padding:12px 10px; background:transparent; color:#64748b; cursor:pointer; font-family:inherit; text-align:center; }
.purchase-tab-btn.clean span { display:block; font-size:12px; font-weight:950; margin-bottom:4px; }
.purchase-tab-btn.clean strong { display:block; font-size:15px; color:#111827; }
.purchase-tab-btn.clean.active { background: linear-gradient(135deg, var(--primary), var(--purple)); color:#fff; box-shadow: 0 12px 30px rgba(37,99,235,.20); }
.purchase-tab-btn.clean.active strong { color:#fff; }
.purchase-tab-panel.clean { display:none; padding:22px; animation: tabFade .18s ease; }
.purchase-tab-panel.clean.active { display:block; }
.purchase-choice-head { display:flex; justify-content:space-between; gap:14px; align-items:flex-start; margin-bottom:12px; }
.purchase-choice-head small { display:block; color:#2563eb; font-weight:950; text-transform:uppercase; font-size:12px; letter-spacing:.06em; margin-bottom:6px; }
.purchase-choice-head h3 { margin:0; color:#111827; font-size:20px; line-height:1.2; }
.purchase-choice-head > strong { color:#111827; font-size:26px; white-space:nowrap; }
.purchase-tab-panel.clean p { color:var(--muted); line-height:1.58; margin:0 0 12px; }
.purchase-note { padding:13px 14px; border-radius:14px; border:1px solid #bfdbfe; background:#eff6ff; color:#1e3a8a; font-size:14px; line-height:1.45; margin-bottom:14px; }
.detail-admin-diff { margin: 22px 0; padding: 16px 18px; border-radius: 18px; background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; line-height: 1.55; }
.detail-admin-diff strong { display:block; margin-bottom:4px; color:#166534; }
.btn-option { width:100%; }
.light-checkout .btn-whatsapp { width:100%; margin: 4px 0 18px; }
.empty-state { padding:26px; border-radius:22px; background:#fff; border:1px solid var(--border); color:#64748b; box-shadow: var(--shadow); }
.footer { background:#050816; border-top:1px solid rgba(255,255,255,.10); color:rgba(255,255,255,.72); padding:34px 0; }
.footer strong { color:#fff; font-size:20px; }
.footer p { margin:8px 0 0; }
.footer-grid { display:flex; justify-content:space-between; gap:24px; align-items:center; }
.footer-links { display:flex; gap:14px; flex-wrap:wrap; }
.footer-links a { color:#bfdbfe; font-weight:800; }
.reveal { opacity:0; transform:translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
@keyframes tabFade { from { opacity:.6; transform: translateY(4px); } to { opacity:1; transform: translateY(0); } }

/* Admin */
.admin-layout { min-height:100vh; display:grid; grid-template-columns: 280px 1fr; background:#f3f6fb; color:#111827; }
.sidebar { position:sticky; top:0; height:100vh; background:#071021; color:#fff; padding:24px; border-right:1px solid rgba(255,255,255,.08); }
.sidebar .logo { display:block; margin-bottom:28px; }
.sidebar nav { display:grid; gap:8px; }
.sidebar nav a { padding:13px 14px; border-radius:14px; color:rgba(255,255,255,.75); font-weight:800; }
.sidebar nav a:hover { background:rgba(255,255,255,.08); color:#fff; }
.admin-main { padding:30px; overflow-x:auto; }
.topbar { display:flex; justify-content:space-between; align-items:center; gap:22px; margin-bottom:24px; }
.topbar h1 { margin:0; font-size:34px; letter-spacing:-.04em; color:#111827; }
.topbar p { margin:6px 0 0; color:#64748b; }
.admin-card { background:#fff; border:1px solid var(--border); border-radius:24px; box-shadow: var(--shadow); padding:24px; color:#111827; }
.form-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:16px; }
.form-grid.inner { grid-template-columns: repeat(2, minmax(0,1fr)); }
.form-group { display:grid; gap:7px; }
.form-group.full, .full { grid-column:1 / -1; }
label { font-weight:900; color:#1f2937; }
input, textarea, select { width:100%; border:1px solid #dbe3ef; border-radius:14px; padding:12px 14px; font:inherit; color:#111827; background:#fff; }
textarea { min-height:110px; resize:vertical; }
small { color:#64748b; }
.admin-help-box { grid-column:1 / -1; padding:16px 18px; border-radius:16px; border:1px solid #bfdbfe; background:#eff6ff; color:#1e3a8a; line-height:1.5; }
.admin-help-box strong { display:block; margin-bottom:4px; color:#172554; }
.admin-help-box small { color:#1d4ed8; }
.plan-admin-card { padding:18px; border:1px solid #e2e8f0; border-radius:20px; background:#f8fafc; }
.plan-admin-card h3 { margin:0 0 14px; color:#111827; }
.color-group { grid-template-columns: 1fr auto; align-items:end; }
.color-group label { grid-column:1 / -1; }
.color-group input[type="color"] { height:48px; padding:4px; }
.color-group span { font-weight:900; color:#475569; }
.stat-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:16px; }
.stat { padding:20px; border-radius:22px; background:#fff; border:1px solid var(--border); box-shadow: var(--shadow); color:#64748b; font-weight:800; }
.stat strong { display:block; color:#111827; font-size:34px; line-height:1; margin-bottom:7px; }
table { width:100%; border-collapse: collapse; }
th, td { text-align:left; padding:14px 12px; border-bottom:1px solid #e5eaf3; vertical-align:top; }
th { color:#475569; font-size:13px; text-transform:uppercase; letter-spacing:.04em; }
.actions-cell { display:flex; gap:8px; flex-wrap:wrap; }
.alert { border-radius:16px; padding:14px 16px; margin-bottom:18px; font-weight:800; }
.alert.error { background:#fee2e2; color:#991b1b; }
.alert.success { background:#dcfce7; color:#166534; }

@media (max-width: 1000px) {
    .home-hero-grid, .detail-hero-grid, .detail-grid, .contact-grid, .custom-landing-cta { grid-template-columns:1fr; }
    .category-grid { grid-template-columns: repeat(3,1fr); }
    .cards, .option-grid-public { grid-template-columns: repeat(2,1fr); }
    .trust-strip, .stat-grid { grid-template-columns: repeat(2,1fr); }
    .checkout-box { position:static; }
}
@media (max-width: 800px) {
    .menu { display:none; position:absolute; left:20px; right:20px; top:72px; padding:14px; background:#0b1026; border:1px solid rgba(255,255,255,.12); border-radius:18px; }
    .menu.open { display:grid; }
    .mobile-menu-btn { display:block; }
    .nav-cta { display:none; }
    .admin-layout { grid-template-columns:1fr; }
    .sidebar { position:relative; height:auto; }
    .admin-main { padding:20px; }
    .topbar, .section-title, .footer-grid { align-items:flex-start; flex-direction:column; }
    .form-grid, .form-grid.inner { grid-template-columns:1fr; }
}
@media (max-width: 640px) {
    .container { width: min(100% - 28px, 1140px); }
    .home-hero-grid, .detail-hero-grid { padding:54px 0 42px; }
    .hero-actions, .card-actions { display:grid; grid-template-columns:1fr; }
    .hero-actions .btn, .custom-landing-cta .btn { width:100%; }
    .trust-strip, .category-grid, .cards, .option-grid-public, .stat-grid, .purchase-tab-buttons-clean { grid-template-columns:1fr; }
    .purchase-choice-head { flex-direction:column; }
    .purchase-choice-head > strong { font-size:30px; }
    .light-box, .light-checkout, .admin-card { padding:20px; }
}


/* ===== Admin V2 - melhorias apenas no backend ===== */
.admin-v2 { background: linear-gradient(180deg,#f4f7fb 0%,#eef3f9 100%); }
.admin-v2 .sidebar { background: linear-gradient(180deg,#071021 0%,#0b1730 100%); padding:22px; }
.admin-logo { display:flex!important; align-items:center; gap:12px; color:#fff!important; text-decoration:none; }
.admin-logo-mark { width:42px; height:42px; display:grid; place-items:center; border-radius:14px; background:linear-gradient(135deg,var(--primary),var(--purple)); font-weight:950; box-shadow:0 14px 32px rgba(37,99,235,.28); }
.admin-logo span:last-child { display:grid; gap:2px; }
.admin-logo small { color:rgba(255,255,255,.58); font-size:12px; }
.admin-nav a { display:flex; align-items:center; gap:10px; transition:.2s ease; text-decoration:none; }
.admin-nav a span { width:25px; text-align:center; }
.admin-nav a.active { background:rgba(255,255,255,.12); color:#fff; box-shadow:inset 3px 0 0 var(--primary); }
.sidebar-help { margin-top:22px; padding:14px; border-radius:16px; background:rgba(255,255,255,.08); color:rgba(255,255,255,.70); font-size:13px; line-height:1.45; }
.admin-main { max-width:1480px; width:100%; }
.admin-page-head { padding:4px 0 2px; }
.eyebrow-admin { display:inline-flex; align-items:center; gap:6px; color:#2563eb; background:#dbeafe; border:1px solid #bfdbfe; border-radius:999px; padding:6px 10px; font-size:12px; font-weight:950; text-transform:uppercase; letter-spacing:.04em; margin-bottom:10px; }
.topbar-actions { display:flex; flex-wrap:wrap; gap:10px; }
.admin-card h2 { margin:0; color:#111827; letter-spacing:-.03em; }
.admin-card p { color:#64748b; line-height:1.55; }
.card-title-row { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; margin-bottom:18px; }
.card-title-row p { margin:5px 0 0; }
.admin-grid-2 { display:grid; grid-template-columns:minmax(0,1fr) minmax(340px,.72fr); gap:18px; margin-top:18px; }
.admin-stat-grid .stat { position:relative; min-height:128px; text-decoration:none!important; overflow:hidden; transition:.2s ease; }
.admin-stat-grid .stat:hover { transform:translateY(-3px); border-color:#bfdbfe; }
.admin-stat-grid .stat small { display:block; font-weight:850; color:#64748b; }
.stat-icon { position:absolute; right:18px; top:18px; width:42px; height:42px; display:grid; place-items:center; border-radius:14px; background:#eff6ff; font-size:21px; }
.stat-warning { border-color:#fde68a!important; background:#fffbeb!important; }
.admin-steps { list-style:none; padding:0; margin:0; display:grid; gap:12px; }
.admin-steps li { display:flex; gap:12px; padding:14px; border-radius:18px; background:#f8fafc; border:1px solid #e2e8f0; }
.admin-steps li > span { flex:0 0 34px; height:34px; display:grid; place-items:center; border-radius:12px; background:#2563eb; color:#fff; font-weight:950; }
.admin-steps strong { color:#111827; display:block; }
.admin-steps small { display:block; margin-top:3px; }
.quick-actions { display:grid; gap:12px; }
.quick-action { display:flex; gap:12px; padding:14px; border-radius:18px; background:#f8fafc; border:1px solid #e2e8f0; text-decoration:none; color:#111827; transition:.2s ease; }
.quick-action:hover { transform:translateY(-2px); border-color:#bfdbfe; background:#fff; }
.quick-action span { width:38px; height:38px; display:grid; place-items:center; border-radius:14px; background:#eff6ff; font-size:20px; }
.quick-action strong { display:block; }
.quick-action small { display:block; margin-top:3px; line-height:1.35; }
.admin-table-wrap { width:100%; overflow-x:auto; border-radius:18px; border:1px solid #e5eaf3; }
.admin-table { min-width:880px; }
.admin-table thead th { background:#f8fafc; }
.admin-table tbody tr:hover td { background:#fbfdff; }
.badge { display:inline-flex; align-items:center; justify-content:center; gap:5px; padding:7px 10px; border-radius:999px; font-size:12px; font-weight:950; white-space:nowrap; }
.badge.success { background:#dcfce7; color:#166534; }
.badge.danger { background:#fee2e2; color:#991b1b; }
.badge.soft { background:#eef2ff; color:#3730a3; border:1px solid #c7d2fe; }
.badge.warning { background:#fef3c7; color:#92400e; border:1px solid #fde68a; }
.btn-danger { background:#fee2e2!important; color:#991b1b!important; border-color:#fecaca!important; }
.category-admin-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.category-admin-card { border:1px solid #e5eaf3; border-radius:22px; overflow:hidden; background:#fff; box-shadow:0 12px 32px rgba(15,23,42,.06); display:flex; flex-direction:column; }
.category-admin-media { height:150px; background:linear-gradient(135deg,#eff6ff,#f5f3ff); overflow:hidden; display:grid; place-items:center; }
.category-admin-media img { width:100%; height:100%; object-fit:cover; }
.category-placeholder { font-size:46px; }
.category-admin-body { padding:16px; display:flex; flex-direction:column; gap:12px; flex:1; }
.category-admin-title { display:flex; gap:10px; align-items:center; }
.category-admin-title h3 { margin:0; color:#111827; font-size:19px; }
.category-emoji { width:38px; height:38px; display:grid; place-items:center; border-radius:14px; background:#f1f5f9; font-size:20px; }
.category-admin-body p { margin:0; min-height:48px; }
.category-meta-row { display:flex; flex-wrap:wrap; gap:8px; align-items:center; color:#64748b; font-size:13px; }
.category-meta-row span:not(.badge) { padding:7px 10px; border-radius:999px; background:#f8fafc; border:1px solid #e2e8f0; }
.category-actions { margin-top:auto; }
.form-group small { line-height:1.35; }
input:focus, textarea:focus, select:focus { outline:none; border-color:#93c5fd; box-shadow:0 0 0 4px rgba(37,99,235,.10); }
.plan-admin-card { border-color:#dbeafe; background:linear-gradient(180deg,#f8fafc,#ffffff); }
.plan-admin-card h3 { display:flex; align-items:center; gap:8px; }
@media (max-width:1200px){ .category-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr));} .admin-grid-2{grid-template-columns:1fr;} }
@media (max-width:800px){ .card-title-row{flex-direction:column;} .category-admin-grid{grid-template-columns:1fr;} .admin-logo{margin-bottom:18px!important;} .sidebar-help{display:none;} .topbar-actions{width:100%;} .topbar-actions .btn{flex:1;} }


.category-filter button.category-card,
.category-grid-clean button.category-card-clean {
    appearance: none;
    border: 0;
}
.category-filter button.category-card {
    width: 100%;
    cursor: pointer;
    font-family: inherit;
}
.category-filter button.category-card.active {
    outline: 2px solid rgba(53,99,255,.35);
    box-shadow: 0 18px 44px rgba(53,99,255,.14);
}
[data-category-item].is-hidden-by-filter {
    display: none !important;
}


.demo-video-card { border:1px solid var(--border); border-radius:22px; background:linear-gradient(180deg,#f8fafc,#fff); padding:16px; margin-bottom:18px; box-shadow:0 14px 34px rgba(15,23,42,.06); }
.demo-video-head h3 { margin:10px 0 6px; color:#111827; font-size:21px; line-height:1.18; letter-spacing:-.035em; }
.demo-video-head p { margin:0 0 12px; color:var(--muted); line-height:1.45; font-size:14px; }
.demo-video-toggle { width:100%; display:flex; align-items:center; justify-content:center; gap:8px; }
.demo-video-player { display:none; margin-top:14px; border-radius:18px; overflow:hidden; background:#020617; aspect-ratio:16/9; }
.demo-video-card.active .demo-video-player { display:block; }
.demo-video-media { width:100%; height:100%; display:block; border:0; object-fit:cover; }
