/* The Arch Handbook Design System */

:root {
    /* Core Palette - Modern Dark Theme (Zinc/Slate inspired) */
    --bg-deep: #050507;
    --bg-surface: #0e0e12;
    --bg-surface-2: #18181b;

    /* Arch Brand Colors (Modernized) */
    --arch-blue: #1793d1;
    --arch-cyan: #00f0ff;
    /* Cyberpunk twist */
    --arch-purple: #bd93f9;
    /* Dracular/Cyber vibe */

    /* Functional Colors */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #52525b;
    --border-dim: rgba(255, 255, 255, 0.08);
    --border-bright: rgba(255, 255, 255, 0.15);

    /* Glows */
    --glow-primary: 0 0 20px rgba(23, 147, 209, 0.3);
    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.2);

    /* Fonts */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Modern Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    font-feature-settings: "ss01", "ss02", "cv01", "cv02";
    -webkit-font-smoothing: antialiased;
}

/* Selection Style */
::selection {
    background: var(--arch-blue);
    color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-surface-2);
    border: 2px solid var(--bg-deep);
    border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

a {
    color: var(--arch-cyan);
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Background Effects */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    pointer-events: none;
}

/* Gradient Orbs */
.background-grid::before,
.background-grid::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: orb-float 20s infinite alternate ease-in-out;
}

.background-grid::before {
    background: var(--arch-blue);
    top: -100px;
    left: -100px;
}

.background-grid::after {
    background: var(--arch-purple);
    bottom: -100px;
    right: -100px;
    animation-delay: -10s;
}

@keyframes orb-float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(100px, 50px);
    }
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* Header & Nav */
header {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-dim);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.logo .terminal-prompt {
    font-family: var(--font-mono);
    color: var(--arch-cyan);
    font-weight: 700;
}

.neon-text {
    color: var(--arch-blue);
    text-shadow: 0 0 15px rgba(23, 147, 209, 0.5);
}

.neon-text-pulse {
    color: var(--arch-cyan);
    animation: pulse-glow 2s infinite ease-in-out;
}

/* Arch Linux ASCII Logo - Neofetch Style */
.arch-logo {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    line-height: 1.1;
    color: #1793d1 !important;
    white-space: pre;
    margin: 0;
    text-shadow: 0 0 10px rgba(23, 147, 209, 0.4);
}

.arch-logo .arch-blue,
.arch-blue,
.ascii-art .arch-logo span {
    color: #1793d1 !important;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    }

    50% {
        opacity: 0.7;
        text-shadow: 0 0 5px rgba(0, 240, 255, 0.2);
    }
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
}

nav a .terminal-prompt {
    color: var(--arch-cyan);
    opacity: 0;
    transition: opacity 0.2s;
}

nav a:hover,
nav a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

nav a:hover .terminal-prompt,
nav a.active .terminal-prompt {
    opacity: 1;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
}

/* Modern Terminal Window */
.terminal-window {
    width: 100%;
    max-width: 900px;
    background: rgba(10, 10, 12, 0.85);
    border: 1px solid var(--border-bright);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    margin-bottom: 3rem;
    overflow: hidden;
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.5s ease;
}

.terminal-window:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.02);
}

.terminal-header {
    background: linear-gradient(to right, #1a1a1e, #131316);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-dim);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: transform 0.2s;
}

.terminal-button.close {
    background: #ff5f56;
}

.terminal-button.minimize {
    background: #ffbd2e;
}

.terminal-button.maximize {
    background: #27c93f;
}

.terminal-buttons:hover .terminal-button {
    transform: scale(1.1);
}

.terminal-title {
    flex: 1;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.terminal-content {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-primary);
    min-height: 300px;
    text-align: left;
}

.terminal-line {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.terminal-prompt {
    color: var(--arch-purple);
}

/* Mini Terminal / Snippets */
.terminal-snippet {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-dim);
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    overflow-x: auto;
}

.terminal-snippet .terminal-line {
    margin-bottom: 0.25rem;
    color: #e4e4e7;
    white-space: nowrap;
}

.terminal-snippet .terminal-prompt {
    color: var(--arch-cyan);
    margin-right: 8px;
    user-select: none;
}

/* ASCII Art Refinement */
.ascii-art {
    color: var(--arch-blue);
    font-size: 0.8rem;
    line-height: 1.2;
    margin: 1.5rem 0;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

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

.system-info span {
    color: var(--arch-cyan);
}

/* Intro & Features */
.intro h1 {
    margin-bottom: 1rem;
    background: linear-gradient(to right, white, var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Unified Grid System for various card sections */
.features,
.meme-grid,
.profile-grid,
.lifestyle-section,
.geek-grid,
.showcase-grid,
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* Unified Card Style */
.feature-card,
.meme-item,
.profile-item,
.lifestyle-item,
.geek-item,
.showcase-item,
.tool-card,
.custom-card,
.step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-dim);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card:hover,
.meme-item:hover,
.profile-item:hover,
.lifestyle-item:hover,
.geek-item:hover,
.showcase-item:hover,
.tool-card:hover,
.custom-card:hover,
.step-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
    border-color: var(--border-bright);
    box-shadow: var(--glow-primary);
}

/* Icons */
.feature-icon,
.meme-icon,
.profile-icon,
.geek-icon,
.tool-icon,
.info-icon {
    font-size: 2rem;
    color: var(--arch-blue);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(23, 147, 209, 0.1);
    border-radius: 12px;
}

/* Specific Updates */
.step-card {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--arch-blue);
    opacity: 0.5;
    min-width: 80px;
}

.step-content {
    flex: 1;
}

.info-box {
    background: rgba(0, 240, 255, 0.05);
    /* Cyan tint */
    border: 1px dashed var(--arch-cyan);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-box .info-icon {
    background: transparent;
    padding: 0;
    color: var(--arch-cyan);
    font-size: 1.5rem;
    margin: 0;
}

/* Quote Section */
.quote-section {
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

blockquote {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

blockquote footer {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 2rem;
    -webkit-text-fill-color: initial;
    opacity: 0.7;
}

/* CTA Buttons Modernized */
.cta-section {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(to bottom, transparent, rgba(23, 147, 209, 0.05));
    border-radius: 20px;
    border: 1px solid var(--border-dim);
    margin: 4rem 0;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cyber-button {
    background: transparent;
    border: 1px solid var(--border-bright);
    color: var(--text-primary);
    padding: 0.75rem 2rem;
    font-family: var(--font-mono);
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.cyber-button:hover {
    background: var(--arch-blue);
    border-color: var(--arch-blue);
    box-shadow: 0 0 30px rgba(23, 147, 209, 0.4);
    transform: translateY(-2px);
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.cyber-list {
    list-style: none;
    margin-left: 0;
}

.cyber-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.cyber-list li::before {
    content: '>';
    color: var(--arch-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-weight: 600;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-dim);
    padding: 4rem 0 2rem;
    background: linear-gradient(to bottom, var(--bg-deep), #000);
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

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

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--arch-cyan);
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-dim);
}

/* ================================
   MODE TOGGLE (Beginner/Power User)
   ================================ */
.mode-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-surface-2);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.mode-toggle-label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.mode-toggle-label.active {
    color: var(--arch-cyan);
}

.mode-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--bg-surface);
    border: 1px solid var(--border-dim);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mode-toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: var(--arch-blue);
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px rgba(23, 147, 209, 0.5);
}

.mode-toggle.power-mode::after {
    transform: translateX(30px);
    background: var(--arch-cyan);
}

/* Content visibility based on mode */
body.power-mode .beginner-content {
    display: none !important;
}

body:not(.power-mode) .power-content {
    display: none !important;
}

/* ================================
   COLLAPSIBLE STEP CARDS
   ================================ */
.step-card.collapsible {
    cursor: pointer;
}

.step-card.collapsible .step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.step-card.collapsible .step-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-card.collapsible .step-summary {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.step-card.collapsible .expand-icon {
    font-size: 1.2rem;
    color: var(--arch-cyan);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.step-card.collapsible.expanded .expand-icon {
    transform: rotate(180deg);
}

.step-card.collapsible .step-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding-top: 0;
}

.step-card.collapsible.expanded .step-details {
    max-height: 2000px;
    padding-top: 1rem;
    border-top: 1px solid var(--border-dim);
    margin-top: 1rem;
}

/* Compact mode for power users */
body.power-mode .step-card {
    padding: 1rem 1.5rem;
}

body.power-mode .step-card .step-number {
    font-size: 1.5rem;
    min-width: 40px;
}

body.power-mode h3 {
    font-size: 1rem;
}

body.power-mode .terminal-snippet {
    margin: 0.5rem 0;
    padding: 0.75rem;
}

body.power-mode .info-box {
    padding: 0.75rem;
    margin: 0.5rem 0;
}

body.power-mode .cyber-list li {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

/* Utilities */
.typing-effect {
    border-right: 2px solid var(--arch-cyan);
    padding-right: 2px;
    animation: blink-cursor 0.75s step-end infinite;
}

@keyframes blink-cursor {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--arch-cyan)
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--border-dim);
    color: var(--text-primary);
    font-size: 1.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--arch-cyan);
}

/* Page Header Styling */
.page-header {
    text-align: center;
    padding: 2rem 0 3rem;
}

.page-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Info Box Variants */
.info-box.warning {
    background: rgba(255, 100, 100, 0.08);
    border-color: #ff6b6b;
}

.info-box.warning .info-icon {
    color: #ff6b6b;
}

/* Pre/Code Styling */
pre {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

code {
    font-family: var(--font-mono);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--arch-cyan);
}

/* Ordered List Styling */
ol.cyber-list {
    counter-reset: cyber-counter;
}

ol.cyber-list li {
    counter-increment: cyber-counter;
}

ol.cyber-list li::before {
    content: counter(cyber-counter) ".";
}

/* Terminal Snippet with Copy Button */
.terminal-snippet {
    position: relative;
}

.copy-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-dim);
    color: var(--text-secondary);
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-mono);
}

.copy-btn:hover {
    background: var(--arch-blue);
    color: white;
    border-color: var(--arch-blue);
}

.copy-btn.copied {
    background: #27c93f;
    color: white;
    border-color: #27c93f;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-surface-2);
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--arch-cyan);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
    font-family: var(--font-mono);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ================================
   TABLET BREAKPOINT (max 768px)
   ================================ */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        height: auto;
        padding: 1rem;
        gap: 1rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav.active {
        max-height: 300px;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        padding-top: 1rem;
    }

    nav a {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .hero {
        min-height: auto;
        padding: 1rem 0;
    }

    .ascii-art {
        flex-direction: column;
        align-items: flex-start;
        font-size: 0.55rem;
        gap: 1rem;
    }

    .terminal-window {
        margin: 0;
        transform: none;
    }

    .terminal-window:hover {
        transform: none;
    }

    .terminal-content {
        padding: 1rem;
        font-size: 0.9rem;
        min-height: auto;
    }

    .two-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .step-number {
        font-size: 2rem;
        min-width: auto;
        opacity: 0.8;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .features,
    .meme-grid,
    .profile-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cyber-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ================================
   MOBILE BREAKPOINT (max 576px)
   ================================ */
@media (max-width: 576px) {
    .container {
        padding: 0 1.25rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .page-header {
        padding: 1.5rem 0 2.5rem;
    }

    .page-header p {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    /* Improved Typography for Readability */
    p {
        line-height: 1.75;
        margin-bottom: 1.5rem;
        font-size: 1rem;
    }

    .terminal-snippet {
        padding: 1rem;
        padding-right: 3rem;
        /* Space for copy button */
        font-size: 0.85rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 1.5rem 0;
        /* Add breathing room around code */
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .terminal-snippet .terminal-line {
        white-space: nowrap;
        padding-right: 0.5rem;
        margin-bottom: 0.5rem;
        /* More space between lines of code */
    }

    /* Touch-friendly targets */
    .terminal-snippet {
        min-height: 48px;
    }

    .copy-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    .info-box {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
        padding: 1.5rem;
        /* More internal padding */
        margin: 2rem 0;
        /* Separate from surrounding text */
    }

    .info-box .info-icon {
        font-size: 2.2rem;
    }

    pre {
        font-size: 0.8rem;
        padding: 1rem;
        line-height: 1.6;
    }

    .step-card {
        padding: 1.5rem;
        /* Increased padding */
        gap: 1.25rem;
    }

    .feature-card,
    .meme-item,
    .custom-card {
        padding: 1.5rem;
    }

    .cyber-list li {
        font-size: 1rem;
        margin-bottom: 1rem;
        /* Much more space between list items */
        padding-left: 1.75rem;
        line-height: 1.6;
    }

    h1 {
        font-size: 1.85rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-top: 2.5rem;
        margin-bottom: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
        line-height: 1.4;
    }

    blockquote {
        font-size: 1.5rem;
    }

    .quote-section {
        padding: 4rem 0;
    }

    .cta-section {
        padding: 3rem 1.5rem;
        margin: 3rem 0;
    }
}

/* ================================
   TINY MOBILE (max 320px)
   ================================ */
@media (max-width: 320px) {
    .logo {
        font-size: 1rem;
    }

    .terminal-snippet {
        font-size: 0.7rem;
    }

    .step-number {
        font-size: 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }
}

/* ================================
   SCROLLBAR FOR MOBILE CODE BLOCKS
   ================================ */
@media (max-width: 768px) {
    .terminal-snippet::-webkit-scrollbar {
        height: 6px;
    }

    .terminal-snippet::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 3px;
    }

    .terminal-snippet::-webkit-scrollbar-thumb {
        background: var(--arch-blue);
        border-radius: 3px;
    }
}