:root {
    --primary: #00a2e8;
    --primary-soft: #e0f4ff;
    --dark: #0f172a;
    --gray-600: #475569;
    --gray-100: #f1f5f9;
    --white: #ffffff;
}

* { box-sizing: border-box; scroll-behavior: smooth; }

body { 
    font-family: 'Inter', sans-serif; 
    margin: 0; 
    background: var(--white); 
    color: var(--dark); 
    line-height: 1.6;
}

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

.main-header {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-100);
}

.logo { font-weight: 800; font-size: 1.5rem; color: var(--primary); text-decoration: none; }
.nav-links { display: flex; gap: 25px; }
.nav-links a { text-decoration: none; color: var(--gray-600); font-weight: 600; font-size: 0.9rem; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* HERO SECTION */
.hero { text-align: center; padding: 80px 0 40px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -2px; line-height: 1.1; margin: 0 0 25px; font-weight: 800; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.2rem; color: var(--gray-600); max-width: 700px; margin: 0 auto 40px; }

.badge-new { 
    background: var(--primary-soft); 
    color: var(--primary); 
    padding: 8px 16px; 
    border-radius: 50px; 
    font-size: 0.8rem; 
    font-weight: 700; 
    margin-bottom: 20px; 
    display: inline-block; 
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    .hero-actions { flex-direction: row; justify-content: center; }
}

.btn { padding: 16px 35px; border-radius: 12px; font-weight: 700; text-decoration: none; display: inline-block; transition: 0.3s; border: none; cursor: pointer; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 10px 25px rgba(0,162,232,0.3); }
.btn-primary:hover { transform: translateY(-3px); filter: brightness(1.1); }
.btn-white { background: white; color: var(--dark); }

.terminal-loader {
    background: #012456;
    border-radius: 8px;
    width: 100%;
    max-width: 320px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid #1e3a5f;
}

.terminal-header { background: #1e1e1e; padding: 10px 15px; display: flex; align-items: center; }
.terminal-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }
.terminal-title { color: #888; font-size: 11px; margin-left: 15px; font-weight: 600; text-transform: uppercase; }

.terminal-body {
    padding: 12px 15px;
    color: #fff;
    font-family: 'Consolas', monospace;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.terminal-body:hover { background: #013275; }
.copy-icon { opacity: 0.6; }

.console-box {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 25px;
    border-radius: 12px;
    font-family: 'Consolas', monospace;
    font-size: 0.85rem;
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: left;
    border-left: 4px solid var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    min-height: 140px; /* Evita que el contenido salte al cargar */
}
.console-cursor { 
    display: inline-block; 
    width: 8px; 
    height: 15px; 
    background: var(--primary); 
    animation: blink 1s infinite; 
    vertical-align: middle;
}
@keyframes blink { 50% { opacity: 0; } }

.info-section { padding: 100px 0; background: var(--gray-100); border-radius: 60px 60px 0 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 10px; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.info-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #eef2f6;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}
.info-card:hover { transform: translateY(-10px); border-color: var(--primary); }

.icon-container {
    width: 60px; height: 60px; background: var(--primary-soft); border-radius: 16px;
    display: flex; align-items: center; justify-content: center; font-size: 28px;
    margin-bottom: 25px;
}
.card-line { position: absolute; bottom: 0; left: 0; width: 0; height: 4px; background: var(--primary); transition: 0.4s; }
.info-card:hover .card-line { width: 100%; }

.mockup { background: var(--dark); padding: 40px; border-radius: 24px; margin: 80px 0; }
.mockup-header { display: flex; gap: 8px; margin-bottom: 20px; }
.screen-placeholder { background: #2b2d31; width: 100%; border-radius: 12px; overflow: hidden; display: flex; }
.screen-placeholder img { width: 100%; height: auto; opacity: 0.9; }

.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.t-card { background: var(--white); padding: 30px; border-radius: 20px; border: 1px solid var(--gray-100); }
.t-user { margin-top: 20px; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 0.9rem; }
.t-avatar { width: 35px; height: 35px; border-radius: 50%; background: var(--primary); }

.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: white; margin-bottom: 15px; padding: 20px; border-radius: 12px; border: 1px solid var(--gray-100); cursor: pointer; transition: 0.3s; }
.faq-item h4 { margin: 0; display: flex; justify-content: space-between; }
.faq-item p { margin-top: 15px; color: var(--gray-600); display: none; }
.faq-item.active p { display: block; }
.faq-icon { color: var(--primary); }

footer { background: var(--dark); color: white; padding: 80px 0 40px; text-align: center; border-radius: 60px 60px 0 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 50px; padding-top: 30px; opacity: 0.5; font-size: 0.8rem; }