/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* VMware Brand Colors */
    --vmware-blue: #0091DA;
    --vmware-dark-blue: #1A365D;
    --vmware-green: #00B388;
    --vmware-orange: #FF6B35;
    --vmware-red: #E53E3E;
    
    /* VNLI Colors */
    --vnli-primary: linear-gradient(135deg, #0091DA, #00B388);
    --vnli-glass: rgba(255, 255, 255, 0.1);
    --vnli-glass-border: rgba(255, 255, 255, 0.2);
    
    /* Neutral Colors */
    --bg-dark: #1a1a1a;
    --bg-light: #2d3748;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --border-color: #4a5568;
    
    /* Alert Colors */
    --alert-critical: #fed7d7;
    --alert-critical-border: #e53e3e;
    --alert-warning: #fefcbf;
    --alert-warning-border: #d69e2e;
    --alert-success: #c6f6d5;
    --alert-success-border: #38a169;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Fixed Menubar */
.menubar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

.menubar.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.menubar-left {
    flex: 1;
}

.menubar-journey-indicator {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.menubar-journey-indicator.before-journey {
    background: var(--vmware-red);
    color: white;
}

.menubar-journey-indicator.after-journey {
    background: var(--vnli-primary);
    color: white;
}

.menubar-center {
    flex: 2;
    display: flex;
    justify-content: center;
}

.menubar-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
}

.menubar-progress-bar {
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.menubar-progress-fill {
    height: 100%;
    background: var(--vmware-blue);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 2px;
}

.menubar-step-counter {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.menubar-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.menubar-timestamp {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--vmware-orange);
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

/* Screen Container */
#app {
    width: 100vw;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    opacity: 0;
    transform: translateX(100vw);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Adjust screen content when menubar is visible */
.screen:not(#landing) {
    padding-top: calc(70px + 2rem);
    padding-bottom: 2rem;
}

.screen.active {
    opacity: 1;
    transform: translateX(0);
}

/* 16:9 Aspect Ratio Optimization */
.screen-container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    min-height: calc(100vh - 140px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Landing page specific adjustments for 16:9 */
#landing .landing-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Content area optimized for 16:9 viewing */
.screen-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 0;
}

.content-main {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Landing Page Styles */
.hero-section {
    margin-bottom: 3rem;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--vnli-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.context-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--alert-critical);
    color: #1a202c;
    padding: 1rem 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--alert-critical-border);
    margin: 0 auto 3rem;
    max-width: 600px;
}

.alert-icon {
    font-size: 1.5rem;
}

.alert-text {
    font-weight: 600;
}

/* Journey Selection */
.journey-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.journey-btn {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    color: var(--text-primary);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.journey-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.journey-before {
    border-color: var(--vmware-red);
}

.journey-before:hover {
    background: linear-gradient(135deg, var(--vmware-red), #c53030);
    border-color: var(--vmware-red);
}

.journey-after {
    border-color: var(--vmware-green);
}

.journey-after:hover {
    background: var(--vnli-primary);
    border-color: var(--vmware-green);
}

.btn-title {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.btn-subtitle {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    color: var(--text-secondary);
}

.journey-btn:hover .btn-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

/* Comparison Stats */
.comparison-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 3vw, 2rem);
    max-width: 800px;
    margin: 0 auto;
}

.stat {
    text-align: center;
    padding: clamp(1rem, 2.5vw, 1.8rem);
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--vmware-green);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.stat-label {
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    color: var(--text-secondary);
}


/* Navigation */
.screen-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 2rem;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.nav-btn {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--vmware-blue);
    border-color: var(--vmware-blue);
}

.progress-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--vmware-blue);
}

/* Journey Switch */
.journey-switch {
    text-align: center;
    margin-top: 2rem;
}

.switch-btn {
    background: transparent;
    border: 2px solid var(--vmware-blue);
    color: var(--vmware-blue);
    padding: 0.75rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.switch-btn:hover {
    background: var(--vmware-blue);
    color: white;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .menubar {
        padding: 0 1rem;
        height: 60px;
    }
    
    .menubar-journey-indicator {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .menubar-progress {
        min-width: 150px;
    }
    
    .menubar-timestamp {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .screen {
        padding: 1rem;
    }
    
    .screen:not(#landing) {
        padding-top: calc(60px + 1rem);
        padding-bottom: 1rem;
    }
    
    .screen-content {
        padding: 1rem 0;
    }
    
    .content-main {
        max-width: 100%;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .journey-selection {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .journey-btn {
        padding: 2rem 1rem;
    }
    
    .btn-title {
        font-size: 1.3rem;
    }
    
    .comparison-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .screen-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-btn {
        width: 100%;
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .progress-dots {
        order: -1;
        justify-content: center;
    }
    
    .screen-header {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
    
    .journey-indicator {
        font-size: 1rem;
    }
    
    .time-stamp {
        font-size: 1.2rem;
    }
    
    .context-alert {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .menubar {
        padding: 0 0.5rem;
        height: 50px;
    }
    
    .menubar-journey-indicator {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .menubar-progress {
        min-width: 100px;
    }
    
    .menubar-step-counter {
        font-size: 0.7rem;
    }
    
    .menubar-timestamp {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }
    
    .screen {
        padding: 0.5rem;
    }
    
    .screen:not(#landing) {
        padding-top: calc(50px + 0.5rem);
        padding-bottom: 0.5rem;
    }
    
    .screen-content {
        padding: 0.5rem 0;
    }
    
    #landing .landing-container {
        padding: 0 1rem;
        min-height: 100vh;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .journey-btn {
        padding: 1.5rem 1rem;
    }
    
    .btn-title {
        font-size: 1.1rem;
    }
    
    .btn-subtitle {
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .landing-container {
        padding: 0 1rem;
    }
    
    .screen-container {
        padding: 0;
    }
}