:root {
    --bg-dark: #020617;
    /* Dark Navy */
    --bg-card: #0F172A;
    /* Slate 900 */
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;

    /* Updated Colors per User Strict Guide (Adapted for Dark Mode) */
    --accent-blue: #1d60f5;
    /* Brand Blue (Primary) */
    --accent-green: #22c55e;
    /* Success/WhatsApp */
    --accent-red: #ef4444;
    /* Danger */
    --accent-purple: #a855f7;
    /* Action Purple */
    --accent-indigo: #6366f1;
    /* Action Indigo */

    --font-main: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.text-highlight {
    color: var(--accent-blue);
}

.text-gradient {
    background: linear-gradient(to right, #22c55e, #1d60f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-primary {
    color: var(--accent-blue) !important;
}

.text-success {
    color: var(--accent-green) !important;
}

.text-danger {
    color: var(--accent-red) !important;
}

.text-purple {
    color: var(--accent-purple) !important;
}

.text-white {
    color: white !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
    border: none;
}

.btn-primary {
    background: var(--accent-blue);
    color: white;
}

.btn-primary:hover {
    background: #1649ba;
    box-shadow: 0 0 15px rgba(29, 96, 245, 0.4);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    background: transparent;
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* New Logo Circle */
.logo-circle {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 20px;
}

.nav-links {
    display: none;
    gap: 1.5rem;
}

@media(min-width: 900px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: white;
}

/* Hero */
.hero {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 4rem;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media(min-width: 900px) {
    .hero-content {
        flex-direction: row;
        text-align: left;
        gap: 2rem;
    }

    .hero-text {
        flex: 1;
        align-items: flex-start;
    }

    .hero-image-container {
        flex: 1;
    }

    .hero-buttons {
        justify-content: flex-start;
    }
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

@media(min-width: 900px) {
    .hero-text {
        align-items: flex-start;
    }
}

.badge-pill,
.badge-danger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(29, 96, 245, 0.1);
    color: var(--accent-blue);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(29, 96, 245, 0.3);
    margin-bottom: 1.5rem;
    /* Important for layout alignment */
    width: fit-content;
}

/* Specific override for danger badge often used in 'Nuevo' */
.badge-danger {
    /* If user wants it red/different, use accent-red, but image showed blue/default.
       Keeping generic pill style but ensuring width:fit-content is key for alignment. 
       User's screenshot showed it full width, fit-content fixes this. */
}


.hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

@media(min-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

@media(min-width: 900px) {
    .hero p {
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-image-container {
    margin-top: 3rem;
    width: 100%;
    position: relative;
}

@media(min-width: 900px) {
    .hero-image-container {
        margin-top: 0;
    }
}

.img-hero {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-bg-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100vh;
    background: radial-gradient(circle, rgba(29, 96, 245, 0.15) 0%, rgba(2, 6, 23, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Sections */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Tech Section (Beneficios) */
.tech-section {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-top: 3rem;
}

@media(min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.icon-green {
    background: rgba(34, 197, 94, 0.2);
    color: var(--accent-green);
}

.icon-blue {
    background: rgba(29, 96, 245, 0.2);
    color: var(--accent-blue);
}

.icon-purple {
    background: rgba(168, 85, 247, 0.2);
    color: var(--accent-purple);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Enterprise Section */
.kiosk-wrapper {
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-top: 3rem;
    text-align: left;
}

@media(min-width: 900px) {
    .kiosk-wrapper {
        flex-direction: row;
        align-items: center;
    }
}

.kiosk-image {
    flex: 1;
    min-height: 300px;
    position: relative;
    background: #000;
}

.kiosk-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.kiosk-content {
    flex: 1;
    padding: 3rem;
}

.feature-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.f-item {
    font-size: 1rem;
    color: var(--text-secondary);
}

.f-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Metrics Section */
.metrics-section .metric-val {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
}

/* Contact Section & Form */
.contact-section {
    padding: 4rem 0;
}

.contact-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media(min-width: 900px) {
    .contact-card {
        flex-direction: row;
    }
}

.contact-info {
    flex: 1;
    padding: 3rem;
    background: rgba(29, 96, 245, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.contact-list i {
    color: var(--accent-green);
}

.contact-form-wrapper {
    flex: 1;
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* White Form Inputs (Fixed per user request) */
.form-control {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: white;
    border: 1px solid #E2E8F0;
    color: #0F172A;
    font-family: inherit;
    font-weight: 500;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(29, 96, 245, 0.2);
}

.full-width {
    width: 100%;
}

/* Site Footer */
.site-footer {
    color: var(--text-secondary);
}

.footer-links li a:hover {
    color: var(--accent-blue);
}