:root {
    --bg-color: #06080d;
    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-cyan: #38bdf8;
    --accent-blue: #3b82f6;
    --accent-teal: #14b8a6;
    --accent-gold: #cba871;
    
    --glass-bg: rgba(15, 23, 42, 0.4);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

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

/* CANVAS BACKGROUND */
#flow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: 0.8;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 2rem;
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    background: rgba(56, 189, 248, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 50px;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(to right, var(--accent-teal), var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 500;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* SCROLL INDICATOR */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scroll 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

@keyframes scroll {
    0% { opacity: 0; transform: translate(-50%, 0); }
    10% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 15px); }
}

/* SECTIONS */
.section {
    padding: 6rem 1rem;
    position: relative;
    z-index: 10;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

/* GLASS PANELS */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border-left: 2px solid transparent;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.section-icon {
    margin-bottom: 1.5rem;
}

.glass-panel h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.glass-panel p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.quote-block {
    border-left: 3px solid var(--accent-teal);
    padding-left: 1.5rem;
    margin: 2.5rem 0;
}
.quote-block p {
    font-style: italic;
    color: var(--text-primary);
    font-weight: 500;
}

/* IA SECTION */
.ia-section {
    padding-bottom: 8rem;
}

.ai-box-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ai-box-content h4 {
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.ai-box-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

/* BACK LINK */
.back-link {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.back-link:hover {
    color: var(--text-primary);
    background: rgba(30, 30, 40, 0.8);
    border-color: var(--text-secondary);
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.39, 0.575, 0.565, 1) forwards;
}

.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    animation: revealText 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-content .fade-in:nth-child(1) { animation-delay: 0.2s; }
.hero-content .reveal-text:nth-child(2) { animation-delay: 0.4s; }
.hero-content .fade-in:nth-child(3) { animation-delay: 0.7s; }
.scroll-indicator { animation-delay: 1.5s; }

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes revealText {
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .section { padding: 4rem 1rem; }
    .glass-panel { padding: 2rem; }
    .hero h1 { font-size: 2.5rem; }
}
