
/* --- CSS Variables --- */
:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-tertiary: #1a2236;
    --bg-card: #151d2e;
    --bg-card-hover: #1c2740;
    --bg-glass: rgba(17, 24, 39, 0.85);
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-blue: #3b82f6;
    --accent-blue-dark: #2563eb;
    --accent-debian: #D70A53;
    --accent-debian-light: #ff4d7a;
    --accent-green: #10b981;
    --accent-yellow: #f59e0b;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --border-color: rgba(59, 130, 246, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
    --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --gradient-debian: linear-gradient(135deg, #D70A53, #ff4d7a);
    --gradient-dark: linear-gradient(180deg, #0a0e17 0%, #111827 100%);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono: 'Cascadia Code', 'Fira Code', 'JetBrains Mono', 'Consolas', monospace;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) var(--bg-secondary);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 4px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-debian-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Animated Background --- */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-animation .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    animation: orbFloat 20s ease-in-out infinite;
}

.bg-animation .orb:nth-child(1) {
    width: 600px;
    height: 600px;
    background: var(--accent-blue);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.bg-animation .orb:nth-child(2) {
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.bg-animation .orb:nth-child(3) {
    width: 300px;
    height: 300px;
    background: var(--accent-debian);
    top: 50%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -80px) scale(1.1); }
    50% { transform: translate(-30px, 60px) scale(0.9); }
    75% { transform: translate(70px, 30px) scale(1.05); }
}

/* --- Header / Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 14, 23, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-logo .logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-debian);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 4px 15px rgba(215, 10, 83, 0.3);
}

.nav-logo span {
    background: var(--gradient-debian);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.1);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent-blue);
    border-radius: 1px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Main Content --- */
.main-content {
    padding-top: 70px;
    min-height: 100vh;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-blue);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero h1 .highlight {
    background: var(--gradient-debian);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: var(--font-main);
}

.btn-primary {
    background: var(--gradient-debian);
    color: white;
    box-shadow: 0 4px 20px rgba(215, 10, 83, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(215, 10, 83, 0.4);
    color: white;
}

.btn-secondary {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
    color: var(--accent-blue);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

/* --- Sections --- */
.section {
    padding: 6rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Cards Grid --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.card-icon.blue { background: rgba(59, 130, 246, 0.15); }
.card-icon.green { background: rgba(16, 185, 129, 0.15); }
.card-icon.purple { background: rgba(139, 92, 246, 0.15); }
.card-icon.yellow { background: rgba(245, 158, 11, 0.15); }
.card-icon.cyan { background: rgba(6, 182, 212, 0.15); }
.card-icon.red { background: rgba(215, 10, 83, 0.15); }

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Stats Bar --- */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    padding: 3rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.stat-item:hover {
    border-color: var(--border-color);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* --- Page Header (Inner Pages) --- */
.page-header {
    position: relative;
    padding: 8rem 2rem 4rem;
    text-align: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* --- Timeline (History Page) --- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent-blue), var(--accent-purple), transparent);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--accent-blue);
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.timeline-item:nth-child(odd)::before {
    right: -8px;
}

.timeline-item:nth-child(even)::before {
    left: -8px;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--border-color);
    box-shadow: var(--shadow-glow);
}

.timeline-year {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-blue);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Code Blocks --- */
.code-block {
    background: #0d1117;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    overflow: hidden;
}

.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-subtle);
}

.code-header .dots {
    display: flex;
    gap: 6px;
}

.code-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-header .dot.red { background: #ff5f57; }
.code-header .dot.yellow { background: #febc2e; }
.code-header .dot.green { background: #28c840; }

.code-header .lang {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.code-body {
    padding: 1.2rem 1.5rem;
    overflow-x: auto;
}

.code-body pre {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.8;
    color: #e6edf3;
}

.code-body .comment { color: #8b949e; }
.code-body .keyword { color: #ff7b72; }
.code-body .string { color: #a5d6ff; }
.code-body .command { color: #7ee787; }
.code-body .flag { color: #d2a8ff; }
.code-body .output { color: #8b949e; }
.code-body .prompt { color: #3b82f6; }
.code-body .variable { color: #ffa657; }

.copy-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* --- Command Table --- */
.command-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.command-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.command-table thead {
    background: rgba(59, 130, 246, 0.08);
}

.command-table th {
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--accent-blue);
    border-bottom: 1px solid var(--border-subtle);
    white-space: nowrap;
}

.command-table td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.command-table tr:hover td {
    background: rgba(59, 130, 246, 0.03);
}

.command-table code {
    background: rgba(59, 130, 246, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-blue);
    white-space: nowrap;
}

/* --- Installation Steps --- */
.install-steps {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 24px;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.step.visible {
    opacity: 1;
    transform: translateX(0);
}

.step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.step-content {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.step-content:hover {
    border-color: var(--border-color);
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.step-content ul {
    list-style: none;
    padding: 0;
}

.step-content ul li {
    padding: 6px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.step-content ul li::before {
    content: '▸';
    color: var(--accent-blue);
    font-weight: bold;
    flex-shrink: 0;
}

/* --- Tips Section --- */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.tip-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tip-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.tip-card:hover {
    border-color: var(--border-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.tip-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-blue);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tip-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
}

.tip-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* --- Accordion --- */
.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: var(--border-color);
}

.accordion-header {
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header:hover {
    background: rgba(59, 130, 246, 0.03);
}

.accordion-header h3 {
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.accordion-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--accent-blue);
    transition: var(--transition);
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    background: var(--accent-blue);
    color: white;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-body-inner {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.accordion-body-inner p {
    margin-bottom: 1rem;
}

/* --- Feature List --- */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--border-color);
    background: var(--bg-card-hover);
}

.feature-item .check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    font-size: 0.8rem;
}

.feature-item span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Inline Code --- */
code {
    background: rgba(59, 130, 246, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.85em;
    color: var(--accent-blue);
}

/* --- Info Box --- */
.info-box {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.info-box.tip {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.info-box.warning {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.info-box.info {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.info-box .icon {
    flex-shrink: 0;
    font-size: 1.2rem;
    margin-top: 2px;
}

.info-box .content h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.info-box .content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- Footer --- */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

/* --- Content Blocks --- */
.content-block {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.content-block h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: 3rem;
}

.content-block h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    margin-top: 2rem;
}

.content-block p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.content-block ul, .content-block ol {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.content-block li {
    margin-bottom: 0.5rem;
}

/* --- Category Tabs --- */
.category-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    justify-content: center;
}

.tab-btn {
    padding: 8px 20px;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: var(--font-main);
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--accent-blue);
}

/* --- Search Bar --- */
.search-container {
    max-width: 600px;
    margin: 0 auto 3rem;
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-main);
    transition: var(--transition);
    outline: none;
}

.search-container input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-container input::placeholder {
    color: var(--text-muted);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 50px;
        padding-right: 0;
    }

    .timeline-item::before {
        left: 12px !important;
        right: auto !important;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 100px 2rem 2rem;
        gap: 4px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border-subtle);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        width: 100%;
        padding: 12px 16px;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .step {
        flex-direction: column;
        gap: 16px;
    }

    .step-number {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* --- Debian Logo SVG Placeholder --- */
.debian-logo-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    position: relative;
}

.debian-logo-placeholder .hex {
    width: 100%;
    height: 100%;
    background: var(--gradient-debian);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    box-shadow: 0 0 40px rgba(215, 10, 83, 0.3);
}

/* --- Progress Indicator --- */
.progress-bar {
    position: fixed;
    top: 70px;
    left: 0;
    height: 2px;
    background: var(--gradient-primary);
    z-index: 999;
    transition: width 0.1s linear;
}

/* --- Version Tags --- */
.version-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

.version-tag.stable {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
}

.version-tag.testing {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-yellow);
}

.version-tag.unstable {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* --- Comparison Table --- */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.comparison-table th,
.comparison-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}

.comparison-table thead th {
    background: rgba(59, 130, 246, 0.08);
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table td {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.comparison-table tbody tr:hover td {
    background: rgba(59, 130, 246, 0.02);
}
