:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --text: #ffffff;
    --text-secondary: #d1d5db;
    --bg-dark: #1f2937;
    --bg-darker: #111827;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text);
    background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
    min-height: 100vh;
    line-height: 1.6;
}

.min-h-screen {
    min-height: 100vh;
    position: relative;
}

.animated-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
    transform: translateZ(0);
}

.animated-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.content {
    position: relative;
    z-index: 1;
}

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

.section {
    padding: 4rem 0;
}

.bg-dark {
    background-color: rgba(31, 41, 55, 0.5);
}

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

/* Hero section */
.hero {
    padding: 6rem 0;
    text-align: center;
}

.gradient-text {
    font-size: 4rem;
    font-weight: bold;
    background: linear-gradient(to right, #60a5fa, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Buttons */
.cta-button {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

.cta-button:active {
    transform: scale(0.95);
}

/* Button hover effects */
.hover-scale {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-scale:active {
    transform: scale(0.95);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: rgba(31, 41, 55, 0.5);
    padding: 1.5rem;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

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

/* Benefits */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-icon {
    background-color: var(--primary);
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Typography */
h2 {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-secondary);
}

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

/* AI Interaction Animation */
.ai-interaction {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    pointer-events: none;
    transform: translateY(calc(var(--scroll) * 0.5px));
    transition: transform 0.1s linear;
}

.ai-node, .human-node {
    fill: var(--bg-darker);
    stroke: var(--primary);
    stroke-width: 1.5;
    filter: drop-shadow(0 0 5px var(--primary));
}

.ai-text, .human-text {
    fill: var(--text);
    font-size: 20px;
    font-weight: bold;
    opacity: 0.7;
}

.connection-line {
    stroke: var(--primary);
    stroke-width: 1.5;
    stroke-dasharray: 5,5;
    animation: dash 20s linear infinite;
    opacity: 0.7;
}

.data-particle {
    fill: var(--primary);
    opacity: 0;
    animation: particle-move 3s ease-in-out infinite;
    filter: blur(0.5px);
}

.data-particle:nth-child(1) { animation-delay: 0s; }
.data-particle:nth-child(2) { animation-delay: 0.4s; }
.data-particle:nth-child(3) { animation-delay: 0.8s; }
.data-particle:nth-child(4) { animation-delay: 1.2s; }
.data-particle:nth-child(5) { animation-delay: 1.6s; }
.data-particle:nth-child(6) { animation-delay: 2s; }
.data-particle:nth-child(7) { animation-delay: 2.4s; }

@keyframes dash {
    to {
        stroke-dashoffset: 1000;
    }
}

@keyframes particle-move {
    0% {
        opacity: 0;
        transform: translateX(0);
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(300px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gradient-text {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.25rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA section specific styles */
.section:last-child .cta-button {
    margin: 2rem 0;
}

#logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    transition: all 0.5s cubic-bezier(.4,2,.6,1);
}
#logo-container.logo-fixed {
    position: fixed !important;
    top: 24px !important;
    left: 24px !important;
    transform: scale(0.7) !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    width: auto !important;
    z-index: 1000 !important;
} 