:root {
    --bg-dark: #f8fafc;      /* Modern light premium background */
    --bg-panel: #ffffff;     /* Pure white card backgrounds */
    --bg-surface: #ffffff;   /* Clean surface color */
    --primary: #FF6600;      /* Vibrant Contmatic Orange */
    --primary-hover: #E65C00;
    --primary-glow: rgba(255, 102, 0, 0.22);
    --navy: #002147;         /* Official Contmatic Navy Blue */
    --text-main: #1e293b;    /* Slate-900 */
    --text-muted: #64748b;   /* Slate-500 */
    --border-color: #e2e8f0; /* Clean light gray borders */
    --border-glow: rgba(255, 102, 0, 0.1);
    
    /* Windows/Client Theme Mockups */
    --win-bg: #f0f4f8;       
    --win-header: #3b82f6;   
    --win-header-inactive: #94a3b8;
    --win-border: #cbd5e1;
    --win-text: #1e293b;
    --win-input-border: #94a3b8;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(at 10% 20%, rgba(255, 102, 0, 0.05) 0px, transparent 40%),
        radial-gradient(at 90% 80%, rgba(15, 98, 172, 0.05) 0px, transparent 45%);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
    overflow-x: hidden;
}

/* Base Wrapper Layout */
.demo-wrapper {
    width: 100%;
    max-width: 1380px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Modern Top Header (Mimicking Official Website Header) */
.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1.5rem;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.demo-logo-wrap {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 30px;
    object-fit: contain;
}

/* Navigation Menu */
.demo-nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.825rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: var(--transition);
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.demo-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-whatsapp-header {
    background: transparent;
    border: 1.5px solid #22c55e;
    color: #16a34a;
    padding: 0.45rem 1.1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-whatsapp-header:hover {
    background: #f0fdf4;
    border-color: #16a34a;
    color: #15803d;
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.45rem 1.1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.15);
}

.btn-secondary:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 15px rgba(255, 102, 0, 0.3);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.2);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 102, 0, 0.35);
}

/* Split Main Container (Sidebar + Player Canvas) */
.demo-main-split {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1rem;
    width: 100%;
}

@media (max-width: 1024px) {
    .demo-main-split {
        grid-template-columns: 1fr;
    }
}

/* Sidebar Navigation Index */
.demo-sidebar {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 580px;
    overflow-y: auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.035);
}

.sidebar-title {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #64748b;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.chapter-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    list-style: none;
}

.chapter-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.825rem;
    font-weight: 500;
    color: #64748b;
    background: transparent;
    transition: var(--transition);
}

.chapter-item:hover {
    background: #f8fafc;
    color: #0f172a;
}

.chapter-item.active {
    background: #f1f5f9; /* Soft flat light-gray background matching screenshot Profile active card */
    color: #0f172a;      /* Solid black text */
    font-weight: 600;    /* Clean semi-bold font */
}

.chapter-item.completed {
    color: #0f172a;      /* Deep black text after completion instead of green */
}

.chapter-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    filter: grayscale(100%) opacity(50%);
    transition: var(--transition);
}

.chapter-item.active .chapter-icon {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.05);
}

.chapter-item.completed .chapter-icon {
    filter: grayscale(0%) opacity(100%);
}

/* Player Canvas Container */
.player-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9.5;
    background: #0f1220;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1.5px solid var(--border-color);
}

/* Progress Bar */
.progress-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    z-index: 50;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #fb923c);
    width: 0%;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 6px var(--primary);
}

/* Screen Viewport */
.app-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--win-text);
    background: var(--win-bg);
}

/* Interaction Layer (Pointer Click and Overlays) */
.interaction-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 40;
}

/* Modern Glowing Pulsing Hotspot */
.hotspot {
    position: absolute;
    width: 26px;
    height: 26px;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    cursor: pointer;
    z-index: 41;
    box-shadow: 0 0 0 0 rgba(242, 101, 34, 0.45), 0 6px 15px rgba(0, 0, 0, 0.4);
    animation: pulse 1.6s infinite cubic-bezier(0.66, 0, 0, 1);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hotspot:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

.hotspot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(242, 101, 34, 0.6), 0 4px 10px rgba(0,0,0,0.3);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(242, 101, 34, 0), 0 4px 10px rgba(0,0,0,0.3);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(242, 101, 34, 0), 0 4px 10px rgba(0,0,0,0.3);
    }
}

/* Pulsing Action Button Highlight */
@keyframes actionPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(242, 101, 34, 0.65);
        transform: scale(1);
    }
    50% {
        transform: scale(1.025);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(242, 101, 34, 0);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(242, 101, 34, 0);
        transform: scale(1);
    }
}

.pulsing-action {
    animation: actionPulse 1.6s infinite ease-in-out !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 10px rgba(242, 101, 34, 0.4);
    z-index: 100 !important;
    position: relative;
    cursor: pointer !important;
}

/* Glassmorphic Tooltip Card centered at the bottom of the screen */
.tooltip {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translate(-50%, 12px) scale(0.96);
    background: rgba(11, 14, 28, 0.94);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    color: #ffffff;
    padding: 0.75rem 1.35rem;
    border-radius: 16px;
    font-size: 0.825rem;
    font-weight: 500;
    width: 94%;
    max-width: 760px;
    line-height: 1.45;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4), 
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    pointer-events: auto;
    z-index: 42;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1), transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    
    /* Layout inside tooltip */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.tooltip.visible {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

.tooltip-left-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
    flex: 1;
}

.tooltip-header {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.step-counter {
    font-size: 0.65rem;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tooltip-body {
    margin-bottom: 0;
    color: #e2e8f0;
}

.tooltip-body strong {
    color: var(--primary);
}

.tooltip-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.btn-next {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    font-size: 0.825rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-next:hover {
    background: var(--primary-hover);
    box-shadow: 0 0 8px rgba(242, 101, 34, 0.3);
}

.btn-prev {
    background: transparent;
    color: var(--text-muted);
    border: none;
    font-size: 0.825rem;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.btn-prev:hover {
    color: var(--text-main);
}

/* Chrome simulated browser tabs bar for simulated app */
.browser-chrome {
    height: 38px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-bottom: 1px solid #cbd5e1;
    gap: 8px;
}

.browser-controls {
    display: flex;
    gap: 6px;
}

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

.browser-tab {
    background: #f1f5f9;
    border-radius: 8px 8px 0 0;
    height: 28px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-bottom: none;
    margin-top: 10px;
    min-width: 160px;
    justify-content: space-between;
}

.browser-tab.active {
    background: #fff;
    color: #0f172a;
}

.browser-url-bar {
    background: #fff;
    height: 24px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 11px;
    color: #64748b;
    gap: 4px;
}

/* Virtualized Desktop Styling */
.win-desktop {
    width: 100%;
    height: calc(100% - 38px); /* Account for browser chrome */
    background: #2b3a55; /* Corporate blue-gray */
    background-image: radial-gradient(circle, #25334d 0%, #172235 100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* Desktop App Launch Grid */
.desktop-launchpad {
    position: absolute;
    top: 20px;
    left: 20px;
    display: grid;
    grid-template-rows: repeat(4, 90px);
    gap: 15px;
}

.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: var(--transition);
}

.desktop-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.icon-graphic {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.desktop-icon span {
    font-size: 11px;
    font-weight: 600;
    color: white;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    word-break: break-word;
    max-width: 72px;
}

/* Windows Classic App Wrapper */
.win-window {
    width: 92%;
    height: 80%; /* Shrunk from 90% to 80% to leave a generous bottom area for the tooltip */
    position: absolute;
    top: 4%;
    left: 4%;
    background: var(--win-bg);
    border: 1px solid #94a3b8;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.win-titlebar {
    background: linear-gradient(180deg, #f8fafc 0%, #cbd5e1 100%);
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 700;
    color: #334155;
    border-bottom: 1px solid #94a3b8;
}

.win-titlebar-right {
    display: flex;
    gap: 4px;
}

.win-ctrl-btn {
    width: 22px;
    height: 18px;
    border: 1px solid #cbd5e1;
    background: #f1f5f9;
    font-size: 9px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
}

.win-ctrl-btn.close {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

/* Menubars and Toolbars */
.win-menubar {
    background: #f1f5f9;
    border-bottom: 1px solid #cbd5e1;
    display: flex;
    padding: 3px 6px;
    font-size: 11px;
    font-weight: 500;
    gap: 12px;
}

.win-menu-item {
    padding: 2px 8px;
    border-radius: 4px;
}

.win-menu-item:hover, .win-menu-item.active {
    background: #e2e8f0;
}

.win-toolbar {
    background: #f8fafc;
    border-bottom: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    padding: 5px 12px;
    gap: 16px;
    font-size: 10px;
}

.win-tool-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-weight: 600;
    color: #475569;
}

.win-tool-btn span {
    font-size: 14px;
}

/* Form layouts and grid structures inside Windows mockups */
.win-content-area {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    background: white;
}

.win-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.win-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.win-form-group label {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
}

.win-input {
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    height: 24px;
    padding: 0 8px;
    font-size: 11px;
    font-weight: 500;
    color: #1e293b;
    outline: none;
    font-family: inherit;
}

.win-input:focus {
    border-color: #3b82f6;
}

.win-input.yellow {
    background: #fef9c3;
}

.win-input.disabled {
    background: #f1f5f9;
    color: #94a3b8;
}

.win-btn {
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    border-radius: 4px;
    height: 26px;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.win-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.win-btn-primary {
    background: #3b82f6;
    color: white;
    border-color: #2563eb;
}

.win-btn-primary:hover {
    background: #2563eb;
}

/* Realistic Win Tables & Grids */
.win-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    text-align: left;
}

.win-table th {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 6px 8px;
    font-weight: 700;
    color: #475569;
}

.win-table td {
    border: 1px solid #cbd5e1;
    padding: 6px 8px;
    color: #1e293b;
}

.win-table tr:nth-child(even) {
    background: #f8fafc;
}

.win-table tr.highlighted {
    background: #e0f2fe;
}

/* Section specific mockups */
/* 1. Robomatic Dashboard Logs */
.robo-log-panel {
    background: #0f172a;
    border-radius: 8px;
    padding: 12px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 11px;
    color: #38bdf8;
    height: 180px;
    overflow-y: auto;
    border: 1px solid #1e293b;
    margin-top: 10px;
}

.robo-log-item {
    margin-bottom: 4px;
    display: flex;
    gap: 8px;
}

.robo-log-item.success {
    color: #4ade80;
}

.robo-log-item.pending {
    color: #fb923c;
    animation: flash 1s infinite alternate;
}

@keyframes flash {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

/* 2. Contador Online Premium Mockup Styles */
.co-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #eef2f5;
    font-family: 'Inter', sans-serif;
    color: #334155;
    overflow: hidden;
}

.co-topbar {
    background: #0f62ac;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    color: white;
    font-size: 11px;
    font-weight: 600;
}

.co-topbar-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.co-body-split {
    display: flex;
    flex: 1;
    height: calc(100% - 32px);
}

.co-sidebar {
    width: 170px;
    background: #f4f7f6;
    border-right: 1px solid #d1dbe0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 0;
    flex-shrink: 0;
}

.co-menu-list {
    display: flex;
    flex-direction: column;
}

.co-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 14px;
    font-size: 10.5px;
    color: #475569;
    font-weight: 500;
    border-left: 3px solid transparent;
    cursor: default;
    transition: var(--transition);
}

.co-menu-item-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.co-menu-item-icon {
    font-size: 12px;
    width: 16px;
    text-align: center;
}

.co-menu-item.active {
    background: #e9ecef;
    color: #0f62ac;
    font-weight: 700;
    border-left-color: #0f62ac;
}

.co-menu-item.active-special {
    background: #fff8f5;
    color: var(--primary) !important;
    font-weight: 700;
    border-left-color: var(--primary);
    border-top: 1px solid rgba(242, 101, 34, 0.15);
    border-bottom: 1px solid rgba(242, 101, 34, 0.15);
}

.co-menu-item-arrow {
    font-size: 8px;
    color: #94a3b8;
}

.co-menu-footer-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 10.5px;
    color: #475569;
    font-weight: 600;
}

.co-menu-footer-item span {
    font-size: 14px;
}

.co-main-content {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    text-align: left;
}

.co-tabs-bar {
    display: flex;
    border-bottom: 1.5px solid #cbd5e1;
    gap: 2px;
    margin-bottom: 2px;
}

.co-tab {
    padding: 6px 14px;
    font-size: 10.5px;
    font-weight: 600;
    color: #64748b;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    cursor: default;
    background: transparent;
}

.co-tab.active {
    background: white;
    color: #0f62ac;
    border-color: #cbd5e1;
    border-bottom: 2px solid white;
    position: relative;
    top: 1.5px;
}

.co-hud-card {
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.co-hud-title {
    font-size: 15px;
    color: #475569;
    font-weight: 400;
}

.co-hud-counters {
    display: flex;
    gap: 16px;
}

.co-hud-counter {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    color: #475569;
}

.co-counter-badge {
    background: #ef4444;
    color: white;
    font-size: 8px;
    font-weight: 800;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.co-calendar-card {
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.co-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.co-calendar-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.co-nav-btn {
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    color: #475569;
    cursor: default;
}

.co-calendar-title {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
}

.co-btn-obligations {
    background: #0f62ac;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: default;
}

.co-btn-view-type {
    display: flex;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    overflow: hidden;
}

.co-view-btn {
    padding: 2px 8px;
    font-size: 10px;
    background: #f8fafc;
    border: none;
    color: #475569;
    font-weight: 600;
    cursor: default;
}

.co-view-btn.active {
    background: #cbd5e1;
    color: #1e293b;
}

.co-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-top: 1px solid #d1dbe0;
    border-left: 1px solid #d1dbe0;
    border-radius: 2px;
    overflow: hidden;
}

.co-calendar-header-cell {
    background: #f37021;
    color: white;
    font-size: 9.5px;
    font-weight: 700;
    text-align: center;
    padding: 4px;
    border-right: 1px solid #d1dbe0;
    border-bottom: 1px solid #d1dbe0;
}

.co-calendar-cell {
    background: white;
    border-right: 1px solid #d1dbe0;
    border-bottom: 1px solid #d1dbe0;
    padding: 3px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 1.6 / 1;
    min-height: 48px;
}

.co-calendar-cell.muted {
    background: #f8fafc;
}

.co-calendar-cell.today {
    background: #fffbeb;
}

.co-calendar-day-num {
    align-self: flex-end;
    font-size: 8px;
    font-weight: 700;
    color: #94a3b8;
}

.co-calendar-cell.muted .co-calendar-day-num {
    color: #cbd5e1;
}

.co-calendar-cell.today .co-calendar-day-num {
    color: #d97706;
}

.co-calendar-events {
    display: flex;
    flex-direction: column;
    gap: 1.5px;
    margin-top: 2px;
}

.co-calendar-event {
    font-size: 7px;
    font-weight: 700;
    padding: 1px 3px;
    border-radius: 2px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.co-calendar-event.red {
    color: #dc2626;
    background: #fef2f2;
    border-left: 1.5px solid #dc2626;
}

.co-calendar-event.blue {
    color: #0f62ac;
    background: #eff6ff;
    border-left: 1.5px solid #0f62ac;
}

/* 3. Mobile Device Mockup */
.mobile-device-mockup {
    width: 250px;
    height: 480px;
    background: #0f172a;
    border-radius: 36px;
    border: 8px solid #334155;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    margin: 0 auto;
    overflow: hidden;
}

.mobile-notch {
    width: 100px;
    height: 18px;
    background: #334155;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 12px 12px;
    z-index: 10;
}

.mobile-screen {
    width: 100%;
    height: 100%;
    background: #f8fafc;
    padding: 24px 12px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-header {
    background: var(--primary);
    padding: 10px;
    color: white;
    border-radius: 8px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
}

.payslip-card {
    background: white;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.payslip-row {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    margin-bottom: 4px;
}

/* 4. Simulador da Reforma Charts */
.reforma-split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 10px;
}

.reforma-chart-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px;
}

.chart-bar-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.chart-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
}

.chart-bar-label {
    min-width: 60px;
    font-weight: 700;
}

.chart-bar-track {
    flex: 1;
    height: 16px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.chart-bar-fill {
    height: 100%;
    background: #94a3b8;
}

.chart-bar-fill.primary {
    background: var(--primary);
}

.chart-bar-fill.blue {
    background: #3b82f6;
}

/* 5. Official DAS Guide barcode simulated */
.das-barcode {
    height: 40px;
    background: repeating-linear-gradient(
        90deg,
        #000,
        #000 2px,
        #fff 2px,
        #fff 4px
    );
    margin-top: 16px;
    border: 1px solid #000;
}

/* Glassmorphic Start/End Screens overlays */
.start-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8fafc; /* Elegant official landing page light background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    overflow: hidden;
}

.start-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Floating Background Circles from Landing Page */
.akita-hero-07-circles-holder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.akita-hero-07-circles-holder .circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.12;
    transition: all 1s ease;
}

.akita-hero-07-circles-holder .circle._01 {
    top: -10%;
    left: -5%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.akita-hero-07-circles-holder .circle._02 {
    bottom: -10%;
    right: -5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
}

.akita-hero-07-circles-holder .circle._03 {
    top: 30%;
    left: 45%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.4) 0%, transparent 70%);
}

/* Premium Split Bento Card (Notion AI Mockup Style Split Layout) */
.start-card-premium-full {
    display: grid;
    grid-template-columns: 46% 54%;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 2;
    overflow: hidden;
}

.start-card-left-full {
    background: #ffffff;
    padding: 4rem 3.5rem 4rem 4.5rem; /* Perfect Notion AI layout breathing room */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    height: 100%;
    z-index: 3;
    position: relative;
    box-shadow: 15px 0 35px rgba(0, 0, 0, 0.015);
}

.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
}

.brand-logo-icon {
    height: 42px; /* Set to 42px to make the Contábil Phoenix logo extremely legible */
    width: auto;
    object-fit: contain;
}

.start-card-left-full h1 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.35rem; /* Editorial high-impact bold typography */
    font-weight: 800;
    color: #000000; /* Crisp pure black matching Notion screenshot */
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.035em;
}

.start-card-left-full p {
    font-family: 'Inter', sans-serif;
    color: #4b5563; /* Slate grey, very modern and readable */
    font-size: 0.925rem;
    font-weight: 450;
    line-height: 1.45;
    margin-bottom: 2.25rem;
    max-width: 420px;
}

.start-card-actions-full {
    display: flex;
    gap: 14px;
    align-items: center;
}

/* Premium Rounded Rectangle Buttons */
.btn-primary-arcade {
    background: #000000; /* Deep black button */
    color: #ffffff;
    border: none;
    padding: 0.9rem 1.8rem;
    border-radius: 10px; /* Rounded corner rectangle instead of pill shaped */
    font-family: 'Inter', sans-serif;
    font-size: 0.925rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.15),
        0 3px 6px rgba(0, 0, 0, 0.08);
}

.btn-primary-arcade:hover {
    background: var(--primary); /* Hover glows Contmatic Orange */
    box-shadow: 0 10px 25px var(--primary-glow), 0 3px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.btn-secondary-arcade {
    background: transparent;
    border: 1.5px solid #cbd5e1;
    color: #475569;
    padding: 0.9rem 1.8rem;
    border-radius: 10px; /* Rounded corner rectangle */
    font-family: 'Inter', sans-serif;
    font-size: 0.925rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary-arcade:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
    transform: translateY(-2px);
}

.start-card-right-full {
    width: 100%;
    height: 100%;
    background: #f8fafc;
    overflow: hidden;
    position: relative;
}

.mockup-home-img-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.start-card-right-full:hover .mockup-home-img-full {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .start-card-premium-full {
        grid-template-columns: 1fr;
    }
    .start-card-right-full {
        display: none;
    }
    .start-card-left-full {
        padding: 3rem 2rem;
    }
}

/* PDF Preview Frame Mockups */
.pdf-preview {
    border: 1px dashed #94a3b8;
    background: white;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    height: 100%;
    overflow-y: auto;
}

.pdf-header {
    border-bottom: 2px solid #334155;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.pdf-title {
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: #1e293b;
    text-transform: uppercase;
}

/* Tab elements */
.win-tabs {
    display: flex;
    border-bottom: 1px solid #cbd5e1;
    margin-bottom: 8px;
    gap: 2px;
}

.win-tab-btn {
    border: 1px solid #cbd5e1;
    border-bottom: none;
    background: #f1f5f9;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    color: #475569;
}

.win-tab-btn.active {
    background: white;
    color: #0f172a;
    border-bottom: 2px solid white;
    position: relative;
    top: 1px;
}

/* Status Icons and Badges */
.status-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    display: inline-block;
}

.status-badge.success {
    background: #dcfce7;
    color: #15803d;
}

.status-badge.warning {
    background: #fef3c7;
    color: #b45309;
}

/* Login Screen Style Mockups */
.login-split-container {
    display: flex;
    width: 100%;
    height: 100%;
    background: white;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.login-left-panel {
    flex: 1.1;
    background: #0056b3; /* Vibrant corporate blue */
    background-image: radial-gradient(circle at 80% 20%, #006ce6 0%, #004085 100%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    position: relative;
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
}

.login-left-panel .logo-shield {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-left-panel .graphic-abstract {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.06);
    pointer-events: none;
}

.login-left-panel .graphic-abstract::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: 0 50% 50% 50%;
    transform: rotate(-45deg);
}

.login-left-text {
    max-width: 360px;
    z-index: 2;
    text-align: left;
}

.login-left-text h2 {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #ffffff;
}

.login-left-text a {
    color: white;
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    opacity: 0.8;
    transition: var(--transition);
}

.login-left-text a:hover {
    opacity: 1;
}

.login-right-panel {
    flex: 0.9;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
    color: #1e293b;
    position: relative;
}

.login-form-wrapper {
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.login-right-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.25rem;
}

.login-right-logo img {
    height: 24px;
    object-fit: contain;
}

.login-right-logo span {
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    font-family: inherit;
    letter-spacing: -0.5px;
}

.login-right-panel h1 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.2rem;
    text-align: left;
}

.login-right-panel p.subtitle {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    text-align: left;
}

.login-input-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.login-input-box label {
    font-size: 0.775rem;
    font-weight: 600;
    color: #475569;
}

.login-field-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.login-web-input {
    width: 100%;
    height: 36px;
    border: 1px solid #cbd5e1;
    background: #f1f6fc; /* Custom light blue from screenshot */
    border-radius: 6px;
    padding: 0 10px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #0f172a;
    outline: none;
    transition: var(--transition);
}

.login-web-input:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.12);
}

.login-field-icon {
    position: absolute;
    right: 10px;
    color: #94a3b8;
    font-size: 12px;
    cursor: pointer;
}

.login-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.35rem;
    gap: 12px;
}

.login-forgot-link {
    font-size: 0.775rem;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.login-forgot-link:hover {
    color: #0056b3;
}

.btn-login-submit {
    background: #0056b3;
    color: white;
    border: none;
    height: 34px;
    padding: 0 1.25rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 86, 179, 0.18);
    transition: var(--transition);
}

.btn-login-submit:hover {
    background: #004085;
    box-shadow: 0 6px 12px rgba(0, 86, 179, 0.28);
}

.login-help-capsule {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: #e6fcf0;
    border: 1px solid #bbf7d0;
    color: #15803d;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.775rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 8px rgba(21, 128, 61, 0.08);
}

/* Auto Sky Platform Modal Overlay */
.sky-platform-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
    height: 300px;
    background: white;
    border: 3px solid #3b82f6; /* Corporate blue border */
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.sky-titlebar {
    background: #3b82f6; /* Solid corporate blue */
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    font-size: 10px;
    font-weight: bold;
    color: white;
}

.sky-titlebar-right {
    display: flex;
    gap: 2px;
}

.sky-ctrl-btn {
    width: 20px;
    height: 16px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 8px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    cursor: default;
}

.sky-ctrl-btn:hover {
    background: rgba(255,255,255,0.25);
}

.sky-ctrl-btn.close:hover {
    background: #ef4444;
}

.sky-body {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: white;
    text-align: left;
}

.sky-body h4 {
    font-size: 11px;
    font-weight: 700;
    color: #f26522; /* Brand orange accent */
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 4px;
    margin-bottom: 4px;
}

.sky-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    row-gap: 16px;
}

.sky-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 58px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 6px;
    padding: 4px 2px;
    border: 1px solid transparent;
}

.sky-icon-item:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.sky-icon-item.active {
    background: #fff8f5;
    border-color: #fcd34d;
    box-shadow: 0 0 6px rgba(242, 101, 34, 0.2);
}

.sky-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.sky-icon-item span {
    font-size: 8.5px;
    font-weight: 600;
    color: #334155;
    margin-top: 4px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 54px;
}

.sky-footer {
    height: 26px;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    font-size: 9px;
    color: #64748b;
}

.sky-footer-icons {
    display: flex;
    gap: 10px;
    font-size: 11px;
    cursor: default;
}

.sky-footer-icons span:hover {
    color: #3b82f6;
}
