:root {
    --jpos-blue: #0b4fa3;
    --jpos-blue-light: #2563eb;
    --jpos-green: #2e7d32;
    --jpos-green-light: #4caf50;
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Light Mode Defaults */
    --gallery-bg: #ffffff;
    --gallery-text: #475569;
    --gallery-heading: #0f172a;
    --gallery-card-bg: #ffffff;
    --gallery-card-border: #e2e8f0;
    --gallery-stat-bg: rgba(11, 79, 163, 0.03);
    --gallery-stat-border: rgba(11, 79, 163, 0.08);
    --gallery-overlay-bg: rgba(1, 18, 38, 0.94);
    --tech-bg-color: #f8fafc;
}

/* Dark Mode Overrides */
[data-bs-theme="dark"],
.dark,
body.dark-mode {
    --gallery-bg: #070d1d !important;
    --gallery-text: #94a3b8 !important;
    --gallery-heading: #f8fafc !important;
    --gallery-card-bg: #0f172a !important;
    --gallery-card-border: #1e293b !important;
    --gallery-stat-bg: rgba(37, 99, 235, 0.06) !important;
    --gallery-stat-border: rgba(37, 99, 235, 0.15) !important;
    --gallery-overlay-bg: rgba(7, 13, 29, 0.96) !important;
    --tech-bg-color: #0b1329 !important;
}

body {
    background-color: var(--gallery-bg);
    color: var(--gallery-text);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.setup-guide-wrapper {
    background-color: var(--gallery-bg);
    color: var(--gallery-text);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.primelink-dynamic-section {
    background-color: var(--gallery-bg);
    color: var(--gallery-text);
}

.primelink-about-card {
    background-color: var(--gallery-card-bg);
    border: 1px solid var(--gallery-card-border);
    border-radius: 1rem;
    transition: var(--transition-base);
}

.primelink-about-card:hover {
    border-color: var(--jpos-blue-light);
    box-shadow: 0 10px 30px -10px rgba(11, 79, 163, 0.15);
}

.stat-counter-box {
    background-color: var(--gallery-stat-bg);
    border: 1px solid var(--gallery-stat-border);
    border-radius: 0.75rem;
    transition: var(--transition-base);
}

.stat-counter-box:hover {
    transform: translateY(-2px);
}

.dynamic-heading {
    color: var(--gallery-heading) !important;
}

.dynamic-text {
    color: var(--gallery-text) !important;
}

.code-block-custom {
    background: #0d1117;
    color: #e6edf3;
    border: 1px solid #30363d;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    border-radius: 0.5rem;
    cursor: pointer;
    position: relative;
}

.code-block-custom::after {
    content: 'Click to select';
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 0.7rem;
    color: #8b949e;
    opacity: 0.7;
}

.instruction-step-box {
    background-color: var(--gallery-card-bg);
    border: 1px solid var(--gallery-card-border);
    border-left: 4px solid var(--jpos-blue-light);
    border-radius: 0.5rem;
}

/* Professional Executive Hero Styling */
.hero-banner-dynamic {
    background: linear-gradient(135deg, rgba(3, 10, 22, 0.9) 0%, rgba(11, 79, 163, 0.82) 100%), url("{{ asset('assets/img/pricing/fiber.jpeg') }}");
    background-size: cover;
    background-position: center;
    padding: 60px 0 80px 0;
    position: relative;
    color: #ffffff;
}

.hero-banner-dynamic::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--gallery-bg), transparent);
    pointer-events: none;
}

/* Sidebar Navigation Mockup Styling */
.sidebar-mockup-card {
    background: #0b1329;
    border: 1px solid #1e293b;
    border-radius: 0.75rem;
    color: #94a3b8;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.85rem;
}

.sidebar-item-highlight {
    background: rgba(37, 99, 235, 0.15);
    color: #60a5fa;
    border-left: 3px solid #2563eb;
    padding: 4px 8px;
    border-radius: 0.375rem;
    font-weight: 600;
}