:root {
    --background: #09090b;
    --foreground: #fafafa;
    --card: #18181b;
    --card-foreground: #fafafa;
    --popover: #18181b;
    --popover-foreground: #fafafa;
    --primary: #8b5cf6;
    --primary-foreground: #fafafa;
    --secondary: #27272a;
    --secondary-foreground: #fafafa;
    --muted: #27272a;
    --muted-foreground: #a1a1aa;
    --accent: #8b5cf6;
    --accent-light: #a78bfa;
    --accent-dark: #7c3aed;
    --destructive: #ef4444;
    --destructive-foreground: #fafafa;
    --border: #27272a;
    --input: #27272a;
    --ring: #8b5cf6;
    --radius: 0.5rem;
}

[data-theme="light"] {
    --background: #ffffff;
    --foreground: #09090b;
    --card: #f5f3ff;
    --card-foreground: #09090b;
    --popover: #ffffff;
    --popover-foreground: #09090b;
    --primary: #8b5cf6;
    --primary-foreground: #fafafa;
    --secondary: #f5f3ff;
    --secondary-foreground: #18181b;
    --muted: #f5f3ff;
    --muted-foreground: #71717a;
    --accent: #8b5cf6;
    --accent-light: #a78bfa;
    --accent-dark: #7c3aed;
    --destructive: #ef4444;
    --destructive-foreground: #fafafa;
    --border: #e9d5ff;
    --input: #e9d5ff;
    --ring: #8b5cf6;
    --radius: 0.5rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="light"] .nav {
    background: rgba(255, 255, 255, 0.8);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--foreground);
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
    padding: 0;
    line-height: 1;
}

.theme-toggle span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.theme-toggle:hover {
    background: var(--secondary);
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.theme-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring);
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.btn-primary:hover {
    background: var(--accent-dark);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.btn-secondary {
    background: transparent;
    color: var(--foreground);
    border: 1px solid var(--border);
}

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

.btn.large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center top,
        rgba(139, 92, 246, 0.15) 0%,
        rgba(139, 92, 246, 0.10) 15%,
        rgba(139, 92, 246, 0.05) 25%,
        rgba(139, 92, 246, 0.02) 35%,
        rgba(139, 92, 246, 0.01) 45%,
        transparent 55%
    );
    pointer-events: none;
    filter: blur(80px);
    transition: background 0.3s ease;
}

[data-theme="light"] .hero-gradient {
    background: radial-gradient(
        circle at center top,
        rgba(139, 92, 246, 0.12) 0%,
        rgba(139, 92, 246, 0.08) 15%,
        rgba(139, 92, 246, 0.04) 25%,
        rgba(139, 92, 246, 0.02) 35%,
        rgba(139, 92, 246, 0.01) 45%,
        transparent 55%
    );
}

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

/* Audience Toggle */
.audience-toggle {
    display: inline-flex;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 3rem;
    padding: 0.375rem;
    margin-bottom: 3rem;
    gap: 0.25rem;
}

.toggle-btn {
    padding: 0.75rem 2rem;
    background: transparent;
    border: none;
    border-radius: 3rem;
    color: var(--muted-foreground);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Inter', sans-serif;
}

.toggle-btn:hover {
    color: var(--foreground);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.toggle-btn.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* Audience Content */
.audience-content {
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0);
}

.audience-content.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

.audience-content.fade-in {
    opacity: 1;
    transform: translateY(0);
    animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 3rem;
    line-height: 1.6;
    min-height: 80px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    width: 416px;
    margin: 0 auto;
}

.hero-cta .btn-primary,
.hero-cta .btn-secondary {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    flex: 0 0 200px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.625rem 0;
    box-sizing: border-box;
}

/* Section */
.section {
    padding: 4rem 0;
}

.solution-section {
    padding-top: 3rem;
}

/* 3D Architecture Diagram */
.architecture-section {
    position: relative;
    padding: 4rem 0 4rem;
    overflow: hidden;
}

.architecture-container {
    perspective: 2000px;
    perspective-origin: center center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 550px;
    margin-top: 2rem;
}

.architecture-3d {
    position: relative;
    width: 1200px;
    height: 450px;
    transform-style: preserve-3d;
    animation: floatRotate 5s ease-in-out infinite;
}

@keyframes floatRotate {
    0%, 100% {
        transform: rotateX(5deg) rotateY(-10deg) translateY(0px);
    }
    50% {
        transform: rotateX(5deg) rotateY(10deg) translateY(-15px);
    }
}

.arch-layer {
    position: absolute;
    left: 50%;
    top: 50%;
    transform-style: preserve-3d;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* .arch-layer:hover {
    border-color: var(--accent-light);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
} */

/* Layer 1 - Input */
.layer-input {
    width: 260px;
    height: 300px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
    border: 2px solid var(--accent);
    border-radius: 1rem;
    transform: translate(-50%, -50%) translateZ(0px) translateX(-420px);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

/* Layer 2 - Processing */
.layer-processing {
    width: 280px;
    height: 300px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.08));
    border: 2px solid var(--accent);
    border-radius: 1rem;
    transform: translate(-50%, -50%) translateZ(-80px) translateX(-140px);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

/* Layer 3 - Intelligence */
.layer-intelligence {
    width: 280px;
    height: 300px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.12));
    border: 2px solid var(--accent);
    border-radius: 1rem;
    transform: translate(-50%, -50%) translateZ(-160px) translateX(140px);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

/* Layer 4 - Output */
.layer-output {
    width: 260px;
    height: 300px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.08));
    border: 2px solid var(--accent);
    border-radius: 1rem;
    transform: translate(-50%, -50%) translateZ(-240px) translateX(420px);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.layer-content {
    padding: 1.5rem 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

.layer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    flex-shrink: 0;
}

.layer-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.layer-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.layer-item {
    font-size: 0.8125rem;
    padding: 0.625rem 0.75rem;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--muted-foreground);
    line-height: 1.4;
    text-align: center;
    flex-shrink: 0;
}

/* Connection Lines */
.connection-line {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform-origin: center left;
    animation: pulse 2s ease-in-out infinite;
}

.connection-1 {
    transform: translate(-50%, -50%) translateZ(-40px) translateX(-280px);
}

.connection-2 {
    transform: translate(-50%, -50%) translateZ(-120px) translateX(0px);
}

.connection-3 {
    transform: translate(-50%, -50%) translateZ(-200px) translateX(280px);
}

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

/* Data Flow Particles */
.data-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: flowRight 4s ease-in-out infinite;
    box-shadow: 0 0 15px var(--accent);
    left: 10%;
}

@keyframes flowRight {
    0% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(900px) scale(0.5);
        opacity: 0;
    }
}

.data-particle:nth-child(1) { top: 45%; animation-delay: 0s; }
.data-particle:nth-child(2) { top: 50%; animation-delay: 1s; }
.data-particle:nth-child(3) { top: 55%; animation-delay: 2s; }

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

.section-header.centered {
    text-align: center;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Problem Section */
.section-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    padding: 1.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.card:hover {
    border-color: var(--accent-light);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

[data-theme="light"] .card:hover {
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

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

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card p {
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* Feature Blocks */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.feature-block.reverse {
    direction: rtl;
}

.feature-block.reverse > * {
    direction: ltr;
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--muted-foreground);
}

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

.feature-note {
    color: var(--muted-foreground);
    font-style: italic;
}

.quote {
    background: var(--secondary);
    border-left: 3px solid var(--accent);
    padding: 1.5rem;
    border-radius: 0.5rem;
    font-style: italic;
    color: var(--muted-foreground);
    margin-top: 2rem;
}

/* Mock Dashboard */
.feature-visual {
    position: relative;
}

.mock-dashboard {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="light"] .mock-dashboard {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.dashboard-meta {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--muted-foreground);
    text-transform: none;
}

/* Skill Map */
.skill-rows {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.skill-row {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem;
    background: var(--secondary);
    border-radius: 0.5rem;
    transition: all 0.2s ease, background-color 0.3s ease;
}

.skill-row:hover {
    background: var(--muted);
}

.skill-row.warning-row {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.skill-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.skill-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}

.skill-count {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.risk-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 0.125rem 0.5rem;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 0.25rem;
    color: #ef4444;
    margin-top: 0.25rem;
}

.skill-bar-container {
    position: relative;
    flex: 1;
    height: 24px;
    background: var(--muted);
    border-radius: 6px;
    overflow: hidden;
}

.skill-bar {
    height: 100%;
    border-radius: 6px;
    transition: width 0.8s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 0.75rem;
    min-width: 60px;
}

.skill-percentage {
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    white-space: nowrap;
}

.skill-bar.warning {
    animation: pulse 2s infinite;
}

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

/* Engineer Avatars */
.engineer-avatars {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
    border: 2px solid var(--card);
    flex-shrink: 0;
}

.avatar-more {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--muted-foreground);
    background: var(--muted);
    border: 1px solid var(--border);
}

/* Project Match */
.match-rows {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.match-row {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.match-row:hover {
    border-color: var(--accent-light);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

[data-theme="light"] .match-row:hover {
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.engineer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.engineer-avatar-large {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.engineer-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.engineer-name {
    font-weight: 600;
    font-size: 1rem;
}

.engineer-title {
    font-size: 0.8rem;
    color: var(--muted-foreground);
}

.match-score-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.score-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    border: 3px solid;
}

.score-circle.high-score {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--accent);
    color: var(--accent);
}

.score-circle.medium-score {
    background: rgba(99, 102, 241, 0.1);
    border-color: #6366f1;
    color: #6366f1;
}

.score-circle.low-score {
    background: rgba(161, 161, 170, 0.1);
    border-color: var(--text-secondary);
    color: var(--muted-foreground);
}

.score-label {
    font-size: 0.7rem;
    color: var(--muted-foreground);
}

.match-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.match-skill {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.75rem;
    align-items: center;
}

.skill-name {
    font-size: 0.8rem;
    color: var(--muted-foreground);
}

.skill-match-bar {
    height: 24px;
    background: var(--muted);
    border-radius: 6px;
    overflow: hidden;
}

.skill-match-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 6px;
    transition: width 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 0.75rem;
    min-width: 60px;
}

.skill-match-fill.learning {
    background: linear-gradient(90deg, #6366f1, #3b82f6);
}

.skill-match-fill.gap {
    background: linear-gradient(90deg, #71717a, #52525b);
}

.skill-match-percent {
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    white-space: nowrap;
}

.skill-match-percent.gap-text {
    color: white;
}

.learning-badge {
    font-size: 0.65rem;
    padding: 0.125rem 0.375rem;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 0.25rem;
    /* color: #6366f1; */
}

.match-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--muted-foreground);
}

/* Growth Chart */
.engineer-selector {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.engineer-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.2s ease, transform 0.2s ease;
    font-size: 0.8rem;
    color: var(--muted-foreground);
}

.engineer-chip:hover {
    border-color: var(--accent-light);
    background: var(--muted);
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.engineer-chip.selected {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--accent);
    color: var(--foreground);
}

.engineer-chip.selected:hover {
    transform: translateY(0);
}

.chip-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
}

.chart-area {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--secondary);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
}

.line-chart {
    width: 100%;
    height: auto;
}

.line-chart polyline,
.line-chart polygon,
.line-chart circle,
.line-chart g {
    transition: all 0.5s ease;
}

.pulse-dot {
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        r: 5;
    }
    50% {
        opacity: 0.6;
        r: 7;
    }
}

.growth-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.growth-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 1rem;
    background: var(--secondary);
    border-radius: 0.5rem;
}

.growth-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity 0.3s ease;
}

.growth-stat .stat-name {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    text-align: center;
}

/* Dashboard Section */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.dashboard-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.dashboard-card:hover {
    border-color: var(--accent-light);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

[data-theme="light"] .dashboard-card:hover {
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.dashboard-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.dashboard-card p {
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.stat-card:hover {
    border-color: var(--accent-light);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

[data-theme="light"] .stat-card:hover {
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Use Cases */
.use-cases {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.use-case {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.use-case:hover {
    border-color: var(--accent-light);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

[data-theme="light"] .use-case:hover {
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.use-case-scenario {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.use-case-solution {
    color: var(--muted-foreground);
    line-height: 1.7;
    padding-left: 1.5rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.feature-card:hover {
    border-color: var(--accent-light);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

[data-theme="light"] .feature-card:hover {
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--accent-light);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

[data-theme="light"] .pricing-card:hover {
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.pricing-card.featured {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-period {
    font-size: 1rem;
    color: var(--muted-foreground);
    font-weight: 400;
}

.plan-description {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

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

.plan-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--muted-foreground);
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
}

/* ROI Section */
.roi-section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.roi-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.roi-section > p {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.roi-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.roi-item strong {
    color: var(--foreground);
}

.roi-item span {
    color: var(--accent);
    font-weight: 600;
}

.roi-conclusion {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 1.125rem;
    line-height: 2;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 8rem 0;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--muted-foreground);
    margin-top: 1rem;
}

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

.footer-column h5 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.footer-column a {
    display: block;
    color: var(--muted-foreground);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--accent);
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .section-grid,
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .feature-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-block.reverse {
        direction: ltr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

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

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--foreground);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease;
    z-index: 1001;
}

.mobile-toggle:hover {
    color: var(--accent);
}

.mobile-toggle:focus-visible {
    outline: none;
    color: var(--accent);
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 4rem;
        left: 0;
        right: 0;
        background: var(--background);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        gap: 0;
        padding: 0;
        display: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        align-items: stretch;
        z-index: 999;
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
    }

    [data-theme="light"] .nav-links {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.mobile-open {
        display: flex !important;
    }

    .nav-links a:not(.btn) {
        display: block !important;
        padding: 1.125rem 2rem;
        border-bottom: 1px solid var(--border);
        text-align: left;
        font-size: 0.95rem;
        color: var(--muted-foreground);
        transition: all 0.2s ease;
    }

    .nav-links a:not(.btn):hover {
        background: var(--secondary);
        color: var(--foreground);
        padding-left: 2.5rem;
    }

    .nav-links a:not(.btn):last-of-type {
        border-bottom: 1px solid var(--border);
    }

    /* Wrapper for buttons row */
    .mobile-button-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        padding: 1.5rem 2rem;
        width: 100%;
    }

    .mobile-button-row .btn {
        flex: 1;
        margin: 0;
        padding: 0;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: calc(var(--radius) + 2px);
    }

    .mobile-button-row .theme-toggle {
        flex: 0 0 48px;
        margin: 0;
        height: 48px;
        width: 48px;
        border-radius: calc(var(--radius) + 2px);
    }

    .hero {
        padding: 8rem 0 4rem;
    }

    .hero-title {
        font-size: 2.5rem;
        min-height: auto;
    }

    .hero-subtitle {
        min-height: auto;
    }

    /* 3D Architecture - Mobile */
    .architecture-section {
        padding: 4rem 0;
    }

    .architecture-container {
        perspective: 800px;
        min-height: 400px;
    }

    .architecture-3d {
        width: 100%;
        height: 400px;
        animation: floatRotate 15s ease-in-out infinite;
    }

    .arch-layer {
        width: 90% !important;
        height: 100px !important;
    }

    .layer-input {
        transform: translate(-50%, -50%) translateZ(0px) translateY(-120px) !important;
    }

    .layer-processing {
        transform: translate(-50%, -50%) translateZ(-50px) translateY(-40px) !important;
    }

    .layer-intelligence {
        transform: translate(-50%, -50%) translateZ(-100px) translateY(40px) !important;
    }

    .layer-output {
        transform: translate(-50%, -50%) translateZ(-150px) translateY(120px) !important;
    }

    .layer-content {
        padding: 1rem;
    }

    .layer-title {
        font-size: 1rem;
    }

    .layer-icon {
        font-size: 1.2rem;
    }

    .layer-items {
        gap: 0.5rem;
    }

    .layer-item {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .data-particle {
        display: none;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }
}

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

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

/* Smooth scroll padding for fixed nav */
html {
    scroll-padding-top: 4rem;
}
