/* ============================================
   XGR Solutions - Terminal Homebrew Theme
   ============================================ */

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

:root {
    /* Homebrew Terminal Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #0d1117;
    --bg-card: #161b22;
    --bg-hover: #1c2128;
    --green-bright: #3fb950;
    --green-default: #238636;
    --green-dim: #196c2e;
    --green-glow: rgba(63, 185, 80, 0.4);
    --yellow: #d29922;
    --yellow-bright: #e3b341;
    --red: #f85149;
    --blue: #58a6ff;
    --purple: #a371f7;
    --cyan: #56d4dd;
    --white: #c9d1d9;
    --white-bright: #f0f6fc;
    --gray: #8b949e;
    --gray-dim: #484f58;
    --border: #30363d;
    
    /* Terminal specific */
    --cursor-color: #3fb950;
    --selection-bg: rgba(63, 185, 80, 0.3);
    --scanline-opacity: 0.03;
}

::selection {
    background: var(--selection-bg);
    color: var(--white-bright);
}

body {
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    line-height: 1.6;
    color: var(--white);
    background: var(--bg-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

/* CRT Scanline Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, var(--scanline-opacity)),
        rgba(0, 0, 0, var(--scanline-opacity)) 1px,
        transparent 1px,
        transparent 2px
    );
    z-index: 10000;
}

/* CRT Vignette Effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 9999;
}

/* ============================================
   Animations
   ============================================ */

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes glow {
    0%, 100% { 
        text-shadow: 0 0 5px var(--green-glow), 0 0 10px var(--green-glow);
    }
    50% { 
        text-shadow: 0 0 10px var(--green-glow), 0 0 20px var(--green-glow), 0 0 30px var(--green-glow);
    }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes matrixRain {
    0% { transform: translateY(-100%); opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   Cursor
   ============================================ */

.cursor {
    display: inline-block;
    width: 10px;
    height: 1.2em;
    background: var(--cursor-color);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 2px;
    box-shadow: 0 0 10px var(--green-glow);
}

/* ============================================
   Navigation
   ============================================ */

nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Logo image version */
.logo-img {
    height: 70px;
    width: auto;
    max-width: 200px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px var(--green-glow));
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 15px var(--green-glow));
    transform: scale(1.05);
}

/* Logo text version (fallback) */
.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-bright);
    text-shadow: 0 0 10px var(--green-glow);
}

.logo-text::before {
    content: '~$ ';
    color: var(--gray);
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-links a::before {
    content: './';
    color: var(--gray-dim);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav-links a:hover::before {
    opacity: 1;
}

.nav-links a:hover {
    color: var(--green-bright);
    background: var(--bg-hover);
}

.nav-links a.active {
    color: var(--green-bright);
    background: var(--bg-hover);
}

.cta-button {
    background: var(--green-default) !important;
    color: var(--white-bright) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    border: 1px solid var(--green-bright);
    box-shadow: 0 0 10px var(--green-glow);
}

.cta-button::before {
    content: '▶ ' !important;
    color: var(--white-bright);
    opacity: 1 !important;
}

.cta-button:hover {
    background: var(--green-bright) !important;
    box-shadow: 0 0 20px var(--green-glow);
}

/* ============================================
   Terminal Window Component
   ============================================ */

.terminal-window {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    background: var(--bg-secondary);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-btn.red { background: var(--red); }
.terminal-btn.yellow { background: var(--yellow); }
.terminal-btn.green { background: var(--green-bright); }

.terminal-title {
    flex: 1;
    text-align: center;
    color: var(--gray);
    font-size: 0.85rem;
}

.terminal-body {
    padding: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.8;
}

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

.prompt {
    color: var(--green-bright);
    margin-right: 0.5rem;
    text-shadow: 0 0 5px var(--green-glow);
}

.command {
    color: var(--white-bright);
}

.output {
    color: var(--gray);
    padding-left: 0;
    margin-top: 0.25rem;
}

.output.success { color: var(--green-bright); }
.output.warning { color: var(--yellow-bright); }
.output.error { color: var(--red); }
.output.info { color: var(--blue); }

/* ============================================
   Buttons
   ============================================ */

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--green-default);
    color: var(--white-bright);
    border-color: var(--green-bright);
    box-shadow: 0 0 15px var(--green-glow);
}

.btn-primary:hover {
    background: var(--green-bright);
    box-shadow: 0 0 25px var(--green-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--green-bright);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--green-bright);
    background: var(--bg-hover);
}

.btn-danger {
    background: transparent;
    color: var(--red);
    border-color: var(--red);
}

.btn-danger:hover {
    background: var(--red);
    color: var(--white-bright);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.05;
    pointer-events: none;
}

.matrix-column {
    position: absolute;
    top: -100%;
    font-size: 14px;
    color: var(--green-bright);
    writing-mode: vertical-lr;
    animation: matrixRain 10s linear infinite;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInTerminal 0.8s ease;
}

.hero-ascii {
    font-size: 0.6rem;
    line-height: 1.2;
    color: var(--green-bright);
    margin-bottom: 2rem;
    text-shadow: 0 0 10px var(--green-glow);
    white-space: pre;
    opacity: 0.8;
}

.hero-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--white-bright);
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-title .highlight {
    color: var(--green-bright);
    text-shadow: 0 0 10px var(--green-glow);
    animation: glow 2s ease-in-out infinite;
}

.hero-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-subtitle::before {
    content: '// ';
    color: var(--gray-dim);
}

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

.hero-visual {
    animation: fadeInTerminal 1s ease 0.3s both;
}

/* ============================================
   Section Headers
   ============================================ */

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-bright);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--green-glow);
}

.section-header h2::before {
    content: '## ';
    color: var(--gray-dim);
}

.section-header p {
    color: var(--gray);
    font-size: 1rem;
}

.section-header p::before {
    content: '# ';
    color: var(--gray-dim);
}

/* Page Title (for inner pages) */
.page-title {
    padding: 4rem 2rem 2rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    margin-top: 56px;
    text-align: center;
}

.page-title h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--green-bright);
    text-shadow: 0 0 10px var(--green-glow);
    max-width: 800px;
    margin: 0 auto;
    display: inline-block;
}

.page-title h1::before {
    content: '$ ';
    color: var(--gray);
}

/* ============================================
   Services Section
   ============================================ */

.services {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
    position: relative;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--green-bright);
    transition: height 0.3s ease;
    box-shadow: 0 0 10px var(--green-glow);
}

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

.service-card:hover::before {
    height: 100%;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    border-color: var(--green-bright);
    box-shadow: 0 0 15px var(--green-glow);
}

.service-card h3 {
    font-size: 1.1rem;
    color: var(--white-bright);
    font-weight: 600;
}

.service-card h3::before {
    content: '>';
    color: var(--green-bright);
    margin-right: 0.5rem;
}

.service-card > p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--border);
}

.service-features {
    list-style: none;
    font-size: 0.85rem;
}

.service-features li {
    padding: 0.3rem 0;
    color: var(--gray);
    display: flex;
    align-items: center;
}

.service-features li::before {
    content: '✓';
    color: var(--green-bright);
    margin-right: 0.75rem;
    font-weight: bold;
}

/* ============================================
   About Section
   ============================================ */

.about {
    padding: 6rem 2rem;
    background: var(--bg-primary);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-text p::before {
    content: '>';
    color: var(--green-dim);
    margin-right: 0.5rem;
}

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

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-card:hover {
    border-color: var(--green-dim);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: grayscale(0.3);
}

.skill-card:hover .skill-icon {
    filter: grayscale(0);
}

.skill-card h3 {
    color: var(--green-bright);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.skill-card p {
    color: var(--gray);
    font-size: 0.85rem;
}

/* ============================================
   Stats Section
   ============================================ */

.stats {
    padding: 4rem 2rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--green-bright);
    text-shadow: 0 0 20px var(--green-glow);
    animation: glow 3s ease-in-out infinite;
}

.stat-label {
    color: var(--gray);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.stat-label::before {
    content: '// ';
    color: var(--gray-dim);
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--green-dim);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(63, 185, 80, 0.1);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-card strong {
    display: block;
    color: var(--white-bright);
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--green-bright);
    text-decoration: none;
    transition: all 0.2s ease;
}

.contact-card a:hover {
    text-shadow: 0 0 10px var(--green-glow);
}

/* ============================================
   Cards (Generic)
   ============================================ */

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--green-dim);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.card-title {
    color: var(--white-bright);
    font-size: 1.1rem;
    font-weight: 600;
}

.card-title::before {
    content: '>';
    color: var(--green-bright);
    margin-right: 0.5rem;
}

.card-body {
    color: var(--gray);
}

/* ============================================
   Forms
   ============================================ */

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: var(--gray);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-label::before {
    content: '# ';
    color: var(--gray-dim);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--green-bright);
    box-shadow: 0 0 10px var(--green-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-dim);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    cursor: pointer;
}

/* ============================================
   Tables
   ============================================ */

.table-container {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

thead {
    background: var(--bg-secondary);
}

th {
    padding: 1rem;
    text-align: left;
    color: var(--green-bright);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

td {
    padding: 1rem;
    color: var(--gray);
    border-bottom: 1px solid var(--border);
}

tr:hover td {
    background: var(--bg-hover);
}

tr:last-child td {
    border-bottom: none;
}

/* ============================================
   Badges & Tags
   ============================================ */

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-success {
    background: rgba(63, 185, 80, 0.2);
    color: var(--green-bright);
    border: 1px solid var(--green-dim);
}

.badge-warning {
    background: rgba(210, 153, 34, 0.2);
    color: var(--yellow-bright);
    border: 1px solid var(--yellow);
}

.badge-error {
    background: rgba(248, 81, 73, 0.2);
    color: var(--red);
    border: 1px solid var(--red);
}

.badge-info {
    background: rgba(88, 166, 255, 0.2);
    color: var(--blue);
    border: 1px solid var(--blue);
}

/* ============================================
   Alerts
   ============================================ */

.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 3px solid;
}

.alert-success {
    background: rgba(63, 185, 80, 0.1);
    border-color: var(--green-bright);
    color: var(--green-bright);
}

.alert-warning {
    background: rgba(210, 153, 34, 0.1);
    border-color: var(--yellow);
    color: var(--yellow-bright);
}

.alert-error {
    background: rgba(248, 81, 73, 0.1);
    border-color: var(--red);
    color: var(--red);
}

.alert-info {
    background: rgba(88, 166, 255, 0.1);
    border-color: var(--blue);
    color: var(--blue);
}

/* ============================================
   Tools Grid (for outils.html)
   ============================================ */

.tools-section {
    padding: 4rem 2rem;
    background: var(--bg-primary);
    min-height: calc(100vh - 56px);
}

.tools-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--green-bright);
    transition: height 0.3s ease;
    box-shadow: 0 0 10px var(--green-glow);
}

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

.tool-card:hover::before {
    height: 100%;
}

.tool-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.tool-card h3 {
    color: var(--white-bright);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.tool-card h3::before {
    content: '>';
    color: var(--green-bright);
    margin-right: 0.5rem;
}

.tool-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ============================================
   Footer
   ============================================ */

footer {
    background: var(--bg-primary);
    padding: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-content {
    color: var(--gray-dim);
    font-size: 0.85rem;
}

.footer-content::before {
    content: '/* ';
}

.footer-content::after {
    content: ' */';
}

/* ============================================
   Mobile Menu
   ============================================ */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: var(--green-bright);
    margin: 2px 0;
    transition: 0.3s;
}

/* ============================================
   Utilities
   ============================================ */

.text-green { color: var(--green-bright); }
.text-yellow { color: var(--yellow-bright); }
.text-red { color: var(--red); }
.text-blue { color: var(--blue); }
.text-gray { color: var(--gray); }
.text-white { color: var(--white-bright); }

.bg-primary { background: var(--bg-primary); }
.bg-secondary { background: var(--bg-secondary); }
.bg-card { background: var(--bg-card); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none; }
.flex { display: flex; }
.grid { display: grid; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.w-full { width: 100%; }
.max-w-800 { max-width: 800px; }
.max-w-1000 { max-width: 1000px; }
.max-w-1200 { max-width: 1200px; }
.max-w-1400 { max-width: 1400px; }

.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 56px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 56px);
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: 0.3s;
        border-right: 1px solid var(--border);
    }

    .nav-links.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-ascii {
        font-size: 0.35rem;
    }

    .hero-visual {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-ascii {
        display: none;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .nav-container {
        padding: 0.75rem 1rem;
    }
}

/* ============================================
   Scrollbar
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--green-dim);
}

/* ============================================
   Code blocks
   ============================================ */

code {
    background: var(--bg-secondary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--green-bright);
}

pre {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
}

pre code {
    background: none;
    padding: 0;
}
