/* ROOT VARIABLES & RESET */ :root { --bg-dark: #0f1115; --bg-card: #161b22; --bg-card-hover: #1c2128; --text-main: #e6edf3; --text-muted: #8b949e; /* Brand Accents */ --accent-primary: #58a6ff; /* Blue */ --accent-secondary: #238636; /* Green */ --accent-tertiary: #a371f7; /* Purple */ --accent-glow: rgba(88, 166, 255, 0.15); --border-color: #30363d; --font-sans: 'Inter', system-ui, -apple-system, sans-serif; --font-mono: 'JetBrains Mono', monospace; } * { box-sizing: border-box; margin: 0; padding: 0; } body { background-color: var(--bg-dark); color: var(--text-main); font-family: var(--font-sans); line-height: 1.6; overflow-x: hidden; } /* BACKGROUND ACCENTS */ .page-background { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: -1; background: radial-gradient(circle at 10% 20%, rgba(88, 166, 255, 0.05) 0%, transparent 40%), radial-gradient(circle at 90% 60%, rgba(163, 113, 247, 0.05) 0%, transparent 40%); } .docs-container { max-width: 1200px; margin: 0 auto; display: block; min-height: 100vh; padding: 0 1rem; } /* SIDEBAR REMOVED */ /* MAIN CONTENT */ .docs-content { width: 100%; max-width: 100%; padding: 4rem 1rem; margin: 0 auto; } /* Title Bar */ .title-bar { margin-bottom: 4rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; } .title-bar h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 0.5rem; background: linear-gradient(to right, #fff, #a5b4fc); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .title-bar p { color: var(--text-muted); font-size: 1.25rem; max-width: 600px; } /* SECTIONS */ .doc-section { margin-bottom: 6rem; scroll-margin-top: 2rem; } .section-title { font-size: 2rem; font-weight: 700; margin-bottom: 2rem; display: flex; align-items: center; justify-content: center; gap: 0.75rem; padding-bottom: 0; border-bottom: none; } .section-icon { width: 28px; height: 28px; color: var(--accent-primary); } .section-intro { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 3rem; max-width: 700px; text-align: center; margin-left: auto; margin-right: auto; } /* ARCHITECTURE DIAGRAM */ .flow-diagram { display: grid; gap: 1.5rem; position: relative; max-width: 800px; margin: 0 auto; } .flow-step { background: var(--bg-card); border: 1px solid var(--border-color); padding: 1.5rem; border-radius: 12px; display: flex; gap: 1.5rem; transition: transform 0.2s; } .flow-step:hover { border-color: var(--accent-primary); } .step-number { width: 32px; height: 32px; background: var(--bg-card-hover); color: var(--accent-primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; } .step-title { font-weight: 600; font-size: 1.1rem; margin-bottom: 0.25rem; color: var(--text-main); } .step-desc { color: var(--text-muted); font-size: 0.95rem; } .flow-arrow { text-align: center; color: var(--border-color); font-size: 1.5rem; height: 20px; line-height: 20px; } /* MODULES GRID NAV */ .modules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Slightly wider cards */ gap: 2rem; } .module-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 2.5rem; /* Increased padding */ display: flex; flex-direction: column; justify-content: space-between; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; text-decoration: none; height: 100%; } .module-card:hover { border-color: var(--accent-primary); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); } .module-icon-wrapper { width: 56px; /* Larger icon wrapper */ height: 56px; background: rgba(255, 255, 255, 0.05); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.5rem; } .module-card h3 { font-size: 1.5rem; /* Larger headings */ font-weight: 700; color: var(--text-main); margin-bottom: 0.75rem; } .module-card p { color: var(--text-muted); font-size: 1rem; margin-bottom: 2.5rem; flex-grow: 1; line-height: 1.6; } .module-link-action { display: flex; align-items: center; gap: 0.5rem; color: var(--accent-primary); font-weight: 600; font-size: 1rem; } /* Unique Colors for Modules */ .mod-1 .module-icon-wrapper { color: var(--accent-primary); background: rgba(88, 166, 255, 0.1); } .mod-1:hover { border-color: var(--accent-primary); } .mod-1::before { background: var(--accent-primary); } .mod-2 .module-icon-wrapper { color: #06b6d4; background: rgba(6, 182, 212, 0.1); } .mod-2:hover { border-color: #06b6d4; } .mod-2::before { background: #06b6d4; } .mod-2 .module-link-action { color: #06b6d4; } .mod-3 .module-icon-wrapper { color: #8b5cf6; background: rgba(139, 92, 246, 0.1); } .mod-3::before { background: #8b5cf6; } .mod-3 .module-link-action { color: #8b5cf6; } .mod-4 .module-icon-wrapper { color: #f59e0b; background: rgba(245, 158, 11, 0.1); } .mod-4:hover { border-color: #f59e0b; } .mod-4::before { background: #f59e0b; } .mod-4 .module-link-action { color: #f59e0b; } .mod-5 .module-icon-wrapper { color: #14b8a6; background: rgba(20, 184, 166, 0.1); } .mod-5:hover { border-color: #14b8a6; } .mod-5::before { background: #14b8a6; } .mod-5 .module-link-action { color: #14b8a6; } .mod-6 .module-icon-wrapper { color: #8b5cf6; background: rgba(139, 92, 246, 0.1); } .mod-6:hover { border-color: #8b5cf6; } .mod-6::before { background: #8b5cf6; } .mod-6 .module-link-action { color: #8b5cf6; } .mod-7 .module-icon-wrapper { color: #f43f5e; background: rgba(244, 63, 94, 0.1); } .mod-7:hover { border-color: #f43f5e; } .mod-7::before { background: #f43f5e; } .mod-7 .module-link-action { color: #f43f5e; } /* DATA TABLES */ .data-model-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 0; overflow: hidden; margin-bottom: 2rem; max-width: 900px; /* Constrain width */ margin-left: auto; margin-right: auto; } .model-header { padding: 1.5rem; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; gap: 1rem; background: rgba(255, 255, 255, 0.02); } .model-icon { font-size: 1.5rem; } .model-info h3 { font-size: 1.1rem; color: var(--text-main); } .model-badge { font-size: 0.75rem; background: rgba(88, 166, 255, 0.15); color: var(--accent-primary); padding: 0.2rem 0.5rem; border-radius: 100px; font-weight: 600; } .model-desc { padding: 1.5rem; color: var(--text-muted); font-size: 0.9rem; border-bottom: 1px solid var(--border-color); } .simple-data-table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 0.9rem; /* Increase font size */ } .simple-data-table th { text-align: left; padding: 1rem 1.5rem; color: var(--text-muted); font-weight: 500; border-bottom: 1px solid var(--border-color); background: rgba(255, 255, 255, 0.01); } .simple-data-table td { padding: 1rem 1.5rem; border-bottom: 1px solid var(--border-color); color: var(--text-main); } .simple-data-table tr:last-child td { border-bottom: none; } .type-badge { color: #f472b6; } .type-badge.bool { color: #fbbf24; } /* CHANGELOG */ .version-card { border-left: 2px solid var(--border-color); padding-left: 2rem; margin-bottom: 3rem; position: relative; max-width: 700px; /* Constrain width */ margin-left: auto; margin-right: auto; } .version-card::before { content: ''; position: absolute; left: -5px; top: 0; width: 8px; height: 8px; background: var(--bg-dark); border: 2px solid var(--text-muted); border-radius: 50%; } .version-card.latest { border-left-color: var(--accent-secondary); } .version-card.latest::before { border-color: var(--accent-secondary); background: var(--accent-secondary); } .version-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; } .version-header h4 { font-size: 1.25rem; color: var(--text-main); } .version-badge { background: rgba(35, 134, 54, 0.2); color: var(--accent-secondary); font-size: 0.7rem; padding: 0.2rem 0.5rem; border-radius: 4px; font-weight: 700; } .version-date { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; } .version-card ul { list-style: disc; margin-left: 1.5rem; color: #c9d1d9; } /* RESPONSIVE - COMPREHENSIVE MOBILE FIRST */ /* Tablets and smaller laptops */ @media (max-width: 1024px) { .docs-container { padding: 0 1.5rem; } .modules-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; } .reference-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; } } /* Mobile devices - Large */ @media (max-width: 768px) { .docs-container { padding: 0 0.75rem; } .docs-content { padding: 2rem 0.5rem; } /* Title Bar */ .title-bar { margin-bottom: 2.5rem; gap: 1rem; } .title-bar h1 { font-size: 2.25rem; line-height: 1.2; } .title-bar p { font-size: 1rem; line-height: 1.5; padding: 0 0.5rem; } /* Sections */ .doc-section { margin-bottom: 3.5rem; } .section-title { font-size: 1.5rem; gap: 0.5rem; flex-wrap: wrap; text-align: center; } .section-icon { width: 24px; height: 24px; } .section-intro { font-size: 1rem; margin-bottom: 2rem; padding: 0 0.5rem; } /* Flow Diagram */ .flow-diagram { gap: 1rem; padding: 0 0.25rem; } .flow-step { padding: 1.25rem; gap: 1rem; flex-direction: column; align-items: flex-start; } .step-number { width: 28px; height: 28px; font-size: 0.9rem; } .step-title { font-size: 1rem; } .step-desc { font-size: 0.875rem; line-height: 1.5; } .flow-arrow { font-size: 1.25rem; height: 15px; line-height: 15px; } /* Modules Grid */ .modules-grid { grid-template-columns: 1fr; gap: 1.5rem; padding: 0 0.25rem; } .module-card { padding: 1.75rem; border-radius: 12px; } .module-icon-wrapper { width: 48px; height: 48px; margin-bottom: 1rem; } .module-icon-wrapper svg { width: 22px; height: 22px; } .module-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; } .module-card p { font-size: 0.9rem; margin-bottom: 1.5rem; line-height: 1.6; } .module-link-action { font-size: 0.9rem; } /* Reference Grid */ .reference-grid { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem; padding: 0 0.25rem; } .key-card { padding: 1.5rem; border-radius: 16px; gap: 1rem; } .k-icon-wrapper { width: 56px; height: 56px; } .k-icon { width: 28px; height: 28px; } .k-content h3 { font-size: 1.2rem; } .k-content p { font-size: 0.875rem; margin-bottom: 1rem; } .k-link { font-size: 0.85rem; } /* Data Tables */ .data-model-card { margin-bottom: 1.5rem; border-radius: 12px; } .model-header { padding: 1.25rem; flex-wrap: wrap; } .model-info h3 { font-size: 1rem; } .model-desc { padding: 1.25rem; font-size: 0.85rem; } .simple-data-table { font-size: 0.8rem; display: block; overflow-x: auto; } .simple-data-table th, .simple-data-table td { padding: 0.75rem 1rem; } /* Changelog */ .version-card { padding-left: 1.5rem; margin-bottom: 2rem; } .version-header h4 { font-size: 1.1rem; } .version-date { font-size: 0.8rem; } } /* Mobile devices - Small */ @media (max-width: 480px) { .docs-content { padding: 1.5rem 0.25rem; } .title-bar { margin-bottom: 2rem; } .title-bar h1 { font-size: 1.75rem; padding: 0 0.5rem; } .title-bar p { font-size: 0.9rem; } .section-title { font-size: 1.35rem; } .section-intro { font-size: 0.9rem; } .flow-step { padding: 1rem; } .module-card { padding: 1.5rem; } .module-icon-wrapper { width: 44px; height: 44px; } .module-card h3 { font-size: 1.15rem; } .module-card p { font-size: 0.85rem; } .key-card { padding: 1.25rem; } .k-icon-wrapper { width: 48px; height: 48px; } .k-content h3 { font-size: 1.1rem; } .k-content p { font-size: 0.85rem; } .simple-data-table { font-size: 0.75rem; } .simple-data-table th, .simple-data-table td { padding: 0.6rem 0.75rem; } } /* Extra small devices */ @media (max-width: 360px) { .title-bar h1 { font-size: 1.5rem; } .title-bar p { font-size: 0.85rem; } .module-card { padding: 1.25rem; } .module-card h3 { font-size: 1.05rem; } .module-card p { font-size: 0.8rem; } .k-content h3 { font-size: 1rem; } } /* System Reference Grid */ .reference-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; margin-top: 2rem; } .key-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.5rem; display: flex; align-items: center; gap: 1.5rem; text-decoration: none; transition: all 0.2s; } /* System Reference Grid */ .reference-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; margin-top: 3rem; } .key-card { position: relative; background: linear-gradient(145deg, rgba(22, 27, 34, 0.6) 0%, rgba(22, 27, 34, 0.9) 100%); border: 1px solid var(--border-color); border-radius: 20px; padding: 2rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; text-decoration: none; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden; backdrop-filter: blur(10px); } /* Hover Effects */ .key-card:hover { box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5); } .key-card::before { content: ''; position: absolute; inset: 0; border-radius: 20px; padding: 1px; pointer-events: none; } .k-icon-wrapper { width: 64px; height: 64px; border-radius: 16px; display: flex; justify-content: center; align-items: center; margin-bottom: 0.5rem; transition: all 0.3s ease; border: 1px solid rgba(255, 255, 255, 0.05); } .k-icon { width: 32px; height: 32px; } .k-content h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-main); } .k-content p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.5; } .k-link { font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; opacity: 0.9; transition: gap 0.2s; } .key-card:hover .k-link { gap: 0.8rem; } /* --- DATA CARD (Pink) --- */ .data-card .k-icon-wrapper { background: linear-gradient(135deg, rgba(244, 114, 182, 0.15), rgba(244, 114, 182, 0.05)); color: #f472b6; } .data-card:hover { border-color: rgba(244, 114, 182, 0.4); } .data-card .k-link { color: #f472b6; } /* --- SERVER CARD (Green) --- */ .server-card .k-icon-wrapper { background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05)); color: #10b981; } .server-card:hover { border-color: rgba(16, 185, 129, 0.4); } .server-card .k-link { color: #10b981; } /* --- CHANGE CARD (Orange) --- */ .change-card .k-icon-wrapper { background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05)); color: #f59e0b; } .change-card:hover { border-color: rgba(245, 158, 11, 0.4); } .change-card .k-link { color: #f59e0b; }