/* === CSS Variables - Light Theme === */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f0f2f5;
    --bg-card: #ffffff;
    --bg-dark: #0a0a0a;
    
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #8a8a8a;
    --text-light: #ffffff;
    
    --accent-primary: #0066ff;
    --accent-secondary: #0052cc;
    --accent-gradient: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    
    --success: #00c853;
    --warning: #ff9100;
    --error: #ff1744;
    
    --border: rgba(0, 0, 0, 0.08);
    --border-dark: rgba(0, 0, 0, 0.12);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    
    --font-display: 'Eurostile', 'Outfit', sans-serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* === Hero Background === */
.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
}

.hero-cover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: opacity 0.5s ease;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 1;
}

.hero-cover-image {
    opacity: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

/* === Noise Overlay === */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* === Typography === */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
}

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

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* === Glitch Effect (Hover Only) === */
.glitch {
    position: relative;
    display: inline-block;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    background: transparent;
}

.glitch::before {
    color: #ff0000;
}

.glitch::after {
    color: #00fff9;
}

.glitch:hover::before {
    opacity: 0.8;
    left: 2px;
    animation: glitch-1 0.2s infinite linear;
}

.glitch:hover::after {
    opacity: 0.8;
    left: -2px;
    animation: glitch-2 0.3s infinite linear;
}

@keyframes glitch-1 {
    0%, 100% { clip-path: inset(20% 0 60% 0); }
    20% { clip-path: inset(10% 0 70% 0); }
    40% { clip-path: inset(50% 0 30% 0); }
    60% { clip-path: inset(70% 0 10% 0); }
    80% { clip-path: inset(40% 0 40% 0); }
}

@keyframes glitch-2 {
    0%, 100% { clip-path: inset(60% 0 20% 0); }
    25% { clip-path: inset(30% 0 50% 0); }
    50% { clip-path: inset(80% 0 5% 0); }
    75% { clip-path: inset(15% 0 65% 0); }
}


h4 {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
}

code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.85em;
    background: var(--bg-tertiary);
    padding: 0.2em 0.4em;
    border-radius: 4px;
}

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.navbar.scrolled .logo {
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
}

.navbar.scrolled .nav-links a {
    color: var(--text-primary);
}

.nav-links a:hover {
    opacity: 0.7;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    transition: all 0.3s var(--ease-out-expo);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--text-light);
    color: var(--text-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

/* === Section Tags === */
.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

/* === Hero Section === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 4rem 6rem;
    position: relative;
}

.hero-content {
    max-width: 700px;
    z-index: 1;
}

.hero-tag {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s forwards;
}

.hero h1 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.4s forwards;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 500px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.6s forwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.8s forwards;
}

.hero-visual {
    position: absolute;
    right: 4rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.floating-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
    opacity: 0;
    animation: floatIn 1s var(--ease-out-expo) forwards;
}

.card-1 { animation-delay: 1s; }
.card-2 { animation-delay: 1.2s; }
.card-3 { animation-delay: 1.4s; }

.card-icon {
    font-size: 1.25rem;
}

.floating-card span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
}

/* === Work Section === */
.work-section {
    padding: 6rem 4rem;
    background: transparent;
    position: relative;
}

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

.section-header h2 {
    margin-top: 0.5rem;
    color: var(--text-light);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.section-tag {
    color: #00d4ff;
    text-shadow: 0 2px 10px rgba(0, 212, 255, 0.3);
}

/* === Case Study === */
.case-study {
    margin-bottom: 4rem;
    padding: 3rem;
    background: rgba(20, 20, 20, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    color: var(--text-light);
}

.case-study:hover {
    box-shadow: var(--shadow-md);
}

.case-study-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.case-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
    opacity: 0.3;
    line-height: 1;
}

.case-category {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.case-meta h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.case-intro {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
}

/* === Dashboard Mockup === */
.case-visual {
    margin: 2rem 0;
}

.dashboard-mockup, .code-window {
    background: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.mockup-header, .window-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-dark);
}

.window-dots span:first-child { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #febc2e; }
.window-dots span:last-child { background: #28c840; }

.mockup-title {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.mockup-content {
    padding: 1.5rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-card {
    background: var(--bg-secondary);
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.stat-trend {
    font-size: 0.75rem;
    font-weight: 600;
}

.stat-trend.positive { color: var(--success); }
.stat-trend.neutral { color: var(--text-muted); }

.chart-area {
    grid-column: span 2;
    background: var(--bg-secondary);
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 100px;
}

.bar {
    flex: 1;
    background: var(--bg-tertiary);
    border-radius: 3px 3px 0 0;
    transition: background 0.3s ease;
}

.bar.active {
    background: var(--accent-primary);
}

.job-list {
    grid-column: span 3;
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.job-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.job-item:hover {
    background: var(--bg-tertiary);
}

.job-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.job-status.running {
    background: var(--accent-primary);
    box-shadow: 0 0 8px var(--accent-primary);
    animation: pulse 2s infinite;
}

.job-status.queued { background: var(--text-muted); }
.job-status.complete { background: var(--success); }

.job-name {
    flex: 1;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.job-progress {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* === Code Window === */
.file-tabs {
    display: flex;
    gap: 0;
    margin-left: auto;
}

.tab {
    padding: 0.4rem 0.75rem;
    font-size: 0.7rem;
    color: var(--text-muted);
    background: transparent;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
}

.tab.active {
    color: var(--text-primary);
    background: var(--bg-primary);
}

.code-content {
    padding: 1.25rem;
    overflow-x: auto;
    background: #1e1e1e;
}

.code-content pre {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    line-height: 1.7;
    color: #d4d4d4;
}

.code-content .key { color: #9cdcfe; }
.code-content .string { color: #ce9178; }
.code-content .number { color: #b5cea8; }
.code-content .boolean { color: #569cd6; }
.code-content .comment { color: #6a9955; font-style: italic; }
.code-content .keyword { color: #569cd6; }
.code-content .function { color: #dcdcaa; }

/* === Flow Diagram === */
.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
}

.flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.flow-node:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-sm);
}

.flow-node.center {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.flow-node.center span {
    color: var(--text-light);
}

.node-icon {
    font-size: 1.5rem;
}

.flow-node span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.flow-arrow {
    color: var(--accent-primary);
}

.flow-arrow svg {
    width: 20px;
    height: 20px;
}

/* === Case Details === */
.case-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.detail-block {
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.detail-block.full-width {
    grid-column: span 2;
}

.detail-block p {
    font-size: 0.95rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tags span {
    padding: 0.4rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 500;
    background: var(--bg-tertiary);
    border-radius: 100px;
    color: var(--text-secondary);
}

.code-block {
    margin-bottom: 1.5rem;
}

.code-block:last-child {
    margin-bottom: 0;
}

.code-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.code-block pre {
    background: #1e1e1e;
    padding: 1.25rem;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.75rem;
    line-height: 1.7;
    color: #d4d4d4;
}

/* === Screenshot Area === */
.screenshot-area {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
}

.project-screenshot {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-area:empty,
.screenshot-area:has(img[style*="display: none"]) {
    display: none;
}

/* === Enhanced Application Mockups === */
.app-mockup {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    margin: 2rem 0;
}

.app-mockup .titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #2d2d2d;
    border-bottom: 1px solid #3d3d3d;
}

.app-mockup .titlebar-buttons {
    display: flex;
    gap: 8px;
}

.app-mockup .titlebar-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.app-mockup .titlebar-btn.close { background: #ff5f57; }
.app-mockup .titlebar-btn.minimize { background: #febc2e; }
.app-mockup .titlebar-btn.maximize { background: #28c840; }

.app-mockup .titlebar-title {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.app-mockup .app-content {
    padding: 0;
}

/* PyQt5 Style Mockup */
.pyqt-mockup {
    background: #2b2b2b;
}

.pyqt-mockup .menubar {
    display: flex;
    gap: 0;
    padding: 4px 8px;
    background: #353535;
    border-bottom: 1px solid #4a4a4a;
}

.pyqt-mockup .menu-item {
    padding: 4px 12px;
    font-size: 11px;
    color: #ccc;
    cursor: pointer;
}

.pyqt-mockup .menu-item:hover {
    background: #4a4a4a;
}

.pyqt-mockup .toolbar {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    background: #2d2d2d;
    border-bottom: 1px solid #3a3a3a;
}

.pyqt-mockup .toolbar-btn {
    padding: 6px 12px;
    font-size: 11px;
    background: #404040;
    color: #ccc;
    border: 1px solid #555;
    border-radius: 3px;
    cursor: pointer;
}

.pyqt-mockup .toolbar-btn:hover {
    background: #4a4a4a;
}

.pyqt-mockup .toolbar-btn.primary {
    background: #0078d4;
    border-color: #0078d4;
    color: white;
}

.pyqt-mockup .main-area {
    display: grid;
    grid-template-columns: 220px 1fr 280px;
    min-height: 350px;
}

.pyqt-mockup .sidebar {
    background: #252525;
    border-right: 1px solid #3a3a3a;
    padding: 12px;
}

.pyqt-mockup .sidebar-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #777;
    margin-bottom: 8px;
    padding: 0 8px;
}

.pyqt-mockup .sidebar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    font-size: 12px;
    color: #bbb;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 2px;
}

.pyqt-mockup .sidebar-item:hover {
    background: #333;
}

.pyqt-mockup .sidebar-item.active {
    background: #0078d4;
    color: white;
}

.pyqt-mockup .sidebar-item .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.pyqt-mockup .sidebar-item .status-dot.running { background: #28c840; animation: pulse 2s infinite; }
.pyqt-mockup .sidebar-item .status-dot.queued { background: #febc2e; }
.pyqt-mockup .sidebar-item .status-dot.failed { background: #ff5f57; }

.pyqt-mockup .content-area {
    background: #1e1e1e;
    padding: 16px;
    overflow: auto;
}

.pyqt-mockup .table-mock {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.pyqt-mockup .table-mock th {
    text-align: left;
    padding: 10px 12px;
    background: #2a2a2a;
    color: #999;
    font-weight: 500;
    border-bottom: 1px solid #3a3a3a;
}

.pyqt-mockup .table-mock td {
    padding: 10px 12px;
    color: #ccc;
    border-bottom: 1px solid #2a2a2a;
}

.pyqt-mockup .table-mock tr:hover td {
    background: #252525;
}

.pyqt-mockup .table-mock .status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
}

.pyqt-mockup .table-mock .status-badge.running { background: rgba(40, 200, 64, 0.2); color: #28c840; }
.pyqt-mockup .table-mock .status-badge.queued { background: rgba(254, 188, 46, 0.2); color: #febc2e; }
.pyqt-mockup .table-mock .status-badge.completed { background: rgba(0, 120, 212, 0.2); color: #0078d4; }
.pyqt-mockup .table-mock .status-badge.failed { background: rgba(255, 95, 87, 0.2); color: #ff5f57; }

.pyqt-mockup .details-panel {
    background: #252525;
    border-left: 1px solid #3a3a3a;
    padding: 16px;
}

.pyqt-mockup .details-title {
    font-size: 13px;
    font-weight: 600;
    color: #eee;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #3a3a3a;
}

.pyqt-mockup .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 11px;
}

.pyqt-mockup .detail-row .label { color: #777; }
.pyqt-mockup .detail-row .value { color: #ccc; font-weight: 500; }

.pyqt-mockup .progress-bar-mock {
    height: 6px;
    background: #3a3a3a;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 12px;
}

.pyqt-mockup .progress-bar-mock .fill {
    height: 100%;
    background: linear-gradient(90deg, #0078d4, #00bcf2);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.pyqt-mockup .log-area {
    margin-top: 16px;
    padding: 12px;
    background: #1a1a1a;
    border-radius: 4px;
    font-family: 'SF Mono', monospace;
    font-size: 10px;
    max-height: 120px;
    overflow-y: auto;
}

.pyqt-mockup .log-line {
    padding: 2px 0;
    color: #888;
}

.pyqt-mockup .log-line .time { color: #555; }
.pyqt-mockup .log-line .info { color: #0078d4; }
.pyqt-mockup .log-line .success { color: #28c840; }
.pyqt-mockup .log-line .warning { color: #febc2e; }
.pyqt-mockup .log-line .error { color: #ff5f57; }

/* Terminal Mockup Enhanced */
.terminal-enhanced {
    background: #0c0c0c;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    margin: 2rem 0;
}

.terminal-enhanced .term-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #1a1a1a;
}

.terminal-enhanced .term-dots {
    display: flex;
    gap: 8px;
}

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

.terminal-enhanced .term-dot.red { background: #ff5f57; }
.terminal-enhanced .term-dot.yellow { background: #febc2e; }
.terminal-enhanced .term-dot.green { background: #28c840; }

.terminal-enhanced .term-title {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: #666;
}

.terminal-enhanced .term-body {
    padding: 20px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 12px;
    line-height: 1.8;
    min-height: 300px;
}

.terminal-enhanced .term-line {
    margin-bottom: 4px;
}

.terminal-enhanced .prompt {
    color: #28c840;
}

.terminal-enhanced .path {
    color: #0078d4;
}

.terminal-enhanced .cmd {
    color: #fff;
}

.terminal-enhanced .output {
    color: #888;
}

.terminal-enhanced .success {
    color: #28c840;
}

.terminal-enhanced .info {
    color: #00bcf2;
}

.terminal-enhanced .warning {
    color: #febc2e;
}

.terminal-enhanced .error {
    color: #ff5f57;
}

.terminal-enhanced .timestamp {
    color: #555;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 600;
}

/* === Outcomes === */
.case-outcomes {
    padding: 1.5rem;
    background: var(--accent-primary);
    border-radius: 8px;
}

.case-outcomes h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.outcome {
    text-align: center;
}

.outcome-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.outcome-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* === Terminal Mockup === */
.terminal-mockup {
    margin-top: 1rem;
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 1rem;
    background: #2d2d2d;
    border-bottom: 1px solid #3d3d3d;
}

.terminal-title {
    font-size: 0.7rem;
    color: #808080;
}

.terminal-content {
    padding: 1rem 1.25rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.75rem;
    line-height: 1.7;
}

.log-line {
    display: flex;
    gap: 0.5rem;
}

.log-time { color: #808080; }
.log-info { color: #4ec9b0; }
.log-moved { color: #dcdcaa; }
.log-success { color: #4ec9b0; }
.log-text { color: #d4d4d4; }

/* === Generator UI === */
.generator-ui {
    padding: 1rem;
}

.gen-field {
    margin-bottom: 1rem;
}

.gen-field label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.gen-input, .gen-select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.gen-select {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.6rem;
    color: var(--text-muted);
}

.gen-tracks {
    display: flex;
    gap: 0.4rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.track-preview {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    background: var(--bg-secondary);
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.track-color {
    width: 6px;
    height: 6px;
    border-radius: 2px;
}

.gen-button {
    width: 100%;
    padding: 0.75rem;
    background: var(--accent-primary);
    color: var(--text-light);
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gen-button:hover {
    background: var(--accent-secondary);
}

/* === IO Dashboard === */
.io-dashboard {
    padding: 1rem;
}

.io-stats {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.io-stat {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 6px;
}

.io-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
}

.io-icon.incoming { background: rgba(0, 200, 83, 0.1); color: var(--success); }
.io-icon.outgoing { background: rgba(0, 102, 255, 0.1); color: var(--accent-primary); }
.io-icon.pending { background: rgba(255, 145, 0, 0.1); color: var(--warning); }

.io-info {
    display: flex;
    flex-direction: column;
}

.io-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.io-value {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.transfer-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.transfer-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem;
    background: var(--bg-secondary);
    border-radius: 6px;
}

.transfer-status {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.transfer-status.success { background: var(--success); }
.transfer-status.in-progress { background: var(--accent-primary); animation: pulse 2s infinite; }
.transfer-status.queued { background: var(--text-muted); }

.transfer-name {
    flex: 1;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.transfer-size {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.transfer-checksum, .transfer-progress {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    background: rgba(0, 200, 83, 0.1);
    color: var(--success);
}

.transfer-progress {
    background: rgba(0, 102, 255, 0.1);
    color: var(--accent-primary);
}

/* === Flex Job Viewer === */
.flex-grid {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.75rem;
    padding: 1rem;
}

.flex-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.flex-filter {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.flex-filter:hover {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.flex-filter.active {
    background: var(--accent-primary);
    color: var(--text-light);
    font-weight: 600;
}

.flex-jobs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.flex-job {
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 6px;
    border-left: 3px solid var(--accent-primary);
}

.flex-job.review {
    border-left-color: #a855f7;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.job-id {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
}

.job-priority {
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    text-transform: uppercase;
}

.job-priority.high { background: rgba(255, 23, 68, 0.1); color: var(--error); }
.job-priority.medium { background: rgba(255, 145, 0, 0.1); color: var(--warning); }
.job-priority.review { background: rgba(168, 85, 247, 0.1); color: #a855f7; }

.job-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.job-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.job-bar {
    height: 3px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.job-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--progress, 0%);
    background: var(--accent-primary);
    border-radius: 2px;
}

.flex-job.review .job-bar::after {
    background: #a855f7;
}

/* === About Section === */
.about-section {
    padding: 6rem 4rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    color: var(--text-light);
}

.about-content h2 {
    margin-bottom: 1rem;
    max-width: 700px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    text-transform: none;
    letter-spacing: -0.01em;
    color: var(--text-light);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.about-content > p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.85);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.skill-category {
    padding: 1.5rem;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border);
}

.skill-category h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 0.4rem 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-category li:last-child {
    border-bottom: none;
}

/* === Contact Section === */
.contact-section {
    padding: 6rem 4rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-light);
}

.contact-content h2 {
    margin-bottom: 1rem;
    text-transform: none;
    color: var(--text-light);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.contact-content > p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.85);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.25rem;
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.2);
    background: rgba(40, 40, 40, 0.85);
}

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

.contact-link span:last-child {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* === Footer === */
.footer {
    padding: 2rem 4rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* === Stats Banner === */
.stats-banner {
    padding: 4rem 4rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-text {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-dark);
}

/* === Project Quick Nav === */
.project-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.project-nav-item {
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-nav-item:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    background: rgba(0, 102, 255, 0.05);
}

.project-nav-item.active {
    color: var(--text-light);
    background: var(--text-primary);
    border-color: var(--text-primary);
}

/* === Back to Top Button === */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* === Loading Screen === */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
}

.loader-text {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    animation: pulse-loader 1s ease-in-out infinite;
}

@keyframes pulse-loader {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.95); }
}

/* === Scroll Animations === */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-delay-1 { transition-delay: 0.1s; }
.scroll-reveal-delay-2 { transition-delay: 0.2s; }
.scroll-reveal-delay-3 { transition-delay: 0.3s; }

/* === Enhanced Card Hover Effects === */
.case-study {
    transition: all 0.4s var(--ease-out-expo);
}

.case-study:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.case-study:hover .case-number {
    color: var(--accent-primary);
    opacity: 0.6;
}

.detail-block {
    transition: all 0.3s ease;
}

.detail-block:hover {
    border-color: var(--accent-primary);
}

.tech-tags span {
    transition: all 0.2s ease;
}

.tech-tags span:hover {
    background: var(--accent-primary);
    color: var(--text-light);
}

/* === Smooth Link Underlines === */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover::after {
    width: 100%;
}

/* === Planning Section === */
.planning-section {
    padding: 6rem 4rem;
    background: rgba(10, 15, 20, 0.9);
    backdrop-filter: blur(8px);
}

/* Pipeline Cards Grid */
.pipeline-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pipeline-card {
    background: rgba(20, 25, 35, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.pipeline-card:hover {
    border-color: rgba(0, 255, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.1);
}

.pipeline-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pipeline-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: #00ffff;
}

.pipeline-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.pipeline-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.pipeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pipeline-tags span {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: #00ffff;
    border-radius: 4px;
    font-weight: 500;
}

/* Legacy styles kept for compatibility */
.app-logo-sm {
    width: 40px;
    height: 40px;
}

.app-logo-md {
    width: 32px;
    height: 32px;
}

.pipeline-arrow {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-muted);
}

.pipeline-arrow::before,
.pipeline-arrow::after {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--border-dark);
}

.pipeline-arrow.usd::before,
.pipeline-arrow.usd::after {
    background: var(--accent-primary);
}

.format-tag {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.format-tag.fbx {
    background: #ffebee;
    color: #c62828;
}

.format-tag.usd {
    background: #e3f2fd;
    color: #1565c0;
}

.pipeline-branches {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.pipeline-issues,
.pipeline-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.issue-tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    background: #ffebee;
    color: #c62828;
    font-weight: 500;
}

.benefit-tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 500;
}

/* Migration Steps */
.migration-steps {
    margin-top: 2rem;
}

.migration-steps h4 {
    font-family: var(--font-display);
    margin-bottom: 1.5rem;
}

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

.step {
    display: flex;
    gap: 1rem;
}

.step-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
}

.step-content h5 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.comparison-column {
    background: rgba(40, 40, 40, 0.7);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.column-header {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.app-badge .max-icon,
.app-badge .maya-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
}

.feature-comparison {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-comparison li {
    font-size: 0.85rem;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
}

.feature-comparison li::before {
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

.feature-comparison li.pro::before {
    content: '✓';
    color: #2e7d32;
}

.feature-comparison li.con::before {
    content: '✗';
    color: #c62828;
}

.feature-comparison li.neutral::before {
    content: '○';
    color: var(--text-muted);
}

.comparison-arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.comparison-arrow svg {
    width: 32px;
    height: 32px;
}

/* Migration Flow */
.migration-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.flow-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 150px;
}

.stage-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    color: white;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.stage-icon svg {
    width: 28px;
    height: 28px;
}

.flow-stage h5 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.flow-stage p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
}

.flow-connector {
    width: 40px;
    height: 2px;
    background: var(--accent-primary);
    margin-top: 28px;
}

/* === Applications Section === */
.applications-section {
    padding: 6rem 4rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.apps-grid {
    display: grid;
    gap: 3rem;
}

.app-category h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.app-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: default;
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-primary);
    background: rgba(40, 40, 40, 0.85);
}

.app-logo {
    width: 48px;
    height: 48px;
}

.app-logo-placeholder {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.8rem;
    color: white;
}

.app-logo-placeholder.houdini { background: #ff6f00; }
.app-logo-placeholder.nuke { background: #f5b800; color: #1a1a1a; }
.app-logo-placeholder.max { background: #1a7dc4; }
.app-logo-placeholder.c4d { background: #011a49; }
.app-logo-placeholder.resolve { background: #233140; font-size: 0.6rem; }
.app-logo-placeholder.mocha { background: #8b2a8a; }
.app-logo-placeholder.ableton { background: #000000; font-size: 0.6rem; }
.app-logo-placeholder.protools { background: #7b68ee; }
.app-logo-placeholder.shotgrid { background: #00c4b3; }
.app-logo-placeholder.deadline { background: #ff6b35; }
.app-logo-placeholder.substance { background: #1a472a; }

.app-name {
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    color: var(--text-light);
}

.app-level {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.app-level.expert {
    background: #e8f5e9;
    color: #2e7d32;
}

.app-level.advanced {
    background: #e3f2fd;
    color: #1565c0;
}

.app-level.intermediate {
    background: #fff3e0;
    color: #e65100;
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* === Responsive === */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: left;
    }
    
    .hero-visual {
        display: none;
    }
    
    .case-study-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .case-number {
        font-size: 2rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-area, .job-list {
        grid-column: span 1;
    }
    
    .case-details {
        grid-template-columns: 1fr;
    }
    
    .detail-block.full-width {
        grid-column: span 1;
    }
    
    .outcomes-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .comparison-arrow {
        transform: rotate(90deg);
    }
    
    .pipeline-flow {
        flex-direction: column;
    }
    
    .pipeline-arrow {
        transform: rotate(90deg);
    }
    
    .flow-connector {
        width: 2px;
        height: 30px;
        margin: 0;
    }
    
    .migration-flow {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.8rem;
    }
    
    .hero, .work-section, .about-section, .contact-section, .planning-section, .applications-section {
        padding: 4rem 1.5rem;
    }
    
    .case-study {
        padding: 1.5rem;
        border-radius: 8px;
    }
    
    .flow-diagram {
        flex-direction: column;
    }
    
    .flow-arrow svg {
        transform: rotate(90deg);
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .flex-grid {
        grid-template-columns: 1fr;
    }
    
    .flex-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .stats-banner {
        padding: 2rem 1.5rem;
    }
    
    .stats-container {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-item {
        flex: 1 1 40%;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .project-nav {
        gap: 0.4rem;
    }
    
    .project-nav-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.65rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
    
    .workflow-card {
        padding: 1.5rem;
    }
    
    .steps-timeline {
        grid-template-columns: 1fr;
    }
    
    .app-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   STUDIO-STYLE PROJECT GRID (Epic/Blur/TTF)
   ============================================ */

.projects-grid {
    display: flex;
    gap: 2rem;
    max-width: 100%;
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0 2rem 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 255, 255, 0.3) transparent;
    -webkit-overflow-scrolling: touch;
}

.projects-grid::-webkit-scrollbar {
    height: 6px;
}

.projects-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.projects-grid::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 255, 0.3);
    border-radius: 3px;
}

.projects-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 255, 0.5);
}

.project-card {
    position: relative;
    background: rgba(10, 10, 15, 0.95);
    min-width: 380px;
    max-width: 420px;
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.15);
    border-color: rgba(0, 255, 255, 0.3);
}

.project-card-visual {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #0a1520 0%, #1a2530 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-card-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 15, 0.9) 100%);
    z-index: 1;
}

.project-icon {
    font-size: 4rem;
    opacity: 0.9;
    z-index: 0;
    transition: transform 0.4s var(--ease-out-expo);
}

.project-card:hover .project-icon {
    transform: scale(1.1);
}

/* Animated background patterns for each card */
.project-card-visual.pattern-grid {
    background: 
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(135deg, #0a1520 0%, #1a2530 100%);
    background-size: 20px 20px, 20px 20px, 100% 100%;
}

.project-card-visual.pattern-dots {
    background: 
        radial-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(135deg, #0a1520 0%, #1a2530 100%);
    background-size: 15px 15px, 100% 100%;
}

.project-card-visual.pattern-lines {
    background: 
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 10px,
            rgba(0, 255, 255, 0.02) 10px,
            rgba(0, 255, 255, 0.02) 20px
        ),
        linear-gradient(135deg, #0a1520 0%, #1a2530 100%);
}

.project-card-visual.pattern-circuit {
    background: 
        linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(135deg, #0a1520 0%, #15202a 50%, #1a2530 100%);
    background-size: 40px 40px, 40px 40px, 100% 100%;
}

.project-card-content {
    padding: 1.75rem;
    position: relative;
    z-index: 2;
}

.project-card-number {
    font-family: var(--font-display);
    font-size: 0.7rem;
    color: rgba(0, 255, 255, 0.6);
    letter-spacing: 0.2em;
    margin-bottom: 0.75rem;
}

.project-card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.project-card-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.project-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tag {
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
    background: rgba(0, 255, 255, 0.1);
    color: rgba(0, 255, 255, 0.9);
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.02em;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

/* Hover overlay with details */
.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 20, 30, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.project-card:hover .project-card-overlay {
    opacity: 1;
    visibility: visible;
}

.project-overlay-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #00ffff;
    margin-bottom: 1rem;
}

.project-overlay-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-overlay-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.project-overlay-features li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.4rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.project-overlay-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00ffff;
}

.project-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid #00ffff;
    color: #00ffff;
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.project-view-btn:hover {
    background: #00ffff;
    color: #000;
}

/* Role description in overlay */
.project-role {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.project-role strong {
    color: #00ffff;
}

/* Expandable code tabs */
.project-code-section {
    margin-top: 1rem;
}

.code-tab-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 4px;
    color: #00ffff;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
}

.code-tab-toggle:hover {
    background: rgba(0, 255, 255, 0.2);
}

.code-tab-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.code-tab-toggle.active svg {
    transform: rotate(180deg);
}

.code-tab-content {
    display: none;
    margin-top: 0.75rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    max-height: 200px;
    overflow-y: auto;
}

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

.code-tab-content pre {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.7rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
}

.code-tab-content .keyword {
    color: #ff79c6;
}

.code-tab-content .function {
    color: #50fa7b;
}

.code-tab-content .string {
    color: #f1fa8c;
}

.code-tab-content .comment {
    color: #6272a4;
}

/* Section header for work */
.work-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.work-section-label {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: #00ffff;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.work-section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.work-section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .projects-grid {
        gap: 1.5rem;
        padding: 0 1rem 2rem 1rem;
    }
    
    .project-card {
        min-width: 300px;
        max-width: 340px;
    }
    
    .project-card-visual {
        height: 180px;
    }
    
    .project-card-content {
        padding: 1.25rem;
    }
    
    .project-card-title {
        font-size: 1.2rem;
    }
    
    .project-card-overlay {
        padding: 1.5rem;
    }
    
    .work-section-header {
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
}

/* === Resume Section === */
.resume-section {
    padding: 6rem 6%;
    background: rgba(10, 15, 20, 0.9);
    backdrop-filter: blur(20px);
    position: relative;
}

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

.resume-section .section-header .section-tag {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: #00ffff;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.resume-section .section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    font-weight: 600;
}

.resume-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.resume-heading {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: #00ffff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

/* Experience Items */
.experience-item {
    background: rgba(0, 20, 30, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.experience-item:hover {
    border-color: rgba(0, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.1);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.experience-title h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.experience-title .company {
    font-size: 1rem;
    color: #00ffff;
    font-weight: 500;
}

.experience-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.experience-meta .location {
    font-size: 0.85rem;
    color: #ffffff;
}

.experience-meta .date {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: rgba(0, 255, 255, 0.8);
    letter-spacing: 0.05em;
}

.experience-duties {
    list-style: none;
    padding: 0;
}

.experience-duties li {
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.6;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.experience-duties li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: rgba(0, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* Education */
.education-item {
    background: rgba(0, 20, 30, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.education-header {
    margin-bottom: 0.75rem;
}

.education-header h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.education-header .school {
    font-size: 1rem;
    color: #00ffff;
    font-weight: 500;
}

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

.education-meta .degree {
    font-size: 0.9rem;
    color: #ffffff;
}

.education-meta .grad-date {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: rgba(0, 255, 255, 0.8);
    letter-spacing: 0.05em;
}

/* Skills Block */
.skills-block {
    background: rgba(0, 20, 30, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
}

.skill-row {
    display: flex;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.skill-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.skill-row:first-child {
    padding-top: 0;
}

.skill-label {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: #00ffff;
    min-width: 140px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.skill-items {
    font-size: 0.9rem;
    color: #ffffff;
    flex: 1;
}

/* Resume Mobile Responsive */
@media (max-width: 968px) {
    .resume-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .experience-header {
        flex-direction: column;
    }
    
    .experience-meta {
        text-align: left;
        flex-direction: row;
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .resume-section {
        padding: 4rem 1rem;
    }
    
    .experience-item,
    .education-item,
    .skills-block {
        padding: 1.25rem;
    }
    
    .skill-row {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .skill-label {
        min-width: auto;
    }
}

/* === Tool Demos Section === */
.demos-section {
    padding: 6rem 6%;
    background: rgba(5, 10, 15, 0.95);
    backdrop-filter: blur(20px);
}

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

.demos-section .section-tag {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: #00ffff;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.demos-section h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.demo-card {
    background: rgba(0, 20, 30, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.demo-card:hover {
    border-color: rgba(0, 255, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.1);
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.demo-header h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

.demo-tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    border-radius: 20px;
    font-weight: 500;
}

.demo-mockup {
    padding: 1.5rem;
    min-height: 350px;
}

.demo-caption {
    padding: 1.25rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.demo-caption p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Browser Mockup */
.mockup-browser {
    background: #1a1a2e;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #0d0d1a;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27ca40; }

.browser-url {
    flex: 1;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
}

/* Dashboard UI */
.dashboard-ui {
    display: flex;
    height: 280px;
}

.dash-sidebar {
    width: 60px;
    background: #0d0d1a;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-logo {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #00ffff, #0088ff);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    color: #000;
    margin-bottom: 1rem;
}

.sidebar-item {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.4);
    padding: 0.5rem;
    width: 100%;
    text-align: center;
}

.sidebar-item.active {
    color: #00ffff;
    background: rgba(0, 255, 255, 0.1);
}

.dash-main {
    flex: 1;
    padding: 1rem;
    overflow: hidden;
}

.dash-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.dash-header-row h4 {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 500;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    color: #27ca40;
}

.pulse {
    width: 6px;
    height: 6px;
    background: #27ca40;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stat-card {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.5rem;
    text-align: center;
}

.stat-card.alert {
    border-color: rgba(255, 95, 86, 0.3);
    background: rgba(255, 95, 86, 0.05);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: #00ffff;
    font-weight: 600;
}

.stat-card.alert .stat-value {
    color: #ff5f56;
}

.stat-label {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.2rem;
}

.jobs-table {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    overflow: hidden;
}

.table-header, .table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    padding: 0.5rem 0.75rem;
    font-size: 0.6rem;
    align-items: center;
}

.table-header {
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table-row {
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar .progress {
    height: 100%;
    background: #00ffff;
    border-radius: 2px;
    transition: width 0.5s ease;
}

.progress-bar.error .progress {
    background: #ff5f56;
}

.status {
    font-size: 0.55rem;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    text-transform: uppercase;
}

.status.rendering { background: rgba(0, 255, 255, 0.2); color: #00ffff; }
.status.complete { background: rgba(39, 202, 64, 0.2); color: #27ca40; }
.status.failed { background: rgba(255, 95, 86, 0.2); color: #ff5f56; }

/* Terminal Mockup */
.terminal-window {
    background: #1a1a2e;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #0d0d1a;
}

.terminal-title {
    flex: 1;
    text-align: center;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.terminal-content {
    padding: 1rem;
    min-height: 280px;
    font-size: 0.65rem;
    line-height: 1.6;
}

.terminal-line {
    white-space: nowrap;
    overflow: hidden;
}

.terminal-line .prompt {
    color: #00ffff;
    margin-right: 0.5rem;
}

.terminal-line.output {
    color: rgba(255, 255, 255, 0.8);
}

.terminal-line.output.dim {
    color: rgba(255, 255, 255, 0.6);
}

.terminal-line.output.cyan {
    color: #00ffff;
    font-weight: bold;
}

.terminal-line.output.bold {
    font-weight: bold;
    color: #fff;
}

.terminal-line .green {
    color: #27ca40;
}

.terminal-line .red {
    color: #ff5f56;
}

.terminal-line .cursor {
    color: #00ffff;
    animation: blink 1s infinite;
}

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

/* PyQt Mockup */
.pyqt-window {
    background: #2d2d30;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.pyqt-titlebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #3c3c3c;
}

.window-title {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.window-controls .ctrl {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.ctrl.close:hover { color: #ff5f56; }

.pyqt-menubar {
    display: flex;
    gap: 1rem;
    padding: 0.4rem 1rem;
    background: #2d2d30;
    border-bottom: 1px solid #3c3c3c;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
}

.pyqt-content {
    display: flex;
    min-height: 220px;
}

.pyqt-sidebar {
    width: 160px;
    background: #252526;
    padding: 0.75rem;
    border-right: 1px solid #3c3c3c;
}

.input-section, .settings-section {
    margin-bottom: 1rem;
}

.section-title {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.image-dropzone {
    background: #1e1e1e;
    border: 1px dashed #3c3c3c;
    border-radius: 4px;
    padding: 0.75rem;
}

.concept-preview {
    text-align: center;
}

.concept-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.concept-preview span {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.6);
}

.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.setting-row label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
}

.setting-row select {
    font-size: 0.55rem;
    padding: 0.2rem 0.4rem;
    background: #1e1e1e;
    border: 1px solid #3c3c3c;
    color: #fff;
    border-radius: 3px;
}

.generate-btn, .publish-btn {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.65rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.generate-btn {
    background: linear-gradient(135deg, #0078d4, #00bcf2);
    color: #fff;
}

.publish-btn {
    background: linear-gradient(135deg, #27ca40, #00bc8c);
    color: #fff;
    margin-top: 0.5rem;
}

.pyqt-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
}

.viewport-3d {
    flex: 1;
    background: #1e1e1e;
    border-radius: 4px;
    position: relative;
    margin-bottom: 0.75rem;
}

.model-preview {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.wireframe-cube {
    width: 60px;
    height: 60px;
    border: 2px solid #00ffff;
    transform: rotateX(-20deg) rotateY(45deg);
    position: relative;
    animation: rotate3d 10s linear infinite;
}

@keyframes rotate3d {
    from { transform: rotateX(-20deg) rotateY(0deg); }
    to { transform: rotateX(-20deg) rotateY(360deg); }
}

.wireframe-cube::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(0, 255, 255, 0.4);
    transform: translateZ(30px);
}

.axis-gizmo {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 0.6rem;
}

.axis-gizmo .x { color: #ff5f56; }
.axis-gizmo .y { color: #27ca40; margin-left: 0.5rem; }
.axis-gizmo .z { color: #007acc; margin-left: 0.5rem; }

.viewport-controls {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 0.25rem;
}

.viewport-controls span {
    font-size: 0.5rem;
    padding: 0.2rem 0.4rem;
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
}

.viewport-controls span.active {
    background: #0078d4;
    color: #fff;
}

.output-panel {
    background: #252526;
    border-radius: 4px;
    padding: 0.5rem;
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.status-badge {
    font-size: 0.55rem;
    padding: 0.2rem 0.5rem;
    background: rgba(39, 202, 64, 0.2);
    color: #27ca40;
    border-radius: 3px;
}

.output-header .time {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.5);
}

.output-files {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.file-item {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.file-item .icon {
    font-size: 0.7rem;
}

.pyqt-statusbar {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 1rem;
    background: #007acc;
    font-size: 0.55rem;
    color: #fff;
}

/* AE Mockup */
.ae-interface {
    background: #232323;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.ae-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: #1a1a1a;
}

.ae-logo {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #00005b, #9999ff);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    color: #fff;
}

.ae-title {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
}

.ae-workspace {
    display: flex;
    min-height: 180px;
}

.ae-timeline {
    flex: 1;
    background: #1a1a1a;
    padding: 0.5rem;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.comp-name {
    font-size: 0.65rem;
    color: #fff;
    font-weight: 500;
}

.duration {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
}

.timeline-ruler {
    height: 24px;
    background: #2a2a2a;
    border-radius: 4px;
    position: relative;
    margin-bottom: 0.5rem;
}

.timeline-ruler .marker {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background: #ff9500;
    cursor: pointer;
}

.timeline-ruler .marker::after {
    content: attr(data-label);
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5rem;
    color: #ff9500;
    white-space: nowrap;
}

.timeline-ruler .playhead {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background: #00ffff;
}

.timeline-ruler .playhead::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 10px;
    height: 8px;
    background: #00ffff;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.timeline-tracks {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.track {
    display: flex;
    align-items: center;
    height: 20px;
}

.track-name {
    width: 80px;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.6);
}

.track-bar {
    flex: 1;
    height: 14px;
    background: rgba(0, 255, 255, 0.2);
    border-radius: 2px;
}

.ae-panel {
    width: 140px;
    background: #2a2a2a;
    border-left: 1px solid #3c3c3c;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: #1a1a1a;
    font-size: 0.6rem;
    color: #fff;
}

.panel-menu {
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.panel-content {
    padding: 0.5rem;
}

.marker-list {
    margin-bottom: 0.5rem;
}

.marker-item {
    display: grid;
    grid-template-columns: 50px 1fr 25px;
    padding: 0.3rem;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
}

.marker-item.selected {
    background: rgba(0, 255, 255, 0.15);
    color: #00ffff;
}

.marker-item .time {
    color: rgba(255, 255, 255, 0.5);
}

.marker-item .dur {
    text-align: right;
    color: rgba(255, 255, 255, 0.4);
}

.panel-actions {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ae-btn {
    padding: 0.4rem;
    font-size: 0.6rem;
    border: 1px solid #3c3c3c;
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 3px;
    cursor: pointer;
}

.ae-btn.primary {
    background: #00005b;
    border-color: #00008b;
    color: #fff;
}

.json-output {
    background: #1e1e1e;
    margin: 0.5rem;
    border-radius: 4px;
    overflow: hidden;
}

.json-header {
    padding: 0.4rem 0.75rem;
    background: #2d2d30;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
}

.json-code {
    padding: 0.5rem 0.75rem;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.5rem;
    color: #9cdcfe;
    line-height: 1.4;
    margin: 0;
}

/* ShotGrid Mockup */
.sg-widget {
    background: #1e1e2e;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.sg-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #16161e;
}

.sg-logo {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #ff6b35, #f7c627);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.7rem;
    color: #fff;
}

.sg-title {
    flex: 1;
    font-size: 0.75rem;
    color: #fff;
    font-weight: 500;
}

.sg-filters {
    display: flex;
    gap: 0.5rem;
}

.sg-filters select {
    font-size: 0.6rem;
    padding: 0.3rem 0.5rem;
    background: #2a2a3e;
    border: 1px solid #3c3c5c;
    color: #fff;
    border-radius: 4px;
}

.sg-content {
    padding: 1rem;
}

.artist-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.artist-card {
    background: #252535;
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.artist-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #00ffff, #0088ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: #000;
}

.artist-info {
    flex: 1;
    min-width: 60px;
}

.artist-name {
    display: block;
    font-size: 0.7rem;
    color: #fff;
    font-weight: 500;
}

.artist-dept {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.5);
}

.workload-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    position: relative;
    margin-top: 0.25rem;
}

.workload-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.workload-fill.low { background: #27ca40; }
.workload-fill.medium { background: #f7c627; }
.workload-fill.high { background: #ff9500; }
.workload-fill.critical { background: #ff5f56; }

.workload-label {
    position: absolute;
    right: 0;
    top: -14px;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.6);
}

.task-count {
    width: 100%;
    display: flex;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.task-count .count {
    font-size: 0.55rem;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
}

.count.ip { background: rgba(0, 255, 255, 0.2); color: #00ffff; }
.count.rdy { background: rgba(39, 202, 64, 0.2); color: #27ca40; }

.sg-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.summary-card {
    background: #252535;
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
}

.summary-card.alert {
    background: rgba(255, 95, 86, 0.1);
    border: 1px solid rgba(255, 95, 86, 0.3);
}

.summary-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #00ffff;
    font-weight: 600;
}

.summary-card.alert .summary-value {
    color: #ff5f56;
}

.summary-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

/* Demos Responsive */
@media (max-width: 1024px) {
    .demos-grid {
        grid-template-columns: 1fr;
    }
}

/* === Video Reel Section === */
.reel-section {
    padding: 6rem 6%;
    background: rgba(8, 12, 18, 0.95);
    backdrop-filter: blur(20px);
}

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

.reel-section .section-tag {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: #00ffff;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.reel-section h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    font-weight: 600;
}

.reel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.reel-item {
    background: rgba(0, 20, 30, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.reel-item:hover {
    border-color: rgba(0, 255, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.1);
}

.reel-item.featured {
    grid-column: span 1;
}

.reel-video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background: #000;
}

.reel-video-container iframe,
.reel-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.reel-video-container video {
    object-fit: cover;
}

.reel-info {
    padding: 1.25rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
}

.reel-info h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.reel-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* Reel Responsive */
@media (max-width: 1024px) {
    .reel-grid {
        grid-template-columns: 1fr;
    }
    
    .reel-item.featured {
        grid-column: span 1;
    }
}

@media (max-width: 640px) {
    .reel-section {
        padding: 4rem 1rem;
    }
}

@media (max-width: 640px) {
    .demos-section {
        padding: 4rem 1rem;
    }
    
    .demo-mockup {
        padding: 1rem;
        min-height: auto;
    }
    
    .dashboard-ui {
        height: auto;
        flex-direction: column;
    }
    
    .dash-sidebar {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pyqt-content {
        flex-direction: column;
    }
    
    .pyqt-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #3c3c3c;
    }
    
    .ae-workspace {
        flex-direction: column;
    }
    
    .ae-panel {
        width: 100%;
        border-left: none;
        border-top: 1px solid #3c3c3c;
    }
    
    .artist-cards {
        grid-template-columns: 1fr;
    }
}
