/* ==========================================================================
   DataRakshak Premium Stylesheet - Optimized Bootstrap 5 Overrides & Density
   ========================================================================== */

/* 1. Design System & CSS Variables */
:root {
    --bg-primary: #05080c;
    --bg-secondary: #0c1017;
    --bg-tertiary: #131924;
    --card-bg: rgba(12, 16, 23, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 210, 255, 0.35);
    
    /* Text Colors - High Contrast SOC Command Center */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-soft: #b6c2d2;
    
    /* Brand Accent Colors */
    --color-primary: #00d2ff;
    --color-primary-rgb: 0, 210, 255;
    --color-blue: #3b82f6;
    --color-success: #10b981;
    --color-success-bg: rgba(16, 185, 129, 0.08);
    --color-success-border: rgba(16, 185, 129, 0.3);
    --color-danger: #f43f5e;
    --color-danger-bg: rgba(244, 63, 94, 0.08);
    --color-danger-border: rgba(244, 63, 94, 0.3);
    --color-accent: #8b5cf6;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #00d2ff 0%, #3b82f6 100%);
    --grad-dark: linear-gradient(180deg, #0c1017 0%, #05080c 100%);
    --grad-glow: radial-gradient(circle, rgba(0,210,255,0.08) 0%, rgba(5,8,12,0) 70%);

    /* Fonts & Constants */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 8px;
    --border-radius-lg: 14px;
}

/* Light Theme Variables */
body.light-theme {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-tertiary: #e2e8f0;
    --card-bg: rgba(255, 255, 255, 0.95);
    --border-color: rgba(15, 23, 42, 0.1);
    --border-hover: rgba(2, 132, 199, 0.4);
    
    /* Text Colors - Boardroom Corporate */
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #475569;
    --text-soft: #3f4b5f;
    
    /* Brand Accent Colors */
    --color-primary: #0284c7;
    --color-blue: #2563eb;
    --color-success: #059669;
    --color-success-bg: rgba(5, 150, 105, 0.06);
    --color-success-border: rgba(5, 150, 105, 0.25);
    --color-danger: #e11d48;
    --color-danger-bg: rgba(225, 29, 72, 0.06);
    --color-danger-border: rgba(225, 29, 72, 0.25);
    --color-accent: #7c3aed;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    --grad-dark: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
    --grad-glow: radial-gradient(circle, rgba(2,132,199,0.03) 0%, rgba(248,250,252,0) 70%);
}

/* 2. Global Resets & Density Rules */
html {
    scroll-behavior: smooth;
    font-size: 15px; /* Compresses spacing layout globally */
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Spacing and Dimensions Caps */
.container-limit {
    max-width: 1140px; /* Highly-dense grid bounds */
}

section {
    padding: 64px 0; /* Compact high-density vertical padding */
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

/* Typography Rules (Capped size) */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.015em;
    line-height: 1.2;
}

body.dark-theme h1, body.dark-theme h2, body.dark-theme h3, 
body.dark-theme h4, body.dark-theme h5, body.dark-theme h6 {
    color: #ffffff;
}

body.light-theme h1, body.light-theme h2, body.light-theme h3, 
body.light-theme h4, body.light-theme h5, body.light-theme h6 {
    color: #0f172a;
}

p {
    color: var(--text-secondary);
}

.text-xxs {
    font-size: 0.72rem;
}

/* High Contrast Global Text Helpers */
.text-primary, .text-light, .text-white {
    color: var(--text-primary) !important;
}
.text-secondary {
    color: var(--text-secondary) !important;
}
.text-muted {
    color: var(--text-muted) !important;
}
.text-soft {
    color: var(--text-soft) !important;
}
.text-readable {
    color: var(--text-secondary) !important;
    font-weight: 500;
}
.meta-text, .micro-text {
    color: var(--text-muted) !important;
    font-size: 0.76rem;
}
body.light-theme .modal-content {
    color: var(--text-primary) !important;
}
body.light-theme .form-label {
    color: var(--text-muted) !important;
    font-weight: 600;
}

/* Custom badges */
.badge {
    display: inline-block;
    padding: 5px 12px;
    background-color: rgba(var(--color-primary-rgb), 0.08);
    border: 1px solid rgba(var(--color-primary-rgb), 0.25);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 30px;
}

body.light-theme .badge {
    background-color: rgba(2, 132, 199, 0.06);
    border: 1px solid rgba(2, 132, 199, 0.22);
}

/* 3. Glassmorphic Navigation Bar Overrides */
.navbar {
    background: rgba(5, 8, 12, 0.82) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

body.light-theme .navbar {
    background: rgba(248, 250, 252, 0.88) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1;
}

.brand-tagline {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary) !important;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary) !important;
}

/* Accessibility Theme Toggle Styles */
.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.theme-toggle svg {
    width: 15px;
    height: 15px;
}

body.dark-theme .sun-icon { display: block; }
body.dark-theme .moon-icon { display: none; }
body.light-theme .sun-icon { display: none; }
body.light-theme .moon-icon { display: block; }

/* Custom Hamburguer Mobile Toggle */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 14px;
    background: transparent;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

.mobile-toggle[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* 4. Custom Buttons with Glowing Effects */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-sm {
    padding: 7px 16px;
    font-size: 0.82rem;
}

.btn-primary {
    background: var(--grad-primary);
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(0, 210, 255, 0.18);
}

.btn-primary:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 5px 16px rgba(0, 210, 255, 0.35);
    background: linear-gradient(135deg, #3b82f6 0%, #00d2ff 100%);
}

body.light-theme .btn-primary {
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.15);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-primary) !important;
}

body.light-theme .btn-secondary {
    background: #ffffff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-primary);
    transform: translateY(-1.5px);
}

/* 5. Hero Section & Illustrated Dashboard Preview */
.hero-section {
    padding: 100px 0 50px 0;
    min-height: auto;
    background-image: var(--grad-dark);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: -25%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 140%;
    background: var(--grad-glow);
    z-index: 1;
    pointer-events: none;
}

.hero-content-col, .hero-preview-col {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem; /* Capped for compact desktop scaling */
    letter-spacing: -0.025em;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 40%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Illustrated Dashboard Preview Mockup styling */
.dashboard-mockup-wrapper {
    background: rgba(8, 12, 19, 0.95);
    border: 1px solid rgba(0, 210, 255, 0.2);
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6) !important;
}

body.light-theme .dashboard-mockup-wrapper {
    background: #ffffff;
    border: 1px solid rgba(2, 132, 199, 0.22);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06) !important;
}

.dashboard-preview-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--color-accent);
    color: #ffffff;
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 2px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

.mock-dash-card {
    background: #0f1522;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    transition: var(--transition);
}

body.light-theme .mock-dash-card {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.mock-dash-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.mock-dash-head h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.mock-metrics-row {
    font-size: 0.72rem;
}

.bg-dark-trans {
    background: rgba(0, 0, 0, 0.25);
}

body.light-theme .bg-dark-trans {
    background: rgba(15, 23, 42, 0.03);
}

.mock-metric .lbl {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.mock-metric .val {
    font-weight: 700;
}

/* Mock Log Feed Colors */
.cyan-text { color: var(--color-primary); }
.red-text { color: var(--color-danger); }
.green-text { color: var(--color-success); }
.purple-text { color: var(--color-accent); }

.badge-red-text { color: var(--color-danger); font-weight: bold; font-size: 0.65rem; }
.badge-yellow-text { color: #f59e0b; font-weight: bold; font-size: 0.65rem; }

.mock-log-item {
    font-size: 0.68rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    padding-bottom: 2px;
    margin-bottom: 2px;
}

body.light-theme .mock-log-item {
    border-bottom: 1px solid rgba(15, 23, 42, 0.03);
}

.mock-chk-item {
    font-size: 0.68rem;
    display: flex;
    align-items: center;
}

.chk-box {
    font-weight: 900;
}

/* Console logs terminal preview */
.terminal-mock {
    background: #02050a;
    border-radius: 4px;
    padding: 6px;
}

body.light-theme .terminal-mock {
    background: #0f172a;
}

.term-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: inline-block;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.term-body {
    background: #05080c;
}

body.light-theme .term-body {
    background: #02050a;
}

.term-line {
    font-size: 0.65rem;
    line-height: 1.3;
    word-break: break-all;
    color: #cbd5e1;
}

.t-green { color: #34d399; }
.t-yellow { color: #f59e0b; }
.t-magenta { color: #f472b6; }

/* 6. Capability Trust Strip */
.trust-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 5px 12px;
    border-radius: 30px;
    transition: var(--transition);
}

body.light-theme .trust-item {
    background: #ffffff;
}

.trust-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-1.5px);
}

.trust-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--color-primary);
}

.trust-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* 7. Unified Section Headers */
.section-header {
    max-width: 680px;
    margin: 0 auto;
}

.section-tag {
    font-family: var(--font-heading);
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 1.9rem; /* Capped to eliminate oversized text */
    margin-bottom: 12px;
    letter-spacing: -0.015em;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* 8. Problem Grid (Friction cards) */
.problem-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.problem-card:hover {
    border-color: var(--color-danger-border);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(244, 63, 94, 0.04);
}

.problem-icon {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background-color: var(--color-danger-bg);
    border: 1px solid var(--color-danger-border);
    color: var(--color-danger);
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.problem-card p {
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* 9. Platform Pillars */
.pillar-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.pillar-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

body.light-theme .pillar-card:hover {
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.pillar-icon {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background-color: rgba(var(--color-primary-rgb), 0.06);
    border: 1px solid rgba(var(--color-primary-rgb), 0.2);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-card h3 {
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.pillar-desc {
    color: var(--text-secondary);
    line-height: 1.4;
}

.pillar-bullets li {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.with-rakshak, .without-rakshak {
    padding: 2px;
}

.with-rakshak strong {
    font-size: 0.65rem;
    letter-spacing: 0.02em;
}

.without-rakshak strong {
    font-size: 0.65rem;
    letter-spacing: 0.02em;
}

/* 10. Platform Flow Step Roadmap */
.flow-step-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.flow-step-card:hover {
    border-color: var(--color-primary);
}

.flow-marker {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(var(--color-primary-rgb), 0.08);
    border: 1px solid rgba(var(--color-primary-rgb), 0.25);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
}

/* 11. Interactive Tools Lab Dashboard & Calculators */
.tools-dashboard-wrapper {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.tools-nav-pills {
    gap: 4px;
}

.tools-nav-pills .nav-link {
    background: transparent !important;
    border: 1px solid transparent;
    color: var(--text-secondary) !important;
    border-radius: 4px;
    transition: var(--transition);
}

.tools-nav-pills .nav-link.active {
    background: rgba(var(--color-primary-rgb), 0.08) !important;
    border: 1px solid rgba(var(--color-primary-rgb), 0.25);
    color: var(--color-primary) !important;
}

body.light-theme .tools-nav-pills .nav-link.active {
    background: rgba(2, 132, 199, 0.06) !important;
    border: 1px solid rgba(2, 132, 199, 0.22);
}

.checkbox-item {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    padding: 8px 12px 8px 34px !important;
    border-radius: 4px;
    transition: var(--transition);
}

body.light-theme .checkbox-item {
    background: #ffffff;
}

.checkbox-item:hover {
    border-color: var(--border-hover);
}

/* Score radial container inside results block */
.score-radial-compact {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px double var(--color-primary);
    box-shadow: 0 0 10px rgba(var(--color-primary-rgb), 0.15);
}

.visibility-gauge-container-compact {
    height: 8px;
    background: #02050a;
}

.visibility-gauge-bar-compact {
    transition: width 0.35s ease;
}

/* Badge results for calculator */
.badge-result {
    font-size: 0.65rem;
    padding: 4px 10px;
}

.badge-red {
    background-color: var(--color-danger-bg);
    border: 1px solid var(--color-danger-border);
    color: var(--color-danger);
}

.badge-yellow {
    background-color: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #f59e0b;
}

.badge-blue {
    background-color: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: var(--color-blue);
}

.badge-audit {
    background-color: var(--color-success-bg);
    border: 1px solid var(--color-success-border);
    color: var(--color-success);
}

/* Custom Tool Helper Classes */
.progress-custom {
    height: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
}
body.light-theme .progress-custom {
    background: rgba(15, 23, 42, 0.05);
}
.progress-bar-custom {
    height: 100%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.tool-result-list {
    padding-left: 0;
    list-style: none;
}
.tool-result-list li {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 6px;
    color: var(--text-secondary);
}
.tool-result-list li strong {
    color: var(--text-primary);
}
.btn-copy-tool {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-primary) !important;
    font-weight: 600;
    font-size: 0.78rem;
    padding: 6px 12px;
    border-radius: 4px;
    transition: var(--transition);
}
.btn-copy-tool:hover {
    background: rgba(var(--color-primary-rgb), 0.08);
    border-color: var(--color-primary);
    color: var(--color-primary) !important;
}
body.light-theme .btn-copy-tool {
    background: #ffffff;
}

/* 12. Reports Cards */
.report-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.report-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2.5px);
}

.report-badge {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.ext-pdf { background: rgba(59, 130, 246, 0.08); border: 1px solid rgba(59, 130, 246, 0.22); color: #3b82f6; }
.emg-pdf { background: var(--color-danger-bg); border: 1px solid var(--color-danger-border); color: var(--color-danger); }
.exec-pdf { background: rgba(139, 92, 246, 0.08); border: 1px solid rgba(139, 92, 246, 0.22); color: #8b5cf6; }
.timeline-pdf { background: var(--color-success-bg); border: 1px solid var(--color-success-border); color: var(--color-success); }

/* 13. Real-World Use Case Scenarios */
.scenario-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.scenario-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2.5px);
}

.badge-sec { background: rgba(244, 63, 94, 0.06); border: 1px solid rgba(244, 63, 94, 0.2); color: var(--color-danger); }
.badge-gov { background: rgba(139, 92, 246, 0.06); border: 1px solid rgba(139, 92, 246, 0.2); color: var(--color-accent); }
.badge-audit { background: rgba(16, 185, 129, 0.06); border: 1px solid rgba(16, 185, 129, 0.2); color: var(--color-success); }
.badge-exec { background: rgba(0, 210, 255, 0.06); border: 1px solid rgba(0, 210, 255, 0.2); color: var(--color-primary); }

.scenario-list li {
    font-size: 0.78rem;
    margin-bottom: 2px;
}

/* 14. Transparency Box */
.transparency-box {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.tech-stack-card {
    background: #06090e;
}

body.light-theme .tech-stack-card {
    background: #f1f5f9;
}

.stack-item {
    background: rgba(0, 0, 0, 0.2);
    border-color: var(--border-color) !important;
    flex: 1 1 110px;
}

body.light-theme .stack-item {
    background: #ffffff;
}

.stack-item .lbl {
    font-size: 0.58rem;
    text-transform: uppercase;
}

.stack-item .tech-val {
    font-size: 0.7rem;
}

/* 15. Pricing Cards */
.pricing-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 1px solid rgba(0, 210, 255, 0.35);
    box-shadow: 0 8px 24px rgba(0, 210, 255, 0.05);
}

body.light-theme .pricing-card.featured {
    border: 1px solid rgba(2, 132, 199, 0.4);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.06);
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-badge-popular {
    background: var(--color-primary);
    color: #ffffff;
    margin: -16px -16px 12px -16px;
}

.price {
    font-size: 1.1rem;
}

.pricing-features-list li {
    font-size: 0.78rem;
    line-height: 1.4;
    position: relative;
}

/* 16. Bootstrap Accordion FAQ Custom Overrides */
.faq-accordion-item {
    background-color: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
}

.accordion-button {
    color: var(--text-primary) !important;
    font-weight: 600;
    transition: var(--transition);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(var(--color-primary-rgb), 0.04) !important;
    color: var(--color-primary) !important;
    box-shadow: none !important;
}

.accordion-button::after {
    filter: invert(1);
}

body.light-theme .accordion-button::after {
    filter: none;
}

/* 17. Contacts Section Forms styling */
.contact-card-wrapper {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.contact-form-card {
    background: rgba(0, 0, 0, 0.15);
}

body.light-theme .contact-form-card {
    background: #ffffff;
}

/* Bootstrap Forms Overrides */
.form-control, .form-select {
    font-size: 0.82rem !important;
    border-radius: 4px !important;
    transition: var(--transition) !important;
    box-shadow: none !important;
}

body.dark-theme .form-control, body.dark-theme .form-select {
    background-color: #0c1017 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #f3f4f6 !important;
}

body.dark-theme .form-control:focus, body.dark-theme .form-select:focus {
    border-color: var(--color-primary) !important;
    background-color: #0f1522 !important;
}

body.light-theme .form-control, body.light-theme .form-select {
    background-color: #ffffff !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
    color: #0f172a !important;
}

body.light-theme .form-control:focus, body.light-theme .form-select:focus {
    border-color: var(--color-primary) !important;
}

/* 18. Native Bootstrap Modal Theme Overrides */
.modal-content {
    background-color: var(--bg-secondary) !important;
    border: 1px solid rgba(0, 210, 255, 0.25) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

body.light-theme .modal-content {
    border: 1px solid rgba(2, 132, 199, 0.3) !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

/* 19. Footer Styling overrides */
.footer {
    background-color: var(--bg-primary);
}

.text-hover-white:hover {
    color: var(--text-primary) !important;
}

/* 20. Responsive & Accessibility Breaks */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 90px 0 40px 0;
    }
    .hero-title {
        font-size: 2.1rem;
    }
    .hero-content-col {
        text-align: center !important;
    }
    .hero-ctas {
        justify-content: center !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 21. High-Resolution Display Optimization (Widescreen Scaling) */
@media (min-width: 1200px) {
    html {
        font-size: 16px; /* Scales typography and relative layouts from 15px to 16px */
    }
    .container-limit {
        max-width: 1180px; /* Gently expands content bounds */
    }
}

@media (min-width: 1400px) {
    html {
        font-size: 17.5px; /* Comfortable reading size on large desktop screens */
    }
    .container-limit {
        max-width: 1320px; /* Matches standard Bootstrap xxl container width */
    }
}
