/* ==========================================================================
   CAPITALISM SIMULATOR - MODERN DESIGN SYSTEM & STYLE
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
    /* Color Palette */
    --color-bg-base: #07090e;
    --color-bg-surface: rgba(13, 20, 35, 0.9);
    --color-bg-surface-hover: rgba(22, 33, 56, 0.92);
    --color-bg-card: rgba(17, 24, 39, 0.7);
    
    --color-primary: #10b981;       /* Emerald/Teal Money Green */
    --color-primary-rgb: 16, 185, 129;
    --color-primary-hover: #059669;
    --color-primary-light: rgba(16, 185, 129, 0.15);
    
    --color-secondary: #6366f1;     /* Indigo R&D / Tech */
    --color-secondary-hover: #4f46e5;
    
    --color-text-main: #f3f4f6;
    --color-text-muted: #9ca3af;
    --color-text-dim: #6b7280;
    
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);
    
    /* Semantic Colors */
    --color-success: #10b981;
    --color-danger: #ef4444;
    --color-warning: #f59e0b;
    --color-gold: #f59e0b;
    --color-blue: #3b82f6;
 
    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 15px rgba(16, 185, 129, 0.2);
    
    --backdrop-blur: blur(16px);
    --border-radius-sm: 6px;
    --border-radius-md: 10px;
    --border-radius-lg: 16px;
    
    /* Fonts */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* Base resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

body {
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    font-family: var(--font-sans);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Layout Container */
.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    background-image: 
        radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(99, 102, 241, 0.05) 0px, transparent 50%);
}

/* ==========================================================================
   HEADER / STATUS BAR STYLING
   ========================================================================== */
.main-header {
    height: 110px;
    background-color: rgba(7, 9, 14, 0.85);
    backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    z-index: 10;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    padding: 0;
    box-sizing: border-box;
}

.logo-icon i {
    color: white;
    width: 22px;
    height: 22px;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.65));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text .sub-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Financial Stats boxes */
.header-stats {
    display: flex;
    gap: 16px;
    align-items: center;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    padding: 6px 16px;
    border-radius: var(--border-radius-md);
    min-width: 175px;
    transition: background 0.2s, border-color 0.2s;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--color-border-hover);
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    width: 18px;
    height: 18px;
}

.stat-icon.icon-gold {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-gold);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.stat-icon.icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.stat-icon.icon-blue {
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.stat-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.stat-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--color-text-dim);
    letter-spacing: 0.8px;
    margin-bottom: 2px;
}

.stat-value-container {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.stat-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.stat-value.text-green {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.stat-change {
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 1px;
    font-weight: 700;
}

.stat-change.positive {
    color: var(--color-success);
}
.stat-change.negative {
    color: var(--color-danger);
}

.stat-change i {
    width: 10px;
    height: 10px;
}

/* Time & Clock panel */
.header-time-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    padding: 6px 12px;
    border-radius: var(--border-radius-md);
}

.time-display {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text-main);
    padding-right: 12px;
    border-right: 1px solid var(--color-border);
}

.time-display i {
    width: 16px;
    height: 16px;
    color: var(--color-secondary);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--color-primary);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 4px 10px;
    border-radius: var(--border-radius-sm);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 8px 4px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Buttons style */
.btn-group {
    display: flex;
    gap: 6px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-main);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-border-hover);
}

.btn:active {
    transform: translateY(1px);
}

.btn-icon {
    padding: 0;
    width: 32px;
    height: 32px;
}

.btn-icon i {
    width: 16px;
    height: 16px;
}

.btn-icon.active {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.btn-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #000000;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    color: #000000;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
}

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--color-secondary);
    color: white;
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--color-danger);
    color: white;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.25);
}

.btn-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #a7f3d0;
}

.btn-success:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--color-success);
    color: white;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.btn-next-turn {
    padding: 6px 14px;
}

.btn-next-turn i {
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   MAIN SYSTEM LAYOUT
   ========================================================================== */
.main-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* SIDEBAR STYLING */
.sidebar {
    width: 250px;
    background-color: rgba(7, 9, 14, 0.6);
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    padding: 20px 16px;
    gap: 20px;
}

.company-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
}

.company-profile .avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-sm);
    background: rgba(99, 102, 241, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    border: 1px solid transparent;
}

.company-profile .avatar i {
    width: 18px;
    height: 18px;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    overflow: hidden;
}

.profile-info input {
    background: transparent;
    border: none;
    color: var(--color-text-main);
    font-weight: 700;
    font-size: 0.9rem;
    outline: none;
    border-bottom: 1px dashed transparent;
    padding: 2px 0;
    transition: all 0.2s ease;
    width: 100%;
}

.profile-info input:focus {
    border-bottom-color: var(--color-primary);
}

.badge {
    background: rgba(245, 158, 11, 0.15);
    color: var(--color-gold);
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 99px;
    font-weight: 700;
    width: max-content;
    cursor: pointer;
    transition: filter 0.2s, transform 0.1s;
    border: 1px solid transparent;
}

.badge:hover {
    filter: brightness(1.2);
}

.badge:active {
    transform: scale(0.95);
}

/* Ticaret Tecrübesi (XP & Level) Section Styles */
.company-xp-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(99, 102, 241, 0.02);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: var(--border-radius-md);
}

.xp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 600;
}

.xp-level-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #a5b4fc;
}

.xp-level-label i {
    width: 12px;
    height: 12px;
    color: var(--color-secondary);
}

.xp-values {
    color: var(--color-text-muted);
}

.xp-bar-container {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.xp-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-secondary), #818cf8);
    border-radius: 99px;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
    transition: width 0.3s ease-out;
}

/* Sidebar navigation */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--color-text-muted);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.nav-item i {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.nav-item:hover {
    color: var(--color-text-main);
    background: rgba(255, 255, 255, 0.03);
}

.nav-item:hover i {
    transform: translateX(2px);
}

.nav-item.active {
    background: var(--color-bg-surface);
    border-color: var(--color-border);
    color: var(--color-primary);
    font-weight: 600;
}

.nav-badge {
    margin-left: auto;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
}

/* Sidebar footer */
.economic-status {
    padding: 12px;
    background: rgba(255, 255, 255, 0.01);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
}

.status-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    padding: 4px 0;
}

.status-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   CENTER MAIN CONTENT CONTAINER
   ========================================================================== */
.content-container {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    background: rgba(10, 15, 26, 0.3);
}

.game-view {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.game-view.active {
    display: block;
}

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

.view-header {
    margin-bottom: 24px;
}

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

.view-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-text-main);
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.view-description {
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

/* Cards & Grid Styling */
.grid-layout {
    display: grid;
    gap: 20px;
}

.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.span-2 {
    grid-column: span 2;
}

.margin-top {
    margin-top: 20px;
}

.glass-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: var(--backdrop-blur);
}

.glass-card:hover {
    border-color: var(--color-border-hover);
}

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

.card-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-main);
    letter-spacing: 0.2px;
}

/* Chart Card Styles */
.chart-legend {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

.chart-container {
    height: 180px;
    position: relative;
    padding-top: 10px;
}

#net-worth-chart {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.chart-grid-line {
    stroke: rgba(255, 255, 255, 0.03);
    stroke-width: 1;
}

.chart-label {
    fill: var(--color-text-dim);
    font-family: var(--font-mono);
    font-size: 9px;
}

/* Quick Stats Breakdown */
.assets-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 4px;
}

.asset-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.asset-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.color-cash { background-color: var(--color-primary); }
.color-businesses { background-color: var(--color-secondary); }
.color-stocks { background-color: var(--color-gold); }

.border-top {
    border-top: 1px solid var(--color-border);
    padding-top: 12px;
    margin-top: 4px;
}

.weight-bold {
    font-weight: 700;
    color: var(--color-text-main);
}

/* Quick Action Buttons Grid */
.action-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.action-btn {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    text-align: left;
    border-radius: var(--border-radius-md);
    gap: 12px;
    height: 100%;
}

.action-btn i {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: var(--color-secondary);
    flex-shrink: 0;
}

.action-btn-text h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--color-text-main);
}

.action-btn-text p {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    line-height: 1.3;
}

/* Objectives List */
.objectives-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.objective-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    font-size: 0.8rem;
}

.objective-item i {
    color: var(--color-text-dim);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.objective-item.completed i {
    color: var(--color-primary);
    fill: var(--color-primary-light);
}

.objective-item.completed .obj-title {
    text-decoration: line-through;
    color: var(--color-text-dim);
}

.obj-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.obj-title {
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 1px;
}

.obj-desc {
    color: var(--color-text-muted);
    font-size: 0.72rem;
}

.obj-reward {
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.75rem;
}

/* ==========================================================================
   VIEW 2: BUSINESSES SCREEN
   ========================================================================== */
.businesses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.business-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
    backdrop-filter: var(--backdrop-blur);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 6px 18px rgba(2,6,23,0.6);
}

.business-card:hover {
    border-color: rgba(255,255,255,0.14);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(2,6,23,0.75), 0 0 20px rgba(var(--color-primary-rgb), 0.06);
}
/* Level based gradients & glows */
.business-card.biz-level-1 {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
    border-color: rgba(148, 163, 184, 0.25);
}
.business-card.biz-level-1:hover {
    border-color: rgba(148, 163, 184, 0.45);
    box-shadow: 0 12px 30px rgba(2,6,23,0.75), 0 0 20px rgba(148, 163, 184, 0.15);
}

.business-card.biz-level-2 {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.15) 0%, rgba(15, 23, 42, 0.85) 100%);
    border-color: rgba(13, 148, 136, 0.3);
}
.business-card.biz-level-2:hover {
    border-color: rgba(13, 148, 136, 0.5);
    box-shadow: 0 12px 30px rgba(2,6,23,0.75), 0 0 25px rgba(13, 148, 136, 0.2);
}

.business-card.biz-level-3 {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(15, 23, 42, 0.85) 100%);
    border-color: rgba(79, 70, 229, 0.35);
}
.business-card.biz-level-3:hover {
    border-color: rgba(79, 70, 229, 0.55);
    box-shadow: 0 12px 30px rgba(2,6,23,0.75), 0 0 25px rgba(79, 70, 229, 0.25);
}

.business-card.biz-level-4 {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.15) 0%, rgba(15, 23, 42, 0.85) 100%);
    border-color: rgba(225, 29, 72, 0.35);
}
.business-card.biz-level-4:hover {
    border-color: rgba(225, 29, 72, 0.55);
    box-shadow: 0 12px 30px rgba(2,6,23,0.75), 0 0 25px rgba(225, 29, 72, 0.25);
}

.business-card.biz-level-5 {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.18) 0%, rgba(15, 23, 42, 0.88) 100%);
    border-color: rgba(217, 119, 6, 0.45);
}
.business-card.biz-level-5:hover {
    border-color: rgba(217, 119, 6, 0.7);
    box-shadow: 0 12px 30px rgba(2,6,23,0.75), 0 0 30px rgba(217, 119, 6, 0.35);
}

.business-card.closed {
    opacity: 0.6;
    filter: grayscale(10%);
    border-style: solid;
    border-color: rgba(255,255,255,0.04);
}

.biz-closed-banner {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(239,68,68,0.08);
    color: var(--color-danger);
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.72rem;
    border: 1px solid rgba(239,68,68,0.12);
}

.biz-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.biz-icon-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.biz-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-md);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.biz-icon i {
    width: 20px;
    height: 20px;
}

.biz-title-box h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
}

.biz-title-box .level-badge {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.biz-earnings {
    text-align: right;
    display: flex;
    flex-direction: column;
}

.biz-profit-rate {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
}

.biz-interval-rate {
    font-size: 0.7rem;
    color: var(--color-text-dim);
}

/* Production Progress Bar */
.production-bar-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.progress-track {
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-primary), #34d399);
    border-radius: 99px;
    transition: width 0.1s linear;
}

.production-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.production-btn:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--color-border-hover);
}

.production-btn:active {
    transform: scale(0.98);
}

/* Upgrades row inside card */
.biz-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 4px;
}

.action-btn-upgrade {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn-upgrade:hover:not(:disabled) {
    background: rgba(16, 185, 129, 0.12);
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.action-btn-upgrade:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: transparent !important;
    border-color: var(--color-border) !important;
}

.upgrade-label {
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    margin-bottom: 2px;
}

.upgrade-cost {
    font-size: 0.82rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--color-text-muted);
}

.upgrade-cost.affordable {
    color: var(--color-primary);
}

/* Automation Switch */
.automation-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
}

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

.auto-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.auto-status {
    font-size: 0.65rem;
    color: var(--color-text-muted);
}

.btn-auto-hire {
    padding: 4px 8px;
    font-size: 0.72rem;
    font-weight: 700;
}

/* Locked Business Overlay */
.business-card.locked {
    justify-content: center;
    align-items: center;
    min-height: 220px;
    background: rgba(15, 23, 42, 0.8);
    border-style: dashed;
}

.locked-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 20px;
}

.locked-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dim);
}

.locked-icon i {
    width: 20px;
    height: 20px;
}

.locked-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.locked-desc {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    max-width: 220px;
}

.btn-unlock {
    margin-top: 4px;
    padding: 8px 16px;
    font-size: 0.8rem;
}

/* ==========================================================================
   VIEW 3: MARKETS SCREEN (STOCKS & PORTFOLIO)
   ========================================================================== */
.tabs-sub {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--color-border);
    padding: 4px;
    border-radius: var(--border-radius-md);
    gap: 4px;
    margin-bottom: 24px;
}

.tab-sub-item {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.tab-sub-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.tab-sub-item.active {
    color: #000000 !important;
    background: var(--color-primary);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.subview {
    display: none;
    animation: fadeIn 0.25s ease-out;
}

.subview.active {
    display: block;
}

/* Markets Tables */
.markets-table-wrapper {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.markets-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.88rem;
}

.markets-table th, .markets-table td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}

.markets-table th {
    background: rgba(255, 255, 255, 0.02);
    color: var(--color-text-muted);
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.markets-table tbody tr {
    transition: background 0.18s ease;
}

.markets-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.025);
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-mono {
    font-family: var(--font-mono);
    letter-spacing: -0.2px;
}

.text-gold {
    color: var(--color-gold) !important;
}

.text-red {
    color: var(--color-danger) !important;
}

.text-green {
    color: var(--color-success) !important;
}

.text-secondary {
    color: var(--color-text-muted);
}

.trend-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 4px;
    padding: 2px 6px;
}

.trend-badge.up {
    color: var(--color-success);
    background: rgba(16, 185, 129, 0.12);
}

.trend-badge.down {
    color: var(--color-danger);
    background: rgba(239, 68, 68, 0.12);
}

.trend-badge.neutral {
    color: var(--color-text-dim);
    background: rgba(255, 255, 255, 0.05);
}

.stock-actions {
    display: flex;
    justify-content: center;
    gap: 6px;
}

/* Real Estate Grid */
.real-estate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.estate-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    backdrop-filter: var(--backdrop-blur);
}

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

.estate-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
}

.estate-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--border-radius-sm);
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.estate-icon i {
    width: 16px;
    height: 16px;
}

.estate-specs {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 10px;
    font-size: 0.78rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    color: var(--color-text-muted);
}

.estate-owned-banner {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.65rem;
    font-weight: 700;
}

/* ==========================================================================
   VIEW 4: RESEARCH (AR-GE) SCREEN
   ========================================================================== */
.research-tree {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.research-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-border);
    border-radius: var(--border-radius-md);
    position: relative;
    transition: all 0.22s ease;
}

.research-card:hover {
    border-color: rgba(99, 102, 241, 0.35);
    border-left-color: var(--color-secondary);
    background: rgba(99, 102, 241, 0.02);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.08);
}

.research-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.research-icon i {
    width: 18px;
    height: 18px;
}

.research-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.research-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: white;
}

.research-desc {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    line-height: 1.35;
}

.research-cost-tag {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: var(--color-gold);
    font-weight: 700;
}

/* Research unlocked state */
.research-card.unlocked {
    border-color: rgba(16, 185, 129, 0.25);
    border-left-color: var(--color-primary);
    background: rgba(16, 185, 129, 0.02);
}

.research-card.unlocked .research-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-primary);
    border-color: rgba(16, 185, 129, 0.2);
}

.research-card.unlocked .research-cost-tag {
    color: var(--color-primary);
}

/* Lobbying blocks */
.lobby-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 4px;
}

.lobby-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-secondary);
    padding: 14px;
    border-radius: var(--border-radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: all 0.2s ease;
}

.lobby-card:hover {
    border-color: rgba(99, 102, 241, 0.35);
    background: rgba(99, 102, 241, 0.025);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.08);
}

.lobby-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.lobby-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
}

.lobby-cost {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: var(--color-gold);
}

.lobby-desc {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    line-height: 1.3;
    margin-top: 2px;
}

/* ==========================================================================
   VIEW 5: STATS TABLE
   ========================================================================== */
.stat-summary-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.005) 100%);
    border: 1px solid var(--color-border);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.stat-summary-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.stat-summary-card .card-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 4px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.stat-summary-card .stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-mono);
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #ffffff, #e5e7eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-summary-card .stat-desc {
    font-size: 0.76rem;
    color: var(--color-text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.stats-table tr {
    transition: background 0.15s ease;
}

.stats-table tr:hover {
    background: rgba(255, 255, 255, 0.015);
}

.stats-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.stats-table tr:last-child td {
    border-bottom: none;
}

.stats-table td:last-child {
    font-weight: 700;
    color: var(--color-text-main);
}

/* ==========================================================================
   RIGHT PANEL: NEWS FEED & EVENT LOGS
   ========================================================================== */
.right-feed-panel {
    width: 300px;
    background-color: rgba(7, 9, 14, 0.7);
    border-left: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.feed-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.feed-section:first-child {
    border-bottom: 1px solid var(--color-border);
}

.feed-header {
    padding: 14px 18px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.015);
}

.feed-header i {
    width: 16px;
    height: 16px;
    color: var(--color-secondary);
}

.feed-header h3 {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: var(--color-text-main);
}

/* News List & Log List scrolling bodies */
.news-list, .log-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-item {
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    font-size: 0.78rem;
    line-height: 1.35;
    animation: slideInLeft 0.25s ease-out;
}

.news-item.urgent {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.02);
}

.news-item.positive {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.02);
}

.news-time {
    display: block;
    font-size: 0.65rem;
    font-family: var(--font-mono);
    color: var(--color-text-dim);
    font-weight: 500;
    margin-bottom: 2px;
}

.news-item.urgent .news-time {
    color: var(--color-danger);
}

.news-item.positive .news-time {
    color: var(--color-primary);
}

.news-text {
    color: var(--color-text-main);
}

@keyframes slideInLeft {
    from { transform: translateX(20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Transaction Log Items */
.log-item {
    font-size: 0.72rem;
    line-height: 1.4;
    display: flex;
    gap: 8px;
    padding: 4px 6px;
    border-left: 2px solid var(--color-border);
    transition: border-color 0.2s;
}

.log-item:hover {
    border-left-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.01);
}

.log-time {
    font-family: var(--font-mono);
    color: var(--color-text-dim);
    flex-shrink: 0;
}

.log-text {
    color: var(--color-text-muted);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* Responsive Scaling details */
@media (max-width: 1024px) {
    .main-header {
        flex-wrap: wrap;
        height: auto;
        padding: 12px 24px;
        gap: 12px;
    }
    .header-stats {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }
    .right-feed-panel {
        display: none; /* Hide news panel on tablets */
    }
}

@media (max-width: 768px) {
    .main-layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }
    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 4px;
    }
    .nav-item {
        width: auto;
        white-space: nowrap;
    }
    .grid-layout.cols-3, .grid-layout.cols-2 {
        grid-template-columns: 1fr;
    }
    .span-2 {
        grid-column: span 1;
    }
    .action-buttons-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   RANK / PRESTIGE MODAL STYLING
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 9, 14, 0.9);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.modal-content {
    width: 480px;
    max-width: 90vw;
    background: rgba(17, 24, 39, 0.95) !important;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    padding: 24px;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 12px;
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
}

.btn-close {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.btn-close:hover {
    color: var(--color-danger);
}

/* Modal rank list items */
.modal-rank-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    margin-bottom: 8px;
    transition: background 0.2s;
}

.modal-rank-row.current {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.1);
}

.modal-rank-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-rank-badge {
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 700;
}

.modal-rank-name {
    font-size: 0.88rem;
    font-weight: 700;
}

.modal-rank-level {
}

/* ==========================================================================
   GLOBAL MARKETPLACE STYLING
   ========================================================================== */
/* ─── New top-panel market layout ─────────────────────── */
.market-top-panel {
    padding: 18px 20px;
    background: rgba(17, 24, 39, 0.6) !important;
}

.market-product-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Market category tabs */
.market-category-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.market-cat-tab {
    padding: 6px 10px;
    font-size: 0.75rem;
    border-radius: 8px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.18s;
}

.market-cat-tab:hover {
    background: rgba(255,255,255,0.04);
    color: var(--color-text-main);
}

.market-cat-tab.active {
    background: var(--color-secondary);
    color: #000;
    border-color: rgba(99,102,241,0.6);
}

.market-product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.market-product-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--color-border-hover);
}

.market-product-item.active {
    background: rgba(99, 102, 241, 0.06);
    border-color: var(--color-secondary);
}

.prod-item-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prod-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: color 0.2s;
}

.market-product-item:hover .prod-item-icon {
    color: white;
}

.market-product-item.active .prod-item-icon {
    color: var(--color-secondary);
    background: rgba(99, 102, 241, 0.15);
}

.prod-item-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.prod-item-price {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Detail view */
.card-product-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prod-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 16px;
}

.prod-info-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.prod-icon-large {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-md);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
}

.prod-icon-large i {
    width: 24px;
    height: 24px;
}

.prod-info-title h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
}

.prod-metrics {
    display: flex;
    gap: 16px;
}

.metric-badge {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    padding: 6px 14px;
    border-radius: var(--border-radius-md);
    min-width: 110px;
}

.metric-lbl {
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--color-text-dim);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.metric-val {
    font-size: 0.92rem;
    font-weight: 700;
}

/* Listings Grid Layout — now stacked vertically */
.prod-listings-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    align-items: start;
}

.offers-list-container h4, .sell-form-container h4, .prod-chart-section h4 {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.table-wrapper-small {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    max-height: 220px;
    overflow-y: auto;
}

.small-table {
    font-size: 0.8rem !important;
}

.small-table th, .small-table td {
    padding: 8px 12px !important;
}

/* Sell order form widget */
.sell-widget {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ── Dashboard Inventory ── */
.dashboard-inventory-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.08) transparent;
}

.dashboard-inventory-container::-webkit-scrollbar {
    width: 5px;
}
.dashboard-inventory-container::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
}

.inv-category-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.inv-category-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 2px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--color-text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.inv-category-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.inv-category-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 5px;
}

.inv-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    transition: all 0.2s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.inv-item:hover {
    background: var(--color-bg-surface-hover);
    border-color: var(--color-border-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.inv-item-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}

.inv-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.inv-item-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inv-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.inv-item-stock {
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--color-text-muted);
}

.inv-stock-bar {
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.06);
    overflow: hidden;
    margin-top: 2px;
}

.inv-stock-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.4s ease;
}

/* Category accent colors */
.inv-cat-gida .inv-item-icon { background: rgba(251, 191, 36, 0.12); color: #fbbf24; }
.inv-cat-gida .inv-stock-bar-fill { background: #fbbf24; }
.inv-cat-gida .inv-category-dot { background: #fbbf24; }

.inv-cat-meyve .inv-item-icon { background: rgba(52, 211, 153, 0.12); color: #34d399; }
.inv-cat-meyve .inv-stock-bar-fill { background: #34d399; }
.inv-cat-meyve .inv-category-dot { background: #34d399; }

.inv-cat-giyim .inv-item-icon { background: rgba(129, 140, 248, 0.12); color: #818cf8; }
.inv-cat-giyim .inv-stock-bar-fill { background: #818cf8; }
.inv-cat-giyim .inv-category-dot { background: #818cf8; }

.inv-cat-hammadde .inv-item-icon { background: rgba(251, 146, 60, 0.12); color: #fb923c; }
.inv-cat-hammadde .inv-stock-bar-fill { background: #fb923c; }
.inv-cat-hammadde .inv-category-dot { background: #fb923c; }

.inv-cat-endustri .inv-item-icon { background: rgba(232, 121, 249, 0.12); color: #e879f9; }
.inv-cat-endustri .inv-stock-bar-fill { background: #e879f9; }
.inv-cat-endustri .inv-category-dot { background: #e879f9; }

.inv-cat-teknoloji .inv-item-icon { background: rgba(56, 189, 248, 0.12); color: #38bdf8; }
.inv-cat-teknoloji .inv-stock-bar-fill { background: #38bdf8; }
.inv-cat-teknoloji .inv-category-dot { background: #38bdf8; }

.inv-cat-otomotiv .inv-item-icon { background: rgba(248, 113, 113, 0.12); color: #f87171; }
.inv-cat-otomotiv .inv-stock-bar-fill { background: #f87171; }
.inv-cat-otomotiv .inv-category-dot { background: #f87171; }

.inv-cat-luks .inv-item-icon { background: rgba(250, 204, 21, 0.12); color: #facc15; }
.inv-cat-luks .inv-stock-bar-fill { background: #facc15; }
.inv-cat-luks .inv-category-dot { background: #facc15; }

/* Empty state */
.inv-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 10px;
    text-align: center;
    gap: 8px;
    background: var(--color-bg-surface);
    border: 1px dashed var(--color-border);
    border-radius: var(--border-radius-md);
}

.inv-empty-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px dashed var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dim);
    margin-bottom: 4px;
}

.inv-empty-text {
    font-size: 0.8rem;
    color: var(--color-text-dim);
}

.inv-empty-sub {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    max-width: 260px;
}

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

.form-group label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

.form-group input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    padding: 8px;
    color: white;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: var(--color-secondary);
}

.input-with-button {
    display: flex;
    gap: 6px;
}

.input-with-button input {
    flex: 1;
}

.margin-top-sm {
    margin-top: 4px;
}

.w-full {
    width: 100%;
}

/* Authentication Overlay & Box */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 14, 0.9);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.auth-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.auth-box {
    width: 100%;
    max-width: 440px;
    background: rgba(18, 18, 26, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 40px rgba(16, 185, 129, 0.15);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.auth-header {
    text-align: center;
}

.auth-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.auth-subtitle {
    font-size: 0.75rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 4px;
}

.auth-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 0;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

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

.auth-tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* Auth Content */
.auth-tab-content {
    display: none;
    flex-direction: column;
    gap: 16px;
}

.auth-tab-content.active {
    display: flex;
}

.auth-tab-content .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-tab-content label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.auth-tab-content input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
}

.auth-tab-content input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.auth-actions {
    margin-top: 8px;
}

.auth-hint {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    line-height: 1.45;
    text-align: center;
}

/* Build Business Modal Styles */
.build-step {
    display: none;
}

.build-step.active {
    display: flex;
}

.build-type-btn:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: var(--color-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.08);
}

.build-type-btn:active {
    transform: translateY(0);
}

.build-type-btn#btn-choose-production:hover {
    border-color: #fbbf24 !important;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.08);
}

.build-list::-webkit-scrollbar {
    width: 6px;
}

.build-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.build-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.build-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.build-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-md);
    transition: all 0.2s ease;
}

.build-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.build-item.locked {
    opacity: 0.45;
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.build-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.build-item-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.build-item.production .build-item-icon {
    color: #fbbf24;
}

.build-item-details {
    display: flex;
    flex-direction: column;
}

.build-item-details h5 {
    margin: 0 0 2px 0;
    font-size: 0.85rem;
    color: #fff;
    font-weight: 600;
}

.build-item-details p {
    margin: 0;
    font-size: 0.72rem;
    color: var(--color-text-muted);
}

.build-item-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.build-item-price {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 700;
}

.build-item.production .build-item-price {
    color: #fbbf24;
}

.build-item-btn {
    padding: 6px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
}

/* ── Custom Product Picker ── */
.product-picker-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 220px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.08) transparent;
}

.product-picker-list::-webkit-scrollbar {
    width: 6px;
}
.product-picker-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

.product-picker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-md);
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.product-picker-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.product-picker-item.selected {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.15);
}

.product-picker-item.selected.type-production {
    background: rgba(251, 191, 36, 0.1) !important;
    border-color: #fbbf24 !important;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.15);
}

.product-picker-item-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-main);
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.product-picker-item.selected .product-picker-item-icon {
    color: var(--color-primary);
    background: rgba(16, 185, 129, 0.15);
}

.product-picker-item.selected.type-production .product-picker-item-icon {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.15);
}

.product-picker-item-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-picker-item-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.product-picker-item-category {
    font-size: 0.68rem;
    color: var(--color-text-dim);
}

.product-picker-item-stock {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}

.product-picker-item-stock .stock-label {
    font-size: 0.65rem;
    color: var(--color-text-dim);
}

.product-picker-item-stock .stock-val {
    font-size: 0.76rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--color-text-muted);
}

.product-picker-item.selected .product-picker-item-stock .stock-val {
    color: #fff;
}

/* ==========================================================================
   CLOUD & AUTHENTICATION STYLES
   ========================================================================== */
.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 8px #ef4444;
    animation: authPulse 1.8s infinite;
}

.pulse-dot.online {
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981;
}

@keyframes authPulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

.spin {
    animation: elementSpin 1.2s linear infinite;
    display: inline-block;
}

@keyframes elementSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cloud-auth-section button {
    transition: all 0.2s ease;
}

.cloud-auth-section button:hover {
    background: rgba(255, 255, 255, 0.08);
}

#auth-modal input {
    transition: border-color 0.2s, box-shadow 0.2s;
}

#auth-modal input:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15);
}

/* ==========================================================================
   LANDING / AUTHENTICATION PAGE STYLING
   ========================================================================== */
.landing-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: radial-gradient(circle at 50% 50%, #0d121f 0%, #05060b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    color: var(--color-text);
    z-index: 1000000;
}

.landing-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.landing-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.landing-logo-box {
    width: 90px;
    height: 90px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

.landing-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.landing-brand-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin: 0;
    background: linear-gradient(to right, #ffffff, #e5e7eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-sub {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.landing-tagline {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text-bright);
    margin: 0;
}

.landing-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 12px;
}

.feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    width: 18px;
    height: 18px;
}

.feature-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-bright);
    margin: 0 0 4px 0;
}

.feature-info p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.4;
}

.landing-right {
    display: flex;
    justify-content: center;
}

.landing-auth-card {
    width: 100%;
    max-width: 420px;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(16px);
    box-sizing: border-box;
}

.auth-card-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-bright);
    margin: 0 0 6px 0;
    text-align: center;
}

.auth-card-header p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-align: center;
    margin: 0 0 24px 0;
    line-height: 1.4;
}

.landing-auth-tabs {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 24px;
}

.landing-tab-btn {
    flex: 1;
    padding: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.landing-tab-btn.active {
    background: var(--color-bg-card);
    color: var(--color-text-bright);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.auth-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.auth-input-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    color: var(--color-text-muted);
}

.input-with-icon input {
    width: 100%;
    padding: 12px 12px 12px 38px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.3);
    color: var(--color-text-bright);
    font-size: 0.85rem;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.input-with-icon input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15);
}

.landing-auth-submit-btn {
    width: 100%;
    margin-top: 12px;
    height: 48px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    cursor: pointer;
}

.landing-connection-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-dot.online {
    background: var(--color-primary);
    box-shadow: 0 0 8px var(--color-primary);
}

.status-dot.offline {
    background: #f59e0b;
    box-shadow: 0 0 8px #f59e0b;
}

/* Responsive Design */
@media (max-width: 900px) {
    .landing-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .landing-left {
        text-align: center;
        align-items: center;
    }
    
    .landing-brand {
        justify-content: center;
    }
    
    .features-grid {
        max-width: 600px;
    }
}

/* Intro animation initial states */
.intro-active .landing-brand-text,
.intro-active .landing-tagline,
.intro-active .landing-desc,
.intro-active .features-grid,
.intro-active .landing-right {
    opacity: 0;
    pointer-events: none;
}



