:root {
    --accent: #00D1FF;
    --accent-glow: rgba(0, 209, 255, 0.3);
    --bg-dark: #050505;
    --surface: rgba(10, 10, 10, 0.65);
    --surface-light: rgba(17, 17, 17, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.1);
    --text-white: #FFFFFF;
    --text-muted: #888888;
    --gradient-primary: linear-gradient(135deg, #00D1FF 0%, #0075FF 100%);
    --font-heading: 'Outfit', sans-serif;
    --font-secondary: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.mesh-bg {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: -2;
    background:
        radial-gradient(at 0% 0%, hsla(190, 100%, 15%, 0.15) 0, transparent 50%),
        radial-gradient(at 100% 100%, hsla(210, 100%, 15%, 0.15) 0, transparent 50%),
        radial-gradient(at 50% 50%, hsla(200, 100%, 5%, 0.5) 0, transparent 100%);
    animation: breathingMesh 30s ease-in-out infinite alternate;
}

@keyframes breathingMesh {
    0% {
        transform: scale(1) translate(0, 0) rotate(0deg);
    }

    100% {
        transform: scale(1.1) translate(-2%, 2%) rotate(2deg);
    }
}

.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle closest-side, rgba(0, 209, 255, 0.08), transparent);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    /* Hidden until mouse moves */
    transition: opacity 0.5s ease;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.5);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: -1px;
    color: white;
}

.logo-sub {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent);
    margin-top: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: var(--transition);
}

.nav-link:hover {
    opacity: 1;
    color: var(--accent);
}

.hire-cta {
    background: white;
    color: black;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 800;
    transition: var(--transition);
}

.hire-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* HERO */
.hero {
    padding: 140px 0 60px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Precise spacing for hero elements to kill gaps */
.hero-badge {
    margin-bottom: 1rem;
    align-self: flex-start;
}

.hero h1 {
    margin-bottom: 1rem;
    align-self: flex-start;
}

.type-container {
    margin-bottom: 2.5rem;
    align-self: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 209, 255, 0.08);
    border: 1px solid rgba(0, 209, 255, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 2rem;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: bouncePulse 1.5s infinite;
}

@keyframes bouncePulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 2rem;
}

.type-container {
    height: 2.5rem;
    margin-bottom: 3rem;
}

.typewriter {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-primary {
    padding: 1.2rem 2.5rem;
    background: white;
    color: black;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.btn-outline {
    padding: 1.2rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

.btn-god-level {
    padding: 1.2rem 2.5rem;
    background: linear-gradient(270deg, #00D1FF, #0075FF, #00D1FF);
    background-size: 200% 200%;
    color: white;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    border: none;
    transition: var(--transition);
    box-shadow: 0 0 25px rgba(0, 209, 255, 0.5);
    animation: flowGradient 3s ease infinite;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-god-level:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 40px rgba(0, 209, 255, 0.8);
    color: white;
}

@keyframes flowGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-socials {
    display: flex;
    gap: 1.5rem;
    font-size: 1.3rem;
    margin-left: 2rem;
}

.hero-socials a {
    color: var(--text-muted);
    transition: var(--transition);
}

.hero-socials a:hover {
    color: white;
}

/* METRICS STRIP */
.metrics-strip {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.metrics-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.metric-card {
    text-align: center;
}

.metric-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
}

.metric-suffix {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 800;
}

.metric-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

.metric-divider {
    height: 40px;
    width: 1px;
    background: var(--border);
}

/* SECTION BASICS */
.section-pad {
    padding: 5rem 0;
}

.section-eyebrow {
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 4px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.section-sub {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin-bottom: 3rem;
}

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ABOUT VISUAL */
.about-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.stat-orbit {
    width: 200px;
    height: 200px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orbit-center {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    font-size: 1.5rem;
    box-shadow: 0 0 30px var(--accent-glow);
    z-index: 2;
}

.orbit-item {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent);
    font-size: 1rem;
    animation: orbit 10s linear infinite;
    transform: rotate(calc(var(--i) * 90deg)) translate(100px) rotate(calc(var(--i) * -90deg));
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translate(100px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translate(100px) rotate(-360deg);
    }
}

.about-brief {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
}

.brief-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.brief-item strong {
    color: white;
    font-size: 1.2rem;
    display: block;
}

.about-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: white;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.skill-tag:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* ACHIEVEMENTS */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.achieve-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Rotating gradient border pseudo-element */
.achieve-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 70%, var(--accent) 80%, rgba(255, 255, 255, 0.8) 100%);
    animation: rotateGlow 3s linear infinite;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Inner masking to hide inner part of conic-gradient */
.achieve-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--surface);
    border-radius: 18px;
    z-index: -1;
    transition: background 0.5s ease;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.achieve-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 209, 255, 0.3), inset 0 0 30px rgba(0, 209, 255, 0.1);
    border-color: transparent;
}

.achieve-card:hover::before {
    opacity: 1;
}

.achieve-card:hover::after {
    background: #0f1215;
}

.achieve-card:hover .achieve-icon {
    transform: scale(1.2) rotate(15deg);
    text-shadow: 0 0 25px var(--accent);
    color: white;
}

.achieve-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.achieve-stat {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.achieve-card>* {
    position: relative;
    z-index: 10;
}

.achieve-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.achieve-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.achieve-company {
    display: block;
    margin-top: 2rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 700;
}

/* GLASSMORPHIC PANELS */
.achieve-card,
.exp-card,
.lab-card,
.kpi-card,
.dash-chart-card,
.dash-table-card,
.community-card,
.contact-link {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* EXPERIENCE */
.experience-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.exp-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 3rem;
    transition: var(--transition);
}

.exp-card:hover {
    border-color: white;
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.exp-date {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.exp-company {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
}

.exp-role {
    color: var(--text-muted);
    font-weight: 500;
}

.exp-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

.exp-badge.current {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-color: #22c55e;
}

.exp-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.exp-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.exp-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 800;
}

.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.exp-tags span {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    color: var(--text-muted);
}

/* AI LAB */
.lab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.lab-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 16px;
    transition: var(--transition);
}

.lab-card:hover {
    background: var(--surface-light);
    transform: scale(1.02);
}

.lab-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.lab-card h3 {
    margin-bottom: 1rem;
}

.lab-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.lab-tags {
    display: flex;
    gap: 0.5rem;
}

.lab-tags span {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent);
}

/* SIMULATOR */
.simulator-section {
    background: rgba(0, 0, 0, 0.3);
}

.sim-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.sim-tab {
    background: var(--surface);
    border: 1px solid var(--border);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
}

.sim-tab i {
    color: var(--text-muted);
}

.sim-tab.active {
    border-color: var(--accent);
    background: rgba(0, 209, 255, 0.05);
}

.sim-tab.active i {
    color: var(--accent);
}

.tab-lang {
    font-size: 0.65rem;
    opacity: 0.5;
    text-transform: uppercase;
}

.sim-window {
    background: #0A0A0A;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    position: relative;
}

.sim-window-header {
    background: #151515;
    padding: 0.8rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.sim-dots {
    display: flex;
    gap: 8px;
}

.sim-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}

.sim-window-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #666;
}

.sim-controls {
    display: flex;
    gap: 1rem;
}

.sim-run-btn {
    background: #22c55e;
    color: black;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sim-clear-btn {
    background: transparent;
    border: 1px solid #333;
    color: #666;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
}

.sim-stats-bar {
    background: #0F0F0F;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    border-bottom: 1px solid var(--border);
}

.sim-stat-item {
    display: flex;
    flex-direction: column;
}

.sim-stat-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: #555;
}

.sim-stat-val {
    font-family: var(--font-mono);
    font-weight: 700;
    color: white;
}

.sim-stat-item.passed .sim-stat-val {
    color: #22c55e;
}

.sim-stat-item.failed .sim-stat-val {
    color: #ef4444;
}

.sim-stat-item.pending .sim-stat-val {
    color: #f59e0b;
}

.sim-progress-wrap {
    flex: 1;
    height: 4px;
    background: #1a1a1a;
    border-radius: 2px;
    overflow: hidden;
}

.sim-progress-bar {
    height: 100%;
    background: var(--accent);
    transition: width 0.3s ease;
}

/* GENERATIVE CONSOLE */
.gen-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #080808 100%);
}

.gen-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.ai-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--surface-light);
    border: 1px solid var(--border);
    padding: 0.5rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    transition: var(--transition);
}

.ai-input-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.ai-input-wrapper i {
    margin: 0 1.5rem;
    font-size: 1.5rem;
    color: var(--accent);
    animation: float 3s ease-in-out infinite;
}

#ai-prompt {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 0;
    font-size: 1.2rem;
    color: white;
    outline: none;
}

#gen-btn {
    background: var(--accent);
    color: var(--bg-dark);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

#gen-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--accent-glow);
}

.gen-display-grid {
    display: grid;
    grid-template-columns: 1.5fr 40px 1fr;
    gap: 1rem;
    align-items: start;
}

.code-window {
    background: #0d0d0d;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.code-header {
    background: #1a1a1a;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.code-body {
    height: 350px;
    padding: 1.5rem;
    overflow-y: auto;
    font-family: var(--font-mono);
    line-height: 1.6;
}

.v-divider {
    width: 1px;
    height: 100%;
    background: var(--border);
    margin: 0 auto;
}

.execution-bridge {
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
}

.bridge-status {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.status-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-glow);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent);
    font-size: 1.2rem;
}

.bridge-action.disabled {
    opacity: 0.3;
    pointer-events: none;
    filter: grayscale(1);
}

.bridge-action:not(.disabled) button {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 209, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 209, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 209, 255, 0);
    }
}

.shake {
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

.code-keyword {
    color: #c586c0;
}

.code-string {
    color: #ce9178;
}

.code-func {
    color: #dcdcaa;
}

.code-comment {
    color: #6a9955;
}

.code-typing {
    border-right: 2px solid var(--accent);
    animation: blink 0.7s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

@media (max-width: 992px) {
    .gen-display-grid {
        grid-template-columns: 1fr;
    }

    .v-divider {
        height: 1px;
        width: 100%;
        margin: 2rem 0;
    }
}

.sim-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #333;
    gap: 1rem;
}

.sim-placeholder i {
    font-size: 4rem;
}

.sim-line {
    margin-bottom: 0.4rem;
    display: flex;
    gap: 1rem;
}

.sim-line-time {
    color: #555;
    min-width: 80px;
}

.sim-line-msg {
    flex: 1;
}

.sim-line-icon {
    font-weight: bold;
}

.sim-line-icon.pass {
    color: #22c55e;
}

.sim-line-icon.fail {
    color: #ef4444;
}

.sim-line-icon.pend {
    color: #f59e0b;
}

.sim-line-icon.head {
    color: var(--accent);
}

.sim-summary {
    position: absolute;
    inset: 45px 0 0 0;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.sim-summary-header {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: #22c55e;
}

.sim-summary-stats {
    display: flex;
    gap: 3rem;
}

/* DASHBOARD */
.dashboard-section {
    background: #080808;
}

.dash-meta-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.dash-meta-item {
    display: flex;
    flex-direction: column;
}

.dash-meta-label {
    font-size: 0.65rem;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.dash-meta-val {
    font-weight: 700;
    font-size: 0.9rem;
}

.dash-meta-val.accent {
    color: var(--accent);
}

.dash-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.kpi-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.kpi-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
}

.kpi-pct {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: block;
    margin-top: -0.5rem;
}

.kpi-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-top: 1rem;
    display: block;
}

.kpi-card.ok .kpi-num {
    color: #22c55e;
}

.kpi-card.bad .kpi-num {
    color: #ef4444;
}

.kpi-card.pending .kpi-num {
    color: #f59e0b;
}

.dash-charts-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dash-chart-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 12px;
}

.dash-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.chart-wrap {
    height: 250px;
    position: relative;
}

.chart-wrap-bar {
    height: 280px;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    font-size: 0.75rem;
    color: #666;
}

.leg-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

.leg-dot.ok {
    background: #22c55e;
}

.leg-dot.bad {
    background: #ef4444;
}

.leg-dot.pend {
    background: #f59e0b;
}

.dash-table-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.dash-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dash-search {
    background: #111;
    border: 1px solid #333;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    color: white;
    font-size: 0.85rem;
    width: 250px;
}

.dash-table {
    width: 100%;
    border-collapse: collapse;
}

.dash-table th {
    text-align: left;
    padding: 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #555;
    border-bottom: 1px solid var(--border);
}

.dash-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.9rem;
}

.cat-label {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
}

.cat-label.timeout {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.cat-label.assert {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.cat-label.locator {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

.cat-label.intercept {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.cat-label.network {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.badge-ok,
.badge-bad,
.badge-pend {
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.badge-ok {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.badge-bad {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.badge-pend {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.cat-bar {
    width: 100%;
    height: 6px;
    background: #111;
    border-radius: 100px;
}

.cat-bar-fill {
    height: 100%;
    border-radius: 100px;
}

.pass-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pass-bar div {
    height: 6px;
    background: #22c55e;
    border-radius: 100px;
}

.pass-bar.bad div {
    background: #ef4444;
}

/* COMMUNITY */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.community-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    transition: var(--transition);
}

.community-card:hover {
    transform: translateY(-8px);
    border-color: white;
}

.comm-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.comm-icon.youtube {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.comm-icon.blog {
    background: rgba(0, 209, 255, 0.1);
    border: 1px solid rgba(0, 209, 255, 0.2);
    color: var(--accent);
}

.comm-icon.tool {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.comm-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.comm-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.comm-tags span {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 800;
    opacity: 0.4;
}

.comm-link {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}



/* CONTACT & FOOTER */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 5rem;
}

.contact-link {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    color: white;
    transition: var(--transition);
}

.contact-link:hover {
    background: white;
    color: black;
    transform: scale(1.02);
}

.contact-link i:first-child {
    font-size: 1.5rem;
}

.contact-link div {
    flex: 1;
    text-align: left;
}

.contact-link span {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #555;
}

.contact-link strong {
    font-size: 1.1rem;
}

.contact-link:hover span {
    color: #888;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 3rem;
    color: #444;
}

.footer-bottom strong {
    color: #888;
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* MOBILE */
@media (max-width: 1024px) {
    .dash-charts-row {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .metrics-grid {
        gap: 2rem;
        justify-content: center;
    }

    .metric-divider {
        display: none;
    }

    .dash-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-meta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}