/* ==============================================================================
   AaryOM Interactive Enterprise Simulator (AIES) Core Design System
   Standard: AARYOM-STD-01-UNIVERSAL-ENGINEERING
   Zero-Infrastructure Client Simulation Suite
   ============================================================================== */

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

:root {
    --bg-dark: #050a12;
    --bg-darker: #020617;
    --card-bg: rgba(15, 23, 42, 0.75);
    --card-bg-elevated: rgba(30, 41, 59, 0.85);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-border-glow: rgba(0, 212, 255, 0.3);
    
    --primary: #00d4ff;
    --primary-glow: rgba(0, 212, 255, 0.25);
    --accent-emerald: #10b981;
    --accent-purple: #a855f7;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 36px;
    --radius-pill: 9999px;
    
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.5;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(0, 212, 255, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(168, 85, 247, 0.06) 0%, transparent 40%);
}

/* --- 1. PRESENTATION BAR (Executive Meeting Controls) --- */
.presentation-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: rgba(5, 10, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 1000;
}

.presentation-bar__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.presentation-bar__logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.presentation-bar__title {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.presentation-bar__title span {
    color: var(--primary);
}

.client-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--card-border-glow);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.client-tag__pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.presentation-bar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-ctrl {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-ctrl:hover,
.btn-ctrl.active {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--primary);
    color: var(--text-main);
}

.btn-ctrl--primary {
    background: var(--primary);
    color: #050a12;
    border-color: var(--primary);
    font-weight: 700;
}

.btn-ctrl--primary:hover {
    background: #38bdf8;
    color: #050a12;
    box-shadow: 0 0 16px var(--primary-glow);
}

/* --- 2. PRESENTATION VIEWPORT STAGE --- */
.stage-container {
    flex: 1;
    margin-top: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    min-height: calc(100vh - 56px);
}

/* Mode A: Device Shell Mockup (Default) */
.device-frame {
    width: 412px;
    height: 844px;
    background: var(--bg-darker);
    border-radius: 52px;
    box-shadow: 
        0 25px 70px -10px rgba(0, 0, 0, 0.8),
        0 0 0 12px #1e293b,
        0 0 0 14px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

/* Dynamic Island */
.device-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.device-notch__camera {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #111;
    border: 1px solid #222;
}

.device-notch__sensor {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #050505;
}

/* Status Bar */
.device-statusbar {
    height: 48px;
    padding: 12px 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
    z-index: 40;
}

.device-statusbar__icons {
    display: flex;
    gap: 6px;
}

/* Device Screen Content (Scrollable Web App) */
.device-screen {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 24px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.device-home-bar {
    width: 140px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin: 8px auto 6px;
}

/* Mode B: Fullscreen / Responsive Native Mode */
.stage-container.mode-fullscreen .device-frame {
    width: 100%;
    max-width: 1200px;
    height: auto;
    min-height: calc(100vh - 120px);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--card-border);
}

.stage-container.mode-fullscreen .device-notch,
.stage-container.mode-fullscreen .device-statusbar,
.stage-container.mode-fullscreen .device-home-bar {
    display: none;
}

/* --- 3. SIMULATION WORKSPACE COMPONENTS --- */
.sim-app {
    padding: 16px;
}

.sim-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 18px;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 18px;
}

.sim-header__meta h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
}

.sim-header__meta p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.sim-badge {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
    border: 1px solid var(--card-border-glow);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Telemetry Ribbon */
.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 18px;
}

.telemetry-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 10px 8px;
    text-align: center;
}

.telemetry-val {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-mono);
}

.telemetry-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Simulation Scenario Switcher */
.scenario-selector {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 6px;
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
}

.scenario-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 8px 6px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.scenario-tab.active {
    background: var(--card-bg-elevated);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--card-border-glow);
}

/* Live Terminal / Token Stream Window */
.sim-terminal {
    background: #000;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.sim-terminal__header {
    background: #0f172a;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sim-terminal__dots {
    display: flex;
    gap: 6px;
}

.sim-terminal__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.sim-terminal__dot--red { background: #ef4444; }
.sim-terminal__dot--yellow { background: #f59e0b; }
.sim-terminal__dot--green { background: #10b981; }

.sim-terminal__title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.sim-terminal__body {
    padding: 12px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #38bdf8;
    min-height: 120px;
    max-height: 220px;
    overflow-y: auto;
    line-height: 1.6;
}

.cursor-blink {
    display: inline-block;
    width: 6px;
    height: 14px;
    background: var(--primary);
    vertical-align: middle;
    margin-left: 4px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Action Trigger Card */
.action-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 18px;
}

.action-btn {
    width: 100%;
    background: linear-gradient(135deg, #00d4ff 0%, #0284c7 100%);
    color: #050a12;
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-glow);
}

.action-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ROI Impact Difference Card */
.roi-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 18px;
    display: none;
}

.roi-card.visible {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.roi-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
}

.roi-stat-row:last-child {
    border-bottom: none;
}

.roi-stat-val {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--accent-emerald);
}

/* --- 4. CLOSING MODAL (Contract Trigger) --- */
.closing-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.closing-modal-backdrop.active {
    display: flex;
}

.closing-modal {
    background: var(--bg-darker);
    border: 1px solid var(--primary);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.25);
    border-radius: var(--radius-lg);
    max-width: 520px;
    width: 100%;
    padding: 28px;
    position: relative;
}

.closing-modal h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.closing-modal h3 span {
    color: var(--primary);
}

.closing-modal p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.closing-modal__stats {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 20px;
}

.closing-modal__actions {
    display: flex;
    gap: 12px;
}

/* --- 5. CONFIG DRAWER (Pre-Meeting Personalizer) --- */
.config-drawer {
    position: fixed;
    top: 56px;
    right: -360px;
    width: 340px;
    height: calc(100vh - 56px);
    background: var(--bg-darker);
    border-left: 1px solid var(--card-border);
    padding: 24px;
    z-index: 1500;
    transition: var(--transition);
    overflow-y: auto;
}

.config-drawer.open {
    right: 0;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
}

.config-drawer h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.config-group {
    margin-bottom: 16px;
}

.config-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.config-group input,
.config-group select {
    width: 100%;
    background: #0f172a;
    border: 1px solid var(--card-border);
    color: var(--text-main);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.config-group input:focus,
.config-group select:focus {
    outline: none;
    border-color: var(--primary);
}

/* --- 6. HUMAN OPERATOR VERIFICATION GATE --- */
.security-gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.security-gate-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.security-gate-card {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.15), 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    border-radius: var(--radius-lg);
    max-width: 440px;
    width: 100%;
    padding: 32px 28px;
    text-align: center;
    position: relative;
    animation: gatePop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes gatePop {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.shield-icon-container {
    width: 68px;
    height: 68px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.25);
    animation: pulseRing 2.5s infinite;
}

@keyframes pulseRing {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.2); }
    50% { box-shadow: 0 0 35px rgba(0, 212, 255, 0.5); }
}

.security-gate-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.security-gate-title span {
    color: var(--primary);
}

.security-gate-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
}

/* Slide To Unlock Mechanism */
.slider-track {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 40px;
    height: 54px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 4px;
    user-select: none;
    overflow: hidden;
}

.slider-track-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.25), rgba(16, 185, 129, 0.5));
    border-radius: 40px;
    pointer-events: none;
    transition: width 0.05s linear;
}

.slider-thumb {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: #050a12;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: grab;
    position: absolute;
    left: 4px;
    z-index: 10;
    box-shadow: 0 0 16px var(--primary-glow);
    transition: background-color 0.25s ease;
    touch-action: pan-y;
}

.slider-thumb:active {
    cursor: grabbing;
}

.slider-thumb.verified {
    background: var(--accent-emerald);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
}

.slider-label {
    width: 100%;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    z-index: 5;
    pointer-events: none;
    padding-left: 20px;
}

.gate-bypass-btn {
    margin-top: 14px;
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 0.72rem;
    cursor: pointer;
    text-decoration: underline;
    transition: var(--transition);
}

.gate-bypass-btn:hover {
    color: var(--primary);
}

/* --- 7. TOAST NOTIFICATION --- */
.sim-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(40px);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--primary);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.25);
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.sim-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==============================================================================
   8. STANDALONE EXECUTIVE BUSINESS DOSSIER STYLES
   Standard: AARYOM-STD-01-UNIVERSAL-ENGINEERING
   ============================================================================== */

.dossier-layout {
    margin-top: 56px;
    display: flex;
    flex-direction: row;
    gap: 36px;
    max-width: 1460px;
    margin-left: auto;
    margin-right: auto;
    padding: 32px 24px 60px;
    align-items: flex-start;
    width: 100%;
    min-height: calc(100vh - 56px);
    transition: var(--transition);
}

.dossier-panel {
    flex: 1 1 58%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.dossier-simulator-col {
    flex: 0 0 430px;
    position: sticky;
    top: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

/* Breadcrumbs & Header */
.dossier-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition);
    margin-bottom: 4px;
}

.dossier-breadcrumb:hover {
    color: var(--primary);
}

.dossier-header h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin: 8px 0 10px;
}

.dossier-header h1 span {
    color: var(--primary);
}

.dossier-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.dossier-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.dossier-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
}

.dossier-tag--primary {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--card-border-glow);
    color: var(--primary);
}

.dossier-tag--emerald {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--accent-emerald);
}

/* Dossier Card Base */
.dossier-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.dossier-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.dossier-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-main);
}

.dossier-card__title i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Problem & Pain Points Grid */
.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.pain-point-item {
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid var(--card-border);
    border-left: 3px solid #f87171;
    border-radius: var(--radius-sm);
    padding: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pain-point-item strong {
    color: #fecdd3;
    display: block;
    margin-bottom: 4px;
    font-size: 0.85rem;
}

/* Investment & Financial Breakdown Table */
.investment-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    margin-top: 8px;
}

.investment-table th {
    text-align: left;
    padding: 10px 12px;
    background: rgba(30, 41, 59, 0.5);
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--card-border);
}

.investment-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.investment-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.investment-cost {
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--primary);
    font-size: 0.95rem;
}

.investment-highlight {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--card-border-glow);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.highlight-metric {
    display: flex;
    flex-direction: column;
}

.highlight-metric__label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.highlight-metric__val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-emerald);
}

/* Technical Dependencies Checklist */
.dependency-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dependency-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
}

.dependency-item__info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dependency-item__info i {
    color: var(--primary);
    width: 16px;
    text-align: center;
}

.dep-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
}

.dep-badge--client {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.dep-badge--aaryom {
    background: rgba(0, 212, 255, 0.15);
    color: var(--primary);
    border: 1px solid var(--card-border-glow);
}

.dep-badge--guaranteed {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Implementation Delivery Roadmap */
.roadmap-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 10px;
}

.roadmap-phase {
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 14px;
    position: relative;
}

.roadmap-phase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--card-border);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.roadmap-phase:nth-child(1)::before { background: var(--primary); }
.roadmap-phase:nth-child(2)::before { background: var(--accent-purple); }
.roadmap-phase:nth-child(3)::before { background: var(--accent-amber); }
.roadmap-phase:nth-child(4)::before { background: var(--accent-emerald); }

.roadmap-phase__step {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.roadmap-phase__title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.roadmap-phase__desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Executive Commercial CTA */
.dossier-cta-banner {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12) 0%, rgba(168, 85, 247, 0.12) 100%);
    border: 1px solid var(--card-border-glow);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.15);
}

.dossier-cta-banner h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.dossier-cta-banner p {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 540px;
}

/* Fullscreen Mode Overrides */
.dossier-layout.mode-fullscreen {
    padding: 20px;
    justify-content: center;
}

.dossier-layout.mode-fullscreen .dossier-panel {
    display: none !important;
}

.dossier-layout.mode-fullscreen .dossier-simulator-col {
    flex: 1 1 100%;
    position: static;
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
}

.dossier-layout.mode-fullscreen .device-frame {
    width: 100%;
    max-width: 900px;
    height: 820px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

/* Responsive Stacking */
@media (max-width: 1100px) {
    .dossier-layout {
        flex-direction: column;
        align-items: center;
        padding: 24px 16px 60px;
    }
    .dossier-simulator-col {
        position: static;
        width: 100%;
        max-width: 440px;
        order: 2;
        margin: 20px 0;
    }
    .dossier-panel {
        width: 100%;
        order: 1;
    }
}

/* ==============================================================================
   9. IN-PAGE QUICK PERSONALIZER & TEST CASES STYLES
   Standard: AARYOM-STD-01-UNIVERSAL-ENGINEERING
   ============================================================================== */

.personalizer-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border-glow);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}

.personalizer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent-purple) 100%);
}

.personalizer-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.personalizer-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.personalizer-card__title h3 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.2px;
    margin: 0;
}

.personalizer-card__title i {
    color: var(--primary);
    font-size: 1.15rem;
}

.personalizer-inputs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 12px;
}

.personalizer-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.personalizer-field label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.personalizer-field input {
    background: rgba(2, 6, 23, 0.7);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    padding: 10px 14px;
    font-size: 0.85rem;
    font-family: inherit;
    transition: var(--transition);
}

.personalizer-field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 14px rgba(0, 212, 255, 0.25);
    background: rgba(2, 6, 23, 0.9);
}

.personalizer-card__hint {
    font-size: 0.74rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 16px;
}

/* --- Predefined Enterprise Test Cases --- */
.test-cases-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.test-cases-header__title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.test-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
}

.test-case-btn {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}

.test-case-btn:hover {
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.08);
    transform: translateY(-2px);
}

.test-case-btn.active {
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.12);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.25);
}

.test-case-btn__badge {
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-dim);
}

.test-case-btn.active .test-case-btn__badge {
    color: var(--primary);
}

.test-case-btn__name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.test-case-btn__name i {
    font-size: 0.72rem;
    opacity: 0;
    color: var(--accent-emerald);
    transition: var(--transition);
}

.test-case-btn.active .test-case-btn__name i {
    opacity: 1;
}

.test-case-btn__meta {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.test-case-btn__savings {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--accent-emerald);
    font-family: var(--font-mono);
    margin-top: 2px;
}

/* --- "How to Use This Simulator" Playbook Card --- */
.playbook-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.playbook-step {
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.playbook-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: var(--radius-circle);
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid var(--card-border-glow);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    font-family: var(--font-mono);
    margin-bottom: 4px;
}

.playbook-step__title {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.playbook-step__title i {
    color: var(--primary);
    font-size: 0.85rem;
}

.playbook-step__desc {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.playbook-tip-bar {
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.playbook-tip-bar strong {
    color: #e9d5ff;
}

.shortcut-kbd {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--card-border);
    border-radius: 4px;
    padding: 2px 6px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--primary);
}