:root {
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --cyan: #06b6d4;
    --dark: #0f172a;
    --dark-bg: #020617;
    --slate: #1e293b;
    --slate-light: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --white: #f8fafc;
    --white-dim: #e2e8f0;
    --accent-glow: rgba(37, 99, 235, 0.3);
    --cyan-glow: rgba(6, 182, 212, 0.3);
    --border: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(37, 99, 235, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark-bg);
    color: var(--white-dim);
    line-height: 1.7;
    overflow-x: hidden;
}

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

.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark-bg) 0%, var(--dark) 100%);
}

/* Navbar */
.navbar {
    height: 90px;
    display: flex;
    align-items: center;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(34, 211, 238, 0.4));
}

.logo-name-img {
    height: 28px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

.logo-slogan {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-left: 1px solid var(--border);
    padding-left: 1rem;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--white);
}

.btn-nav {
    background: var(--blue);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

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

/* Hero */
.hero {
    padding: 7rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    z-index: -1;
}

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

.hero-content {
    max-width: 100%;
}

.badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: var(--blue);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.btn-secondary {
    border: 1px solid var(--border);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gray);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

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

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--blue);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Trust Bar */
.trust-bar {
    padding: 2.5rem 0;
    background: var(--slate);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-bar p {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.trust-logos {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.25);
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-light);
    transition: all 0.3s;
}

.trust-badge:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: var(--blue);
    transform: translateY(-2px);
}

.trust-badge i {
    color: var(--blue);
    font-size: 1rem;
}

.trust-logo {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-light);
    opacity: 0.7;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section.dark {
    background: var(--slate);
}

.section-header {
    margin-bottom: 4rem;
}

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

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--blue);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header.center h2 {
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-header.center .section-desc {
    max-width: 600px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-5px);
    background: var(--slate);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray-light);
    margin-bottom: 1.2rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--gray-light);
    padding: 0.4rem 0;
}

.feature-list i {
    color: var(--cyan);
    font-size: 0.75rem;
}

/* Solution Grid */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.solution-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.solution-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-5px);
}

.solution-img {
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--blue);
    margin: 0 auto 1.5rem;
}

.solution-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.solution-card p {
    font-size: 0.9rem;
    color: var(--gray-light);
}

/* Formats Section */
.formats-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.format-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

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

.format-item i {
    font-size: 1.5rem;
    color: var(--blue);
    margin-top: 0.2rem;
}

.format-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.format-item p {
    font-size: 0.9rem;
    color: var(--gray-light);
}

.formats-visual {
    display: flex;
    justify-content: center;
}

.code-block {
    background: #0d1117;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    max-width: 450px;
}

.code-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--slate);
    border-bottom: 1px solid var(--border);
}

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

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.code-title {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--gray);
}

.code-block pre {
    padding: 1.5rem;
    overflow-x: auto;
}

.code-block code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--cyan);
    line-height: 1.8;
}

/* Security Section */
.security-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.security-list {
    list-style: none;
    margin-top: 2rem;
}

.security-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.security-list i {
    font-size: 1.2rem;
    color: var(--blue);
}

.security-badges {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 12px;
    font-weight: 600;
}

.badge-item i {
    font-size: 1.3rem;
    color: #10b981;
}

/* Testimonials / Resultados esperados */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: var(--blue);
    transform: translateY(-5px);
}

.testimonial-icon {
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--blue);
    margin: 0 auto 1.5rem;
}

.testimonial-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 0.95rem;
    color: var(--gray-light);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--slate) 100%);
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
}

.contact-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-content > p {
    color: var(--gray-light);
    margin-bottom: 2rem;
}

.contact-benefits {
    list-style: none;
}

.contact-benefits li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
    font-size: 0.95rem;
}

.contact-benefits i {
    color: #10b981;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-light);
}

.form-group input,
.form-group textarea {
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: 8px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
}

.btn-submit {
    background: var(--blue);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
}

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

/* Footer */
.footer {
    padding: 3rem 0 1.5rem;
    background: var(--dark-bg);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-logo {
    height: 36px;
}

.footer-text {
    display: flex;
    flex-direction: column;
}

.footer-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-desc {
    font-size: 0.8rem;
    color: var(--gray);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--gray-light);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--gray);
    font-size: 0.85rem;
}

.footer-contact {
    margin-top: 0.5rem;
    color: var(--blue);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .feature-grid,
    .testimonial-grid,
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .formats-flex,
    .security-grid,
    .contact-box {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Hero Visual - Imagen */
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    padding-top: 3rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 1rem;
}

.frame {
    background: var(--slate);
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.img-box {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--dark-bg);
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Showcase Carousel */
.showcase {
    padding: 3rem 0;
    overflow: hidden;
    background: var(--dark-bg);
    position: relative;
}

.showcase::before,
.showcase::after {
    content: "";
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.showcase::before {
    left: 0;
    background: linear-gradient(to right, var(--dark-bg) 0%, transparent 100%);
}

.showcase::after {
    right: 0;
    background: linear-gradient(to left, var(--dark-bg) 0%, transparent 100%);
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: scroll 50s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-item {
    width: 400px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--slate);
    transition: all 0.3s;
}

.carousel-item:hover {
    transform: translateY(-5px);
    border-color: var(--blue);
}

.carousel-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

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

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .carousel-item {
        width: 320px;
    }
    
    .carousel-item img {
        height: 180px;
    }
}

/* Download Section */
.download-wrapper {
    display: none;
}

.success-message {
    text-align: center;
    margin-bottom: 2rem;
}

.success-message i {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.success-message h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.success-message p {
    color: var(--gray-light);
}

.download-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.download-card:hover {
    border-color: #10b981;
    transform: translateY(-3px);
}

.download-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.2rem;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.download-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.download-card p {
    font-size: 0.95rem;
    color: var(--gray-light);
    margin-bottom: 1.5rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #10b981;
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-download:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.download-help {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.download-help a {
    color: var(--blue);
    text-decoration: none;
}

.download-help a:hover {
    text-decoration: underline;
}