/* Base y Variables */
:root {
    --bg-color: #0d0f12; /* Deep Black/Dark Gray */
    --bg-secondary: #1a1d24; /* Lighter Gray for cards */
    --text-main: #e0e6ed;
    --text-muted: #a0aec0;
    --accent-primary: #00ff88; /* Neon Green */
    --accent-primary-hover: #00cc6a;
    --accent-secondary: #00f0ff; /* Electric Blue */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
}

a {
    text-decoration: none;
    color: var(--accent-secondary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-primary);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #000;
    border: 2px solid var(--accent-primary);
}

.btn-primary:hover {
    background-color: var(--accent-primary-hover);
    border-color: var(--accent-primary-hover);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--text-main);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-outline:hover {
    background-color: var(--accent-primary);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.btn-full {
    width: 100%;
    margin-top: 20px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Navegación */
.navbar {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    background-color: rgba(13, 15, 18, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
}

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

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.hero-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: none;
    max-width: none !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13,15,18,0.6) 0%, rgba(13,15,18,0.9) 80vh, rgba(13,15,18,1) 100vh);
    z-index: 2;
}

@media (max-aspect-ratio: 16/9) {
    .hero-video-bg iframe {
        width: 177.78vh;
        height: 100vh;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.15) 0%, rgba(13, 15, 18, 0) 70%);
    z-index: 3;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 4;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--accent-primary);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-mockup {
    width: 100%;
    max-width: 500px;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    overflow: hidden;
}

.mockup-header {
    background-color: rgba(0,0,0,0.2);
    padding: 10px 15px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mockup-header i {
    font-size: 12px;
}

.mockup-body {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--accent-secondary);
    font-size: 1.5rem;
}

.mockup-body i {
    font-size: 4rem;
    margin-bottom: 15px;
    color: var(--accent-primary);
}

/* Grillas Generales */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-top: -30px;
    margin-bottom: 50px;
}

/* Pain Points */
.pain-points {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.card {
    background-color: var(--bg-color);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
}

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

.card-pain {
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-pain p {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pain-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.card-pain h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card-pain p {
    color: var(--text-muted);
}

/* Features */
.features {
    padding: 100px 0;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-secondary);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-secondary);
    min-width: 60px;
    text-align: center;
}

.feature-text h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Diferenciador */
.diferenciador {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%);
    border-top: 1px solid rgba(0, 255, 136, 0.2);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.diferenciador-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.diferenciador-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-primary);
}

.diferenciador-content p {
    font-size: 1.3rem;
    color: #fff;
}

.diferenciador-content strong {
    display: block;
    margin-top: 20px;
    color: var(--accent-secondary);
    font-size: 1.4rem;
}

/* Pricing */
.pricing {
    padding: 100px 0;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--bg-secondary);
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.pricing-card .target {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    min-height: 40px;
}

.pricing-card .price {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.pricing-card .price span {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
}

.features-list-pricing {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 30px;
}

.features-list-pricing li {
    margin-bottom: 15px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list-pricing li i {
    color: var(--accent-primary);
    font-size: 0.9rem;
}

.pricing-card.highlighted {
    border: 2px solid var(--accent-primary);
    transform: scale(1.05);
    background-color: #161a20;
}

.pricing-card.highlighted:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-primary);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Social Proof */
.social-proof {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.quote {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: italic;
    color: #fff;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.4;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: rgba(0, 255, 136, 0.1);
    padding: 15px 30px;
    border-radius: 50px;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.security-badge i {
    color: var(--accent-primary);
    font-size: 1.5rem;
}

.security-badge p {
    font-weight: 500;
    color: var(--text-main);
    margin: 0;
}

/* CTA Final */
.cta-final {
    padding: 100px 0;
    background: radial-gradient(circle at center, rgba(0,255,136,0.1) 0%, transparent 60%);
}

.demo-form {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255,255,255,0.03);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: left;
}

.demo-form .form-row {
    display: flex;
    gap: 20px;
}

.demo-form .form-group {
    margin-bottom: 20px;
    flex: 1;
}

.demo-form input, .demo-form select, .demo-form textarea {
    width: 100%;
    padding: 15px;
    background-color: #111418;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0,255,136,0.1);
}

.demo-form select {
    appearance: none;
    cursor: pointer;
}

.cta-final h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-final p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: #000;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 15px;
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-muted);
}

.footer-links ul li a:hover {
    color: var(--accent-primary);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-primary);
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.3);
    font-size: 0.9rem;
}

/* Utilidades y Nuevas Secciones con Imágenes */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

.rounded-image {
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.glow-effect {
    box-shadow: 0 20px 50px rgba(0, 255, 136, 0.2);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

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

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

.mt-40 {
    margin-top: 40px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text-block {
    flex: 1;
}

.feature-text-block h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.feature-text-block p {
    color: var(--text-muted);
    font-size: 1.2rem;
    text-align: justify;
    margin-bottom: 15px;
}

.feature-text-block p:last-child {
    margin-bottom: 0;
}

.feature-text-block .feature-icon {
    margin-bottom: 20px;
    text-align: left;
}

.feature-image-block {
    flex: 1;
}

/* Responsivo */
@media (max-width: 992px) {
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        text-align: center;
    }
    .feature-text-block .feature-icon {
        text-align: center;
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content p {
        margin: 0 auto 40px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .pricing-card.highlighted {
        transform: none;
    }
    .pricing-card.highlighted:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Aquí iría un menú hamburguesa en JS */
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
    .hero-content h1 {
        font-size: 2.3rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .demo-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}
