/* ==========================================================================
   BUDDY TECHNICAL SOLUTION - RAMZENITH PC OPTIMIZER
   Official Web Design System 2026 | In Alignment with ebuddy.lk
   Obsidian Dark Theme • Glassmorphism • Dynamic Gauges & Micro-Interactions
   ========================================================================== */

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

:root {
    /* Color Palette */
    --bg-primary: #070a13;
    --bg-secondary: #0d1322;
    --bg-tertiary: #131c2e;
    --bg-card: rgba(19, 29, 53, 0.7);
    --bg-card-hover: rgba(26, 40, 71, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.035);
    --bg-glass-strong: rgba(255, 255, 255, 0.07);
    --bg-input: #101726;

    /* Neon & Accent Colors */
    --cyan: #06b6d4;
    --cyan-bright: #00e5ff;
    --cyan-glow: rgba(0, 229, 255, 0.35);
    --indigo: #6366f1;
    --indigo-glow: rgba(99, 102, 241, 0.35);
    --violet: #8b5cf6;
    --purple: #a855f7;
    --emerald: #10b981;
    --emerald-bright: #00e676;
    --emerald-glow: rgba(16, 185, 129, 0.35);
    --amber: #f59e0b;
    --rose: #f43f5e;
    --rose-glow: rgba(244, 63, 94, 0.35);

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, #00e5ff 0%, #6366f1 50%, #a855f7 100%);
    --gradient-accent: linear-gradient(135deg, #10b981 0%, #00e5ff 100%);
    --gradient-turbo: linear-gradient(135deg, #00e676 0%, #00b0ff 100%);
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    --gradient-fire: linear-gradient(135deg, #f43f5e 0%, #f59e0b 100%);
    --gradient-card-border: linear-gradient(135deg, rgba(0, 229, 255, 0.4), rgba(99, 102, 241, 0.2), rgba(255, 255, 255, 0.05));
    --gradient-hero-overlay: radial-gradient(circle at 50% -20%, rgba(0, 229, 255, 0.2) 0%, rgba(99, 102, 241, 0.12) 40%, transparent 80%);

    /* Typography */
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', monospace;

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-accent: #38bdf8;

    /* Borders & Shadows */
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 229, 255, 0.5);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
    --shadow-glow-cyan: 0 0 35px var(--cyan-glow);
    --shadow-glow-emerald: 0 0 35px var(--emerald-glow);

    /* Layout Tokens */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 9px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--cyan);
}

::selection {
    background: rgba(0, 229, 255, 0.35);
    color: #ffffff;
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: #38bdf8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ambient Background Light Orbs */
.ambient-glow-1, .ambient-glow-2, .ambient-glow-3 {
    position: fixed;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.16;
}
.ambient-glow-1 {
    top: -150px;
    left: -100px;
    background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
}
.ambient-glow-2 {
    bottom: 15%;
    right: -150px;
    background: radial-gradient(circle, var(--emerald) 0%, transparent 70%);
}
.ambient-glow-3 {
    top: 45%;
    left: 40%;
    background: radial-gradient(circle, var(--indigo) 0%, transparent 70%);
    opacity: 0.12;
}

/* Grid Pattern Overlay */
.bg-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 45%, transparent 85%);
    pointer-events: none;
    z-index: 1;
}

/* Typography Utilities */
.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.gradient-text-emerald {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-purple {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-cyan { color: var(--cyan) !important; }
.text-cyan-bright { color: var(--cyan-bright) !important; }
.text-emerald { color: var(--emerald) !important; }
.text-indigo { color: var(--indigo) !important; }
.text-purple { color: var(--purple) !important; }
.text-amber { color: var(--amber) !important; }
.text-rose { color: var(--rose) !important; }
.font-monospace { font-family: var(--font-mono) !important; }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.25);
    color: var(--cyan-bright);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.section-tag i {
    font-size: 0.85rem;
}

.section-title {
    font-size: clamp(2.1rem, 4.2vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 1.1rem;
}

.section-subtitle {
    font-size: 1.12rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 3rem auto;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.modern-navbar {
    background: rgba(7, 10, 19, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    padding: 14px 0;
    transition: var(--transition);
    z-index: 1030;
}

.modern-navbar.scrolled {
    background: rgba(7, 10, 19, 0.95);
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/*.brand-logo-img {*/
/*    width: 38px;*/
/*    height: 38px;*/
/*    border-radius: 50%;*/
/*    border: 2px solid var(--cyan);*/
/*    box-shadow: 0 0 15px var(--cyan-glow);*/
/*    transition: var(--transition);*/
/*}*/

/*.brand-wrapper:hover .brand-logo-img {*/
/*    transform: rotate(15deg) scale(1.08);*/
/*}*/


.brand-logo-img {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border: 1px solid var(--border-glass);
    transition: var(--transition);
}
.modern-navbar .navbar-brand:hover .brand-logo-img {
    transform: rotate(6deg) scale(1.06);
    border-color: var(--cyan);
}




.brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.brand-subtitle-badge {
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(0, 229, 255, 0.15);
    color: var(--cyan-bright);
    padding: 2px 7px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 229, 255, 0.3);
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-dropdown-menu {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    min-width: 240px;
}

.nav-dropdown-menu .dropdown-item {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.nav-dropdown-menu .dropdown-item:hover {
    color: #ffffff;
    background: rgba(0, 229, 255, 0.1);
    transform: translateX(4px);
}

.nav-cta-btn {
    padding: 9px 20px !important;
    font-size: 0.85rem !important;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-modern-primary, .btn-modern-emerald, .btn-modern-secondary, .btn-modern-purple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-modern-primary {
    background: var(--gradient-brand);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.35);
}
.btn-modern-primary:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 229, 255, 0.55);
}

.btn-modern-emerald {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
}
.btn-modern-emerald:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.55);
}

.btn-modern-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}
.btn-modern-secondary:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--cyan);
    transform: translateY(-3px);
}

.btn-modern-purple {
    background: var(--gradient-purple);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.35);
}
.btn-modern-purple:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(168, 85, 247, 0.55);
}

.btn-modern-sm {
    padding: 9px 18px;
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 150px 0 100px 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero-overlay);
    pointer-events: none;
    z-index: 1;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    background: rgba(19, 29, 53, 0.7);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.86rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-pill-badge .badge-icon {
    font-size: 1rem;
    color: var(--cyan-bright);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald-bright);
    font-weight: 700;
    font-size: 0.76rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--emerald-bright);
    box-shadow: 0 0 10px var(--emerald-bright);
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

.hero-heading {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.4rem;
}

.hero-subtext {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.8rem;
    max-width: 650px;
}

.hero-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2.2rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    color: #cbd5e1;
}
.hero-tag i {
    color: var(--cyan);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 2.5rem;
}

.hero-metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
}

.metric-box h4 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 2px;
    font-family: var(--font-mono);
}
.metric-box p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   FLAGSHIP CARDS & HERO VISUAL
   ========================================================================== */
.flagship-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.flagship-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--shadow-glow-cyan);
}

/* ==========================================================================
   INTERACTIVE SIMULATOR (The Star Feature)
   ========================================================================== */
.simulator-container {
    background: #090e18;
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 229, 255, 0.15);
    overflow: hidden;
    position: relative;
}

/* Window Titlebar (Simulated Windows OS) */
.simulator-window-bar {
    background: #0e1626;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.window-dots {
    display: flex;
    gap: 8px;
}
.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.sim-window-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Floating Widget Simulation Bar (Top of Screen) */
.sim-top-desktop {
    background: radial-gradient(circle at top, #152238 0%, #080d17 100%);
    padding: 24px 20px 18px 20px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sim-widget-pill {
    background: #0b0f19;
    border: 2px solid var(--emerald);
    box-shadow: 0 0 25px var(--emerald-glow), 0 8px 24px rgba(0, 0, 0, 0.6);
    border-radius: var(--radius-full);
    padding: 8px 14px 8px 18px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    cursor: grab;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    user-select: none;
}

.sim-widget-pill.state-warning {
    border-color: var(--amber);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.4);
}

.sim-widget-pill.state-danger {
    border-color: var(--rose);
    box-shadow: 0 0 25px var(--rose-glow);
    animation: dangerShake 0.6s ease-in-out;
}

@keyframes dangerShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

.widget-gripper {
    color: #64748b;
    font-size: 1.1rem;
    letter-spacing: -2px;
}

.widget-ram-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.18);
    border: 2px solid var(--emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-bright);
    font-size: 1.1rem;
    transition: var(--transition);
}

.state-warning .widget-ram-badge {
    background: rgba(245, 158, 11, 0.18);
    border-color: var(--amber);
    color: var(--amber);
}

.state-danger .widget-ram-badge {
    background: rgba(244, 63, 94, 0.18);
    border-color: var(--rose);
    color: var(--rose);
}

.widget-info {
    display: flex;
    flex-direction: column;
}

.widget-percent {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--emerald-bright);
    line-height: 1.1;
    transition: var(--transition);
}

.state-warning .widget-percent { color: var(--amber); }
.state-danger .widget-percent { color: var(--rose); }

.widget-free {
    font-size: 0.74rem;
    color: #94a3b8;
    font-family: var(--font-mono);
}

.widget-btn-boost {
    background: linear-gradient(135deg, #00e676 0%, #00b0ff 100%);
    border: 1px solid #34d399;
    color: #04101e;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.4);
    transition: var(--transition);
}

.widget-btn-boost:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(0, 230, 118, 0.6);
}

/* Simulator Body & Gauges Grid */
.sim-body {
    padding: 28px;
    background: #090e18;
}

.sim-gauges-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.sim-gauge-card {
    background: rgba(19, 29, 53, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 22px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.sim-gauge-card:hover {
    border-color: rgba(0, 229, 255, 0.4);
    background: rgba(19, 29, 53, 0.85);
}

.gauge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.gauge-title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.gauge-main-stat {
    font-family: var(--font-mono);
    font-size: 2.3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 12px;
    transition: color 0.4s ease;
}

.gauge-bar-track {
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
}

.gauge-bar-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
}

.gauge-sub-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    display: flex;
    justify-content: space-between;
}

/* Speedup Action Buttons Row */
.sim-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.btn-speedup-tile {
    padding: 18px 20px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-speedup-tile.btn-cyan {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.35);
}
.btn-speedup-tile.btn-cyan:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(2, 132, 199, 0.55);
}

.btn-speedup-tile.btn-purple {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.35);
}
.btn-speedup-tile.btn-purple:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(124, 58, 237, 0.55);
}

.btn-speedup-tile.btn-emerald {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.35);
}
.btn-speedup-tile.btn-emerald:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(5, 150, 105, 0.55);
}

.btn-speedup-tile .tile-title {
    font-size: 1.02rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-speedup-tile .tile-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* Simulator Interactive Controls Toolbar */
.sim-controls-toolbar {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.sim-toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Process Inspector Table inside Simulator */
.sim-procs-box {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
}

.sim-procs-header {
    background: rgba(30, 41, 59, 0.6);
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
}

.procs-table {
    width: 100%;
    border-collapse: collapse;
}

.procs-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    padding: 10px 18px;
    border-bottom: 1px solid var(--border-glass);
    background: rgba(15, 23, 42, 0.9);
}

.procs-table td {
    padding: 11px 18px;
    font-size: 0.84rem;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.procs-table tr:hover td {
    background: rgba(0, 229, 255, 0.04);
}

.proc-trim-btn {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: var(--emerald-bright);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.proc-trim-btn:hover {
    background: var(--emerald);
    color: #ffffff;
    box-shadow: 0 0 10px var(--emerald-glow);
}

/* Live Simulator Audit Log */
.sim-log-box {
    background: rgba(11, 14, 20, 0.85);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    max-height: 140px;
    overflow-y: auto;
}

.sim-log-entry {
    display: flex;
    gap: 12px;
    padding: 3px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
}

.sim-log-time { color: var(--text-muted); }
.sim-log-action { color: #f1f5f9; font-weight: 600; }
.sim-log-gain { color: var(--emerald-bright); font-weight: 700; margin-left: auto; }

/* ==========================================================================
   FEATURE CARDS
   ========================================================================== */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: var(--gradient-card-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: var(--shadow-lg), var(--shadow-glow-cyan);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--cyan-bright);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 0 20px var(--cyan-glow);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.feature-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.feature-sub-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   FLOATING ACTION PILL SECTION
   ========================================================================== */
.widget-state-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 26px;
    text-align: center;
    transition: var(--transition);
}

.widget-state-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.4);
}

.state-preview-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: #0b0f19;
    border: 2px solid;
    margin: 1.2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   SCREENSHOTS GALLERY & LIGHTBOX
   ========================================================================== */
.screenshot-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.screenshot-card:hover {
    transform: translateY(-6px);
    border-color: var(--cyan);
    box-shadow: var(--shadow-lg), var(--shadow-glow-cyan);
}

.screenshot-thumb-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #090e18;
}

.screenshot-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.screenshot-card:hover .screenshot-thumb-wrapper img {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 10, 19, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.screenshot-card:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-zoom-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--cyan-bright);
    color: #04101e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 20px var(--cyan-glow);
    transform: scale(0.7);
    transition: var(--transition);
}

.screenshot-card:hover .screenshot-zoom-btn {
    transform: scale(1);
}

.screenshot-body {
    padding: 18px 22px;
    background: rgba(15, 23, 42, 0.85);
}

.screenshot-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.screenshot-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 15, 0.94);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content-box {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(0, 229, 255, 0.4);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 50px var(--cyan-glow);
}

.lightbox-content-box img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-caption {
    background: #0f172a;
    color: #e2e8f0;
    padding: 12px 20px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    border-top: 1px solid var(--border-glass);
}

.lightbox-close-btn {
    position: absolute;
    top: 25px;
    right: 35px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-glass);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close-btn:hover {
    background: var(--rose);
    transform: rotate(90deg);
}

/* ==========================================================================
   COMPARISON TABLE
   ========================================================================== */
.modern-table-box {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
}

.modern-table th {
    background: #0f172a;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 18px 24px;
    border-bottom: 2px solid var(--border-glass);
}

.modern-table td {
    padding: 16px 24px;
    font-size: 0.94rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modern-table tr:hover td {
    background: rgba(0, 229, 255, 0.03);
}

.modern-table .highlight-col {
    background: rgba(0, 229, 255, 0.05);
    color: #ffffff;
    font-weight: 700;
    border-left: 1px solid rgba(0, 229, 255, 0.2);
    border-right: 1px solid rgba(0, 229, 255, 0.2);
}

/* ==========================================================================
   DOWNLOAD CENTER
   ========================================================================== */
.download-hero-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(7, 10, 19, 0.95) 100%);
    border: 2px solid var(--emerald);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), var(--shadow-glow-emerald);
    position: relative;
    overflow: hidden;
}

.download-portable-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.download-portable-card:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
}

.checksum-badge {
    background: #070a13;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}
.checksum-badge:hover {
    border-color: var(--cyan);
    color: var(--cyan-bright);
}

/* ==========================================================================
   MODERN ACCORDION (FAQ)
   ========================================================================== */
.modern-accordion .accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md) !important;
    margin-bottom: 14px;
    overflow: hidden;
    transition: var(--transition);
}

.modern-accordion .accordion-item:hover {
    border-color: rgba(0, 229, 255, 0.35);
}

.modern-accordion .accordion-button {
    background: transparent;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 20px 24px;
    box-shadow: none;
}

.modern-accordion .accordion-button:not(.collapsed) {
    background: rgba(0, 229, 255, 0.08);
    color: var(--cyan-bright);
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

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

.modern-accordion .accordion-body {
    padding: 20px 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.modern-footer {
    background: #04070d;
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 35px 0;
    position: relative;
    z-index: 2;
}

.footer-brand h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-links-title {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 10px;
}

.footer-links-list a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links-list a:hover {
    color: var(--cyan-bright);
    padding-left: 6px;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.modern-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--cyan);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), var(--shadow-glow-cyan);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 14px 22px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    z-index: 2500;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.modern-toast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 991px) {
    .hero-section {
        padding: 120px 0 60px 0;
    }
    .hero-metrics-row {
        margin-bottom: 2.5rem;
    }
    .sim-gauges-row {
        grid-template-columns: 1fr;
    }
    .sim-actions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hero-heading {
        font-size: 2.2rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .btn-modern-primary, .btn-modern-emerald, .btn-modern-secondary {
        width: 100%;
    }
    .sim-widget-pill {
        flex-direction: column;
        gap: 10px;
        padding: 14px;
        border-radius: var(--radius-lg);
    }
    .widget-btn-boost {
        width: 100%;
        justify-content: center;
    }
}
