/* ==============================================================================
   UltraOnePanel – Primary Stylesheet
   Color palette matched to uPanel Jupiter UI:
     Navy dark sidebar : #1a2035 / #1e2847 / #161d2f
     Brand orange      : #f97316 (Tailwind orange-500)
     Orange hover      : #ea6c0f / #c2550d
     Background        : #0d1120 (page) | #f4f6f9 (light content panels)
     Card surface      : #1a2035
     Border            : rgba(255,255,255,0.08) dark | #e2e8f0 light
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ── CSS Custom Properties ──────────────────────────────────────────────────── */
:root {
    /* Brand */
    --brand-primary:    #f97316;   /* orange-500 */
    --brand-secondary:  #ea6c0f;   /* orange-600 */
    --brand-accent:     #fb923c;   /* orange-400 */
    --brand-light:      #fed7aa;   /* orange-200 */
    --brand-gradient:   linear-gradient(135deg, #ea6c0f 0%, #f97316 60%, #fb923c 100%);
    --brand-gradient-h: linear-gradient(135deg, #c2550d 0%, #ea6c0f 60%, #f97316 100%);

    /* Dark surfaces — lightened palette */
    --dark-bg:          #1b2236;
    --dark-nav:         #232d47;
    --dark-card:        #2a3454;
    --dark-surface:     #2f3a5e;
    --dark-border:      rgba(255, 255, 255, 0.10);
    --dark-border-b:    rgba(255, 255, 255, 0.07);
}

/* ���─ Base ───────────────────────────────────────────────────────────────────── */
html, body {
    background-color: var(--dark-bg) !important;
    color: #e2e8f0 !important;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
}

code, pre, .font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* ── Scrollbar ──────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: #3a4a6b; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #4a5a80; }

/* ── Selection ──────────────────────────────────────────────────────────────── */
::selection { background-color: #f97316; color: #ffffff; }

/* ── Announcement Bar ───────────────────────────────────────────────────────── */
.announcement-bar {
    background: linear-gradient(90deg, #c2550d 0%, #f97316 50%, #c2550d 100%) !important;
    border-bottom: 1px solid rgba(249,115,22,0.4) !important;
    color: #fff !important;
}
.announcement-bar .text-slate-300 { color: #fff !important; }
.announcement-bar a {
    color: #fff !important;
    text-decoration: underline;
    font-weight: 800;
}
.announcement-bar .bg-emerald-500\/20,
.announcement-bar .text-emerald-300,
.announcement-bar .border-emerald-500\/30 {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.4) !important;
}

/* ── Navigation ─────────────────────────────────────────────────────────────── */
header {
    background: var(--dark-nav) !important;
    border-bottom-color: rgba(255,255,255,0.07) !important;
}
header nav a:hover,
header .hover\:text-emerald-400:hover { color: #f97316 !important; }

/* Brand name accent span */
header .text-emerald-400 { color: #f97316 !important; }

/* CTA "Get UltraOnePanel" button */
header a[href*="pricing"] .bg-gradient-to-r,
header a.bg-gradient-to-r {
    background: var(--brand-gradient) !important;
    box-shadow: 0 4px 18px rgba(249,115,22,0.35) !important;
}

/* ── Emerald → Orange global swap ───────────────────────────────────────────── */
/* Text */
.text-emerald-400,
.text-emerald-300,
.text-emerald-500 { color: #f97316 !important; }
.text-green-400,
.text-green-300,
.text-teal-300    { color: #fb923c !important; }

/* Background tints */
.bg-emerald-500\/10,
.bg-emerald-500\/20,
.bg-green-950\/40,
.bg-emerald-950\/60,
.bg-emerald-950\/40 { background-color: rgba(249,115,22,0.10) !important; }

/* Borders */
.border-emerald-500\/20,
.border-emerald-500\/30,
.border-emerald-500\/40,
.border-emerald-500\/50 { border-color: rgba(249,115,22,0.30) !important; }
.border-emerald-500 { border-color: #f97316 !important; }

/* Hover states */
.hover\:border-emerald-500\/40:hover,
.hover\:border-emerald-500\/50:hover { border-color: rgba(249,115,22,0.50) !important; }
.hover\:text-emerald-400:hover,
.hover\:text-emerald-300:hover       { color: #f97316 !important; }
.hover\:text-emerald-400:hover       { color: #f97316 !important; }

/* Gradient buttons: from-emerald-500 to-green-600 */
.from-emerald-500,
.bg-gradient-to-r.from-emerald-500 {
    --tw-gradient-from: #f97316 !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}
.to-green-600,
.to-teal-300 {
    --tw-gradient-to: #ea6c0f !important;
}
.hover\:from-emerald-400:hover { --tw-gradient-from: #fb923c !important; }
.hover\:to-green-500:hover     { --tw-gradient-to: #f97316 !important; }

/* Shadow glow */
.shadow-emerald-500\/20,
.shadow-emerald-500\/25,
.shadow-emerald-500\/30 {
    --tw-shadow-color: rgba(249,115,22,0.30) !important;
}

/* Focus ring */
.focus\:border-emerald-400:focus,
.focus\:border-emerald-500:focus { border-color: #f97316 !important; }

/* Ping animation dot */
.bg-emerald-400.animate-ping,
.bg-emerald-400.animate-pulse { background-color: #f97316 !important; }
.bg-emerald-400 { background-color: #f97316 !important; }
.bg-emerald-500 { background-color: #f97316 !important; }

/* bg-gradient used in CTA sections */
.via-emerald-950\/40 { --tw-gradient-stops: var(--tw-gradient-from), rgba(154,52,18,0.25), var(--tw-gradient-to) !important; }

/* ── Dark surface cards ──────────────────────────────────────────────────────── */
.bg-\[\#0b0f19\],
body { background-color: var(--dark-bg) !important; }

.bg-slate-950\/60 { background-color: rgba(27,34,54,0.75) !important; }
.bg-slate-900     { background-color: var(--dark-card) !important; }
.bg-slate-900\/40 { background-color: rgba(42,52,84,0.4) !important; }

/* ── Glassmorphism ───────────────────────────────────────────────────────────── */
.glass-panel {
    background: rgba(42, 52, 84, 0.80) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.40) !important;
}

.glass-card {
    background: rgba(42, 52, 84, 0.65) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-card:hover {
    transform: translateY(-3px);
    border-color: rgba(249, 115, 22, 0.40) !important;
    box-shadow: 0 16px 32px -8px rgba(249, 115, 22, 0.18) !important;
}

/* ── Terminal ────────────────────────────────────────────────────────────────── */
.terminal-window {
    background: #1b2236 !important;
    border: 1px solid #3a4a6b !important;
    border-radius: 14px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45) !important;
    overflow: hidden;
}
.terminal-header {
    background: #232d47 !important;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #3a4a6b !important;
}
.terminal-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    display: inline-block;
}

/* ── Tables ──────────────────────────────────────────────────────────────────── */
.custom-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.custom-table th {
    background-color: rgba(42,52,84,0.9) !important;
    color: #94a3b8 !important;
    font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.09) !important;
}
.custom-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    font-size: 0.875rem; color: #cbd5e1 !important;
    vertical-align: middle;
}
.custom-table tr:hover td { background-color: rgba(47,58,94,0.6) !important; }

/* ── Badges ──────────────────────────────────────────────────────────────────── */
.badge-tag {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px; border-radius: 9999px;
    font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em;
}

/* ── Flash alerts ────────────────────────────────────────────────────────────── */
.alert-box {
    padding: 14px 18px; border-radius: 12px; margin-bottom: 20px;
    font-size: 0.875rem; display: flex; align-items: center; gap: 12px;
}
.alert-box.success  { background: rgba(249,115,22,0.10); border: 1px solid rgba(249,115,22,0.35); color: #fb923c; }
.alert-box.danger   { background: rgba(239, 68, 68,0.12); border: 1px solid rgba(239, 68, 68,0.3); color: #f87171; }
.alert-box.warning  { background: rgba(245,158, 11,0.12); border: 1px solid rgba(245,158, 11,0.3); color: #fbbf24; }
.alert-box.info     { background: rgba(249,115,22,0.10); border: 1px solid rgba(249,115,22,0.30); color: #fb923c; }

/* ── Pricing billing switcher ───────────────────────────────────────────────── */
.billing-cycle-btn.active,
.billing-cycle-btn[style*="background"] {
    background: var(--brand-primary) !important;
    color: #fff !important;
}

/* ── Screenshot showcase ────────────────────────────────────────────────────── */
.screenshot-tab.active,
.screenshot-tab.bg-emerald-500 {
    background: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(249,115,22,0.35) !important;
}
.screenshot-thumb.border-emerald-500 { border-color: var(--brand-primary) !important; }

/* ── Hero ping dot ───────────────────────────────────────────────────────────── */
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
.animate-ping { animation: ping 1.2s cubic-bezier(0,0,0.2,1) infinite; }

/* ── Orange glow blobs (override green) ─────────────────────────────────────── */
.from-emerald-600\/15 { --tw-gradient-from: rgba(249,115,22,0.12) !important; }
.via-green-600\/10    { --tw-gradient-stops: var(--tw-gradient-from), rgba(234,108,15,0.08), var(--tw-gradient-to) !important; }
.to-teal-600\/15      { --tw-gradient-to: rgba(249,115,22,0.10) !important; }
.bg-emerald-500\/10.blur-\[90px\] { background-color: rgba(249,115,22,0.08) !important; }

/* ── Admin / Client amber overrides (keep amber for WHM badge) ───────────────── */
/* amber stays as-is for UltraWHM Staff badge — intentionally not overridden */

/* ── Footer social icons hover ───────────────────────────────────────────────── */
footer a.hover\:text-emerald-400:hover { color: #f97316 !important; }
footer a.hover\:border-emerald-500\/50:hover { border-color: rgba(249,115,22,0.5) !important; }
footer .text-emerald-400 { color: #f97316 !important; }
footer .text-emerald-300 { color: #fb923c !important; }

/* ── Misc utility overrides ──────────────────────────────────────────────────── */
/* "Save 15%" badge in pricing tabs */
.bg-emerald-500\/20.text-emerald-400 {
    background: rgba(249,115,22,0.15) !important;
    color: #fb923c !important;
}
/* Upanel/WHM demo links */
.text-emerald-400.hover\:text-emerald-300 { color: #f97316 !important; }
.text-amber-300 { color: #fbbf24; } /* keep amber WHM labels */

/* ==============================================================================
   cPanel.net-Inspired Light Multi-Section Public Theme (body.cpanel-light-theme)
   ============================================================================== */
body.cpanel-light-theme {
    background-color: #ffffff !important;
    color: #1e293b !important;
}

/* Clean White Sticky Header */
body.cpanel-light-theme header {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
}
body.cpanel-light-theme header,
body.cpanel-light-theme header nav a,
body.cpanel-light-theme header .text-white,
body.cpanel-light-theme header .text-slate-300,
body.cpanel-light-theme header .text-slate-200 {
    color: #1e293b !important;
}
body.cpanel-light-theme header nav a:hover {
    color: #ff6c2c !important;
}
body.cpanel-light-theme header a.bg-gradient-to-r,
body.cpanel-light-theme header a.bg-gradient-to-r *,
body.cpanel-light-theme header .bg-orange-500,
body.cpanel-light-theme header .bg-orange-500 * {
    color: #ffffff !important;
}
body.cpanel-light-theme header #i18n-switcher button {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}
body.cpanel-light-theme header #i18n-switcher .i18n-dropdown {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}
body.cpanel-light-theme header #i18n-switcher .i18n-dropdown button {
    background: transparent !important;
    color: #334155 !important;
}
body.cpanel-light-theme header #i18n-switcher .i18n-dropdown button:hover {
    background: #f8fafc !important;
}

/* Alternating cPanel.net Section Backgrounds on Home & Public Pages */
body.cpanel-light-theme > section:nth-of-type(1),
body.cpanel-light-theme main > section:nth-of-type(1) {
    background: linear-gradient(135deg, #17202e 0%, #223047 60%, #293a57 100%) !important;
    color: #f8fafc !important;
}
body.cpanel-light-theme > section:nth-of-type(1) .text-slate-300,
body.cpanel-light-theme > section:nth-of-type(1) .text-slate-400,
body.cpanel-light-theme > section:nth-of-type(1) .text-slate-500 {
    color: #cbd5e1 !important;
}
body.cpanel-light-theme > section:nth-of-type(2),
body.cpanel-light-theme main > section:nth-of-type(2) {
    background: #f1f5f9 !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
body.cpanel-light-theme > section:nth-of-type(3),
body.cpanel-light-theme main > section:nth-of-type(3) {
    background: #ffffff !important;
}
body.cpanel-light-theme > section:nth-of-type(4),
body.cpanel-light-theme main > section:nth-of-type(4) {
    background: #f4f7fb !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
body.cpanel-light-theme > section:nth-of-type(5),
body.cpanel-light-theme main > section:nth-of-type(5) {
    background: #ffffff !important;
}
body.cpanel-light-theme > section:nth-of-type(6),
body.cpanel-light-theme main > section:nth-of-type(6) {
    background: #eef2f8 !important;
    border-top: 1px solid #dbe4f0 !important;
    border-bottom: 1px solid #dbe4f0 !important;
}
body.cpanel-light-theme > section:nth-of-type(7),
body.cpanel-light-theme main > section:nth-of-type(7) {
    background: linear-gradient(135deg, #17202e 0%, #24344d 100%) !important;
    color: #f8fafc !important;
}
body.cpanel-light-theme > section:nth-of-type(7) .text-slate-300,
body.cpanel-light-theme > section:nth-of-type(7) .text-slate-400 {
    color: #cbd5e1 !important;
}

/* Light-section text & card contrast (excluding dark hero #1 & dark CTA #7) */
body.cpanel-light-theme > section:not(:nth-of-type(1)):not(:nth-of-type(7)) h1,
body.cpanel-light-theme > section:not(:nth-of-type(1)):not(:nth-of-type(7)) h2,
body.cpanel-light-theme > section:not(:nth-of-type(1)):not(:nth-of-type(7)) h3,
body.cpanel-light-theme > section:not(:nth-of-type(1)):not(:nth-of-type(7)) h4,
body.cpanel-light-theme > section:not(:nth-of-type(1)):not(:nth-of-type(7)) .text-white,
body.cpanel-light-theme > div h1,
body.cpanel-light-theme > div h2,
body.cpanel-light-theme > div h3,
body.cpanel-light-theme > div h4,
body.cpanel-light-theme > div .text-white {
    color: #0f172a !important;
}
body.cpanel-light-theme > section:not(:nth-of-type(1)):not(:nth-of-type(7)) .text-slate-400,
body.cpanel-light-theme > section:not(:nth-of-type(1)):not(:nth-of-type(7)) .text-slate-300,
body.cpanel-light-theme > section:not(:nth-of-type(1)):not(:nth-of-type(7)) .text-slate-200,
body.cpanel-light-theme > div .text-slate-400,
body.cpanel-light-theme > div .text-slate-300,
body.cpanel-light-theme > div .text-slate-200 {
    color: #475569 !important;
}
body.cpanel-light-theme .glass-panel {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06) !important;
    color: #1e293b !important;
}
body.cpanel-light-theme .glass-panel h1,
body.cpanel-light-theme .glass-panel h2,
body.cpanel-light-theme .glass-panel h3,
body.cpanel-light-theme .glass-panel h4,
body.cpanel-light-theme .glass-panel .text-white {
    color: #0f172a !important;
}
body.cpanel-light-theme .glass-panel .text-slate-400,
body.cpanel-light-theme .glass-panel .text-slate-300 {
    color: #475569 !important;
}
body.cpanel-light-theme .glass-panel .bg-\[\#2a3454\]\/60,
body.cpanel-light-theme .glass-panel .bg-\[\#232d47\]\/60,
body.cpanel-light-theme .glass-panel .bg-\[\#1b2236\] {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #1e293b !important;
}
body.cpanel-light-theme .glass-panel input,
body.cpanel-light-theme .glass-panel select,
body.cpanel-light-theme .glass-panel textarea {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}
body.cpanel-light-theme .plan-order-btn.bg-gradient-to-r,
body.cpanel-light-theme .screenshot-tab.bg-orange-500,
body.cpanel-light-theme a.bg-gradient-to-r,
body.cpanel-light-theme button.bg-gradient-to-r {
    color: #ffffff !important;
}
body.cpanel-light-theme .plan-order-btn:not(.bg-gradient-to-r) {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}
body.cpanel-light-theme .plan-order-btn:not(.bg-gradient-to-r):hover {
    background: #e2e8f0 !important;
}
body.cpanel-light-theme .screenshot-tab:not(.bg-orange-500) {
    background: #ffffff !important;
    color: #334155 !important;
    border-color: #cbd5e1 !important;
}
/* Inner page dark header strips -> crisp light gray-blue */
body.cpanel-light-theme > div.bg-\[\#232d47\]\/60,
body.cpanel-light-theme > div.bg-slate-900\/40,
body.cpanel-light-theme main > div.bg-\[\#232d47\]\/60 {
    background: #f1f5f9 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
body.cpanel-light-theme > div.bg-\[\#232d47\]\/60 h1,
body.cpanel-light-theme > div.bg-slate-900\/40 h1,
body.cpanel-light-theme main > div.bg-\[\#232d47\]\/60 h1 {
    color: #0f172a !important;
}
body.cpanel-light-theme > div.bg-\[\#232d47\]\/60 p,
body.cpanel-light-theme > div.bg-slate-900\/40 p,
body.cpanel-light-theme main > div.bg-\[\#232d47\]\/60 p {
    color: #475569 !important;
}
/* Clean dark cPanel-style footer */
body.cpanel-light-theme footer {
    background: #17202e !important;
    border-top: 1px solid #293a4a !important;
}

/* Pricing billing-cycle switcher pill bar */
body.cpanel-light-theme #pricing .inline-flex.rounded-2xl,
body.cpanel-light-theme .billing-switcher,
body.cpanel-light-theme div:has(> .billing-cycle-btn) {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06) !important;
}
body.cpanel-light-theme .billing-cycle-btn {
    color: #334155 !important;
    white-space: nowrap !important;
}
body.cpanel-light-theme .billing-cycle-btn:hover {
    color: #0f172a !important;
    background: #f1f5f9 !important;
}
body.cpanel-light-theme .billing-cycle-btn.active,
body.cpanel-light-theme .billing-cycle-btn[style*="background"] {
    background: var(--brand-primary) !important;
    color: #ffffff !important;
}
body.cpanel-light-theme .billing-cycle-btn.active *,
body.cpanel-light-theme .billing-cycle-btn[style*="background"] * {
    color: #ffffff !important;
}

/* Crisp white cPanel-style feature/architecture cards inside light sections */
body.cpanel-light-theme > section:not(:nth-of-type(1)):not(:nth-of-type(7)) .rounded-2xl[class*="bg-[#232d47]"],
body.cpanel-light-theme > section:not(:nth-of-type(1)):not(:nth-of-type(7)) .rounded-3xl[class*="bg-[#232d47]"],
body.cpanel-light-theme > section:not(:nth-of-type(1)):not(:nth-of-type(7)) .rounded-2xl[class*="bg-[#2a3454]"],
body.cpanel-light-theme > section:not(:nth-of-type(1)):not(:nth-of-type(7)) .rounded-2xl[class*="bg-slate-900"],
body.cpanel-light-theme > section:not(:nth-of-type(1)):not(:nth-of-type(7)) .rounded-3xl[class*="bg-slate-900"] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}
body.cpanel-light-theme > section:not(:nth-of-type(1)):not(:nth-of-type(7)) .rounded-2xl[class*="bg-[#232d47]"]:hover,
body.cpanel-light-theme > section:not(:nth-of-type(1)):not(:nth-of-type(7)) .rounded-3xl[class*="bg-[#232d47]"]:hover,
body.cpanel-light-theme > section:not(:nth-of-type(1)):not(:nth-of-type(7)) .rounded-2xl[class*="bg-[#2a3454]"]:hover {
    transform: translateY(-3px);
    border-color: rgba(249, 115, 22, 0.45) !important;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.09) !important;
}
body.cpanel-light-theme > section:not(:nth-of-type(1)):not(:nth-of-type(7)) .rounded-2xl[class*="bg-[#232d47]"] p,
body.cpanel-light-theme > section:not(:nth-of-type(1)):not(:nth-of-type(7)) .rounded-3xl[class*="bg-[#232d47]"] p {
    color: #475569 !important;
}

/* Crisp .glass-card styling & distinct pastel card backgrounds in grids */
body.cpanel-light-theme .glass-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}
body.cpanel-light-theme .glass-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.10) !important;
}
body.cpanel-light-theme .glass-card h3,
body.cpanel-light-theme .glass-card .text-white {
    color: #0f172a !important;
}
body.cpanel-light-theme .glass-card p,
body.cpanel-light-theme .glass-card .text-slate-400 {
    color: #475569 !important;
}
body.cpanel-light-theme .grid > .glass-card:nth-child(6n+1) {
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%) !important;
    border-color: #fed7aa !important;
}
body.cpanel-light-theme .grid > .glass-card:nth-child(6n+2) {
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%) !important;
    border-color: #bae6fd !important;
}
body.cpanel-light-theme .grid > .glass-card:nth-child(6n+3) {
    background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%) !important;
    border-color: #e9d5ff !important;
}
body.cpanel-light-theme .grid > .glass-card:nth-child(6n+4) {
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%) !important;
    border-color: #bbf7d0 !important;
}
body.cpanel-light-theme .grid > .glass-card:nth-child(6n+5) {
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%) !important;
    border-color: #fde68a !important;
}
body.cpanel-light-theme .grid > .glass-card:nth-child(6n+6) {
    background: linear-gradient(180deg, #fff1f2 0%, #ffffff 100%) !important;
    border-color: #fecdd3 !important;
}

/* Ensure dark cPanel-style footer always has crisp readable light text */
body.cpanel-light-theme footer,
body.cpanel-light-theme footer p,
body.cpanel-light-theme footer li,
body.cpanel-light-theme footer a,
body.cpanel-light-theme footer .text-slate-400,
body.cpanel-light-theme footer .text-slate-500 {
    color: #cbd5e1 !important;
}
body.cpanel-light-theme footer h4,
body.cpanel-light-theme footer .text-white {
    color: #ffffff !important;
}
body.cpanel-light-theme footer a:hover {
    color: #fb923c !important;
}

/* Sticky sub-navigation bar (features.php) & slate-900 inner cards in light sections */
body.cpanel-light-theme > div.sticky {
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}
body.cpanel-light-theme > div.sticky a {
    color: #334155 !important;
}
body.cpanel-light-theme > div.sticky a:hover {
    color: #f97316 !important;
}
body.cpanel-light-theme > section:not(:nth-of-type(1)):not(:nth-of-type(7)) .bg-slate-900,
body.cpanel-light-theme > section:not(:nth-of-type(1)):not(:nth-of-type(7)) .bg-slate-900\/60,
body.cpanel-light-theme > section:not(:nth-of-type(1)):not(:nth-of-type(7)) .bg-slate-900\/50,
body.cpanel-light-theme .glass-panel .bg-slate-900,
body.cpanel-light-theme .glass-panel .bg-slate-900\/60 {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important;
}
body.cpanel-light-theme .glass-panel .bg-slate-900:hover {
    border-color: rgba(249, 115, 22, 0.45) !important;
    background: #ffffff !important;
}

/* docs.php inner cards, tables, and dark terminal boxes inside .glass-panel */
body.cpanel-light-theme .glass-panel .bg-slate-900\/70,
body.cpanel-light-theme .glass-panel .bg-slate-900\/50 {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #1e293b !important;
}
body.cpanel-light-theme .glass-panel table thead tr {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border-bottom: 1px solid #cbd5e1 !important;
}
body.cpanel-light-theme .glass-panel table tbody,
body.cpanel-light-theme .glass-panel table tbody td {
    color: #1e293b !important;
    border-color: #e2e8f0 !important;
}
body.cpanel-light-theme .glass-panel .bg-slate-950,
body.cpanel-light-theme .terminal-window .bg-slate-950 {
    background: #17202e !important;
    border-color: #293a4a !important;
    color: #e2e8f0 !important;
}
body.cpanel-light-theme .glass-panel .bg-slate-950 .text-slate-400,
body.cpanel-light-theme .glass-panel .bg-slate-950 .text-slate-500 {
    color: #94a3b8 !important;
}

/* demo.php View Switcher & Simulator Tiles inside .glass-panel */
body.cpanel-light-theme > div > div > div > .inline-flex.bg-slate-950,
body.cpanel-light-theme .inline-flex.p-1.rounded-xl.bg-slate-950 {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
}
body.cpanel-light-theme .inline-flex.p-1.rounded-xl.bg-slate-950 a.text-slate-400 {
    color: #334155 !important;
}
body.cpanel-light-theme .inline-flex.p-1.rounded-xl.bg-slate-950 a.bg-emerald-500 {
    background: #f97316 !important;
    color: #ffffff !important;
}
body.cpanel-light-theme .inline-flex.p-1.rounded-xl.bg-slate-950 a.bg-amber-500 {
    background: #f59e0b !important;
    color: #ffffff !important;
}
body.cpanel-light-theme .glass-panel .bg-slate-950\/80,
body.cpanel-light-theme .glass-panel .bg-slate-950\/60,
body.cpanel-light-theme .glass-panel .bg-slate-950\/70,
body.cpanel-light-theme .glass-panel .bg-slate-950\/50 {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}
body.cpanel-light-theme .glass-panel .bg-slate-950\/60:hover,
body.cpanel-light-theme .glass-panel .bg-slate-950\/80:hover {
    border-color: rgba(249, 115, 22, 0.5) !important;
}
body.cpanel-light-theme .glass-panel .bg-slate-950\/80 .text-slate-300 {
    color: #0f172a !important;
}

/* Ensure dark & orange CTA buttons always have crisp white text */
body.cpanel-light-theme a.bg-emerald-500,
body.cpanel-light-theme a.bg-orange-500,
body.cpanel-light-theme a.bg-slate-800,
body.cpanel-light-theme a[class*="bg-[#2a3454]"],
body.cpanel-light-theme button.bg-emerald-500,
body.cpanel-light-theme button.bg-orange-500,
body.cpanel-light-theme button.bg-slate-800,
body.cpanel-light-theme button[class*="bg-[#2a3454]"] {
    color: #ffffff !important;
}
