/* =====================================================
   OM HIMALAYAS - ODOO 18 DEVELOPMENT REPORT
   Styles v2.0 - Mobile First, Responsive Design
   ===================================================== */

:root {
    /* Colors */
    --bg-primary: #0a0f1c;
    --bg-secondary: #111827;
    --bg-card: #1a2234;
    --bg-card-hover: #1e2942;
    
    --accent-primary: #38bdf8;
    --accent-secondary: #818cf8;
    --accent-success: #34d399;
    --accent-warning: #fbbf24;
    --accent-danger: #f87171;
    
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: #334155;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    --gradient-success: linear-gradient(135deg, #34d399 0%, #38bdf8 100%);
    --shadow-glow: 0 0 40px rgba(56, 189, 248, 0.15);
    
    /* Spacing - 8px grid system */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: var(--space-md);
    
    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0a0f1c 0%, #0f172a 40%, #111827 70%, #0d1424 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    max-width: 100vw;
    font-size: 16px;
}

/* =====================================================
   BACKGROUND EFFECTS - ANIMATED TECH THEME
   ===================================================== */

.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    width: 100vw;
    max-width: 100%;
}

/* Animated Gradient Orbs */
.bg-pattern::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
    top: -20%;
    left: -10%;
    filter: blur(40px);
    animation: floatOrb1 20s ease-in-out infinite;
}

.bg-pattern::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    bottom: -15%;
    right: -10%;
    filter: blur(40px);
    animation: floatOrb2 25s ease-in-out infinite;
}

@keyframes floatOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, 30px) scale(1.1); }
    50% { transform: translate(20px, 60px) scale(1); }
    75% { transform: translate(-30px, 30px) scale(0.9); }
}

@keyframes floatOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-40px, -20px) scale(0.9); }
    50% { transform: translate(-20px, -50px) scale(1.1); }
    75% { transform: translate(30px, -30px) scale(1); }
}

/* Grid Overlay with Animation */
.grid-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: 
        linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Third Orb - Green accent */
.grid-overlay::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(50px);
    animation: floatOrb3 18s ease-in-out infinite;
}

@keyframes floatOrb3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    33% { transform: translate(-40%, -60%) scale(1.2); opacity: 0.8; }
    66% { transform: translate(-60%, -40%) scale(0.8); opacity: 0.5; }
}

/* Scan Line Effect */
.grid-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), transparent);
    animation: scanLine 8s linear infinite;
}

@keyframes scanLine {
    0% { top: -2px; opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* =====================================================
   HEADER
   ===================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-sm) var(--space-md);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    z-index: 1001;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.menu-toggle:hover {
    border-color: var(--accent-primary);
    background: rgba(56, 189, 248, 0.1);
}

.hamburger {
    width: 18px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: all var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--text-primary);
    left: 0;
    transition: all var(--transition-fast);
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

/* Hamburger animation to X */
.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Mobile Navigation */
.nav-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 15, 28, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: var(--space-sm);
    flex-direction: column;
    gap: var(--space-xs);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.nav-menu.open {
    display: flex;
}

.nav-btn {
    padding: var(--space-md) var(--space-lg);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
    white-space: nowrap;
    text-align: left;
}

.nav-btn:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

.nav-btn.active {
    color: var(--accent-primary);
    background: rgba(56, 189, 248, 0.15);
}

/* Desktop Navigation */
@media (min-width: 768px) {
    header {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    
    .header-content {
        flex: 1;
        padding: var(--space-md) var(--space-lg);
    }
    
    .menu-toggle {
        display: none;
    }
    
    .logo-img {
        width: 72px;
        height: 72px;
    }
    
    .nav-menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        background: transparent;
        backdrop-filter: none;
        border: none;
        padding: 0 var(--space-lg) 0 0;
        gap: var(--space-xs);
        box-shadow: none;
        top: auto;
    }
    
    .nav-btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.875rem;
        text-align: center;
        border-radius: var(--radius-sm);
    }
    
    .nav-btn.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 24px;
        height: 2px;
        background: var(--accent-primary);
        border-radius: 2px;
    }
}

/* =====================================================
   MAIN CONTENT
   ===================================================== */
main {
    position: relative;
    z-index: 1;
    padding-top: 72px;
    min-height: 100vh;
}

.section {
    display: none;
    animation: fadeIn var(--transition-slow) ease;
}

.section.active {
    display: block;
}

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

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
}

/* =====================================================
   HERO SECTION - NEW DESIGN
   ===================================================== */
.hero-new {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl) var(--space-lg);
    max-width: var(--container-max);
    margin: 0 auto;
    align-items: start;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 6px 14px;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--accent-success);
    margin-bottom: var(--space-lg);
    font-weight: 500;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px var(--accent-success);
}

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

.hero-title {
    margin-bottom: var(--space-lg);
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.title-line.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: nowrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    white-space: nowrap;
}

@media (min-width: 480px) {
    .btn-primary, .btn-secondary {
        padding: 12px 24px;
        font-size: 0.95rem;
        gap: var(--space-sm);
    }
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(56, 189, 248, 0.1);
}

/* Hero Stats Panel */
.hero-stats-panel {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.stats-card-large {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
    transition: all var(--transition-normal);
}

.stats-card-large:hover {
    border-color: var(--accent-primary);
    transform: translateX(4px);
}

.stats-icon {
    width: 48px;
    height: 48px;
    background: rgba(56, 189, 248, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.stats-info {
    flex: 1;
    min-width: 120px;
}

.stats-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

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

.stats-bar {
    width: 100%;
    height: 4px;
    background: var(--bg-secondary);
    border-radius: 2px;
    overflow: hidden;
}

.stats-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 1s ease;
}

.stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.stats-card-small {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

.stats-card-small:hover {
    border-color: var(--accent-secondary);
}

.stats-value-sm {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-label-sm {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* System Status */
.system-status {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
}

.status-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-color);
}

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

.status-dot.online {
    background: var(--accent-success);
    box-shadow: 0 0 8px var(--accent-success);
    animation: pulse 2s infinite;
}

.status-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

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

.status-ok {
    color: var(--accent-success);
    font-weight: 500;
}

/* Recent Updates */
.recent-updates {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg) var(--space-2xl);
}

.recent-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.updates-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-md);
}

.update-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.update-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.update-date {
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: var(--space-xs);
}

.update-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    line-height: 1.4;
}

.update-type {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Responsive Hero */
@media (min-width: 900px) {
    .hero-new {
        grid-template-columns: 1fr 380px;
        gap: var(--space-2xl);
        padding: var(--space-2xl) var(--space-xl);
        align-items: center;
    }
    
    .hero-content {
        padding-right: var(--space-lg);
    }
}

@media (min-width: 1200px) {
    .hero-new {
        grid-template-columns: 1fr 420px;
    }
}

/* =====================================================
   SECTION HEADERS
   ===================================================== */
.section-header {
    margin-bottom: var(--space-xl);
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.section-title-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.section-desc code {
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-primary);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9em;
}

/* =====================================================
   MODULE CARDS
   ===================================================== */
.module-category {
    margin-bottom: var(--space-2xl);
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.category-icon {
    font-size: 1.25rem;
}

.category-count {
    background: var(--accent-primary);
    color: var(--bg-primary);
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-left: auto;
}

.modules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.module-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.module-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.module-card:hover::before {
    transform: scaleX(1);
}

.module-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    gap: var(--space-sm);
}

.module-icon {
    width: 44px;
    height: 44px;
    background: rgba(56, 189, 248, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.module-status {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.status-active {
    background: rgba(52, 211, 153, 0.15);
    color: var(--accent-success);
}

.status-beta {
    background: rgba(251, 191, 36, 0.15);
    color: var(--accent-warning);
}

.status-dev {
    background: rgba(129, 140, 248, 0.15);
    color: var(--accent-secondary);
}

.module-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent-primary);
    word-break: break-word;
}

.module-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.module-reason {
    background: rgba(56, 189, 248, 0.08);
    border-left: 3px solid var(--accent-primary);
    padding: var(--space-md);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.module-reason strong {
    color: var(--accent-primary);
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.module-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.tag {
    padding: 4px 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

/* =====================================================
   TIMELINE / CHANGELOG
   ===================================================== */
.timeline {
    position: relative;
    padding-left: var(--space-xl);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-lg);
    animation: slideIn var(--transition-slow) ease forwards;
}

@keyframes slideIn {
    0% { opacity: 0; transform: translateX(-16px); }
    100% { opacity: 1; transform: translateX(0); }
}

.timeline-item:nth-child(1) { animation-delay: 0.05s; }
.timeline-item:nth-child(2) { animation-delay: 0.1s; }
.timeline-item:nth-child(3) { animation-delay: 0.15s; }
.timeline-item:nth-child(4) { animation-delay: 0.2s; }
.timeline-item:nth-child(5) { animation-delay: 0.25s; }
.timeline-item:nth-child(6) { animation-delay: 0.3s; }
.timeline-item:nth-child(7) { animation-delay: 0.35s; }
.timeline-item:nth-child(8) { animation-delay: 0.4s; }
.timeline-item:nth-child(9) { animation-delay: 0.45s; }
.timeline-item:nth-child(10) { animation-delay: 0.5s; }
.timeline-item:nth-child(11) { animation-delay: 0.55s; }

.timeline-dot {
    position: absolute;
    left: calc(-1 * var(--space-xl) + 6px);
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--bg-primary), 0 0 0 6px rgba(56, 189, 248, 0.3);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    border-color: var(--accent-primary);
}

.timeline-date {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--accent-primary);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: var(--space-sm);
}

.timeline-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.timeline-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

.timeline-type {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.type-update { background: rgba(56, 189, 248, 0.15); color: var(--accent-primary); }
.type-fix { background: rgba(52, 211, 153, 0.15); color: var(--accent-success); }
.type-feature { background: rgba(129, 140, 248, 0.15); color: var(--accent-secondary); }
.type-security { background: rgba(248, 113, 113, 0.15); color: var(--accent-danger); }
.type-module { background: rgba(251, 191, 36, 0.15); color: var(--accent-warning); }

/* =====================================================
   ARCHITECTURE SECTION
   ===================================================== */
.arch-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.arch-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-normal);
}

.arch-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.arch-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.arch-card-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-success);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.arch-card-title {
    font-size: 1rem;
    font-weight: 600;
}

.arch-list {
    list-style: none;
}

.arch-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(51, 65, 85, 0.4);
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
}

.arch-list li:last-child {
    border-bottom: none;
}

.arch-list li::before {
    content: '▸';
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 1px;
}

.arch-list strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* =====================================================
   ORG CHARTS & DIAGRAMS
   ===================================================== */
.diagram-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-top: var(--space-xl);
    max-width: 100%;
    overflow-x: auto;
}

@media (min-width: 768px) {
    .diagram-container {
        padding: var(--space-xl);
    }
}

.diagram-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-xl);
    text-align: center;
}

/* Company Structure Chart */
.company-chart {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    max-width: 600px;
    margin: 0 auto;
}

.company-box {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-normal);
}

.company-box:hover {
    transform: scale(1.02);
    border-color: var(--accent-primary);
}

.company-box.main {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(129, 140, 248, 0.1));
}

.company-box.subsidiary {
    border-color: var(--accent-secondary);
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.1), rgba(168, 85, 247, 0.1));
}

.company-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

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

.company-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.company-type {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-left: auto;
}

.company-type.main {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.company-type.subsidiary {
    background: var(--accent-secondary);
    color: var(--bg-primary);
}

.company-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.company-products {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.company-product {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    color: var(--text-muted);
}

/* User Groups Chart */
.user-groups-chart {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.user-group {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.user-group-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}

.user-group-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.user-group-info {
    flex: 1;
}

.user-group-name {
    font-weight: 600;
    font-size: 1rem;
}

.user-group-level {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.user-group-body {
    padding: var(--space-lg);
}

.permissions-title, .users-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.permissions-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.permission-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: var(--radius-sm);
    color: var(--accent-primary);
}

.users-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.user-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-credit {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-credit strong {
    color: var(--accent-primary);
    font-weight: 500;
}

/* =====================================================
   RESPONSIVE - TABLET (768px+)
   ===================================================== */
@media (min-width: 768px) {
    :root {
        --container-padding: var(--space-xl);
    }
    
    .header-content {
        padding: var(--space-md) var(--space-xl);
    }
    
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .arch-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline {
        padding-left: var(--space-2xl);
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-dot {
        left: calc(-1 * var(--space-2xl) + 10px);
    }
}

/* =====================================================
   RESPONSIVE - DESKTOP (1024px+)
   ===================================================== */
@media (min-width: 1024px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .arch-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .company-chart {
        flex-direction: row;
        max-width: 100%;
    }
    
    .company-box {
        flex: 1;
    }
    
    .user-groups-chart {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =====================================================
   RESPONSIVE - MOBILE (< 640px)
   ===================================================== */
@media (max-width: 639px) {
    .container {
        padding: var(--space-lg) var(--space-md);
    }
    
    .module-card {
        padding: var(--space-md);
    }
    
    .timeline-content {
        padding: var(--space-md);
    }
    
    .diagram-container {
        padding: var(--space-lg);
    }
    
    .user-group-header {
        flex-wrap: wrap;
    }
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

