:root {
    --bg-dark: #07090F;
    --bg-darker: #040509;
    --bg-card: rgba(15, 20, 35, 0.6);
    --text-main: #FFFFFF;
    --text-muted: #A0A5B5;
    
    --primary: #00F0FF;
    --primary-hover: #33F3FF;
    --secondary: #0057FF;
    
    --gradient-brand: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-darker); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 5px; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s;
}

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; padding: 20px 0;
    z-index: 100; transition: all 0.3s ease;
}
.navbar.scrolled {
    padding: 15px 0; background: rgba(4, 5, 9, 0.85); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: white; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { color: var(--primary) !important; font-weight: 700 !important; }
.lang-selector { font-size: 0.85rem; color: var(--text-muted); }
.lang-selector span.active { color: white; font-weight: bold; }
.lang-selector span { cursor: pointer; transition: color 0.3s ease; }
.lang-selector span:hover { color: var(--primary); }

/* Buttons */
.btn-primary {
    background: var(--gradient-brand); color: white; text-decoration: none;
    padding: 12px 28px; border-radius: 100px; font-weight: 600; font-size: 1rem;
    transition: all 0.3s ease; border: none; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 87, 255, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 240, 255, 0.4); }
.btn-large { padding: 16px 36px; font-size: 1.1rem; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 0 24px; overflow: hidden; text-align: center; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('assets/hero-bg.jpg'); background-size: cover; background-position: center; z-index: -2; transform: scale(1.05); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(7, 9, 15, 0.4) 0%, var(--bg-dark) 100%); z-index: -1; }
.hero-content { max-width: 900px; margin-top: 60px; }
.badge { display: inline-block; padding: 6px 16px; background: rgba(0, 240, 255, 0.1); border: 1px solid rgba(0, 240, 255, 0.2); color: var(--primary); border-radius: 100px; font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 24px; letter-spacing: -1px; }
.hero p { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--text-muted); margin-bottom: 40px; max-width: 800px; margin-inline: auto; }

/* Sections Common */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.section-header p { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; margin-inline: auto; }
.glass-panel { background: var(--bg-card); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 24px; padding: 40px 32px; transition: all 0.4s ease; }
.glass-panel:hover { border-color: rgba(0, 240, 255, 0.3); transform: translateY(-5px); }

/* Problema */
.problem-section { padding: 80px 24px; max-width: 1000px; margin: 0 auto; text-align: center; }
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-bottom: 40px; }
.problem-item { background: rgba(255,255,255,0.03); padding: 16px 24px; border-radius: 12px; font-weight: 500; color: #E0E5F5; border: 1px solid rgba(255,255,255,0.05); }
.problem-conclusion { font-size: 1.2rem; color: var(--primary); }

/* Workflow */
.workflow-section { padding: 80px 24px; max-width: 1200px; margin: 0 auto; text-align: center; }
.workflow-steps { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.w-step { max-width: 500px; width: 100%; position: relative; padding: 30px; border-radius: 20px; }
.w-icon { width: 40px; height: 40px; border-radius: 20px; background: var(--gradient-brand); display: flex; align-items: center; justify-content: center; font-weight: bold; position: absolute; top: -20px; left: 50%; transform: translateX(-50%); }
.w-step h3 { margin-top: 10px; margin-bottom: 8px; color: var(--primary); }
.w-arrow { font-size: 2rem; color: var(--text-muted); margin: 10px 0; }
@media (min-width: 768px) {
    .workflow-steps { flex-direction: row; justify-content: center; align-items: stretch; gap: 40px; }
    .w-step { flex: 1; }
    .w-arrow { margin: auto 0; transform: rotate(-90deg); }
}

/* Features */
.features-section { padding: 120px 24px; max-width: 1200px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 12px; color: white; }
.feature-card p { color: var(--text-muted); font-size: 1rem; }

/* Mobile Control Section */
.mobile-section { padding: 100px 24px; background: linear-gradient(180deg, var(--bg-dark), rgba(0, 87, 255, 0.05), var(--bg-dark)); }
.mobile-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.mobile-text { flex: 1; min-width: 300px; }
.mobile-text h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 24px; }
.mobile-text p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 30px; }
.mobile-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-weight: 500; color: #E0E5F5; }
.mobile-visual { flex: 1; display: flex; justify-content: center; min-width: 300px; }
.smartphone { width: 300px; height: 600px; border: 12px solid #222; border-radius: 40px; background: #111; position: relative; box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(0,240,255,0.1); overflow: hidden; }
.smartphone::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 25px; background: #222; border-bottom-left-radius: 15px; border-bottom-right-radius: 15px; z-index: 10; }
.screen { padding: 40px 16px 20px; height: 100%; display: flex; flex-direction: column; background: #0a0e17; }
.screen-header { text-align: center; font-weight: bold; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 20px; }
.slot { padding: 12px; border-radius: 8px; margin-bottom: 12px; font-size: 0.85rem; font-weight: 600; }
.slot.booked { background: rgba(0,240,255,0.15); border-left: 4px solid var(--primary); }
.slot.free { background: rgba(255,255,255,0.05); border-left: 4px solid #666; }
.slot.lesson { background: rgba(0,87,255,0.15); border-left: 4px solid var(--secondary); }

/* Brand */
.brand-section { padding: 80px 24px; max-width: 800px; margin: 0 auto; text-align: center; }
.brand-content { padding: 60px 40px; }

/* Proof */
.proof-section { padding: 40px 24px; text-align: center; background: rgba(0, 240, 255, 0.05); border-top: 1px solid rgba(0,240,255,0.1); border-bottom: 1px solid rgba(0,240,255,0.1); color: var(--primary); font-weight: 500; font-size: 1.1rem; }

/* Implementation */
.implementation-section { padding: 120px 24px; max-width: 1200px; margin: 0 auto; }
.impl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.impl-step { position: relative; padding: 30px; background: rgba(255,255,255,0.02); border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); }
.impl-number { font-size: 4rem; font-weight: 900; color: rgba(255,255,255,0.05); position: absolute; top: 10px; right: 20px; line-height: 1; }
.impl-step h4 { font-size: 1.2rem; margin-bottom: 12px; position: relative; z-index: 1; }
.impl-step p { color: var(--text-muted); position: relative; z-index: 1; }

/* CTA Form */
.cta-section { padding: 120px 24px; background: radial-gradient(circle at center, rgba(0, 87, 255, 0.1) 0%, var(--bg-dark) 70%); text-align: center; }
.cta-content { max-width: 800px; margin: 0 auto; }
.cta-content h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 24px; }
.cta-content p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 40px; }
.demo-form { padding: 40px; text-align: left; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.demo-form input { width: 100%; padding: 14px 20px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: white; font-family: var(--font-body); font-size: 1rem; transition: border-color 0.3s; }
.demo-form input:focus { outline: none; border-color: var(--primary); }
.demo-form button { width: 100%; margin-bottom: 12px; }
.demo-form small { display: block; text-align: center; color: var(--text-muted); }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* Footer */
footer { border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 60px 24px 30px; background: var(--bg-darker); }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-muted); margin-top: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a, .lang-footer { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { text-align: center; color: rgba(255, 255, 255, 0.3); font-size: 0.85rem; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.05); }

/* Animations */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in { opacity: 0; transition: opacity 1s ease-out; }
.fade-up.visible, .fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Responsive Nav */
@media (max-width: 768px) {
    .nav-links, .lang-selector { display: none; }
}
