/* ==========================================================================
   TRUST5 — Premium Landing Page
   Following RODMENA brand language: "/" as signature element
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
    /* The RODMENA Palette */
    --black: #000000;
    --white: #ffffff;
    --dark: #0a0a0a;
    --darker: #050505;

    /* Signature Accent — Electric Violet */
    --accent: #8b5cf6;
    --accent-bright: #a78bfa;
    --accent-dim: rgba(139, 92, 246, 0.5);

    /* Secondary — Hot Pink */
    --pink: #ec4899;
    --pink-bright: #f472b6;

    /* Trust5 Quality — Emerald */
    --emerald: #10b981;
    --emerald-bright: #34d399;

    /* The Gradient */
    --gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-text: linear-gradient(135deg, #c4b5fd 0%, #f9a8d4 100%);
    --gradient-emerald: linear-gradient(135deg, #8b5cf6 0%, #10b981 100%);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.4);

    /* Borders */
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);

    /* Glass */
    --glass: rgba(10, 10, 10, 0.8);
    --glass-light: rgba(255, 255, 255, 0.03);

    /* Terminal */
    --terminal-bg: #0d1117;
    --terminal-header: #161b22;
    --terminal-border: #30363d;
    --terminal-green: #3fb950;
    --terminal-yellow: #d29922;
    --terminal-red: #f85149;
    --terminal-blue: #58a6ff;
    --terminal-purple: #bc8cff;

    --font: 'Inter', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
}

[data-theme="light"] {
    --black: #ffffff;
    --white: #000000;
    --dark: #fafafa;
    --darker: #f5f5f5;
    --text-primary: #0a0a0a;
    --text-secondary: rgba(0, 0, 0, 0.6);
    --text-muted: rgba(0, 0, 0, 0.4);
    --border: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.15);
    --glass: rgba(255, 255, 255, 0.9);
    --glass-light: rgba(0, 0, 0, 0.02);
    --terminal-bg: #f6f8fa;
    --terminal-header: #f0f2f4;
    --terminal-border: #d0d7de;
    --terminal-green: #1a7f37;
    --terminal-yellow: #9a6700;
    --terminal-red: #cf222e;
    --terminal-blue: #0969da;
    --terminal-purple: #8250df;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    background: var(--black);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

@media (max-width: 768px) {
    .container { padding: 0 24px; }
}

/* ==========================================================================
   THE SLASH — Signature Brand Element
   ========================================================================== */

.slash {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 200;
}

.slash-bg {
    position: absolute;
    font-family: var(--font);
    font-weight: 100;
    font-size: 80vw;
    line-height: 0.8;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.03) 0%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    padding: 16px 0;
    background: var(--glass);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary) !important;
    text-decoration: none;
    letter-spacing: -0.03em;
    display: flex;
    align-items: baseline;
}

.navbar-brand .slash {
    font-size: 32px;
    margin: 0 1px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 200;
}

.navbar-brand .brand-5 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        align-items: center;
    }

    .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 8px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .navbar-nav .nav-link {
        padding: 10px 20px !important;
        font-size: 14px;
        font-weight: 500;
        color: var(--text-secondary) !important;
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .navbar-nav .nav-link:hover {
        color: var(--text-primary) !important;
    }

    .navbar-nav .nav-link::after { display: none; }
}

.navbar-toggler {
    padding: 8px;
    background: var(--glass-light);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.6%29' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[data-theme="light"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280,0,0,0.6%29' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 24px;
        right: 24px;
        background: var(--dark);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 16px;
        margin-top: 8px;
    }

    .navbar-nav { flex-direction: column; }

    .navbar-nav .nav-link {
        padding: 14px 16px !important;
        color: var(--text-secondary) !important;
        border-radius: 8px;
    }

    .navbar-nav .nav-link::after { display: none; }
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    margin-left: 16px;
    transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
    border-color: var(--border-light);
    background: var(--border);
}

.dark-mode-toggle .toggle-icon {
    font-size: 18px;
    color: var(--text-secondary);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px 0 120px;
    overflow: hidden;
    background: var(--black);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background:
        radial-gradient(ellipse 50% 80% at 50% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 40% 60% at 70% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 40% 60% at 30% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    inset: 0;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-headline { margin-bottom: 32px; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-bright);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gradient);
}

.hero-title {
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.hero-title-line { display: block; overflow: hidden; }

.hero-title .slash { font-size: 1.1em; font-weight: 200; }

.hero-title-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-body {
    max-width: 560px;
    margin-top: 48px;
}

.hero-text {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Pip install banner */
.pip-install-banner {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    background: var(--terminal-bg);
    border: 1px solid var(--terminal-border);
    border-radius: 12px;
    margin-bottom: 32px;
    font-family: var(--mono);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.pip-install-banner:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
}

.pip-install-banner .prompt {
    color: var(--terminal-green);
}

.pip-install-banner .command {
    color: var(--text-primary);
}

.pip-install-banner .copy-icon {
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.2s ease;
}

.pip-install-banner:hover .copy-icon {
    color: var(--accent-bright);
}

.pip-install-banner .copied-tooltip {
    position: absolute;
    top: -36px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    background: var(--accent);
    color: white;
    border-radius: 6px;
    font-size: 12px;
    font-family: var(--font);
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.pip-install-banner .copied-tooltip.show {
    opacity: 1;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    position: absolute;
    top: 120px;
    right: 48px;
    width: 400px;
}

.hero-stat { text-align: right; }

.hero-stat-value {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.hero-stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 8px;
}

@media (max-width: 1024px) {
    .hero-stats {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        margin-top: 64px;
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section { padding: 140px 0 80px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .hero-stats { flex-direction: column; gap: 24px; }
    .pip-install-banner { font-size: 13px; padding: 12px 16px; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-custom {
    background: var(--gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    color: white;
}

.btn-primary-custom:hover::before { opacity: 1; }

.btn-outline-custom {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline-custom:hover {
    background: var(--glass-light);
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.btn-sm { padding: 12px 24px; font-size: 14px; }
.btn-lg { padding: 20px 40px; font-size: 16px; }

.btn-light {
    background: white;
    color: var(--darker);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
}

.section-dark { background: var(--darker); }

.section-header { margin-bottom: 80px; }

.section-header.center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-bright);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
}

.section-tag::before {
    content: '/';
    font-weight: 200;
    font-size: 18px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 500px;
}

.section-header.center .section-subtitle { margin: 0 auto; }

/* ==========================================================================
   FEATURES GRID
   ========================================================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
    position: relative;
    background: var(--glass-light);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 32px;
    right: 32px;
    height: 1px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-light);
    background: var(--border);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 14px;
    margin-bottom: 24px;
    font-size: 22px;
    color: white;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    padding: 6px 12px;
    background: var(--border);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

/* ==========================================================================
   PIPELINE SECTION
   ========================================================================== */

.pipeline-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 60px;
}

.pipeline-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    flex: 1;
    min-width: 140px;
    max-width: 200px;
}

.pipeline-stage-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-light);
    border: 2px solid var(--border);
    border-radius: 20px;
    font-size: 28px;
    margin-bottom: 16px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.pipeline-stage:hover .pipeline-stage-icon {
    background: var(--gradient);
    border-color: transparent;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.3);
    color: white;
}

.pipeline-stage-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.pipeline-stage-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.pipeline-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dim);
    font-size: 20px;
    flex-shrink: 0;
    margin: 0 -4px;
    margin-bottom: 40px;
    z-index: 1;
}

@media (max-width: 768px) {
    .pipeline-flow { flex-direction: column; gap: 8px; }
    .pipeline-arrow { transform: rotate(90deg); margin: -4px 0; }
    .pipeline-stage { max-width: 100%; flex-direction: row; text-align: left; gap: 16px; }
    .pipeline-stage-icon { margin-bottom: 0; flex-shrink: 0; }
}

/* Pipeline repair loop arrows */
.pipeline-loop {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
    gap: 16px;
}

.pipeline-loop-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--glass-light);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.pipeline-loop-badge i { color: var(--accent-bright); }

/* ==========================================================================
   QUALITY GATES — TRUST 5 Framework
   ========================================================================== */

.quality-pillars {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 60px;
}

@media (max-width: 1024px) { .quality-pillars { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .quality-pillars { grid-template-columns: 1fr; } }

.quality-pillar {
    position: relative;
    background: var(--glass-light);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.quality-pillar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.quality-pillar:hover {
    transform: translateY(-6px);
    border-color: var(--border-light);
}

.quality-pillar:hover::after { transform: scaleX(1); }

.quality-pillar-letter {
    font-size: 40px;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

.quality-pillar-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.quality-pillar-weight {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-bright);
    margin-bottom: 12px;
}

.quality-pillar-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Quality score bar */
.quality-score-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 60px;
    padding: 40px;
    background: var(--glass-light);
    border: 1px solid var(--border);
    border-radius: 20px;
}

.quality-score-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.quality-score-value {
    font-size: 56px;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.quality-score-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--emerald-bright);
}

@media (max-width: 768px) {
    .quality-score-bar { flex-direction: column; gap: 16px; text-align: center; }
}

/* ==========================================================================
   TERMINAL / INSTALL SECTION
   ========================================================================== */

.terminal-window {
    background: var(--terminal-bg);
    border: 1px solid var(--terminal-border);
    border-radius: 16px;
    overflow: hidden;
    font-family: var(--mono);
    font-size: 14px;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--terminal-header);
    border-bottom: 1px solid var(--terminal-border);
}

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

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

.terminal-title {
    flex: 1;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font);
}

.terminal-body {
    padding: 24px;
    line-height: 1.8;
    overflow-x: auto;
}

.terminal-line {
    white-space: pre;
    display: block;
}

.terminal-prompt { color: var(--terminal-green); }
.terminal-command { color: var(--text-primary); }
.terminal-comment { color: var(--text-muted); font-style: italic; }
.terminal-output { color: var(--text-secondary); }
.terminal-success { color: var(--terminal-green); }
.terminal-highlight { color: var(--terminal-purple); }
.terminal-flag { color: var(--terminal-yellow); }
.terminal-string { color: var(--terminal-blue); }

/* ==========================================================================
   LANGUAGES
   ========================================================================== */

.languages-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 40px;
}

.lang-badge {
    padding: 10px 20px;
    background: var(--glass-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: default;
}

.lang-badge:hover {
    border-color: var(--accent-dim);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.lang-badge.featured {
    border-color: var(--accent-dim);
    color: var(--accent-bright);
    background: rgba(139, 92, 246, 0.08);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

@media (max-width: 1024px) {
    .about-content { grid-template-columns: 1fr; gap: 60px; }
}

.about-text h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.about-text p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text p strong { color: var(--text-primary); }

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.about-stat-card {
    background: var(--glass-light);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.about-stat-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.about-stat-card h3 {
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.about-stat-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.company-card {
    background: var(--gradient);
    border-radius: 20px;
    padding: 36px;
    position: relative;
    overflow: hidden;
}

.company-card::before {
    content: '/';
    position: absolute;
    right: -30px;
    bottom: -60px;
    font-size: 250px;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
}

.company-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.company-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    line-height: 1.6;
    position: relative;
}

.company-card p:last-child { margin-bottom: 0; }
.company-card strong { color: white; }

.company-card .btn {
    margin-top: 16px;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */

.cta-banner {
    margin-top: 80px;
    padding: 56px;
    background: var(--gradient);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '/';
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 400px;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
}

.cta-banner h4 {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.cta-banner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

@media (max-width: 768px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: var(--darker);
    padding: 100px 0 48px;
    border-top: 1px solid var(--border);
    position: relative;
}

.footer::before {
    content: '/';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 600px;
    font-weight: 100;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.02) 0%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 48px;
    position: relative;
}

@media (max-width: 1024px) { .footer-content { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .footer-content { grid-template-columns: 1fr; text-align: center; } }

.footer-brand {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-brand .slash { font-size: 32px; }

.footer-brand .brand-5 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.footer-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 300px;
}

@media (max-width: 640px) {
    .footer-description { max-width: none; margin: 0 auto 24px; }
}

.social-links {
    display: flex;
    gap: 12px;
}

@media (max-width: 640px) { .social-links { justify-content: center; } }

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-3px);
}

.footer h5 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 14px; }

.footer-links a {
    font-size: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--text-primary); }

.footer-links li.text-muted-custom {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    position: relative;
}

.footer-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 8px;
}

.footer-bottom a:hover { color: var(--text-primary); }

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--darker); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* AOS */
[data-aos] { transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
