:root {
    --bg-primary: #f0fdf4;
    --bg-secondary: #dcfce7;
    --bg-tertiary: #bbf7d0;
    --bg-overlay: rgba(240, 253, 244, 0.95);
    
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --text-link: #16a34a;
    
    --primary: #22c55e;
    --primary-hover: #4ade80;
    --secondary: #10b981;
    --danger: #0f766e;
    --warning: #f59e0b;
    
    --border-default: #86efac;
    --border-muted: #bbf7d0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Global Section Styles */
section {
    padding: 120px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #fdfdf8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Section Headers */
section h2 {
    font-size: clamp(36px, 7vw, 56px);
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: -0.025em;
}

section > p,
.container > p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 64px;
    text-align: center;
    line-height: 1.6;
}

/* Card Grids */
.impact-grid,
.features-grid,
.benefits-grid,
.blocks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Styles */
.impact-card,
.feature-card,
.benefit-card,
.block-card {
    background: linear-gradient(to bottom, var(--bg-secondary), rgba(220, 252, 231, 0.95));
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.impact-card:hover,
.feature-card:hover,
.benefit-card:hover,
.block-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 
        0 10px 25px rgba(34, 197, 94, 0.1),
        0 0 0 1px rgba(34, 197, 94, 0.1);
}

/* Icons */
.impact-icon,
.feature-icon,
.benefit-icon,
.block-icon {
    font-size: 48px;
    margin-bottom: 24px;
    display: inline-block;
}

/* Card Titles */
.impact-title,
.feature-card h3,
.benefit-card h3,
.block-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    text-align: center;
}

/* Card Metrics */
.impact-metric {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin: 16px 0 8px;
    text-align: center;
}

/* Card Descriptions */
.impact-description,
.feature-card p,
.benefit-card p,
.block-card p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.5;
}

/* Feature Tags */
.impact-feature {
    font-size: 14px;
    color: var(--primary);
    margin-top: 16px;
    text-align: center;
    font-weight: 500;
}

/* Section Backgrounds */
.features,
.building-blocks,
.artifact-showcase,
.real-world-impact {
    position: relative;
}

.features::before,
.building-blocks::before,
.artifact-showcase::before,
.real-world-impact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.real-world-impact {
    background: #fdfdf8;
}

.real-world-impact::before {
    background: 
        radial-gradient(circle at 20% 20%, rgba(34, 197, 94, 0.08) 0%, transparent 70%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    section {
        padding: 80px 24px;
    }

    section h2 {
        font-size: clamp(28px, 6vw, 40px);
    }

    section > p,
    .container > p {
        font-size: 16px;
        margin-bottom: 48px;
        padding: 0 16px;
    }

    .impact-grid,
    .features-grid,
    .benefits-grid,
    .blocks-grid {
        grid-template-columns: 1fr;
    }

    .impact-card,
    .feature-card,
    .benefit-card,
    .block-card {
        padding: 24px;
    }

    .impact-metric {
        font-size: 36px;
    }

    .impact-title,
    .feature-card h3,
    .benefit-card h3,
    .block-card h3 {
        font-size: 20px;
    }
}

/* Enhanced Problem Section */
.problem-section {
padding: 120px 24px;
background: #fdfdf8;
border-top: 1px solid var(--border-default);
position: relative;
overflow: hidden;
}

.problem-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(circle at 30% 40%, rgba(218, 54, 51, 0.1) 0%, transparent 50%);
pointer-events: none;
}

.problem-section .section-header h2 {
font-size: clamp(48px, 8vw, 72px);
font-weight: 800;
color: var(--danger);
text-align: center;
margin-bottom: 16px;
text-shadow: 0 4px 8px rgba(15, 118, 110, 0.2);
}

.problem-subtitle {
font-size: 22px !important;
font-weight: 500 !important;
color: var(--text-primary) !important;
text-align: center;
margin-bottom: 64px;
}

/* Problem Navigator */
.problem-navigator {
max-width: 1200px;
margin: 0 auto;
position: relative;
z-index: 2;
}

.problem-tabs {
display: flex;
justify-content: center;
gap: 8px;
margin-bottom: 48px;
flex-wrap: wrap;
}

.problem-tab {
padding: 16px 24px;
background: var(--bg-tertiary);
border: 1px solid var(--border-default);
border-radius: 12px;
color: var(--text-secondary);
font-weight: 600;
font-size: 16px;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}

.problem-tab::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(218, 54, 51, 0.1), transparent);
transition: left 0.5s ease;
}

.problem-tab:hover {
background: var(--bg-secondary);
border-color: var(--danger);
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(15, 118, 110, 0.15);
}

.problem-tab:hover::before {
left: 100%;
}

.problem-tab.active {
background: var(--danger);
color: #ffffff;
border-color: var(--danger);
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(15, 118, 110, 0.25);
}

/* Problem Content Area */
.problem-content-area {
position: relative;
min-height: 500px;
}

.problem-content {
display: none;
grid-template-columns: 1fr 1fr;
gap: 64px;
align-items: center;
opacity: 0;
transform: translateY(20px);
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.problem-content.active {
display: grid;
opacity: 1;
transform: translateY(0);
}

.problem-details h3 {
font-size: 32px;
color: var(--danger);
margin-bottom: 24px;
font-weight: 700;
}

.problem-description {
font-size: 18px;
line-height: 1.6;
color: var(--text-secondary);
margin-bottom: 32px;
}

/* Impact Stats */
.impact-stats {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 24px;
}

.stat-item {
background: rgba(15, 118, 110, 0.05);
border: 1px solid rgba(15, 118, 110, 0.2);
border-radius: 12px;
padding: 20px;
text-align: center;
transition: all 0.3s ease;
}

.stat-item:hover {
background: rgba(218, 54, 51, 0.1);
transform: translateY(-4px);
box-shadow: 0 8px 24px rgba(15, 118, 110, 0.15);
}

.stat-number {
font-size: 36px;
font-weight: 800;
color: var(--danger);
display: inline-block;
}

.stat-unit {
font-size: 24px;
font-weight: 600;
color: var(--danger);
}

.stat-label {
display: block;
font-size: 14px;
color: var(--text-muted);
margin-top: 8px;
font-weight: 500;
}

/* Animated Visuals */
.problem-visual {
display: flex;
justify-content: center;
align-items: center;
min-height: 400px;
}

/* Chat Chaos Animation */
.code-chaos-animation {
position: relative;
width: 100%;
max-width: 400px;
}

.chat-bubble {
background: var(--bg-tertiary);
border: 1px solid var(--border-default);
border-radius: 12px;
padding: 16px;
margin-bottom: 12px;
color: var(--text-secondary);
font-family: 'SF Mono', Monaco, monospace;
font-size: 14px;
opacity: 0;
transform: translateX(-20px);
animation: chatAppear 0.8s ease forwards;
}

.chat-bubble.delay-1 { animation-delay: 1s; }
.chat-bubble.delay-2 { animation-delay: 2s; }
.chat-bubble.delay-3 { animation-delay: 3s; }

.typing-indicator {
color: var(--danger);
animation: pulse 1.5s infinite;
}

@keyframes chatAppear {
to {
opacity: 1;
transform: translateX(0);
}
}

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

/* Missing Docs Animation */
.missing-docs-animation {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
width: 100%;
max-width: 350px;
}

.doc-item {
background: var(--bg-tertiary);
border: 1px solid var(--border-default);
border-radius: 8px;
padding: 16px;
text-align: center;
transition: all 0.3s ease;
}

.doc-item.empty {
border-color: var(--danger);
background: rgba(15, 118, 110, 0.05);
}

.doc-icon {
font-size: 24px;
margin-bottom: 8px;
filter: grayscale(100%);
}

.doc-name {
font-size: 12px;
font-weight: 600;
color: var(--text-muted);
margin-bottom: 4px;
}

.doc-status.missing {
font-size: 10px;
color: var(--danger);
font-weight: 600;
text-transform: uppercase;
}

/* Drift Animation */
.drift-animation {
position: relative;
width: 100%;
max-width: 400px;
}

.developer {
background: var(--bg-tertiary);
border: 1px solid var(--border-default);
border-radius: 12px;
padding: 16px;
margin-bottom: 16px;
transition: all 0.3s ease;
}

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

.dev-prompt {
font-family: 'SF Mono', Monaco, monospace;
font-size: 12px;
color: var(--secondary);
margin-bottom: 12px;
padding: 8px;
background: rgba(16, 185, 129, 0.1);
border-radius: 6px;
}

.code-output {
height: 40px;
border-radius: 6px;
animation: codeGenerate 2s ease infinite;
}

.code-output.style-1 {
background: linear-gradient(90deg, var(--primary) 0%, var(--primary-hover) 100%);
}

.code-output.style-2 {
background: linear-gradient(90deg, var(--secondary) 0%, var(--text-link) 100%);
}

.chaos-indicator {
text-align: center;
font-size: 32px;
color: var(--danger);
font-weight: 800;
animation: shake 2s ease-in-out infinite;
}

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

@keyframes shake {
0%, 100% { transform: translateX(0); }
25% { transform: translateX(-5px); }
75% { transform: translateX(5px); }
}

/* Cost Meter Animation */
.cost-meter {
width: 100%;
max-width: 350px;
}

.meter-container {
background: var(--bg-tertiary);
border: 1px solid var(--border-default);
border-radius: 12px;
padding: 24px;
margin-bottom: 24px;
position: relative;
overflow: hidden;
}

.meter-fill {
height: 8px;
background: linear-gradient(90deg, var(--primary) 0%, var(--danger) 100%);
border-radius: 4px;
width: 0%;
animation: meterFill 3s ease-in-out infinite;
}

.meter-label {
text-align: center;
margin-top: 12px;
font-weight: 600;
color: var(--text-primary);
}

.cost-items {
display: flex;
flex-direction: column;
gap: 12px;
}

.cost-item {
display: flex;
align-items: center;
gap: 12px;
padding: 12px;
background: rgba(15, 118, 110, 0.05);
border-radius: 8px;
font-size: 14px;
color: var(--text-secondary);
}

.cost-icon {
font-size: 16px;
}

@keyframes meterFill {
0% { width: 0%; }
50% { width: 85%; }
100% { width: 0%; }
}

/* Counter Animation */
.counter {
display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
.problem-content {
grid-template-columns: 1fr;
gap: 32px;
text-align: center;
}

.problem-tabs {
flex-direction: column;
align-items: center;
}

.problem-tab {
width: 100%;
max-width: 300px;
}

.impact-stats {
grid-template-columns: 1fr;
gap: 16px;
}

.problem-details h3 {
font-size: 24px;
}

.problem-description {
font-size: 16px;
}
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, var(--bg-secondary), var(--bg-primary));
    opacity: 0.8;
    z-index: -2;
    animation: backgroundShift 20s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--border-default) 1px, transparent 1px),
                        linear-gradient(90deg, var(--border-default) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    z-index: -1;
    animation: gridMove 60s linear infinite;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

/* Header and Navigation Enhancements */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    background: linear-gradient(135deg, #14532d 0%, #15803d 100%);
    backdrop-filter: blur(12px);
    z-index: 100;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(21, 128, 61, 0.4);
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 20px rgba(20, 83, 45, 0.3);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Header responsive styles */
@media (max-width: 900px) {
    .header {
        padding: 16px 20px;
        height: 70px;
    }
}

@media (max-width: 600px) {
    .header {
        padding: 12px 16px;
        height: 60px;
    }
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #f0fdf4;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 24px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: rgba(240, 253, 244, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #f0fdf4;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
    z-index: 1;
}

/* Hero Animated Background */
.hero-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* Create an exclusion zone for content */
.hero-animated-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(800px, 80%);
    height: 60%;
    background: radial-gradient(ellipse, rgba(187, 247, 208, 0.4) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* GitHub-style constellation animation */
.constellation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 1;
    pointer-events: none;
}

.node {
    position: absolute;
    width: 16px;
    height: 10px;
    border-radius: 3px;
    background: rgba(134, 239, 172, 0.4);
    border: 2px solid rgba(34, 197, 94, 0.25);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1);
    transition: transform 0.3s ease, background 0.5s ease, box-shadow 0.5s ease;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
    color: rgba(34, 197, 94, 0.7);
    letter-spacing: 0.02em;
    text-shadow: none;
    opacity: 1;
    pointer-events: none;
}

/* Remove the stud */
.node::before, .node.large::before { display: none !important; }

.node.large {
    width: 24px;
    height: 14px;
}

.node.primary {
    background: rgba(134, 239, 172, 0.5) !important;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15) !important;
}

.node.secondary {
    background: rgba(74, 222, 128, 0.4) !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1) !important;
}

.node.large {
    width: 4px;
    height: 4px;
}

.node.pulse {
    animation: nodePulse 3s infinite ease-in-out;
}

@keyframes nodePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

.floating-code {
    position: absolute;
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.1);
    border-radius: 8px;
    opacity: 0.4;
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.1);
    animation: floatAnimation 15s infinite ease-in-out;
}

.code-block-1 {
    width: 240px;
    height: 180px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30,20 L70,20 L70,80 L30,80 Z' stroke='rgba(34, 197, 94, 0.2)' fill='none' /%3E%3C/svg%3E");
    background-size: 30px 30px;
}

.code-block-2 {
    width: 200px;
    height: 150px;
    top: 10%;
    right: 5%;
    animation-delay: 2s;
    animation-duration: 18s;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20,20 L80,20 L80,80 L20,80 Z' stroke='rgba(16, 185, 129, 0.2)' fill='none' /%3E%3C/svg%3E");
    background-size: 25px 25px;
}

.code-block-3 {
    width: 180px;
    height: 120px;
    bottom: 5%;
    left: 8%;
    animation-delay: 4s;
    animation-duration: 20s;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M25,25 L75,25 L75,75 L25,75 Z' stroke='rgba(15, 118, 110, 0.2)' fill='none' /%3E%3C/svg%3E");
    background-size: 20px 20px;
}

.floating-artifact {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseAnimation 4s infinite ease-in-out;
}

.artifact-1 {
    top: 20%;
    right: 8%;
    animation-delay: 0s;
}

.artifact-2 {
    bottom: 15%;
    left: 8%;
    animation-delay: 2s;
}

.artifact-glow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.3) 0%, rgba(88, 166, 255, 0) 70%);
    animation: glowAnimation 3s infinite alternate;
}

.particle-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(34, 197, 94, 0.05) 1px, transparent 1px),
        radial-gradient(circle, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
    background-size: 50px 50px, 100px 100px;
    background-position: 0 0, 25px 25px;
    animation: gridAnimation 20s linear infinite;
    opacity: 0.3;
    /* Create a mask to exclude the center area */
    mask: radial-gradient(ellipse 400px 200px at center, transparent 0%, transparent 40%, black 60%);
    -webkit-mask: radial-gradient(ellipse 400px 200px at center, transparent 0%, transparent 40%, black 60%);
}

/* Floating particles */
.floating-particle {
    position: absolute;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3) 0%, rgba(16, 185, 129, 0.3) 100%);
    border-radius: 50%;
    opacity: 0.2;
    pointer-events: none;
    animation: floatParticle 15s infinite linear;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.2);
    z-index: 1;
}

@keyframes floatParticle {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -50px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 40px) rotate(240deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes pulseAnimation {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes glowAnimation {
    0% {
        opacity: 0.5;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes gridAnimation {
    0% {
        background-position: 0 0, 25px 25px;
    }
    100% {
        background-position: 50px 50px, 75px 75px;
    }
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 5;
    /* Create a safe zone around the content */
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.15);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(34, 197, 94, 0.3);
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 24px;
    margin: 0 auto 64px;
    text-align: center;
}

.section-header h2 {
    font-size: clamp(36px, 7vw, 56px);
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    text-align: center;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
}

.problem-section .section-header h2 {
    font-size: clamp(40px, 8vw, 64px);
    font-weight: 800;
    color: var(--danger);
    text-align: center;
    margin-bottom: 12px;
}

.problem-subtitle {
    font-size: 20px !important;
    font-weight: 500 !important;
    color: var(--text-primary) !important;
    margin-top: 8px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.problem-card {
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    text-align: left;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-medium);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-large);
}

.problem-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: block;
}

.problem-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--danger);
    font-weight: 600;
    line-height: 1.3;
}

.problem-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

.problem-card-large {
    grid-column: span 1;
}

.problem-card-large h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.problem-details {
    margin-top: 16px;
}

.problem-details p {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
}

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

.problem-stats {
    margin-top: 16px;
}

.stat-highlight {
    background: rgba(218, 54, 51, 0.1);
    border: 1px solid rgba(15, 118, 110, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    text-align: center;
}

.stat-number-large {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--danger);
    margin-bottom: 4px;
}

.stat-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.problem-stats p {
    margin-top: 16px;
    font-style: italic;
    color: var(--text-muted);
}

/* Solution Preview */
.solution-preview {
    padding: 80px 24px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
}

.solution-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.solution-text h2 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

.solution-text p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.solution-features {
    list-style: none;
    margin-bottom: 32px;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.solution-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 600;
}

.code-comparison {
    background: var(--bg-canvas);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-large);
}

.code-header {
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-default);
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-dots {
    display: flex;
    gap: 4px;
}

.code-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.code-dot.red { background: #f85149; }
.code-dot.yellow { background: #d29922; }
.code-dot.green { background: #3fb950; }

.code-content {
    padding: 16px;
    font-family: 'SF Mono', Monaco, Inconsolata, 'Roboto Mono', Consolas, monospace;
    font-size: 12px;
    line-height: 1.45;
}

.code-before {
    color: var(--danger);
    margin-bottom: 16px;
}

.code-after {
    color: var(--primary);
}

.code-arrow {
    text-align: center;
    font-size: 16px;
    color: var(--text-muted);
    margin: 16px 0;
}

/* Artifact Showcase Slider */
.artifact-showcase {
    padding: 120px 40px;
    background: #fdfdf8;
    border-top: 1px solid var(--border-default);
}

.artifact-showcase .section-header {
    max-width: 1200px;
    margin: 0 auto 40px;
}

/* Redesigned Core Artifacts section with auto-sliding rows */
.artifacts-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.slider-container {
    max-width: 1280px;
    margin: 64px auto 0;
    position: relative;
    overflow: hidden;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.slider-btn {
    padding: 8px 16px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-default);
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider-btn:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.slider-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.slide-content {
    padding: 32px;
}

.artifact-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.artifact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.artifact-info h3 {
    font-size: 20px;
    margin-bottom: 4px;
    color: var(--text-primary);
    font-weight: 600;
}

.artifact-meta {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

/* New styles for artifact tags and metadata */
.artifact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  min-height: 28px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background-color: rgba(34, 197, 94, 0.1);
  color: var(--primary);
  border-radius: 20px;
    font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.2), transparent);
  transition: left 0.5s ease;
}

.tag:hover {
  background-color: rgba(34, 197, 94, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
}

.tag:hover::before {
  left: 100%;
}

.vetted, .security-level, .last-updated {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.vetted {
  color: #f0c14b; /* Gold color for vetted count */
  position: relative;
}

.vetted::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: #f0c14b;
  transition: width 0.3s ease;
}

.vetted:hover::after {
  width: 100%;
}

.security-level {
    color: #3fb950;
}

.security-level[data-level="5"] {
    color: #3fb950; /* Green for highest security */
}

.security-level[data-level="4"] {
    color: #a5d6ff; /* Blue for high security */
}

.security-level[data-level="3"] {
    color: #f0c14b; /* Yellow for medium security */
}

.security-level[data-level="2"] {
    color: #f85149; /* Red for lower security */
}

.security-level[data-level="1"] {
    color: #da3633; /* Dark red for lowest security */
}

.last-updated {
    color: var(--text-muted);
}

.generated-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.feature-badge {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.feature-badge-icon {
    font-size: 16px;
    margin-bottom: 4px;
}

.feature-badge-text {
    font-size: 11px;
    color: var(--text-primary);
    font-weight: 500;
}

.code-preview {
    background: var(--bg-canvas);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-large);
}

.code-preview-content {
    padding: 16px;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 11px;
    line-height: 1.6;
    color: var(--text-secondary);
    height: 350px;
    overflow-y: auto;
}

/* Syntax highlighting */
.keyword { color: #ff7b72; }
.string { color: #a5d6ff; }
.function { color: #d2a8ff; }
.comment { color: #8b949e; font-style: italic; margin-left: 5px; }
.number { color: #79c0ff; }

/* Use Cases Section */
.use-cases {
    padding: 120px 24px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-top: 1px solid var(--border-default);
    position: relative;
}

.use-cases .section-header p {
    max-width: 800px;
    margin: 0 auto 48px;
    font-size: 20px;
    color: var(--text-secondary);
    text-align: center;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.use-case-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.use-case-card:hover::before {
    opacity: 1;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
}

.use-case-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: inline-block;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.2) 100%);
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.1);
    transition: all 0.3s ease;
}

.use-case-card:hover .use-case-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.15);
}

.use-case-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.use-case-metrics {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

/* Style for checkmark values */
.metric-value.checkmark {
    color: #3fb950;
    font-size: 22px;
}

.metric-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.use-case-highlight {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(48, 54, 61, 0.5);
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
    color: var(--primary);
}

@media (max-width: 768px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .use-case-card {
        padding: 20px;
    }
    
    .use-case-icon {
        font-size: 24px;
        width: 48px;
        height: 48px;
    }
    
    .use-case-card h3 {
        font-size: 18px;
    }
    
    .metric-value {
        font-size: 20px;
    }
}

/* Features Section */
.features {
    padding: 120px 24px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(34, 197, 94, 0.05) 0%, transparent 70%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    transition: all 0.2s ease;
    text-align: center;
    box-shadow: var(--shadow-medium);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-large);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: block;
}

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

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 14px;
}

/* Social Proof */
.social-proof {
    padding: 64px 24px;
    text-align: center;
    background: #fdfdf8;
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
}

.testimonial {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-content {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 24px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.author-title {
    color: var(--text-muted);
    font-size: 12px;
}

/* Final CTA */
.final-cta {
    padding: 120px 24px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.08) 0%, transparent 60%);
    pointer-events: none;
    animation: pulseGlow 4s ease-in-out infinite;
}

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

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

.cta-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 48px 0 24px 0;
    border-top: 1px solid var(--border-default);
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.footer-section {
    flex: 1;
    min-width: 220px;
    text-align: left;
}

.footer-section h4 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    text-align: left;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 10px;
    text-decoration: none;
    transition: color 0.2s;
    text-align: left;
}

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

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 32px;
}

/* Navigation dots */
.nav-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-default);
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-dot:hover,
.nav-dot.active {
    background: var(--primary);
}

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

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.fade-in.revealed {
    opacity: 1;
}

/* Closing Statement */
.closing-statement {
max-width: 900px;
margin: 80px auto 0;
text-align: center;
padding: 24px;
border-top: 1px solid rgba(15, 118, 110, 0.3);
}

.closing-statement p {
font-size: 20px;
line-height: 1.6;
color: var(--text-primary);
font-weight: 500;
}

/* Problem Section Enhancements */
.problem-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.problem-intro p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.pain-point-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
}

.pain-point-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.pain-point-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.pain-point-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.pain-point-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* How It Works Section */
.how-it-works-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 32px;
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 24px;
}

.step-visual {
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 16px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prompt-bubble {
    background: var(--bg-primary);
    border: 1px solid var(--border-muted);
    border-radius: 8px;
    padding: 12px;
    width: 100%;
    position: relative;
}

.prompt-text {
    color: var(--text-secondary);
    font-family: monospace;
    font-size: 14px;
}

.prompt-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--primary);
    margin-left: 4px;
    animation: blink 1s infinite;
}

.code-snippet {
    font-family: monospace;
    font-size: 14px;
    color: var(--text-secondary);
    width: 100%;
}

.folder-structure {
    font-family: monospace;
    font-size: 14px;
    color: var(--text-secondary);
    text-align: left;
    width: 100%;
}

.folder {
    margin-bottom: 4px;
}

.file {
    margin-bottom: 4px;
    color: var(--text-muted);
}

.indent {
    margin-left: 20px;
}

.indent-2 {
    margin-left: 40px;
}

.indent-3 {
    margin-left: 60px;
}

.indent-4 {
    margin-left: 80px;
}

.indent-5 {
    margin-left: 100px;
}

.deploy-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.deploy-icon {
    font-size: 32px;
    animation: bounce 2s infinite;
}

.deploy-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.deploy-status {
    font-size: 14px;
    color: #3fb950;
    font-weight: 600;
}

/* Why Artifacts Section */
.why-artifacts {
    padding: 120px 24px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-default);
}

.why-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.why-intro p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.benefit-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.benefit-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Building Blocks Section */
.building-blocks {
    padding: 120px 24px;
    background: linear-gradient(45deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.building-blocks::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 45%, rgba(88, 166, 255, 0.03) 50%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, rgba(9, 105, 218, 0.03) 50%, transparent 55%);
    background-size: 30px 30px;
    pointer-events: none;
}

.blocks-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.blocks-intro p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.blocks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.block-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
}

.block-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.block-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.block-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.block-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pain-points-grid,
    .how-it-works-steps,
    .benefits-grid,
    .blocks-grid {
        grid-template-columns: 1fr;
    }
    
    .step-card,
    .benefit-card,
    .block-card,
    .pain-point-card {
        padding: 24px;
    }
}

/* Enhanced folder structure styling */
.folder-visual {
    padding: 16px;
}

.folder-structure {
    font-family: monospace;
    font-size: 13px;
    color: var(--text-secondary);
    text-align: left;
    width: 100%;
    white-space: pre;
    line-height: 1.3;
    background: var(--bg-primary);
    border-radius: 8px;
    padding: 12px;
    overflow: auto;
}

.folder-line {
    margin-bottom: 1px;
}

.folder-icon, .file-icon {
    margin-right: 3px;
}

.folder-indent {
    color: var(--text-muted);
    user-select: none;
}

.highlight-purple {
    color: #d2a8ff;
}

/* Make the step visual more compact for folder structure */
.step-card .step-visual {
    min-height: 180px;
    max-height: 400px;
    overflow-y: auto;
}

/* Solution preview section header styling */
.solution-preview .section-header h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 20px;
}

.step-card-full {
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 24px;
    position: relative;
    transition: all 0.3s ease;
    margin: 24px auto;
    max-width: 900px;
}

.step-card-full:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.step-card-full h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.step-card-full p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.step-card-full .step-visual {
    min-height: 350px;
}

.step-card-full .step-number {
    position: absolute;
    top: -15px;
    left: 24px;
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Redesigned Core Artifacts section with auto-sliding rows */
.artifacts-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.artifacts-row {
    display: flex;
    gap: 24px;
    padding: 20px 0;
    width: max-content;
}

.slide-left {
    animation: slideLeft 40s linear infinite;
}

.slide-right {
    animation: slideRight 40s linear infinite;
}

.artifact-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  min-width: 280px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: cardPulse 3s infinite alternate;
  animation-delay: calc(var(--card-index, 0) * 0.5s);
}

@keyframes cardPulse {
  0% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  100% {
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.15);
  }
}

.artifact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.artifact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    background: linear-gradient(to bottom, var(--bg-secondary), rgba(220, 252, 231, 0.95));
}

.artifact-card:hover h3 {
    color: var(--primary);
}

.artifact-badge {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.2) 100%);
    border-radius: 20px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    font-family: 'SF Mono', 'Cascadia Code', monospace;
    border: 1px solid rgba(34, 197, 94, 0.2);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.1);
    transition: all 0.3s ease;
}

.artifact-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
}

.artifact-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.artifact-card p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.artifact-meta {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(48, 54, 61, 0.5);
  padding-top: 12px;
}

.artifact-meta span {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.artifact-meta span:hover {
  transform: translateY(-2px);
}

/* Specific styles for different meta items */
.artifact-meta .vetted {
    color: #f0c14b; /* Gold color for vetted count */
}

.artifact-meta .security-level {
    color: #3fb950; /* Default green for security level */
}

/* Security level colors based on text content */
.artifact-meta .security-level {
    color: #3fb950; /* Default green for security level */
}

/* We'll use JavaScript to add these classes instead of :contains() */
.security-level-5 {
    color: #3fb950 !important; /* Green for highest security */
}

.security-level-4 {
    color: #a5d6ff !important; /* Blue for high security */
}

.security-level-3 {
    color: #f0c14b !important; /* Yellow for medium security */
}

.security-level-2 {
    color: #f85149 !important; /* Red for lower security */
}

.security-level-1 {
    color: #da3633 !important; /* Dark red for lowest security */
}

.artifact-meta .last-updated {
    color: var(--text-muted);
}

/* Artifact tags styling */
.artifact-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    background-color: rgba(34, 197, 94, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.tag:hover {
    background-color: rgba(34, 197, 94, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
}

/* Special tags styling - using classes instead of :contains() */
.tag-compliance {
    background-color: rgba(63, 185, 80, 0.1);
    color: #3fb950;
}

.tag-ai-model {
    background-color: rgba(240, 193, 75, 0.1);
    color: #f0c14b;
}

.tag-architecture {
    background-color: rgba(165, 214, 255, 0.1);
    color: #a5d6ff;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes slideRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Pause animation on hover */
.artifacts-row:hover {
    animation-play-state: paused;
}

@media (max-width: 768px) {
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
  
  .use-case-card {
    padding: 20px;
  }
  
  .use-case-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
  }
  
  .use-case-card h3 {
    font-size: 18px;
  }
  
  .metric-value {
    font-size: 20px;
  }
  
  /* General responsive styles */
    .nav-menu {
        display: none;
    }
    
    .solution-content,
    .problem-content {
        grid-template-columns: 1fr;
    }
    
    .email-form {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .slider-controls {
        flex-wrap: wrap;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .problem-card-large {
        grid-column: auto;
    }
    
    .problem-card h3 {
        font-size: 20px;
    }
    
    .problem-card-large h3 {
        font-size: 24px;
    }
    
    .stat-number-large {
        font-size: 36px;
    }
    
    .problem-subtitle {
        font-size: 16px !important;
    }
    
    /* Hero section mobile styles */
    .hero {
        padding: 100px 16px 60px;
    }
    
    .hero-title {
        font-size: clamp(32px, 8vw, 40px);
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
        padding: 0 10px;
    }
    
    .email-capture {
        padding: 24px 16px;
    }
    
    .form-benefits {
        flex-direction: column;
        gap: 8px;
    }
    
    .floating-code, .floating-artifact {
        opacity: 0.2;
    }

    /* Reduce constellation animation intensity on mobile */
    .constellation .node {
        opacity: 0.5;
    }

    /* Create a clearer safe zone for content */
    .hero-container {
        margin: 0 16px;
        position: relative;
        z-index: 5;
    }
    
    .email-input {
        padding: 14px;
    }
    
    .btn-primary {
        width: 100%;
        padding: 14px;
    }
}

/* Tree View Component */
.artifact-structure {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 24px;
}

.artifact-structure h3.section-subtitle {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(90deg, var(--primary), #0969da);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tree-view-container {
  display: flex;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-default);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
  min-height: 500px;
  transition: all 0.3s ease;
}

.tree-view-container:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  border-color: rgba(34, 197, 94, 0.3);
}

.tree-view {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  max-height: 600px;
  border-right: 1px solid var(--border-default);
  font-family: 'SF Mono', 'Cascadia Code', monospace;
  font-size: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-secondary);
}

.tree-view::-webkit-scrollbar {
  width: 8px;
  background: var(--bg-secondary);
  border-radius: 8px;
}
.tree-view::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary) 0%, var(--bg-tertiary) 100%);
  border-radius: 8px;
  min-height: 40px;
}
.tree-view::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.description-content, .tree-description {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0 !important;
}

.description-text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.tree-description {

  background: var(--bg-tertiary);
  padding: 0;
  display: flex;
  flex-direction: column;
}

.description-header {
  padding: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-default);
  background: var(--bg-secondary);
}

.description-content {
  padding: 16px;
  flex: 1;
  overflow-y: auto;
}

.description-text {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  animation: fadeIn 0.3s ease;
}

.artifact-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

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

.tree-item {
  padding: 8px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  position: relative;
  border-radius: 6px;
  padding-left: 4px;
}

.tree-item:hover {
  color: var(--primary);
  background-color: rgba(34, 197, 94, 0.05);
}

.tree-item.active {
  color: var(--primary);
  font-weight: 600;
  background-color: rgba(34, 197, 94, 0.1);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.2);
}

.tree-toggle {
  display: inline-block;
  width: 16px;
  text-align: center;
  margin-right: 4px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: var(--text-muted);
}

.tree-icon {
  margin-right: 8px;
  transition: transform 0.2s ease;
}

.tree-item:hover .tree-icon {
  transform: scale(1.2);
}

.tree-item.active .tree-icon {
  transform: scale(1.2);
}

.tree-label {
  user-select: none;
  position: relative;
  transition: all 0.2s ease;
}

.tree-item.active .tree-label::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  animation: expandLine 0.3s forwards;
}

@keyframes expandLine {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

.tree-level {
  margin-left: 24px;
  position: relative;
  transition: all 0.3s ease;
}

.tree-level::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: var(--border-default);
}

.root-item {
  font-weight: 700;
  color: var(--primary);
  font-size: 16px;
  margin-bottom: 8px;
  border-radius: 8px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
  border: 1px solid rgba(34, 197, 94, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.description-text {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  animation: fadeIn 0.3s ease;
}

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

@media (max-width: 768px) {
  .tree-view-container {
    flex-direction: column;
  }
  
  .tree-view {
    border-right: none;
    border-bottom: 1px solid var(--border-default);
    max-height: 400px;
  }
  
  .tree-description {
    width: 100%;
    min-height: 200px;
  }
}

.step-card-full .step-visual {
  background: var(--bg-tertiary);
  border-radius: 8px;
  padding: 16px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.step-card-full .tree-view-container {
  width: 100%;
  height: 500px;
  margin-bottom: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

.step-card-full .tree-view {
  max-height: 500px;
  padding: 0;
  border-right: none;
  font-size: 13px;
}

.step-card-full .tree-description {
  background: rgba(33, 38, 45, 0.7);
  width: 280px;
}

.step-card-full .description-header {
  background: rgba(220, 252, 231, 0.9);
  font-size: 14px;
}

.step-card-full .tree-item {
  padding: 6px 0;
}

@media (max-width: 768px) {
  .step-card-full .tree-view-container {
    height: auto;
  }
  
  .step-card-full .tree-view {
    max-height: 300px;
  }
  
  .step-card-full .tree-description {
    min-height: 150px;
  }
}

/* Solution Preview Section */
.solution-preview {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    padding: 120px 24px;
}

.solution-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(34, 197, 94, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* Terminal Window */
.terminal-window {
    background: rgba(240, 253, 244, 0.8);
    border-radius: 12px;
    border: 1px solid var(--border-default);
    backdrop-filter: blur(10px);
    margin-bottom: 32px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(34, 197, 94, 0.1);
    overflow: hidden;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.terminal-header {
    background: rgba(220, 252, 231, 0.8);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-muted);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
    margin-right: 16px;
}

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

.terminal-button.close { background: #ff5f56; }
.terminal-button.minimize { background: #ffbd2e; }
.terminal-button.maximize { background: #27c93f; }

.terminal-title {
    color: var(--text-secondary);
    font-size: 14px;
    font-family: monospace;
}

.terminal-content {
    padding: 24px;
    font-family: monospace;
    flex-grow: 1;
    overflow-y: auto;
}

.command-line {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

.prompt {
    color: #a7f3d0;
}

.command {
    color: #e8f5e9;
}

.command.typing::after {
    content: '|';
    animation: blink 1s infinite;
}

.agent-message {
    color: var(--text-secondary);
    margin: 16px 0;
    font-style: italic;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
    animation-delay: 0.5s;
}

.loading-dots {
    display: flex;
    gap: 4px;
    margin: 16px 0;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
    animation-delay: 0.8s;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

.status-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    padding: 8px;
    border-radius: 6px;
    background: rgba(220, 252, 231, 0.4);
    transition: all 0.3s ease;
}

.status-line:hover {
    background: rgba(220, 252, 231, 0.6);
    transform: translateX(4px);
}

.status-line:nth-child(3) { animation-delay: 1.2s; }
.status-line:nth-child(4) { animation-delay: 1.8s; }
.status-line:nth-child(5) { animation-delay: 2.4s; }
.status-line:nth-child(6) { animation-delay: 3.0s; }
.status-line:nth-child(7) { animation-delay: 3.6s; }
.status-line:nth-child(8) { animation-delay: 4.2s; }

.status-icon {
    font-size: 16px;
}

.status-text {
    color: var(--text-secondary);
    font-size: 14px;
}

.status-line.success {
    background: rgba(39, 201, 63, 0.1);
    border: 1px solid rgba(39, 201, 63, 0.2);
}

.status-line.success .status-text {
    color: #27c93f;
font-weight: 500;
}

/* Tree View Container */
.tree-view-container {
    background: rgba(240, 253, 244, 0.8);
    border-radius: 12px;
    border: 1px solid var(--border-default);
    backdrop-filter: blur(10px);
padding: 24px;
    height: fit-content;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(34, 197, 94, 0.1);
    position: sticky;
    top: 100px;
}

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

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

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

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .solution-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .tree-view-container {
        position: static;
        max-height: 600px;
        overflow-y: auto;
    }

    .terminal-window {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .terminal-window {
        height: 400px;
        margin: 0 -16px;
        border-radius: 0;
    }
}

/* Futuristic Solution Preview Section */
.solution-preview {
    background: var(--bg-primary);
    position: relative;
    padding: 120px 0 80px 0;
    overflow: hidden;
}

.solution-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(34, 197, 94, 0.08) 0%, transparent 70%),
                radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.futuristic-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 48px;
}

.futuristic-header h2 {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 16px;
    background: linear-gradient(90deg, #22c55e, #16a34a 60%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.futuristic-header .section-subtitle {
    color: var(--text-secondary);
font-size: 20px;
    margin-bottom: 32px;
    font-weight: 400;
}

.futuristic-highlights {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.futuristic-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(220, 252, 231, 0.7);
    border: 1.5px solid #22c55e;
    border-radius: 16px;
    padding: 14px 28px;
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
    box-shadow: 0 2px 16px 0 rgba(34, 197, 94, 0.10), 0 0 0 2px rgba(34, 197, 94, 0.08);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
    animation: badgeGlow 2.5s infinite alternate;
}

.futuristic-badge:hover {
    border-color: #16a34a;
    background: rgba(34, 197, 94, 0.15);
    box-shadow: 0 4px 24px 0 rgba(34, 197, 94, 0.3), 0 0 0 2px rgba(34, 197, 94, 0.2);
}

@keyframes badgeGlow {
    0% { box-shadow: 0 2px 16px 0 rgba(34, 197, 94, 0.10), 0 0 0 2px rgba(34, 197, 94, 0.08); }
    100% { box-shadow: 0 4px 32px 0 rgba(34, 197, 94, 0.35), 0 0 0 4px rgba(16, 185, 129, 0.2); }
}

.futuristic-tree-panel {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    max-width: 900px;
    background: rgba(220, 252, 231, 0.85);
    border-radius: 24px;
    box-shadow: 0 8px 48px 0 #22c55e22, 0 0 0 2px #22c55e33;
    border: 1.5px solid #86efac;
    padding: 40px 24px 32px 24px;
    backdrop-filter: blur(12px);
    overflow-x: auto;
    margin-bottom: 0;
}

.futuristic-tree-panel .tree-view {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

@media (max-width: 900px) {
    .futuristic-tree-panel {
        max-width: 100%;
        padding: 24px 4px 16px 4px;
    }
}

@media (max-width: 600px) {
    .futuristic-header h2 {
        font-size: 24px;
    }
    .futuristic-header .section-subtitle {
        font-size: 16px;
    }
    .futuristic-badge {
        font-size: 13px;
        padding: 10px 14px;
    }
    .futuristic-tree-panel {
        padding: 12px 0 8px 0;
    }
}

/* Futuristic Agent Terminal Panel */
.futuristic-terminal-panel {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
    z-index: 1;
    position: relative;
}

.futuristic-terminal {
    background: rgba(20, 83, 45, 0.95);
    border-radius: 18px;
    box-shadow: 0 4px 32px 0 #22c55e33, 0 0 0 2px #86efac;
    border: 1.5px solid #86efac;
    min-width: 340px;
    max-width: 600px;
    width: 100%;
    font-family: 'Fira Mono', 'SF Mono', Monaco, monospace;
    overflow: hidden;
    backdrop-filter: blur(10px);
    position: relative;
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #15803d 0%, #16a34a 100%);
    padding: 10px 18px;
    border-bottom: 1px solid #86efac;
    position: relative;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 2px;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-title {
    color: #f0fdf4;
    font-size: 13px;
    font-weight: 600;
    margin-left: 18px;
    letter-spacing: 0.04em;
}

.terminal-content {
    padding: 28px 24px 24px 24px;
    background: transparent;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.terminal-line {
    font-size: 15px;
    line-height: 1.7;
    color: #e8f5e9;
    display: flex;
    align-items: center;
    opacity: 0;
    animation: terminalLineIn 0.7s forwards;
}
.terminal-line.user {
    color: #c5f1d4;
    font-weight: 600;
    animation-delay: 0.1s;
}
.terminal-line.agent {
    color: #e8f5e9;
    animation-delay: 0.5s;
}
.terminal-line.success {
    color: #a7f3d0;
    font-weight: 700;
    animation-delay: 1.2s;
}
.terminal-line .prompt {
    color: #a7f3d0;
    font-weight: 700;
    margin-right: 8px;
    font-size: 14px;
}
.terminal-line .artifact {
    color: #6ee7b7;
    font-weight: 700;
}
.terminal-line .cmd {
    font-family: inherit;
}

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

@media (max-width: 700px) {
    .futuristic-terminal {
        min-width: 0;
        max-width: 100%;
        padding: 0;
    }
    .terminal-content {
        padding: 18px 6px 14px 6px;
        font-size: 13px;
    }
}

/* Interactive Navigation Styles */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 8px;
    cursor: pointer;
    margin-left: 16px;
    z-index: 200;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

.nav-toggle:hover {
    background: rgba(74, 222, 128, 0.2);
    border-color: rgba(34, 197, 94, 0.5);
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--text-secondary);
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    transform-origin: center;
}

/* Hamburger animation is handled by JavaScript */

.nav-menu a {
    position: relative;
    overflow: hidden;
}

.nav-menu a::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    border-radius: 2px;
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
    transform: scaleX(1);
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(240, 253, 244, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 150;
        animation: slideInFromRight 0.4s cubic-bezier(0.4,0,0.2,1);
    }
    
    .nav-menu.open {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0;
        padding: 0;
        opacity: 0;
        transform: translateX(50px);
        animation: slideInItem 0.5s cubic-bezier(0.4,0,0.2,1) forwards;
    }
    
    .nav-menu.open li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.open li:nth-child(2) { animation-delay: 0.15s; }
    .nav-menu.open li:nth-child(3) { animation-delay: 0.2s; }
    .nav-menu.open li:nth-child(4) { animation-delay: 0.25s; }
    .nav-menu.open li:nth-child(5) { animation-delay: 0.3s; }
    .nav-menu.open li:nth-child(6) { animation-delay: 0.35s; }
    .nav-menu.open li:nth-child(7) { animation-delay: 0.4s; }
    
    .nav-menu a {
        padding: 20px 0;
        font-size: 24px;
        font-weight: 500;
        width: 100%;
        display: block;
        text-align: center;
        color: var(--text-primary);
        text-decoration: none;
        position: relative;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        color: var(--primary);
        transform: scale(1.05);
    }
    
    .nav-menu a::after {
        content: '';
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 60px;
        height: 2px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        transition: transform 0.3s ease;
    }
    
    .nav-menu a:hover::after {
        transform: translateX(-50%) scaleX(1);
    }
}

@keyframes fadeInNav {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInFromRight {
    from { 
        opacity: 0; 
        transform: translateX(100%); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes slideInItem {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Logo image styles */
.logo-img {
   
    max-width: 180px;
    display: block;
    object-fit: contain;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

@media (max-width: 900px) {
    .logo-img {
        height: 36px;
        max-width: none; /* Remove width constraint on mobile */
    }
}

@media (max-width: 600px) {
    .logo-img {
        height: 32px;
        max-width: none; /* Remove width constraint on mobile */
    }
}

/* --- Real-World Impact Section Tweaks --- */
.real-world-impact h2 {
  font-size: 2.2rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

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

@media (max-width: 600px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }
}

.impact-card {
  padding: 20px 14px;
}

.impact-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.impact-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.impact-metric {
  font-size: 1.7rem;
  font-weight: 700;
  color: #3b82f6;
  margin: 6px 0 2px 0;
}

.impact-description {
  font-size: 0.97rem;
  color: #b0b8c9;
  margin-bottom: 2px;
}

.impact-feature {
  font-size: 0.92rem;
  color: #6ee7b7;
  margin-top: 6px;
}

/* Email Form Styles */
.email-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.email-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-default);
    border-radius: 6px;
    background: rgba(74, 222, 128, 0.1);
    color: var(--text-primary);
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    width: 100%;
}

.email-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
}

.email-input::placeholder {
    color: var(--text-muted);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 100%;
}

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

.form-benefits {
    display: flex;
    justify-content: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 14px;
}

/* Error and Success Message Styles */
.error-message {
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
}

.success-message {
    color: #51cf66;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
}

/* Email Capture Container */
.email-capture {
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 8px;
    padding: 32px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    backdrop-filter: blur(5px);
}

.email-capture h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.email-capture p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .email-form {
        flex-direction: column;
    }
    
    .email-input {
        padding: 14px;
    }
    
    .btn-primary {
        width: 100%;
        padding: 14px;
    }
    
    .form-benefits {
        flex-direction: column;
        gap: 8px;
    }
    
    .email-capture {
        padding: 24px 16px;
    }
}

@keyframes highlightDescription {
  0% { box-shadow: 0 0 0 0 var(--primary); }
  60% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.15); }
  100% { box-shadow: 0 2px 12px 0 rgba(34, 197, 94, 0.07); }
}

.highlight-description {
  animation: highlightDescription 0.7s;
}

.tree-description-quote {
  display: block;
  width: 100%;
  max-width: 100%;
  border-left: 6px solid #27c93f;
  color: #27c93f;
  background: rgba(39, 201, 63, 0.07);
  padding: 22px 48px;
  margin: 24px 0 24px 0;
  font-size: 18px;
  font-weight: 600;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  box-shadow: none;
  border-radius: 10px;
  letter-spacing: 0.01em;
  line-height: 1.7;
  z-index: 10;
  white-space: pre-line;
  overflow-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .tree-description-quote {
    padding: 16px 8px;
    font-size: 15px;
  }
}

/* Legal Pages Layout */
.legal-container {
  max-width: 1200px;
  margin: 64px auto 40px auto;
  padding: 0 32px;
  text-align: left;
}
.legal-container h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  text-align: left;
}
.legal-container section {
  margin-bottom: 32px;
}
.legal-container h2 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  margin-top: 32px;
}
.legal-container h3 {
  font-size: 1.15rem;
  margin-top: 20px;
  margin-bottom: 6px;
}
.legal-container ul {
  margin-left: 24px;
  list-style: disc;
}
.legal-container p, .legal-container li {
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 400;
}

/* Legal Hero Section */
.legal-hero {
  background: linear-gradient(120deg, #dcfce7 0%, #bbf7d0 100%);
  padding: 100px 0 60px 0;
}
.legal-hero .legal-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.legal-hero h1 {
  color: var(--text-primary);
  font-size: 2.4rem;
  margin-bottom: 12px;
  text-align: left;
}
.legal-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 800px;
  line-height: 1.6;
}

/* Tree View Tabs */
.tree-view-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    justify-content: center;
}

.tree-view-tab {
    background: rgba(220, 252, 231, 0.7);
    border: 1.5px solid #86efac;
    border-radius: 12px;
    padding: 12px 24px;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tree-view-tab:hover {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    color: var(--text-primary);
}

.tree-view-tab.active {
    background: rgba(34, 197, 94, 0.15);
    border-color: #22c55e;
    color: var(--text-primary);
    box-shadow: 0 4px 24px 0 rgba(34, 197, 94, 0.2);
}

@media (max-width: 600px) {
    .tree-view-tabs {
        gap: 8px;
    }
    
    .tree-view-tab {
        padding: 8px 16px;
        font-size: 14px;
    }
}

#adhoc-view .tree-view-container {
    display: flex;
    gap: 24px;
    background: transparent;
    border: none;
    box-shadow: none;
}

#adhoc-view .tree-view {
    flex: 0 0 300px;
    background: rgba(220, 252, 231, 0.7);
    border: 1.5px solid #86efac;
    border-radius: 12px;
    padding: 20px;
    max-height: 600px;
    overflow-y: auto;
}

.code-panel {
    flex: 1;
    background: rgba(220, 252, 231, 0.7);
    border: 1.5px solid #86efac;
    border-radius: 12px;
    overflow: hidden;
    display: none;
}

.code-header {
    background: rgba(220, 252, 231, 0.9);
    padding: 12px 20px;
    border-bottom: 1.5px solid #86efac;
}

.code-title {
    color: #a5d6ff;
    font-size: 14px;
    font-weight: 600;
}

.code-content {
    margin: 0;
    padding: 20px;
    overflow-x: auto;
    font-family: 'SF Mono', 'Cascadia Code', monospace;
    font-size: 14px;
    line-height: 1.5;
    color: #e6edf3;
    text-align: left;
}

.code-content code {
    display: block;
    white-space: pre;
}

@media (max-width: 768px) {
    #adhoc-view .tree-view-container {
        flex-direction: column;
    }

    #adhoc-view .tree-view {
        flex: none;
        width: 100%;
        max-height: 300px;
    }

        .code-panel {
         max-height: 500px;
         overflow-y: auto;
    }
}

.feature-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 32px 0;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(220, 252, 231, 0.7);
    border: 2px solid #22c55e;
    border-radius: 16px;
    padding: 16px 28px;
    color: #14532d;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.2);
    cursor: pointer;
}

.feature-badge.tab {
    min-width: 200px;
    justify-content: center;
}

.feature-badge.tab.active {
    background: rgba(34, 197, 94, 0.2);
    border-color: #16a34a;
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4);
    transform: translateY(-2px);
}

.feature-badge:hover {
    transform: translateY(-2px);
    border-color: #16a34a;
    background: rgba(34, 197, 94, 0.15);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4);
}

.feature-badge .icon {
    font-size: 24px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(34, 197, 94, 0.3));
}

.feature-badge:nth-child(1) {
    animation: badgeFadeIn 0.5s ease forwards;
}

.feature-badge:nth-child(2) {
    animation: badgeFadeIn 0.5s ease forwards 0.2s;
}

.feature-badge:nth-child(3) {
    animation: badgeFadeIn 0.5s ease forwards 0.4s;
}

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

@media (max-width: 768px) {
    .feature-badges {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .feature-badge {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Value Proposition Section */
.value-proposition-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.value-proposition-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(34, 197, 94, 0.08) 0%, transparent 70%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.value-proposition-header {
    text-align: center;
    margin-bottom: 80px;
}

.value-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 50px;
    padding: 12px 24px;
    margin-bottom: 32px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.value-badge:hover {
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
    transform: translateY(-2px);
}

.badge-icon {
    font-size: 16px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.value-proposition-header h2 {
    font-size: clamp(36px, 7vw, 56px);
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
}

.value-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.value-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-benefit-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(220, 252, 231, 0.95) 100%);
    border: 1px solid var(--border-default);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.value-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-benefit-card:hover {
    transform: translateY(-8px);
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 
        0 20px 40px rgba(34, 197, 94, 0.1),
        0 0 0 1px rgba(34, 197, 94, 0.1);
}

.value-benefit-card:hover::before {
    opacity: 1;
}

.benefit-visual {
    position: relative;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.benefit-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 2px solid rgba(34, 197, 94, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.value-benefit-card:hover .benefit-icon-wrapper {
    border-color: rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
    transform: scale(1.1);
}

.benefit-icon {
    font-size: 32px;
    transition: all 0.3s ease;
}

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

.benefit-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.value-benefit-card:hover .benefit-glow {
    opacity: 1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}

.benefit-content {
    text-align: center;
}

.benefit-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.value-benefit-card:hover .benefit-content h3 {
    color: var(--primary);
}

.benefit-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.benefit-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.feature-tag {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    border-color: rgba(34, 197, 94, 0.4);
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .value-proposition-section {
        padding: 80px 24px;
    }
    
    .value-benefits-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .value-benefit-card {
        padding: 24px;
    }
    
    .benefit-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .benefit-icon {
        font-size: 24px;
    }
    
    .value-proposition-header h2 {
        font-size: clamp(28px, 8vw, 42px);
    }
    
    .value-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .value-badge {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .benefit-features {
        gap: 6px;
    }
    
    .feature-tag {
        font-size: 11px;
        padding: 4px 8px;
    }
}

/* Problem Carousel Styles */
.problem-carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 40px 0;
}

/* Progress Bar */
.carousel-progress {
    margin-bottom: 40px;
    padding: 0 20px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-hover) 100%);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(74, 222, 128, 0.4) 50%, transparent 100%);
    animation: progressShine 2s ease-in-out infinite;
}

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

/* Tab Navigation */
.problem-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.problem-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 16px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    position: relative;
    overflow: hidden;
}

.problem-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.problem-tab:hover {
    border-color: rgba(34, 197, 94, 0.3);
    transform: translateY(-2px);
}

.problem-tab:hover::before {
    opacity: 1;
}

.problem-tab.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.tab-icon {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.problem-tab:hover .tab-icon {
    transform: scale(1.1);
}

.tab-title {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.problem-tab.active .tab-title {
    color: var(--primary);
}

/* Carousel Container */
.problem-carousel {
    position: relative;
    overflow: hidden;
    margin: 0 60px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Problem Cards */
.problem-card {
    min-width: 100%;
    /* Remove opacity:0 and scale:0.8 for non-active cards */
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.problem-card.active {
    opacity: 1;
    transform: scale(1.04);
    z-index: 2;
}

.card-visual {
    position: relative;
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}

.card-icon-wrapper {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 3px solid rgba(34, 197, 94, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.problem-card.active .card-icon-wrapper {
    border-color: rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
    transform: scale(1.1);
}

.card-icon {
    font-size: 48px;
    transition: all 0.3s ease;
}

.problem-card.active .card-icon {
    transform: scale(1.1);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.problem-card.active .card-glow {
    opacity: 1;
    animation: cardGlowPulse 2s ease-in-out infinite;
}

@keyframes cardGlowPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.6;
    }
}

.card-content {
    max-width: 600px;
}

.card-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.problem-card.active .card-content h3 {
    color: var(--primary);
}

.card-content p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.card-impact {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 24px;
}

.impact-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--danger);
    text-shadow: 0 0 10px rgba(15, 118, 110, 0.3);
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(220, 252, 231, 0.95) 100%);
    border: 1px solid var(--border-default);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 24px;
    color: var(--text-secondary);
}

.carousel-nav:hover {
    border-color: rgba(34, 197, 94, 0.3);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .problem-carousel-container {
        padding: 20px 0;
    }
    
    .problem-tabs {
        gap: 6px;
        margin-bottom: 30px;
    }
    
    .problem-tab {
        min-width: 80px;
        padding: 12px 8px;
    }
    
    .tab-icon {
        font-size: 20px;
    }
    
    .tab-title {
        font-size: 11px;
    }
    
    .problem-carousel {
        margin: 0 40px;
    }
    
    .problem-card {
        padding: 30px 15px;
    }
    
    .card-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .card-icon {
        font-size: 32px;
    }
    
    .card-content h3 {
        font-size: 24px;
    }
    
    .card-content p {
        font-size: 16px;
    }
    
    .card-impact {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .carousel-nav.prev {
        left: 10px;
    }
    
    .carousel-nav.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .problem-tabs {
        gap: 4px;
    }
    
    .problem-tab {
        min-width: 70px;
        padding: 10px 6px;
    }
    
    .tab-icon {
        font-size: 18px;
    }
    
    .tab-title {
        font-size: 10px;
    }
    
    .problem-carousel {
        margin: 0 30px;
    }
    
    .problem-card {
        padding: 20px 10px;
    }
    
    .card-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .card-icon {
        font-size: 24px;
    }
    
    .card-content h3 {
        font-size: 20px;
    }
    
    .card-content p {
        font-size: 14px;
    }
    
    .card-impact {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 12px;
    }
}