:root {
    --sky: #00BFFF;
    --black: #050505;
    --titanium: #f4f4f4;
    --white: #ffffff;
    --grey-text: #666666;
}

/* --- RESET & MOBILE OPTIMIZATION --- */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--white);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- RESPONSIVE TYPOGRAPHY --- */
h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
}

p {
    font-size: clamp(1rem, 2vw, 1.2rem);
}

/* --- NAV ADAPTATIVA --- */
nav {
    background: var(--black) !important;
    height: auto;
    min-height: 70px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.brand-logo {
    position: relative !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    color: var(--sky) !important;
}

/* --- HERO RESPONSIVO --- */
.hero-billpos {
    background: var(--black);
    padding: 100px 0 60px 0;
    color: var(--white);
    min-height: 80vh;
    display: flex;
    align-items: center;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}

.hero-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.hero-img {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 191, 255, 0.3);
    border: 2px solid rgba(0, 191, 255, 0.2);
}

/* --- SECCIONES INTERCALADAS --- */
.section-padding {
    padding: 80px 0;
}

.bg-white {
    background: var(--white);
}

.bg-grey {
    background: var(--titanium);
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

/* --- TARJETAS DINÁMICAS --- */
.card-pos {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #eee;
    height: 100%;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-pos:hover {
    transform: translateY(-10px);
    border-color: var(--sky);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--black);
    color: var(--sky);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* --- FACTURACIÓN LIVE SIMULATOR --- */
.facturacion-mockup {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 20px;
    color: #00ff41;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    overflow: hidden;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* --- BOTONES ADAPTATIVOS --- */
.btn-billspos {
    background: var(--sky) !important;
    color: var(--black) !important;
    font-weight: 800;
    border-radius: 50px;
    padding: 0 40px;
    height: 60px;
    line-height: 60px;
    text-transform: none;
    font-size: 1.1rem;
    display: inline-block;
    width: auto;
}

@media (max-width: 600px) {
    .btn-billspos {
        width: 100%;
        text-align: center;
    }
}

/* --- REVEAL ANIMATION --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

footer {
    background: var(--black);
    color: var(--white);
    padding: 80px 0 40px 0;
}