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

:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #ffffff;
    --accent-dim: rgba(255, 255, 255, 0.1);
    --border-color: rgba(255, 255, 255, 0.08);
    --glow-color: rgba(255, 255, 255, 0.15);
    --glow-color-rgb: 255, 255, 255;
    
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 4px; /* Req: 4px */
    font-family: var(--font-mono); /* Req: Monospace */
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Req: Smooth transition */
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    letter-spacing: -0.5px;
    z-index: 1;
}

/* Code Symbols Decoration (Hover) */
.btn:not(.btn-sm)::before {
    content: '{';
    margin-right: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
}

.btn:not(.btn-sm)::after {
    content: '}';
    margin-left: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
}

.btn:not(.btn-sm)::hover::before,
.btn:not(.btn-sm)::hover::after {
    opacity: 1;
    transform: translateX(0);
}

.btn:active {
    transform: scale(0.98);
}

/* Primary Button */
.btn-primary {
    background: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: #e6e6e6;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Secondary Button */
.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

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

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-primary);
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}
.btn-outline:hover {
    border-color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.btn-primary-sm {
    display: inline-block;
    background: var(--text-primary);
    color: var(--bg-color);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.btn-primary-sm:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}


/* Sections */
.section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 5rem;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.glow-title {
    position: relative;
    display: inline-block;
    animation: glowPulse 3s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Override gradient for glow titles to fix visibility issue */
.glow-title span.text-gradient {
    background: none !important;
    -webkit-text-fill-color: initial !important; 
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.1), 0 0 30px rgba(255, 255, 255, 0.05);
    }
    50% {
        text-shadow: 0 0 25px rgba(255, 255, 255, 0.3), 0 0 50px rgba(255, 255, 255, 0.15);
    }
}

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

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo .dot {
    color: var(--text-secondary); /* Minimalist dot */
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-link.btn-contact {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    color: var(--text-primary);
}
.nav-link.btn-contact:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn .bar {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80; /* Green success */
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.4);
}

.status-code-icon {
    font-family: var(--font-mono);
    color: var(--text-primary);
    opacity: 0.6;
    margin-left: 0.5rem;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

/* New Glow Effect for Hero Title */
.ez-glow-all {
    color: #fff;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 255, 255, 0.1);
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.3),
            0 0 20px rgba(255, 255, 255, 0.2),
            0 0 30px rgba(255, 255, 255, 0.1);
    }
    100% {
        text-shadow: 
            0 0 15px rgba(255, 255, 255, 0.5),
            0 0 30px rgba(255, 255, 255, 0.3),
            0 0 45px rgba(255, 255, 255, 0.2);
    }
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hacker-text {
    font-family: var(--font-mono);
    color: #27c93f;
    font-weight: 700;
    position: relative;
    width: 0;
    max-width: fit-content;
    overflow: hidden;
    white-space: nowrap;
    border-right: 0.15em solid #27c93f;
    animation: 
        typing 2s steps(12, end) 1s forwards,
        blink-c 0.75s step-end infinite;
    display: inline-block;
    vertical-align: bottom;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Combine opacity fade-in with typing */
@keyframes typing {
    0% { width: 0; opacity: 1; }
    1% { opacity: 1; }
    100% { width: 11ch; opacity: 1; }
}

@keyframes blink-c {
    from, to { border-color: transparent }
    50% { border-color: #27c93f }
}

@media (max-width: 768px) {
    .hero-tagline {
        font-size: 1.1rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
}

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

/* Background Effects */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MDAiIGhlaWdodD0iNTAwIj48ZmlsdGVyIGlkPSJub2lzZSI+PHZlZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC42NSIgbnVtT2N0YXZZcz0iMyIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNub2lzZSkiIG9wYWNpdHk9IjAuMDMiLz48L3N2Zz4=');
    pointer-events: none;
    z-index: 999;
    opacity: 0.5;
}

.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(1px 1px at 20px 30px, #eee, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 50px 160px, #ddd, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 90px 40px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 130px 80px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 160px 120px, #ddd, rgba(0,0,0,0));
    background-size: 200px 200px;
    z-index: -1;
    opacity: 0.3;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.product-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.product-features li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--text-primary);
    opacity: 0.5;
}

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

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.team-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.member-avatar {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.member-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.member-role {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-family: var(--font-mono);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.member-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.member-socials {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

/* Contact Section (Root Style) */
.contact-section {
    padding-bottom: 4rem;
}

.root-interface {
    background: #0d0d0d;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.root-header {
    background: #1a1a1a;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.root-controls {
    display: flex;
    gap: 8px;
    margin-right: 1.5rem;
}

.root-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.root-dot.close { background: #ff5f56; }
.root-dot.minimize { background: #ffbd2e; }
.root-dot.maximize { background: #27c93f; }

.root-path {
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.root-content {
    padding: 2rem;
}

.cmd-line {
    font-family: var(--font-mono);
    margin-bottom: 2rem;
    font-size: 1rem;
}
.prompt { color: #27c93f; margin-right: 0.5rem; }
.cmd { color: #fff; }

.connections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.connection-node {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.connection-node:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.connection-node.primary {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
}

.node-icon {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.connection-node:hover .node-icon {
    color: #fff;
}

.node-data {
    margin-bottom: 1rem;
}

.node-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.node-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.node-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #27c93f;
    opacity: 0.7;
}

.status-indicator {
    width: 6px;
    height: 6px;
    background: #27c93f;
    border-radius: 50%;
    box-shadow: 0 0 5px #27c93f;
}

/* Copied Feedback */
.cl-copy.copied {
    border-color: #27c93f;
}
.cl-copy.copied .node-status {
    opacity: 1;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0;
    background: #020202;
}

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

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

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

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shine {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: #020204;
        flex-direction: column;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links.active {
        transform: translateX(0);
    }

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

    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* Modal */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: #0a0a0a;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-backdrop.active .modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #fff;
}

/* Terminal / Philosophy Styles */
.terminal-monitor {
    max-width: 900px;
    margin: 0 auto;
    background: #0c0c0c;
    border: 1px solid #333;
    border-radius: 6px;
    overflow: hidden;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 0 40px rgba(0,0,0,0.3);
}

.terminal-header {
    background: #1c1c1c;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}
.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-title {
    color: #888;
    font-size: 0.8rem;
    margin-left: 10px;
}

.terminal-body {
    padding: 20px;
    color: #ddd;
    font-size: 0.9rem;
}

.status-row { margin-bottom: 15px; }
.output { color: #aaa; margin-top: 5px; }

.stats-grid-terminal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.stat-item-term {
    display: flex;
    flex-direction: column;
}

.stat-label {
    color: #555;
    font-size: 0.75rem;
    margin-bottom: 5px;
}

.stat-bar-container {
    height: 4px;
    background: #222;
    width: 100%;
    margin-bottom: 5px;
    position: relative;
}

.stat-bar-fill {
    height: 100%;
    background: #fff;
}

.stat-bar-fill.success { background: #27c93f; }

.stat-val {
    font-size: 1.2rem;
    font-weight: bold;
}
.stat-val.success-text { color: #27c93f; }

.json-output {
    color: #a5d6ff;
    margin-top: 10px;
}
.key { color: #7ee787; }
.val { color: #a5d6ff; }
.indent-1 { margin-left: 20px; }

/* Modal Tabs */
.modal-tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.modal-tab {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.modal-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.modal-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

/* Code Blocks in Modal */
.code-block {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #e6e6e6;
    overflow-x: auto;
    margin: 1rem 0;
    position: relative;
}

.code-block::before {
    content: attr(data-lang);
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    font-size: 0.7rem;
    border-bottom-left-radius: 6px;
    color: var(--text-secondary);
}

.code-line {
    display: block;
    line-height: 1.5;
}

.code-comment { color: #6a9955; }
.code-keyword { color: #569cd6; }
.code-string { color: #ce9178; }
.code-function { color: #dcdcaa; }

/* 
   --------------------------------------------------------------
   DYNAMIC SECTIONS STYLES (Clean Code & About)
   --------------------------------------------------------------
*/

/* About / Profile Dynamic Section */
.profile-header {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-logo {
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: 1rem;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.profile-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 1.5rem;
    text-align: center;
    line-height: 1.8;
}

.company-stats-mini {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.mini-stat {
    text-align: center;
    position: relative;
}

.mini-stat::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.1);
}

.mini-stat:last-child::after {
    display: none;
}

.ms-val {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.ms-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-icon {
    margin-right: 0.5rem;
}

/* Clean Code / Architecture Dynamic Section */
.code-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
    opacity: 0.8;
    font-family: var(--font-mono);
}

.feature-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Code Window */
.code-window {
    background: #0d0d0d;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.window-header {
    background: #1a1a1a;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.window-controls {
    display: flex;
    gap: 8px;
    margin-right: 1rem;
}

.control {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.control.close { background: #ff5f56; }
.control.minimize { background: #ffbd2e; }
.control.maximize { background: #27c93f; }

.window-title {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-left: auto;
    margin-right: auto;
}

.window-content {
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #d4d4d4;
    overflow-x: auto;
}

.line {
    white-space: pre;
}

/* Syntax Highlighting for Dynamic Code */
.kwd { color: #569cd6; } /* keyword */
.cls { color: #4ec9b0; } /* class */
.mtd { color: #dcdcaa; } /* method */
.str { color: #ce9178; } /* string */
.com { color: #6a9955; } /* comment */
.type { color: #4ec9b0; } /* type */

.glow-box {
    animation: glowPulse 4s infinite;
}

/* Fix for Dynamic Titles (Glow & Gradient) */
.glow-title-about, .glow-title-cleancode {
    position: relative;
    display: inline-block;
    animation: glowPulse 3s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.glow-title-about span.text-gradient, 
.glow-title-cleancode span.text-gradient {
    background: none !important;
    -webkit-text-fill-color: initial !important; 
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .mini-stat::after { display: none; }
    .company-stats-mini { gap: 1.5rem; }
    
    .profile-logo { font-size: 2rem; }
    
    .code-features {
        grid-template-columns: 1fr;
    }
}

/* --- SSH Animation Styles --- */
.ssh-line {
    margin-bottom: 4px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 1.5em;
}

.ssh-cursor {
    display: inline-block;
    width: 8px;
    height: 1.2em;
    background-color: var(--text-primary);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

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

.ssh-progress-container {
    width: 100%;
    max-width: 400px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    margin: 8px 0;
    position: relative;
    overflow: hidden;
}

.ssh-progress-bar {
    height: 100%;
    background: #4ade80;
    width: 0%;
    transition: width 0.2s ease-out;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

.ssh-summary-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px dashed var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.ssh-summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.ssh-text-success { color: #4ade80; }
.ssh-text-error { color: #ef4444; }
.ssh-text-warn { color: #f59e0b; }
.ssh-text-info { color: #3b82f6; }
.ssh-text-dim { color: var(--text-secondary); }
.ssh-text-highlight { color: var(--text-primary); font-weight: bold; }

/* Responsive adjustments for terminal */
@media (max-width: 600px) {
    .ssh-summary-table {
        grid-template-columns: 1fr;
    }
}

/* --- Key Metrics Section Styles --- */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

/* Tooltip */
.metric-card[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 90%;
    z-index: 10;
}

.metric-card:hover[data-tooltip]::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.metric-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 2. Bar Chart Animation */
.metric-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 60px;
    margin-bottom: 1rem;
}

.chart-bar {
    width: 12px;
    background: var(--accent);
    border-radius: 2px 2px 0 0;
    height: 0; /* Start at 0 for animation */
    opacity: 0.7;
    transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-card.active .chart-bar {
    height: var(--height);
}

/* 3. Circular Gauge */
.circular-chart {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    position: relative;
}

.circular-chart-svg {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 100%;
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 2.5;
}

.circle {
    fill: none;
    stroke: var(--success);
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: stroke-dasharray 1.5s ease-out;
}

.percentage {
    fill: #fff;
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: 0.5em;
    text-anchor: middle;
}

/* 4. Live Indicator */
.live-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(220, 38, 38, 0.2);
    color: #ef4444;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-bottom: 1rem;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulseRed 1.5s infinite;
}

@keyframes pulseRed {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

