/* Software Tycoon v2.1.0 - Complete Styles
   Developer: AL Software Studio | Last Updated: 30 August, 2025
   🎨 Modern design with Roboto font and cyberpunk theme */

/* ===============================
   CSS RESET & BASE STYLES
   =============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 🎨 Color Palette - Cyberpunk Theme */
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a2e;
    --accent-bg: #16213e;
    --card-bg: #0f3460;
    --surface-bg: #1e1e2e;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #e4e4e7;
    --text-muted: #a1a1aa;
    --text-accent: #00d4ff;
    --text-danger: #ef4444;
    --text-success: #22c55e;
    
    /* Brand Colors */
    --brand-primary: #e94560;
    --brand-secondary: #00d4ff;
    --brand-accent: #00ff88;
    
    /* Status Colors */
    --success: #22c55e;
    --error: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --achievement: #8b5cf6;
    
    /* Neon Colors */
    --neon-blue: #00d4ff;
    --neon-green: #00ff88;
    --neon-purple: #8b5cf6;
    --neon-orange: #ff8c00;
    --neon-pink: #ff0080;
    --neon-cyan: #00ffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    --gradient-success: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    --gradient-error: linear-gradient(135deg, var(--error), var(--neon-orange));
    --gradient-achievement: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    --gradient-card: linear-gradient(135deg, var(--card-bg), var(--accent-bg));
    --gradient-surface: linear-gradient(145deg, var(--surface-bg), var(--secondary-bg));
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-neon: 0 0 20px rgba(0, 212, 255, 0.3);
    --shadow-neon-strong: 0 0 30px rgba(0, 212, 255, 0.5);
    --shadow-glow: 0 0 25px rgba(233, 69, 96, 0.4);
    
    /* Typography */
    --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Arial', sans-serif;
    --font-mono: 'Roboto Mono', 'SF Mono', Monaco, 'Cascadia Code', 'Courier New', monospace;
    --font-display: 'Roboto', sans-serif;
    
    /* Font Weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-bold: 700;
    --font-black: 900;
    
    /* Spacing Scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 50%;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
}

/* ===============================
   BASE ELEMENTS
   =============================== */

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-regular);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--primary-bg);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(233, 69, 96, 0.08) 0%, transparent 50%);
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--font-bold);
    line-height: 1.2;
    margin: 0;
}

h1 { font-size: 2.5rem; font-weight: var(--font-black); }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

/* Text Elements */
p {
    margin: 0 0 var(--space-4) 0;
    color: var(--text-secondary);
}

small {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Links */
a {
    color: var(--brand-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--neon-cyan);
}

/* ===============================
   UTILITY CLASSES
   =============================== */

.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.font-light { font-weight: var(--font-light); }
.font-regular { font-weight: var(--font-regular); }
.font-medium { font-weight: var(--font-medium); }
.font-bold { font-weight: var(--font-bold); }
.font-black { font-weight: var(--font-black); }

/* ===============================
   LOADING SCREEN
   =============================== */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(233, 69, 96, 0.1) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    transition: all var(--transition-slow);
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
}

.loading-container {
    text-align: center;
    max-width: 400px;
    padding: var(--space-8);
}

.loading-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-8);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-neon);
    animation: logoFloat 3s ease-in-out infinite;
}

.loading-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.loading-title {
    font-size: 3rem;
    font-weight: var(--font-black);
    color: var(--brand-primary);
    margin-bottom: var(--space-4);
    text-shadow: var(--shadow-glow);
    animation: titlePulse 2s ease-in-out infinite;
}

.loading-subtitle {
    font-size: 1.125rem;
    color: var(--brand-secondary);
    margin-bottom: var(--space-12);
    font-weight: var(--font-medium);
}

.loading-progress-container {
    width: 300px;
    height: 8px;
    background: var(--accent-bg);
    border-radius: var(--radius-sm);
    margin: 0 auto var(--space-8);
    overflow: hidden;
    box-shadow: inset var(--shadow-sm);
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    transition: width var(--transition-normal);
    position: relative;
}

.loading-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 1.5s infinite;
}

.loading-status {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-6);
    font-family: var(--font-mono);
}

.version-info {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: var(--font-light);
}

.version-info span {
    margin: 0 var(--space-2);
}

/* ===============================
   COMPANY CREATION WIZARD
   =============================== */

.company-creation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    z-index: var(--z-modal);
    overflow-y: auto;
    padding: var(--space-8);
}

.creation-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--gradient-surface);
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    animation: slideInUp var(--transition-slow) ease;
}

.creation-progress {
    margin-bottom: var(--space-12);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-6);
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    flex: 1;
    position: relative;
}

.step-indicator:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -50%;
    left: 50%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
}

.step-indicator.completed:not(:last-child)::after {
    background: var(--neon-green);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-bold);
    font-size: 0.875rem;
    transition: all var(--transition-normal);
}

.step-indicator.active .step-number {
    background: var(--gradient-primary);
    border-color: var(--brand-secondary);
    box-shadow: var(--shadow-neon);
    transform: scale(1.1);
}

.step-indicator.completed .step-number {
    background: var(--neon-green);
    border-color: var(--neon-green);
    color: var(--primary-bg);
}

.step-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: var(--font-medium);
    text-align: center;
}

.step-indicator.active .step-label {
    color: var(--brand-secondary);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--accent-bg);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    transition: width var(--transition-normal);
}

/* Creation Steps */
.creation-step {
    display: none;
    min-height: 500px;
}

.creation-step.active {
    display: block;
    animation: fadeInUp var(--transition-normal) ease;
}

.step-content {
    max-width: 800px;
    margin: 0 auto;
}

.step-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.step-header h2 {
    color: var(--brand-primary);
    margin-bottom: var(--space-4);
    text-shadow: 0 0 20px rgba(233, 69, 96, 0.3);
}

.step-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Form Elements */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.input-group.full-width {
    grid-column: 1 / -1;
}

.input-group label {
    font-weight: var(--font-medium);
    color: var(--text-primary);
    font-size: 0.875rem;
}

.input-group input,
.input-group textarea {
    padding: var(--space-4) var(--space-5);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--brand-secondary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.input-group textarea {
    resize: vertical;
    min-height: 80px;
}

.input-group small {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: var(--space-1);
}

/* Logo Selection */
.logo-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: start;
}

.logo-options h3 {
    text-align: center;
    margin-bottom: var(--space-8);
    color: var(--brand-primary);
    font-size: 1.25rem;
}

.upload-section,
.preset-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.file-upload {
    cursor: pointer;
}

.upload-area {
    width: 200px;
    height: 200px;
    border: 2px dashed var(--brand-secondary);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.05);
    transition: all var(--transition-normal);
    position: relative;
}

.upload-area:hover {
    border-color: var(--neon-green);
    background: rgba(0, 255, 136, 0.05);
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.2);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
    opacity: 0.7;
}

.upload-text {
    text-align: center;
    color: var(--brand-secondary);
    font-size: 0.875rem;
    line-height: 1.4;
}

.preset-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
    max-width: 240px;
}

.preset-logo {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

.preset-logo:hover {
    border-color: var(--neon-green);
    background: rgba(0, 255, 136, 0.1);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.preset-logo.selected {
    border-color: var(--brand-secondary);
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.5);
    animation: selectedPulse 1.5s ease-in-out infinite;
}

.logo-preview {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: var(--space-8);
}

.logo-preview h3 {
    margin-bottom: var(--space-6);
    color: var(--brand-primary);
}

.preview-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-8);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-display {
    width: 80px;
    height: 80px;
    background: var(--gradient-surface);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border: 2px solid var(--brand-secondary);
    box-shadow: var(--shadow-neon);
    overflow: hidden;
}

.logo-display img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-preview {
    text-align: center;
}

.company-name-preview {
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    color: var(--brand-primary);
    margin-bottom: var(--space-2);
}

.founder-preview {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: var(--font-medium);
}

/* Specialization & Location Cards */
.specialization-grid,
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.spec-card,
.location-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.spec-card::before,
.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.spec-card:hover::before,
.location-card:hover::before {
    opacity: 0.05;
}

.spec-card:hover,
.location-card:hover {
    border-color: var(--brand-secondary);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.spec-card.selected,
.location-card.selected {
    border-color: var(--neon-green);
    background: rgba(0, 255, 136, 0.08);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.25);
    transform: translateY(-8px);
}

.spec-icon,
.location-flag {
    font-size: 4rem;
    margin-bottom: var(--space-6);
    display: block;
    animation: iconFloat 3s ease-in-out infinite;
}

.spec-card h3,
.location-card h3 {
    color: var(--brand-primary);
    margin-bottom: var(--space-4);
    font-size: 1.375rem;
    position: relative;
    z-index: 1;
}

.spec-card p,
.location-card p {
    color: var(--text-muted);
    margin-bottom: var(--space-6);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.spec-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    position: relative;
    z-index: 1;
}

.benefit {
    background: rgba(0, 255, 136, 0.15);
    color: var(--neon-green);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    border: 1px solid rgba(0, 255, 136, 0.3);
    font-weight: var(--font-medium);
}

.location-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    position: relative;
    z-index: 1;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: var(--font-medium);
}

.stat-value {
    font-weight: var(--font-bold);
    color: var(--brand-secondary);
    font-size: 0.875rem;
}

/* Launch Summary */
.launch-summary {
    max-width: 600px;
    margin: 0 auto;
}

.company-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    margin-bottom: var(--space-8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.company-header {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.company-logo-display {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: var(--shadow-neon-strong);
    overflow: hidden;
    animation: logoGlow 2s ease-in-out infinite;
}

.company-logo-display img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-details h3 {
    font-size: 2.25rem;
    font-weight: var(--font-black);
    color: var(--brand-primary);
    margin-bottom: var(--space-2);
    text-shadow: var(--shadow-glow);
}

.company-details p {
    color: var(--text-muted);
    font-size: 1.125rem;
    font-weight: var(--font-medium);
    margin-bottom: var(--space-2);
}

.vision-text {
    font-style: italic;
    color: var(--brand-secondary) !important;
    font-size: 1rem !important;
    display: none;
}

.summary-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.summary-stat {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-info .stat-label {
    color: var(--text-muted);
    font-weight: var(--font-medium);
    font-size: 0.875rem;
}

.stat-info .stat-value {
    color: var(--brand-secondary);
    font-weight: var(--font-bold);
    font-size: 1rem;
}

.motivation-quote {
    background: var(--gradient-achievement);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.motivation-quote::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.motivation-quote blockquote {
    font-style: italic;
    font-size: 1.25rem;
    color: white;
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 1;
}

.motivation-quote cite {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: var(--font-medium);
    position: relative;
    z-index: 1;
}

.launch-btn {
    width: 100%;
    padding: var(--space-6) var(--space-8);
    background: var(--gradient-success);
    border: none;
    border-radius: var(--radius-xl);
    color: white;
    font-size: 1.375rem;
    font-weight: var(--font-bold);
    font-family: var(--font-display);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: launchPulse 2s ease-in-out infinite;
}

.launch-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(34, 197, 94, 0.6);
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
}

.launch-btn:active {
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.75rem;
}

/* Navigation */
.creation-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn {
    padding: var(--space-4) var(--space-8);
    border: none;
    border-radius: var(--radius-lg);
    font-weight: var(--font-bold);
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    min-width: 140px;
    font-size: 1rem;
}

.nav-btn.primary {
    background: var(--gradient-primary);
    color: white;
}

.nav-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.nav-btn.primary:hover {
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

/* ===============================
   MAIN GAME INTERFACE
   =============================== */

.game-container {
    display: none;
    flex-direction: column;
    min-height: 100vh;
}

.game-container:not(.hidden) {
    display: flex;
}

/* Game Header */
.game-header {
    background: var(--gradient-surface);
    padding: var(--space-6) var(--space-8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
}

.header-left {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.company-info {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.company-logo-game {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-neon);
    overflow: hidden;
    animation: logoFloat 3s ease-in-out infinite;
}

.company-logo-game img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-text h1 {
    font-size: 2rem;
    font-weight: var(--font-black);
    color: var(--brand-primary);
    margin-bottom: var(--space-1);
    text-shadow: var(--shadow-glow);
}

.company-text p {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: var(--font-medium);
    margin: 0;
}

.header-center {
    display: flex;
    gap: var(--space-8);
}

.game-stats {
    display: flex;
    gap: var(--space-6);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 1.25rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-content .stat-value {
    font-weight: var(--font-bold);
    color: var(--brand-secondary);
    font-size: 1rem;
    line-height: 1.2;
}

.stat-content .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: var(--font-medium);
}

.header-right {
    display: flex;
    gap: var(--space-4);
    align-items: center;
}

.resource-display {
    display: flex;
    gap: var(--space-4);
}

.resource-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    background: rgba(255, 255, 255, 0.08);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    min-width: 120px;
    transition: all var(--transition-fast);
}

.resource-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.resource-item.money .resource-icon {
    color: var(--neon-green);
}

.resource-item.reputation .resource-icon {
    color: var(--neon-orange);
}

.resource-item.legacy .resource-icon {
    color: var(--neon-purple);
}

.resource-icon {
    font-size: 1.25rem;
}

.resource-value {
    font-weight: var(--font-bold);
    font-size: 1.125rem;
    font-family: var(--font-mono);
}

.resource-item.money .resource-value {
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
    animation: moneyGlow 2s ease-in-out infinite;
}

.resource-item.reputation .resource-value {
    color: var(--neon-orange);
}

.resource-item.legacy .resource-value {
    color: var(--neon-purple);
}

/* Main Game Layout */
.game-main {
    display: grid;
    grid-template-columns: 320px 1fr 320px;
    gap: var(--space-6);
    padding: var(--space-8);
    flex: 1;
    max-height: calc(100vh - 200px);
    overflow: hidden;
}

/* Sidebars */
.left-sidebar,
.right-sidebar {
    background: var(--gradient-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    max-height: 100%;
}

.sidebar-section {
    margin-bottom: var(--space-8);
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-section h3 {
    color: var(--brand-primary);
    margin-bottom: var(--space-4);
    font-size: 1.125rem;
    font-weight: var(--font-bold);
    text-shadow: 0 0 10px rgba(233, 69, 96, 0.3);
}

.company-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-name {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: var(--font-medium);
}

.stat-row .stat-value {
    font-size: 0.875rem;
    color: var(--brand-secondary);
    font-weight: var(--font-bold);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.action-btn {
    padding: var(--space-4) var(--space-5);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.875rem;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--brand-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.action-btn.primary {
    background: var(--gradient-primary);
    border-color: var(--brand-primary);
    color: white;
    font-weight: var(--font-bold);
}

.action-btn.primary:hover {
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.3);
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 1rem;
}

/* Skills Display */
.skills-display {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.skill-item {
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-2);
}

.skill-name {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: var(--font-medium);
}

.skill-level {
    font-size: 0.75rem;
    color: var(--brand-secondary);
    font-weight: var(--font-bold);
}

.skill-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: var(--space-2);
}

.skill-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    transition: width var(--transition-normal);
}

.skill-xp {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* Main Content Area */
.main-content {
    background: var(--gradient-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow-y: auto;
}

.content-panel {
    display: none;
}

.content-panel.active {
    display: block;
    animation: fadeInUp var(--transition-normal) ease;
}

.welcome-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.welcome-content h2 {
    color: var(--brand-primary);
    margin-bottom: var(--space-6);
    font-size: 2.5rem;
    text-shadow: var(--shadow-glow);
}

.welcome-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: var(--space-8);
    line-height: 1.6;
}

.getting-started {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.getting-started h3 {
    color: var(--brand-secondary);
    margin-bottom: var(--space-6);
    font-size: 1.25rem;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.tutorial-step {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tutorial-step.completed {
    border-color: var(--neon-green);
    background: rgba(0, 255, 136, 0.05);
}

.step-icon {
    font-size: 1.25rem;
}

.tutorial-step.completed .step-icon {
    color: var(--neon-green);
}

.cta-btn {
    padding: var(--space-5) var(--space-10);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-xl);
    color: white;
    font-size: 1.25rem;
    font-weight: var(--font-bold);
    font-family: var(--font-display);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    box-shadow: 0 8px 32px rgba(233, 69, 96, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(233, 69, 96, 0.6);
}

/* Panel Header */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-header h2 {
    color: var(--brand-primary);
    font-size: 1.875rem;
}

/* Projects */
.projects-container {
    min-height: 400px;
}

.empty-state {
    text-align: center;
    padding: var(--space-16) var(--space-8);
    color: var(--text-muted);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: var(--space-6);
    opacity: 0.5;
}

.empty-state h3 {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    font-size: 1.5rem;
}

.empty-state p {
    margin-bottom: var(--space-8);
    font-size: 1.125rem;
}

.start-project-btn {
    padding: var(--space-4) var(--space-8);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    color: white;
    font-weight: var(--font-bold);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 1rem;
}

.start-project-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-4);
    transition: all var(--transition-fast);
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.project-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.project-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-neon);
}

.project-info h3 {
    color: var(--brand-primary);
    font-size: 1.25rem;
    margin-bottom: var(--space-1);
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.project-progress {
    margin-bottom: var(--space-4);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: var(--space-2);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    transition: width var(--transition-normal);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.progress-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.project-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.project-stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.project-stat .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: var(--font-medium);
}

.project-stat .stat-value {
    font-size: 0.875rem;
    color: var(--brand-secondary);
    font-weight: var(--font-bold);
}

/* Market Trends */
.market-trends {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.market-trend-item {
    padding: var(--space-3);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.trend-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-2);
}

.trend-name {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: var(--font-medium);
}

.trend-indicator {
    font-size: 1rem;
}

.trend-indicator.positive {
    color: var(--neon-green);
}

.trend-indicator.negative {
    color: var(--error);
}

.trend-indicator.neutral {
    color: var(--text-muted);
}

.trend-demand {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* Achievements */
.achievements-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.achievement {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-fast);
}

.achievement.unlocked {
    border-color: var(--neon-green);
    background: rgba(0, 255, 136, 0.05);
}

.achievement.locked {
    opacity: 0.6;
}

.achievement-icon {
    font-size: 1.25rem;
}

.achievement.unlocked .achievement-icon {
    color: var(--neon-green);
}

.achievement-info {
    flex: 1;
}

.achievement-name {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: var(--font-medium);
    display: block;
    margin-bottom: var(--space-1);
}

.achievement-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.achievement-status {
    color: var(--neon-green);
    font-size: 1.125rem;
}

/* Game Footer */
.game-footer {
    background: var(--gradient-surface);
    padding: var(--space-5) var(--space-8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.footer-stats {
    display: flex;
    gap: var(--space-8);
}

.footer-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
}

.footer-stat .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: var(--font-medium);
}

.footer-stat .stat-value {
    font-size: 1rem;
    color: var(--brand-secondary);
    font-weight: var(--font-bold);
    font-family: var(--font-mono);
}

.footer-actions {
    display: flex;
    gap: var(--space-4);
}

.footer-btn {
    padding: var(--space-3) var(--space-4);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.875rem;
}

.footer-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--brand-secondary);
    transform: translateY(-1px);
}

.footer-btn .btn-icon {
    font-size: 1rem;
}

/* ===============================
   MODALS
   =============================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
}

.modal.hidden {
    display: none;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: var(--z-modal-backdrop);
}

.modal-content {
    background: var(--gradient-surface);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(30px);
    max-width: 800px;
    max-height: 90vh;
    width: 100%;
    overflow-y: auto;
    position: relative;
    z-index: var(--z-modal);
    animation: modalSlideIn var(--transition-normal) ease;
}

.modal-header {
    padding: var(--space-8) var(--space-8) var(--space-6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: var(--brand-primary);
    font-size: 1.875rem;
    font-weight: var(--font-bold);
}

.modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--error);
    color: white;
    transform: scale(1.1);
}

.modal-body {
    padding: var(--space-8);
}

/* Software Modal */
.software-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.software-type-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
}

.software-type-card:hover {
    border-color: var(--brand-secondary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.software-type-card.selected {
    border-color: var(--neon-green);
    background: rgba(0, 255, 136, 0.08);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.3);
}

.type-icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
}

.software-type-card h3 {
    color: var(--brand-primary);
    margin-bottom: var(--space-4);
    font-size: 1.25rem;
}

.type-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.type-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-2) var(--space-3);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
}

.type-stat .stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.type-stat .stat-value {
    font-size: 0.875rem;
    color: var(--brand-secondary);
    font-weight: var(--font-bold);
}

.project-details {
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-section {
    margin-bottom: var(--space-6);
}

.detail-section label {
    display: block;
    color: var(--text-primary);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-3);
    font-size: 0.875rem;
}

.detail-section input {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.detail-section input:focus {
    outline: none;
    border-color: var(--brand-secondary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-fast);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.feature-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--brand-secondary);
    cursor: pointer;
}

.feature-item label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    margin: 0;
}

.project-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-top: var(--space-6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: var(--font-medium);
}

.summary-value {
    color: var(--brand-secondary);
    font-size: 1rem;
    font-weight: var(--font-bold);
    font-family: var(--font-mono);
}

.modal-btn {
    width: 100%;
    padding: var(--space-5) var(--space-8);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    color: white;
    font-size: 1.125rem;
    font-weight: var(--font-bold);
    font-family: var(--font-display);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-6);
    box-shadow: 0 8px 32px rgba(233, 69, 96, 0.4);
}

.modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 48px rgba(233, 69, 96, 0.6);
}

/* Settings Modal */
.settings-section {
    margin-bottom: var(--space-8);
}

.settings-section:last-child {
    margin-bottom: 0;
}

.settings-section h3 {
    color: var(--brand-primary);
    margin-bottom: var(--space-6);
    font-size: 1.25rem;
    font-weight: var(--font-bold);
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: var(--space-4);
}

.setting-item:last-child {
    margin-bottom: 0;
}

.setting-item label {
    color: var(--text-primary);
    font-weight: var(--font-medium);
    font-size: 0.875rem;
}

.setting-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--brand-secondary);
    cursor: pointer;
}

.setting-item select {
    padding: var(--space-2) var(--space-3);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.875rem;
    cursor: pointer;
}

.setting-item select:focus {
    outline: none;
    border-color: var(--brand-secondary);
}

.setting-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.setting-btn {
    padding: var(--space-3) var(--space-6);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.875rem;
}

.setting-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--brand-secondary);
    transform: translateY(-1px);
}

.setting-btn.danger {
    border-color: var(--error);
    color: var(--error);
}

.setting-btn.danger:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--error);
    color: var(--error);
}

/* ===============================
   NOTIFICATIONS
   =============================== */

.notifications-container {
    position: fixed;
    top: 100px;
    right: var(--space-6);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-width: 400px;
    pointer-events: none;
}

.notification {
    background: var(--gradient-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    backdrop-filter: blur(20px);
    opacity: 0;
    transform: translateX(120px);
    transition: all var(--transition-normal);
    pointer-events: auto;
    cursor: pointer;
    border-left: 4px solid var(--brand-secondary);
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.hide {
    opacity: 0;
    transform: translateX(120px) scale(0.9);
}

.notification.success {
    border-left-color: var(--success);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), var(--surface-bg));
}

.notification.error {
    border-left-color: var(--error);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), var(--surface-bg));
}

.notification.info {
    border-left-color: var(--info);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), var(--surface-bg));
}

.notification.achievement {
    border-left-color: var(--achievement);
    background: var(--gradient-achievement);
    animation: achievementPulse 0.6s ease-in-out;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

.notification-icon {
    font-size: 1.25rem;
    min-width: 20px;
}

.notification-message {
    flex: 1;
    font-weight: var(--font-medium);
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--text-primary);
}

/* ===============================
   INSTALL PROMPT
   =============================== */

.install-prompt {
    position: fixed;
    bottom: var(--space-6);
    left: var(--space-6);
    right: var(--space-6);
    background: var(--gradient-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    z-index: var(--z-toast);
    animation: slideInUp var(--transition-normal) ease;
    max-width: 500px;
    margin: 0 auto;
}

.install-prompt.hidden {
    display: none;
}

.install-content h3 {
    color: var(--brand-primary);
    margin-bottom: var(--space-2);
    font-size: 1.25rem;
}

.install-content p {
    color: var(--text-muted);
    margin-bottom: var(--space-6);
    font-size: 0.875rem;
}

.install-actions {
    display: flex;
    gap: var(--space-4);
}

.install-btn {
    padding: var(--space-3) var(--space-6);
    border: none;
    border-radius: var(--radius-md);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.875rem;
    font-family: var(--font-primary);
}

.install-btn.primary {
    background: var(--gradient-primary);
    color: white;
}

.install-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.install-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===============================
   ANIMATIONS
   =============================== */

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes titlePulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(233, 69, 96, 0.4);
    }
    50% {
        text-shadow: 0 0 30px rgba(233, 69, 96, 0.7), 0 0 40px rgba(233, 69, 96, 0.3);
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes selectedPulse {
    0%, 100% {
        box-shadow: 0 0 25px rgba(0, 212, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 35px rgba(0, 212, 255, 0.8);
    }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes logoGlow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.8);
    }
}

@keyframes launchPulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(34, 197, 94, 0.4);
    }
    50% {
        box-shadow: 0 8px 40px rgba(34, 197, 94, 0.6);
    }
}

@keyframes moneyGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(0, 255, 136, 0.6), 0 0 25px rgba(0, 255, 136, 0.3);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes achievementPulse {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.05); }
    50% { transform: scale(0.98); }
    75% { transform: scale(1.02); }
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */

@media (max-width: 1400px) {
    .game-main {
        grid-template-columns: 280px 1fr 280px;
        gap: var(--space-5);
    }
}

@media (max-width: 1200px) {
    .game-main {
        grid-template-columns: 260px 1fr 260px;
        gap: var(--space-4);
    }
    
    .header-center {
        display: none;
    }
    
    .creation-container {
        padding: var(--space-10);
    }
}

@media (max-width: 1024px) {
    .game-main {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        grid-template-rows: auto auto 1fr;
        max-height: none;
    }
    
    .left-sidebar,
    .right-sidebar {
        max-height: none;
    }
    
    .right-sidebar {
        order: -1;
    }
    
    .logo-selection {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .specialization-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .creation-container {
        padding: var(--space-8);
        margin: var(--space-4);
    }
    
    .progress-steps {
        overflow-x: auto;
        gap: var(--space-6);
    }
    
    .step-indicator {
        min-width: 120px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .company-header {
        flex-direction: column;
        text-align: center;
        gap: var(--space-4);
    }
    
    .summary-stats {
        grid-template-columns: 1fr;
    }
    
    .game-header {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-4);
        padding: var(--space-5);
    }
    
    .header-left {
        justify-content: center;
    }
    
    .header-right {
        justify-content: center;
    }
    
    .resource-display {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .resource-item {
        min-width: auto;
        flex: 1;
        min-width: 110px;
    }
    
    .game-main {
        padding: var(--space-5);
        gap: var(--space-5);
    }
    
    .notifications-container {
        right: var(--space-4);
        left: var(--space-4);
        max-width: none;
    }
    
    .modal-content {
        margin: var(--space-4);
        max-height: calc(100vh - 2rem);
    }
    
    .modal-header,
    .modal-body {
        padding: var(--space-6);
    }
    
    .software-types {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .loading-title {
        font-size: 2.5rem;
    }
    
    .creation-container {
        padding: var(--space-6);
        margin: var(--space-3);
        border-radius: var(--radius-lg);
    }
    
    .step-header h2 {
        font-size: 1.75rem;
    }
    
    .preset-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-2);
        max-width: 200px;
    }
    
    .preset-logo {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .company-details h3 {
        font-size: 1.875rem;
    }
    
    .company-logo-game {
        width: 50px;
        height: 50px;
        font-size: 1.75rem;
    }
    
    .company-text h1 {
        font-size: 1.5rem;
    }
    
    .stat-item {
        padding: var(--space-2) var(--space-3);
    }
    
    .resource-item {
        padding: var(--space-2) var(--space-4);
    }
    
    .game-footer {
        flex-direction: column;
        gap: var(--space-4);
        padding: var(--space-4);
    }
    
    .footer-stats {
        order: 1;
        gap: var(--space-6);
        justify-content: center;
    }
    
    .footer-actions {
        gap: var(--space-3);
        justify-content: center;
    }
    
    .footer-btn {
        padding: var(--space-2) var(--space-3);
        font-size: 0.8125rem;
    }
    
    .notification {
        font-size: 0.8125rem;
        padding: var(--space-3) var(--space-4);
    }
}

/* ===============================
   ACCESSIBILITY
   =============================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .loading-progress::after,
    .progress-fill::after {
        animation: none !important;
    }
}

@media (prefers-contrast: high) {
    :root {
        --primary-bg: #000000;
        --text-primary: #ffffff;
        --brand-primary: #ffffff;
        --brand-secondary: #00ffff;
        --neon-green: #00ff00;
    }
    
    .modal-content,
    .creation-container,
    .game-header,
    .main-content,
    .left-sidebar,
    .right-sidebar {
        border: 2px solid var(--text-primary);
    }
}

/* Focus Styles for Accessibility */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--brand-secondary);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.3);
}

/* Selection Styles */
::selection {
    background: var(--brand-secondary);
    color: var(--primary-bg);
}

::-moz-selection {
    background: var(--brand-secondary);
    color: var(--primary-bg);
}

/* Scrollbar Styles */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--brand-secondary) rgba(255, 255, 255, 0.1);
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
}

*::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--brand-secondary);
}

*::-webkit-scrollbar-corner {
    background: transparent;
}

/* Print Styles */
@media print {
    .loading-screen,
    .company-creation,
    .game-container,
    .modal,
    .notifications-container,
    .install-prompt {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
}

/* ===============================
   END OF STYLES
   =============================== */
