/* Custom Styles for Electro Papus: Educación para Todos */

:root {
    --bg-dark: #07090e;
    --bg-main: #0c111e;
    --bg-card: rgba(16, 22, 37, 0.6);
    --bg-card-hover: rgba(22, 30, 51, 0.85);
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-glow: rgba(99, 102, 241, 0.25);
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --accent-glow: rgba(6, 182, 212, 0.25);
    --success: #10b981;
    --info: #3b82f6;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text-white: #f8fafc;
    --text-body: #cbd5e1;
    --text-muted: #64748b;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);
    --shadow-main: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --shadow-window: 0 20px 50px rgba(0, 0, 0, 0.6);
    --font-sans: 'Outfit', 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-body);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background elements */
body::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    top: 10%;
    left: -200px;
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    bottom: 20%;
    right: -200px;
    z-index: -1;
    pointer-events: none;
}

/* Typography & Links */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-white);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--text-white);
}

/* Containers & Grid */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-full {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--border);
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.col-span-2 { grid-column: span 2; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2.5rem; }

/* Flex Utilities */
.flex-center-y { display: flex; align-items: center; }
.flex-column { display: flex; flex-direction: column; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }

/* Spacing and typography modifiers */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.small { font-size: 0.875rem; }
.mt-2 { margin-top: 0.75rem; }
.mt-3 { margin-top: 1.5rem; }

/* Statuses and helper colors */
.bg-danger { background-color: rgba(239, 68, 68, 0.7); }
.bg-danger-dark { background-color: rgba(185, 28, 28, 0.7); }
.bg-warning { background-color: rgba(245, 158, 11, 0.7); }
.bg-purple { background-color: rgba(168, 85, 247, 0.7); }

/* Navigation Bar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 3rem;
    background: rgba(7, 9, 14, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-icon {
    color: var(--success);
    font-size: 1.75rem;
    display: flex;
    align-items: center;
}

.logo-text {
    color: var(--text-white);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--primary-light);
}

.nav-links {
    display: flex;
    gap: 2.25rem;
}

.nav-links a {
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-light);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-white);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Glassmorphism Cards */
.card-glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-main);
    transition: var(--transition);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success);
    color: var(--text-white);
}

.btn-success:hover {
    background: #10b981df;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    border-radius: 6px;
}

/* Hero Section */
.hero-section {
    padding: 8rem 0 6rem 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero-bg-glow {
    position: absolute;
    top: 5%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 3.5rem;
}

.hero-content h1 {
    font-size: 3.75rem;
    font-weight: 800;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary-light);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-body);
    margin-bottom: 2.25rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Card glass design for Hero Info */
.hero-card {
    padding: 0;
    overflow: hidden;
}

.card-header {
    background: rgba(0, 0, 0, 0.25);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot.red { background-color: var(--danger); }
.dot.yellow { background-color: var(--warning); }
.dot.green { background-color: var(--success); }

.card-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.card-body-hero {
    padding: 1.75rem;
}

.spec-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 0.75rem;
}

.spec-item:last-child {
    border: none;
    padding: 0;
}

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

.spec-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
}

.progress-bar-container {
    margin-top: 1.5rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 100px;
}

/* Sections General Headers */
.section-header {
    margin-bottom: 4rem;
}

.section-tag {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Raspberry Section Specifics */
.raspberry-visual-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.raspberry-board-card {
    padding: 1.5rem;
    width: 100%;
    max-width: 440px;
}

.board-svg-wrapper {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.rpi-svg {
    filter: drop-shadow(0 10px 15px rgba(20, 83, 45, 0.2));
}

.pulse-chip {
    animation: chip-glow 2.5s infinite alternate ease-in-out;
}

@keyframes chip-glow {
    0% {
        filter: drop-shadow(0 0 2px rgba(59, 130, 246, 0.2));
        stroke-width: 1.5px;
    }
    100% {
        filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.7));
        stroke-width: 2.5px;
    }
}

.board-desc h4 {
    margin-bottom: 0.5rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--accent-light);
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-info h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.feature-info p {
    font-size: 0.9rem;
    color: var(--text-body);
}

/* Context / Educational Lag Section */
.context-explanation h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.context-explanation p {
    margin-bottom: 1.25rem;
}

.quote-card {
    border-left: 3px solid var(--accent);
    background: rgba(6, 182, 212, 0.03);
    padding: 1.25rem;
    border-radius: 0 12px 12px 0;
    margin-top: 1.75rem;
}

.quote-card p {
    font-style: italic;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.quote-author {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-light);
    display: block;
}

.stats-dashboard {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dashboard-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    padding: 0.25rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-sans);
    padding: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--primary);
    color: var(--text-white);
}

.dashboard-data {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

.radial-progress-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.radial-svg {
    transform: rotate(-90deg);
}

.radial-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.04);
    stroke-width: 10px;
}

.radial-fill {
    fill: none;
    stroke: var(--accent);
    stroke-width: 10px;
    stroke-linecap: round;
    stroke-dasharray: 314;
    transition: stroke-dashoffset 0.8s ease-in-out;
}

.radial-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-white);
}

.poverty-bars-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.poverty-bars-container h5 {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.bar-chart-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.bar-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.bar-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease-in-out;
}

.dashboard-footer {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Architecture Table */
.table-responsive {
    overflow-x: auto;
}

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

.data-table th, .data-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    font-weight: 600;
    color: var(--text-white);
    background: rgba(0, 0, 0, 0.15);
}

.data-table tbody tr {
    transition: var(--transition);
}

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

.data-table tfoot td {
    border: none;
    font-size: 0.95rem;
    color: var(--text-white);
    background: rgba(0, 0, 0, 0.2);
}

.status-pill {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    display: inline-block;
}

.status-pill.run {
    background-color: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--accent-light);
}

.status-pill.active-only {
    background-color: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--warning);
}

.status-pill.success {
    background-color: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
}

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

/* RAM / Storage Visualizer */
.ram-visualizer {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 8px;
    height: 280px;
    display: flex;
    flex-direction: column-reverse;
    overflow: hidden;
    position: relative;
    padding: 0.25rem;
    gap: 0.25rem;
}

.ram-segment {
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-white);
    transition: var(--transition);
    cursor: pointer;
}

.ram-segment:hover {
    filter: brightness(1.2);
}

.ram-segment.os { background-color: var(--primary); }
.ram-segment.kiwix { background-color: var(--accent); }
.ram-segment.gcompris { background-color: var(--success); }
.ram-segment.office { background-color: var(--info); }
.ram-segment.free {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.ram-legend {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    font-size: 0.8rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.legend-color {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.legend-color.os { background-color: var(--primary); }
.legend-color.kiwix { background-color: var(--accent); }
.legend-color.gcompris { background-color: var(--success); }
.legend-color.office { background-color: var(--info); }

/* OS Simulator monitor shell */
.monitor-wrapper {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.monitor-frame {
    width: 100%;
    background: #1e293b;
    border: 12px solid #0f172a;
    border-radius: 16px 16px 0 0;
    box-shadow: var(--shadow-window);
    overflow: hidden;
    position: relative;
}

.monitor-stand {
    width: 100px;
    height: 50px;
    background: #1e293b;
    border-bottom: 2px solid #0f172a;
}

.monitor-base {
    width: 220px;
    height: 12px;
    background: #0f172a;
    border-radius: 6px 6px 0 0;
}

/* Desktop Screen Inside Monitor */
.desktop-screen {
    width: 100%;
    height: 480px;
    position: relative;
    background-color: #1e1b4b;
    overflow: hidden;
    user-select: none;
}

.desktop-wallpaper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 40px);
    background: linear-gradient(135deg, #1e1b4b 0%, #311042 50%, #063945 100%);
    padding: 1.5rem;
}

/* Grid layout for Desktop Icons */
.desktop-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(4, 80px);
    gap: 1.5rem;
    justify-content: flex-start;
    align-content: flex-start;
}

.desktop-icon {
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    border-radius: 8px;
    padding: 0.4rem;
    transition: var(--transition);
}

.desktop-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.icon-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--text-white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.kiwix-icon { background: linear-gradient(135deg, #a855f7 0%, #6b21a8 100%); }
.gcompris-icon { background: linear-gradient(135deg, #10b981 0%, #047857 100%); }
.abiword-icon { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.gnumeric-icon { background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%); }

.icon-label {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-white);
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Simulated desktop taskbar */
.desktop-taskbar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.75rem;
    z-index: 99;
}

.start-btn {
    background: var(--primary);
    color: var(--text-white);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(99, 102, 241, 0.3);
}

.start-btn:hover {
    background: var(--primary-light);
}

.taskbar-windows {
    display: flex;
    gap: 0.5rem;
    flex-grow: 1;
    margin: 0 1rem;
}

.task-item {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.05);
    color: var(--text-white);
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task-item.active-window {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.taskbar-tray {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tray-icon {
    font-size: 0.8rem;
    color: var(--text-muted);
    cursor: pointer;
}

.tray-icon:hover {
    color: var(--text-white);
}

.time-display {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-body);
}

/* Floating Window UI styling */
.desktop-window {
    position: absolute;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: var(--shadow-window);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 10;
}

.desktop-window.active-focused {
    z-index: 50;
    border-color: var(--primary-light);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 12px rgba(99, 102, 241, 0.15);
}

.win-header {
    background: #1e293b;
    padding: 0.45rem 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    cursor: move;
}

.win-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.win-controls {
    display: flex;
    gap: 0.35rem;
}

.win-controls button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.65rem;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.win-controls button:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
}

.win-controls button.win-close:hover {
    background: var(--danger);
    color: var(--text-white);
}

.win-body {
    flex-grow: 1;
    overflow: hidden;
    color: var(--text-body);
}

/* App Window: Kiwix UI */
.kiwix-body {
    display: grid;
    grid-template-columns: 160px 1fr;
    height: 100%;
}

.kiwix-sidebar {
    background: #090d16;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 0.5rem;
}

.kiwix-sidebar h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    padding-left: 0.4rem;
}

.kiwix-menu {
    list-style: none;
}

.kiwix-menu li {
    font-size: 0.75rem;
    padding: 0.45rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    color: var(--text-body);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.kiwix-menu li:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-white);
}

.kiwix-menu li.active {
    background: rgba(168, 85, 247, 0.1);
    color: #c084fc;
    border-left: 2px solid #a855f7;
}

.kiwix-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.kiwix-search-bar {
    padding: 0.5rem;
    background: #151d30;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 0.5rem;
}

.kiwix-search-bar input {
    flex-grow: 1;
    background: #090d16;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    font-size: 0.75rem;
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
    outline: none;
}

.kiwix-search-bar button {
    background: var(--primary);
    color: var(--text-white);
    border: none;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
}

.kiwix-article-viewport {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem;
    font-size: 0.8rem;
    line-height: 1.5;
}

.kiwix-article-viewport h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.4rem;
}

.kiwix-article-viewport p {
    margin-bottom: 0.75rem;
}

/* App Window: GCompris UI */
.gcompris-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #111827;
}

.gcompris-top-bar {
    background: #0f172a;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-white);
}

.score-display {
    color: var(--success);
}

.gcompris-gameplay {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.gcompris-gameplay h3 {
    font-size: 1.35rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.game-instruction {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.math-question {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0,0,0,0.25);
    padding: 1rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 1.5rem;
}

.math-question input {
    width: 70px;
    background: #030712;
    border: 2px solid var(--primary-light);
    color: var(--text-white);
    font-size: 1.75rem;
    text-align: center;
    border-radius: 8px;
    outline: none;
}

.game-btn-row {
    display: flex;
    gap: 0.75rem;
}

.game-feedback {
    font-size: 0.9rem;
    font-weight: 600;
    height: 24px;
}

/* App Window: AbiWord UI */
.abiword-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #1e293b;
}

.editor-toolbar {
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.35rem 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.editor-toolbar button {
    background: transparent;
    border: none;
    color: var(--text-body);
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
}

.editor-toolbar button:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
}

.toolbar-divider {
    color: rgba(255,255,255,0.1);
    margin: 0 0.25rem;
    font-size: 0.8rem;
}

.save-btn {
    background: rgba(16, 185, 129, 0.15) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    color: var(--success) !important;
    font-weight: 600;
    width: auto !important;
    padding: 0.2rem 0.6rem !important;
    border-radius: 4px;
    font-size: 0.7rem !important;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.save-btn:hover {
    background: var(--success) !important;
    color: var(--text-white) !important;
}

.editor-area-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 0.75rem;
    display: flex;
    justify-content: center;
}

.editor-textarea {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    color: #1e293b;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    padding: 1.5rem;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    min-height: 100%;
    cursor: text;
}

.editor-footer {
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.75rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* App Window: Gnumeric UI */
.gnumeric-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #0f172a;
}

.gnumeric-toolbar {
    background: #1e293b;
    padding: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.formula-bar {
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.formula-label {
    color: var(--accent-light);
}

.spreadsheet-container {
    flex-grow: 1;
    overflow: auto;
}

.sheet-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-sans);
}

.sheet-table th, .sheet-table td {
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.25rem;
    font-size: 0.75rem;
}

.sheet-table th {
    background: #1e293b;
    color: var(--text-white);
    font-weight: 600;
    text-align: center;
    width: 120px;
}

.sheet-table th:first-child, .sheet-table td.row-header {
    background: #1e293b;
    color: var(--text-muted);
    font-weight: bold;
    text-align: center;
    width: 40px;
}

.sheet-table td input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    padding: 0.25rem;
    outline: none;
}

.sheet-table td input[type="number"] {
    text-align: right;
    font-family: var(--font-mono);
}

.sheet-table td input:focus {
    background: rgba(99, 102, 241, 0.1);
    box-shadow: inset 0 0 0 1px var(--primary-light);
}

.sum-row td {
    background: rgba(255, 255, 255, 0.02);
}

.calculated-cell {
    text-align: right;
    font-family: var(--font-mono);
    font-weight: bold;
    color: var(--success);
    padding-right: 0.5rem !important;
}

.calculated-cell-label {
    color: var(--text-muted);
    font-style: italic;
    padding-left: 0.5rem !important;
}

/* User Guide / Manual Section */
.steps-flow {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
}

.step-num {
    background: var(--primary);
    color: var(--text-white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.step-info h4 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.step-info p {
    font-size: 0.9rem;
}

.qr-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.qr-placeholder-icon {
    font-size: 100px;
    color: #0f172a;
}

/* Footer styling */
.footer {
    background-color: var(--bg-dark);
    padding: 5rem 0 2rem 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1.25rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-body);
}

.footer-academic h4, .footer-team h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: var(--text-white);
}

.footer-academic p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.footer-team ul {
    list-style: none;
}

.footer-team ul li {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.footer-team ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--success);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive Breakpoints */

/* Tablet landscape */
@media (max-width: 1024px) {
    .navbar {
        padding: 1.25rem 2rem;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-content h1 {
        font-size: 3.25rem;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .footer-brand {
        grid-column: span 2;
    }
}

/* Tablet portrait & phones */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 1.25rem;
    }

    .container-full {
        padding: 0 1rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-desc {
        font-size: 0.95rem;
    }

    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }

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

    .gap-4 {
        gap: 1.5rem;
    }

    /* Navbar */
    .nav-links, .nav-cta {
        display: none;
    }
    .logo {
        margin: 0 auto;
    }
    .navbar {
        justify-content: center;
        padding: 1rem 1.25rem;
    }

    /* Hero */
    .hero-section {
        padding: 5rem 0 3.5rem 0;
    }
    .hero-content h1 {
        font-size: 2.25rem;
        letter-spacing: -1px;
    }
    .hero-desc {
        font-size: 1rem;
        margin-bottom: 1.75rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    .hero-visual {
        max-width: 100%;
    }
    .hero-card {
        border-radius: 12px;
    }
    .card-body-hero {
        padding: 1.25rem;
    }
    .spec-item {
        flex-direction: column;
        gap: 0.2rem;
        align-items: flex-start;
    }
    .spec-value {
        font-size: 0.85rem;
    }

    /* Glassmorphism Cards */
    .card-glass {
        padding: 1.5rem;
        border-radius: 12px;
    }

    /* Raspberry Pi Section */
    .raspberry-board-card {
        max-width: 100%;
    }
    .board-svg-wrapper {
        padding: 0.5rem;
    }
    .rpi-svg {
        max-height: 220px;
    }
    .feature-card {
        padding: 1.25rem;
    }
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    .feature-info h3 {
        font-size: 1rem;
    }

    /* Context / Stats Dashboard */
    .context-explanation h3 {
        font-size: 1.35rem;
    }
    .dashboard-data {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .dashboard-tabs {
        margin-bottom: 1.5rem;
    }

    /* Architecture Table */
    .data-table {
        font-size: 0.78rem;
    }
    .data-table th, .data-table td {
        padding: 0.65rem 0.75rem;
        white-space: nowrap;
    }
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -0.5rem;
        padding: 0 0.5rem;
    }
    .data-table {
        min-width: 580px;
    }

    /* RAM Visualizer */
    .ram-visualizer {
        height: 220px;
    }
    .ram-legend {
        grid-template-columns: 1fr 1fr;
        font-size: 0.75rem;
    }

    /* Program Cards */
    .program-card-header {
        gap: 1rem;
    }
    .program-icon {
        width: 44px;
        height: 44px;
        font-size: 1.35rem;
        flex-shrink: 0;
    }
    .program-card-body p {
        font-size: 0.88rem;
    }
    .program-specs {
        flex-wrap: wrap;
    }

    /* Manual / Steps */
    .step-card {
        padding: 1.25rem;
        gap: 1rem;
    }
    .step-num {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .step-info h4 {
        font-size: 1rem;
    }
    .qr-placeholder-icon {
        font-size: 70px;
    }

    /* Footer */
    .footer {
        padding: 3.5rem 0 1.5rem 0;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-brand {
        grid-column: span 1;
    }
    .footer-brand .logo {
        justify-content: center;
    }
    .footer-brand p {
        text-align: center;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-section {
        padding: 4rem 0 2.5rem 0;
    }
    .hero-content h1 {
        font-size: 1.85rem;
    }
    .hero-desc {
        font-size: 0.9rem;
    }
    .badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }
    .section-tag {
        font-size: 0.75rem;
    }

    .card-glass {
        padding: 1.25rem;
    }

    .spec-label {
        font-size: 0.8rem;
    }
    .spec-value {
        font-size: 0.8rem;
    }

    .radial-progress-wrapper {
        width: 100px;
        height: 100px;
    }
    .radial-value {
        font-size: 1.3rem;
    }

    .bar-info {
        font-size: 0.78rem;
    }

    .data-table {
        font-size: 0.72rem;
    }

    .program-card-header h3 {
        font-size: 1.1rem;
    }
    .program-highlights li {
        font-size: 0.8rem;
    }

    .step-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-academic h4, .footer-team h4 {
        font-size: 1rem;
    }
}

/* Program Cards in Showcase Section */
.program-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.program-card-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.program-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.program-subtitle {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
}

.program-card-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    color: var(--text-body);
}

.program-specs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.badge-storage {
    background: rgba(6, 182, 212, 0.1) !important;
    border: 1px solid rgba(6, 182, 212, 0.25) !important;
    color: var(--accent-light) !important;
}

.badge-ram {
    background: rgba(99, 102, 241, 0.1) !important;
    border: 1px solid rgba(99, 102, 241, 0.25) !important;
    color: var(--primary-light) !important;
}

.program-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.program-highlights li {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================================
   Commands Section
   ============================================================ */
.commands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.cmd-category-card {
    display: flex;
    flex-direction: column;
}

.cmd-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.cmd-category-header h3 {
    font-size: 1.15rem;
}

.cmd-category-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--text-white);
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent) 0%, #0891b2 100%);
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}

.cmd-category-icon.file-mgmt {
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.cmd-category-icon.system-mgmt {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.cmd-category-icon.info-net {
    background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.cmd-list {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.cmd-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
    transition: var(--transition);
}

.cmd-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.cmd-line {
    flex-shrink: 0;
    min-width: 200px;
}

.cmd-line code {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-light);
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.15);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    display: inline-block;
    white-space: nowrap;
}

.cmd-desc {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.5;
    padding-top: 0.15rem;
}

/* Commands Tip Box */
.commands-tip {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    border-left: 3px solid var(--warning);
    background: rgba(245, 158, 11, 0.04);
}

.tip-icon {
    font-size: 1.75rem;
    color: var(--warning);
    flex-shrink: 0;
    line-height: 1;
    margin-top: 0.15rem;
}

.tip-content h4 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.tip-content p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.6;
}

.tip-content code {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--warning);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

/* ============================================================
   FAQ Section
   ============================================================ */
.faq-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.75rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--text-white);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question span:nth-child(2) {
    flex-grow: 1;
}

.faq-q-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    transition: var(--transition);
}

.faq-item.active .faq-q-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.faq-chevron {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.75rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.75rem 1.5rem 1.75rem;
}

.faq-answer p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-body);
    padding-left: 3.5rem;
}

.faq-answer code {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--accent-light);
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.15);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

/* Commands & FAQ Responsive */
@media (max-width: 768px) {
    .commands-grid {
        grid-template-columns: 1fr;
    }

    .cmd-item {
        flex-direction: column;
        gap: 0.35rem;
    }

    .cmd-line {
        min-width: auto;
    }

    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
        gap: 0.75rem;
    }

    .faq-q-icon {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .faq-answer p {
        padding-left: 0;
        font-size: 0.85rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }

    .commands-tip {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .cmd-category-header h3 {
        font-size: 1rem;
    }

    .cmd-line code {
        font-size: 0.78rem;
    }

    .faq-question {
        font-size: 0.85rem;
    }
}
