/**
 * public.css
 * Estilos globais para todas as páginas públicas do Mural Digital Corporativo
 * (index, login, login_global, planos, ajuda)
 *
 * NÃO se aplica à área logada de empresas — cada empresa usa suas cores via tenant.php
 */

/* ===== GOOGLE FONTS (importado aqui para páginas que usam head_common.php) ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Bebas+Neue&display=swap');

/* ===== BASE ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.public-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a2e;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.public-page h1,
body.public-page h2,
body.public-page h3,
body.public-page .hero-title,
body.public-page .section-header h2,
body.public-page .plan-name {
    font-family: 'Bebas Neue', 'Inter', sans-serif;
}

/* ===== NAVBAR PÚBLICA ===== */
.navbar-public {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0.75rem 0;
    transition: all 0.35s cubic-bezier(.4,0,.2,1);
    z-index: 1050;
}
.navbar-public.scrolled {
    background: rgba(15, 23, 42, 0.97);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}
.navbar-public .navbar-brand img {
    max-height: 38px;
    filter: none;
    transition: transform 0.3s;
}
.navbar-public .navbar-brand:hover img { transform: scale(1.05); }
.navbar-public .navbar-toggler {
    border-color: rgba(255,255,255,0.25);
    padding: 0.35rem 0.6rem;
}
.navbar-public .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-public .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    letter-spacing: 0.01em;
    transition: color 0.2s, transform 0.2s;
    position: relative;
}
.navbar-public .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.25s cubic-bezier(.4,0,.2,1);
}
.navbar-public .nav-link:hover { color: #fff !important; }
.navbar-public .nav-link:hover::after { transform: scaleX(1); }
.navbar-public .nav-link.active::after { transform: scaleX(1); opacity: 0.6; }
.navbar-public .btn {
    margin-left: 0.75rem;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 8px;
}
.navbar-public .btn-outline-light { border-color: rgba(255,255,255,0.3); }
.navbar-public .btn-outline-light:hover { background: #fff; color: #1a1a2e; }

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-header .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #1a1a2e;
    letter-spacing: -0.02em;
}
.section-header p {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== HERO (genérico) ===== */
.public-hero {
    background: linear-gradient(160deg, var(--brand-primary) 0%, var(--brand-secondary) 60%, #1a1a2e 100%);
    color: #fff;
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}
.public-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.public-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: #fff;
    clip-path: ellipse(55% 100% at 50% 100%);
}
.public-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.public-hero p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.92;
    max-width: 600px;
}

/* ===== CARDS GENÉRICOS ===== */
.public-card {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.35s cubic-bezier(.4,0,.2,1);
    position: relative;
    overflow: hidden;
}
.public-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
    transform: scaleX(0);
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
    transform-origin: left;
}
.public-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: rgba(255,255,255,0.12);
}
.public-card:hover::before { transform: scaleX(1); }

/* ===== STATS SECTION ===== */
.public-stats {
    padding: 70px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
}
.public-stats .stat-number {
    font-size: clamp(2.2rem, 4vw, 3.25rem);
    font-weight: 900;
    margin-bottom: 0.3rem;
    display: block;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.75));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.public-stats .stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== CTA SECTION ===== */
.public-cta {
    padding: 80px 0;
    background: linear-gradient(160deg, var(--brand-primary) 0%, var(--brand-secondary) 60%, #1a1a2e 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.public-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 80px;
    background: #fff;
    clip-path: ellipse(55% 100% at 50% 0%);
}
.public-cta h2 {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.public-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    border: 2px solid transparent;
    text-decoration: none;
}
.btn-hero:hover { text-decoration: none; }
.btn-hero-primary {
    background: #fff;
    color: var(--brand-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    color: var(--brand-primary);
}
.btn-hero-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}
.btn-hero-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
    transform: translateY(-2px);
}
.btn-cta {
    padding: 0.85rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
}
.btn-cta:hover { transform: translateY(-2px); }

/* ===== FOOTER PÚBLICO ===== */
.footer-public {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 30px;
}
.footer-public h5 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-public p { font-size: 0.9rem; line-height: 1.7; }
.footer-public a {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    transition: color 0.2s, padding-left 0.2s;
}
.footer-public a:hover {
    color: #fff;
    padding-left: 4px;
}
.footer-public .footer-bottom {
    border-top: 1px solid rgba(148,163,184,0.15);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}

/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== LOGIN PAGES ===== */
body.login-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 50%, #0f172a 100%) !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto !important;
    -webkit-font-smoothing: antialiased;
}
.login-wrapper {
    max-width: 420px;
    width: 100%;
    padding: 1.5rem;
}
.login-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}
.login-header {
    background: linear-gradient(160deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: #fff;
    padding: 2rem 2rem 1.75rem;
    text-align: center;
    position: relative;
}
.login-header::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 30px;
    background: #fff;
    clip-path: ellipse(55% 100% at 50% 100%);
}
.login-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0.75rem 0 0.25rem;
    letter-spacing: -0.01em;
}
.login-header p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.85;
}
.login-header .company-logo {
    font-size: 2.5rem;
    margin-bottom: 0;
}
.login-header .company-logo img {
    max-height: 56px;
    max-width: 200px;
    object-fit: contain;
}
.login-body {
    padding: 2rem;
}
.login-body .form-group { margin-bottom: 1.25rem; }
.login-body .form-label {
    font-weight: 600;
    color: #334155;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}
.login-body .form-control {
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(180deg, rgba(28, 28, 28, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
    background-image: none;
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
    font-size: 0.9rem;
    color: #f3f4f6;
    color-scheme: dark;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.login-body .form-control:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 4px 8px rgba(var(--brand-primary-rgb,0,123,255), 0.15);
    transform: translateY(-1px);
}
.login-body .input-group-text {
    background: linear-gradient(180deg, rgba(28, 28, 28, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
    border: 2px solid rgba(255,255,255,0.08);
    border-left: none;
    color: #9ca3af;
    border-radius: 0 10px 10px 0;
}
.btn-login {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    border: none;
    color: #fff;
    padding: 0.75rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    width: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    color: #fff;
}
.back-to-mural {
    text-align: center;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}
.back-to-mural a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}
.back-to-mural a:hover { color: var(--brand-primary); }

/* ===== PLANS PAGE ===== */
.plans-hero {
    background: linear-gradient(160deg, var(--brand-primary) 0%, var(--brand-secondary) 60%, #1a1a2e 100%);
    color: #fff;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.plans-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.plans-hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 70px;
    background: #f8fafc;
    clip-path: ellipse(55% 100% at 50% 100%);
}
.plans-hero h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}
.plans-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Plan Cards */
.plans-section {
    padding: 60px 0;
    background: #f8fafc;
}
.plan-card {
    background: linear-gradient(180deg, rgba(26,26,26,0.98) 0%, rgba(18,18,18,0.98) 100%);
    border-radius: 16px;
    padding: 2.25rem 2rem;
    height: 100%;
    position: relative;
    border: 2px solid rgba(255,255,255,0.08);
    transition: all 0.35s cubic-bezier(.4,0,.2,1);
}
.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15,23,42,0.1);
}
.plan-card.featured {
    border-color: var(--brand-primary);
    box-shadow: 0 8px 30px rgba(var(--brand-primary-rgb,0,123,255), 0.18);
}
.plan-badge {
    position: absolute;
    top: -14px; right: 24px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #fff;
    padding: 0.35rem 1.25rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.plan-name {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}
.plan-price {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
}
.plan-price small {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 400;
}
.plan-description {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}
.plan-features li {
    padding: 0.65rem 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #334155;
}
.plan-features li:last-child { border-bottom: none; }
.plan-features i {
    margin-right: 0.75rem;
    color: #22c55e;
    font-size: 0.85rem;
}

/* Comparison Table */
.comparison-section {
    padding: 80px 0;
    background: #fff;
}
.comparison-table {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15,23,42,0.06);
    border: 1px solid #e2e8f0;
}
.comparison-table table { margin: 0; }
.comparison-table thead {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
}
.comparison-table thead th {
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 700;
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}
.comparison-table tbody td {
    padding: 0.85rem 1rem;
    border: 1px solid #f1f5f9;
    text-align: center;
    vertical-align: middle;
    font-size: 0.88rem;
}
.comparison-table tbody tr:hover { background: #f8fafc; }
.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: #334155;
}
.category-header {
    background: #f1f5f9 !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    text-align: left !important;
    font-size: 0.9rem !important;
}
.icon-check { color: #22c55e; font-size: 1.1rem; }
.icon-times { color: #ef4444; font-size: 1.1rem; }

/* Reasons Section */
.reasons-section {
    padding: 80px 0;
    background: #f8fafc;
}
.reason-card {
    text-align: center;
    padding: 2rem;
}
.reason-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #fff;
    transition: transform 0.3s;
}
.reason-card:hover .reason-icon { transform: scale(1.08) rotate(-3deg); }
.reason-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1a1a2e;
}
.reason-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ===== HELP PAGE ===== */
body.help-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8fafc;
    -webkit-font-smoothing: antialiased;
}
.help-hero {
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.help-hero .brand img {
    height: 46px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.help-hero h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.01em;
}
.help-hero p {
    margin: 4px 0 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}
.help-intro {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #fff;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.help-intro h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.help-intro p { margin: 0; opacity: 0.92; font-size: 0.95rem; }

body.help-page .card {
    background: linear-gradient(180deg, rgba(26,26,26,0.98) 0%, rgba(18,18,18,0.98) 100%);
    border: none;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(15,23,42,0.06);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}
body.help-page .card:hover {
    box-shadow: 0 6px 20px rgba(15,23,42,0.1);
    transform: translateY(-2px);
}
body.help-page .card .card-header {
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0;
}
body.help-page .card .card-header button {
    width: 100%;
    text-align: left;
    padding: 1rem 1.25rem;
    color: #1a1a2e;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.25s ease;
    border: none;
    background: none;
}
body.help-page .card .card-header button:hover {
    background: #f8fafc;
    text-decoration: none;
}
body.help-page .card .card-header button i {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #fff;
    border-radius: 8px;
    font-size: 0.7rem;
}
body.help-page .card .card-header button[aria-expanded="true"] {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #fff;
}
body.help-page .card .card-header button[aria-expanded="true"] i {
    background: rgba(255,255,255,0.2);
}
body.help-page .card-body {
    padding: 1.5rem;
    color: #334155;
    line-height: 1.7;
    font-size: 0.92rem;
}
.btn-back {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}
.btn-back:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none;
    transform: translateX(-3px);
}

/* Help page auxiliaries */
.badge-tip {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    margin-right: 0.5rem;
}
.faq-question {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #0f172a;
}
.faq-answer {
    padding-left: 1rem;
    margin-bottom: 1.25rem;
    border-left: 3px solid var(--brand-primary, #6366f1);
}
body.help-page code {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #e11d48;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}
body.help-page .list-unstyled > li {
    margin-bottom: 0.6rem;
    padding-left: 0.5rem;
}

footer.help-footer {
    background: #0f172a;
    color: rgba(255,255,255,0.6);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
    font-size: 0.85rem;
}
footer.help-footer a { color: rgba(255,255,255,0.8); }
footer.help-footer a:hover { color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .public-hero { padding: 80px 0 100px; }
    .plans-hero { padding: 80px 0 60px; }
}
@media (max-width: 768px) {
    .public-hero { padding: 60px 0 80px; }
    .public-hero h1 { font-size: 1.9rem; }
    .public-hero::after,
    .public-cta::before,
    .plans-hero::after { height: 40px; }
    .plans-hero h1 { font-size: 1.6rem; }
    .plan-price { font-size: 1.8rem; }
    .comparison-table { font-size: 0.8rem; }
    .comparison-table thead th,
    .comparison-table tbody td { padding: 0.65rem 0.4rem; }
}

/* ===== MURALFLIX BRAND REFRESH ===== */
body.public-page {
    color: #f5f5f1;
    background:
        radial-gradient(circle at top, rgba(229,9,20,0.16) 0%, rgba(229,9,20,0) 34%),
        linear-gradient(180deg, #090909 0%, #111111 48%, #090909 100%);
}

.navbar-public {
    background: rgba(8, 8, 8, 0.88);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar-public.scrolled {
    background: rgba(5, 5, 5, 0.96);
    box-shadow: 0 10px 32px rgba(0,0,0,0.35);
}

.navbar-public .btn-outline-light:hover {
    background: #fff;
    color: #111;
}

.navbar-public .btn-success {
    background: #e50914;
    border-color: #e50914;
}

.navbar-public .btn-success:hover {
    background: #f6121d;
    border-color: #f6121d;
}

.section-header .section-badge,
.hero-badge {
    background: rgba(229, 9, 20, 0.14);
    border: 1px solid rgba(229, 9, 20, 0.32);
    color: #fff;
}

.section-header h2,
.plans-section h2,
.comparison-section h2,
.reasons-section h2,
.solution-card h3,
.feature-content h4,
.reason-card h4,
.plan-name,
.category-header,
.comparison-table tbody td:first-child {
    color: #fff;
}

.section-header p,
.solution-card p,
.feature-content p,
.reason-card p,
.plan-description,
.footer-public,
.footer-public a,
.hero-subtitle,
.comparison-table tbody td,
.plan-features li,
.back-to-mural a,
.login-header p,
.login-body .form-label,
.help-hero p,
.help-intro p,
body.help-page .card-body {
    color: #b3b3b3;
}

.public-hero,
.plans-hero,
.public-cta {
    background:
        linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.64) 42%, rgba(0,0,0,0.82) 100%),
        linear-gradient(180deg, #1a0b0c 0%, #090909 100%);
}

.public-hero::before,
.plans-hero::before {
    background: radial-gradient(circle, rgba(229,9,20,0.22) 0%, transparent 70%);
}

.public-hero::after,
.public-cta::before,
.plans-hero::after {
    background: #141414;
}

.hero-title span,
.plan-price,
.back-to-mural a:hover,
.footer-public a:hover,
body.help-page code {
    color: #e50914;
}

.btn-hero-primary,
.btn-login,
.plan-badge,
.help-intro,
body.help-page .card .card-header button[aria-expanded="true"] {
    background: linear-gradient(135deg, #e50914, #b20710);
    color: #fff;
}

.btn-hero-primary:hover,
.btn-login:hover {
    box-shadow: 0 14px 28px rgba(229, 9, 20, 0.34);
    color: #fff;
}

.btn-hero-ghost,
.btn-back {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.16);
}

.btn-hero-ghost:hover,
.btn-back:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.24);
    color: #fff;
}

.solutions-section,
.features-section,
.plans-section,
.reasons-section,
.help-page,
.comparison-section {
    background: #141414;
}

.solution-card,
.feature-item,
.public-card,
.reason-card,
.plan-card,
.comparison-table,
body.help-page .card,
.login-card,
.stat-item {
    background: linear-gradient(180deg, rgba(26,26,26,0.98) 0%, rgba(18,18,18,0.98) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 36px rgba(0,0,0,0.22);
}

.solution-card,
.feature-item,
.public-card,
.plan-card,
.reason-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.solution-card:hover,
.feature-item:hover,
.public-card:hover,
.plan-card:hover,
.reason-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 24px 44px rgba(0,0,0,0.34);
    border-color: rgba(229,9,20,0.22);
}

.hero-visual {
    background: linear-gradient(180deg, rgba(24,24,24,0.92) 0%, rgba(10,10,10,0.98) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 28px 60px rgba(0,0,0,0.45);
}

.hero-visual::before {
    background: linear-gradient(135deg, rgba(229,9,20,0.5), rgba(255,255,255,0.04));
}

.public-stats,
.footer-public,
.help-hero,
footer.help-footer {
    background: linear-gradient(180deg, #050505 0%, #111111 100%);
}

.login-card,
.login-header,
.login-body .form-control,
.login-body .input-group-text {
    color: #fff;
}

.login-header {
    background: linear-gradient(180deg, #1a1a1a 0%, #101010 100%);
}

.login-header::after {
    background: #141414;
}

.login-body .form-control,
.login-body .input-group-text {
    background: linear-gradient(180deg, rgba(28, 28, 28, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
    border: 2px solid rgba(255,255,255,0.08);
}

.login-body .input-group .btn,
.login-body .input-group-append .btn {
    background: linear-gradient(180deg, rgba(28, 28, 28, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
    border: 2px solid rgba(255,255,255,0.08);
    border-left: none;
    color: #9ca3af;
    border-radius: 0 10px 10px 0;
}

.login-body .form-control::placeholder {
    color: #9ca3af;
}

.login-body .form-control:focus {
    background: linear-gradient(180deg, rgba(28, 28, 28, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
    border-color: var(--brand-primary);
    box-shadow: 0 4px 8px rgba(var(--brand-primary-rgb, 229, 9, 20), 0.15);
}

.login-body .input-group .btn:hover,
.login-body .input-group .btn:focus,
.login-body .input-group-append .btn:hover,
.login-body .input-group-append .btn:focus {
    background: linear-gradient(180deg, rgba(28, 28, 28, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
    border-color: var(--brand-primary);
    box-shadow: none;
    color: #ffffff;
}

.login-body .form-control option {
    background-color: #151515;
    color: #f3f4f6;
}

.login-body .form-control:-webkit-autofill,
.login-body .form-control:-webkit-autofill:hover,
.login-body .form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #151515 inset !important;
    box-shadow: 0 0 0 1000px #151515 inset !important;
    -webkit-text-fill-color: #f3f4f6 !important;
    caret-color: #f3f4f6;
    border: 2px solid rgba(255,255,255,0.08) !important;
    border-radius: 10px !important;
    -webkit-background-clip: padding-box !important;
    background-clip: padding-box !important;
}

.login-body .form-control:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #151515 inset, 0 4px 8px rgba(var(--brand-primary-rgb, 229, 9, 20), 0.15) !important;
    box-shadow: 0 0 0 1000px #151515 inset, 0 4px 8px rgba(var(--brand-primary-rgb, 229, 9, 20), 0.15) !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 2px solid var(--brand-primary) !important;
}

.back-to-mural {
    border-top: 1px solid rgba(255,255,255,0.08);
}

.comparison-table thead {
    background: linear-gradient(135deg, #1c1c1c, #090909);
}

.comparison-table tbody tr:hover {
    background: rgba(229, 9, 20, 0.06);
}

.category-header {
    background: rgba(229, 9, 20, 0.12) !important;
}

.help-hero .brand img {
    filter: none;
}

.faq-question,
body.help-page code,
body.help-page .card .card-header,
body.help-page .card .card-header button:hover {
    background: #1a1a1a;
}
