/* Variables */
:root {
    --primary-dark: #212529;
    --accent-warning: #ffc107;
    --bg-light: #f8f9fa;
    --text-secondary: #6c757d;
    --shadow-lg: rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
    --transition-speed: 0.4s;
}

/* Body */
body {
    padding-top: 56px;
    background-color: var(--bg-light);
    font-family: 'Inter', sans-serif;
    color: var(--primary-dark);
}

/* Hero */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.6)), url('https://i.pinimg.com/736x/f0/27/c1/f027c19f65c5f05257a1ed0bb962c6a4.jpg') no-repeat center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}
.hero p {
    font-size: 1.2rem;
    font-weight: 500;
}
@media(min-width:768px){ 
    .hero h1{ font-size:3rem; } 
    .hero p{ font-size:1.5rem; }
}

/* Cards */
.feature-card, .pricing-card {
    border-radius: var(--border-radius);
    background: #fff;
    text-align: center;
    padding: 30px 20px;
    height: 100%;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.feature-card:hover, .pricing-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px var(--shadow-lg);
}
.feature-icon { color: var(--accent-warning); transition: color 0.3s ease; }
.feature-card:hover .feature-icon { color: #007bff; }

/* Demo Hero Parallax con overlay transparente */
.demo-hero {
    position: relative;
    width: 100%;
    height: 100vh; /* ocupa toda la pantalla */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.demo-hero .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* más grande para movimiento parallax */
    background: url('Public/image.png') no-repeat center center;
    background-size: cover;
    z-index: -2; /* detrás de todo */
    transform: translateY(0);
    transition: transform 0.2s linear;
}

/* Overlay negro semi-transparente */
.demo-hero .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); /* negro semi-transparente */
    z-index: -1; /* encima del fondo pero debajo del contenido */
}

.demo-hero .content {
    position: relative; /* encima del overlay */
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.demo-hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.demo-hero p {
    font-size: 1.5rem;
    font-weight: 400; /* sin negrita */
    margin-bottom: 25px;
}

.demo-btn {
    padding: 14px 36px;
    font-size: 1.2rem;
    border-radius: 16px;
    background-color: #ffc107;
    color: #212529;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.demo-btn:hover {
    transform: scale(1.05);
    background-color: #e0a800;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Responsive */
@media(max-width:768px){
    .demo-hero h2 { font-size: 2rem; }
    .demo-hero p { font-size: 1rem; }
}


/* Contacto */
.form-dark-custom { background-color:#2c3034; border:1px solid #495057; color:white; }
.form-dark-custom .form-control{ background:#343a40; border-color:#495057; color:white; }
.form-dark-custom .form-control::placeholder{ color:#adb5bd; }

/* Footer */
.social-icons a{ transition: color 0.3s ease; }
.hover-accent:hover{ color: var(--accent-warning) !important; }

/* WhatsApp */
.whatsapp-btn{ position:fixed; bottom:25px; right:25px; width:65px; height:65px; background:#25d366; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 6px 12px rgba(0,0,0,0.4); transition:0.3s; z-index:1020;}
.whatsapp-btn:hover{ transform:scale(1.1) rotate(3deg); }

/* Secciones fade-in */
.section-fade{ opacity:0; transform: translateY(20px); transition: all 0.6s ease; }
.section-fade.visible{ opacity:1; transform: translateY(0); }
