/* --- VARIABLES Y ESTILOS GLOBALES --- */
:root {
    --primary-color: #063B70; /* Azul Corporativo */
    --secondary-color: #00B6F8; /* Cian Vibrante */
    --accent-color: #FFA500; /* Naranja */
    --dark-color: #2c3e50;
    --light-color: #ffffff;
    --bg-light-gray: #f7f9fc;
    --font-family: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

section {
    padding: 80px 0;
    overflow-x: hidden;
}

/* --- ANIMACIONES DE SCROLL --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--animation-delay, 0ms);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- BOTONES Y UTILIDADES --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: #042a50;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(6, 59, 112, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid;
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* --- HEADER Y NAVEGACIÓN --- */
.header {
    background-color: var(--light-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1001;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}
.nav-menu a:hover::after {
    width: 100%;
}
.nav-menu a:hover {
    color: var(--primary-color);
}

/* --- HERO SECTION --- */
#hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 59, 112, 0.7);
    z-index: 2;
}
.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content {
    position: relative;
    z-index: 3;
}
#hero h1 {
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}
#hero .subtitle {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}
#hero .btn-secondary {
    border-color: #ffffff;
    color: #ffffff;
}
#hero .btn-secondary:hover {
    background-color: #ffffff;
    color: var(--primary-color);
}


/* --- SECCIÓN WHY (BENEFICIOS) --- */
#why {
    background-color: var(--light-color);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.why-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}
.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(6, 59, 112, 0.15);
}
.why-card svg {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}
.why-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* --- SECCIÓN FEATURES --- */
#features {
    background-color: var(--bg-light-gray);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}
.feature-item {
    background-color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    color: var(--primary-color);
    transition: all 0.3s ease;
}
.feature-item:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-5px);
}
.feature-item svg {
    color: var(--accent-color);
    transition: all 0.3s ease;
    flex-shrink: 0; /* Evita que el icono se encoja */
}
.feature-item:hover svg {
    color: var(--light-color);
    transform: rotate(10deg);
}


/* --- SECCIÓN IDEAL-FOR --- */
#ideal-for {
    background-color: var(--light-color);
}
.ideal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
.ideal-card {
    background-color: var(--bg-light-gray);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.ideal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(6, 59, 112, 0.1);
    border-color: var(--secondary-color);
}
.ideal-card svg {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
.ideal-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* --- SECCIÓN SCREENSHOTS --- */
#screenshots {
    background: linear-gradient(45deg, var(--primary-color), #0a589f);
}
#screenshots h2 {
    color: var(--light-color);
}
.screenshots-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: -60px;
    margin-top: 4rem;
    perspective: 1500px;
}
.phone-mockup {
    background-color: #111;
    border: 12px solid #111;
    border-bottom-width: 15px;
    border-top-width: 15px;
    border-radius: 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    width: 300px;
    height: 620px;
    position: relative;
    transition: transform 0.5s ease;
}
.phone-mockup:hover {
    transform: translateY(-15px) !important;
}
.phone-mockup img {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    object-fit: cover;
}

/* --- SECCIÓN TESTIMONIALS (SLIDER) --- */
#testimonial {
    background-color: var(--bg-light-gray);
}
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 40px;
}
blockquote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.4rem;
    font-style: italic;
    border-left: 4px solid var(--accent-color);
    padding-left: 2rem;
    color: var(--dark-color);
}
blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
}
.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color);
}
.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* --- SECCIÓN FAQ --- */
#faq {
    background-color: #fff;
}
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #e0e0e0;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark-color);
}
.faq-question:hover {
    color: var(--primary-color);
}
.faq-icon {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    color: #555;
    font-size: 1rem;
}
.faq-answer p {
    padding-bottom: 20px;
    padding-right: 20px;
}

/* --- SECCIÓN CTA --- */
#cta {
    background: var(--primary-color);
    text-align: center;
}
#cta h2, #cta p {
    color: var(--light-color);
}
#cta .btn-primary {
    background-color: var(--light-color);
    color: var(--primary-color);
    border: 2px solid var(--light-color);
}
#cta .btn-primary:hover {
    background-color: transparent;
    color: var(--light-color);
}

/* --- FOOTER --- */
.footer {
    background-color: var(--dark-color);
    color: #ccc;
    text-align: center;
    padding: 30px 0;
}

/* --- MODAL STYLES --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
.modal-content {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}
.close-modal-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
 
    font-size: 2rem;
    cursor: pointer;
    color: #aaa;
}
#acquisition-form .form-group {
    margin-bottom: 1.25rem;
}

#acquisition-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

#acquisition-form input {
    width: 100%;
    padding: 14px;
    border: 1px solid gray;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#acquisition-form input::placeholder {
    color: #aaa;
}

#acquisition-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 182, 248, 0.2);
}

#acquisition-form .btn {
    width: 100%;
    margin-top: 1rem;
    padding: 15px;
    font-size: 1.1rem;
}

.payment-details {
    background-color: var(--bg-light-gray);
    border: 1px solid var(--border-color);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.payment-row:last-child {
    border-bottom: none;
}

.payment-row span {
    color: #666;
}

.payment-row.total {
    font-size: 1.2rem;
    font-weight: 700;
}

.payment-row.total strong {
    color: var(--primary-color);
}

.payment-footer {
    font-size: 0.9rem;
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.payment-footer a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.payment-footer a:hover {
    text-decoration: underline;
}
/* (resto de estilos de modal sin cambios) */

/* --- MENÚ HAMBURGUESA Y RESPONSIVE --- */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}
.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .screenshots-container {
        flex-direction: column;
        gap: 40px;
    }
    .phone-mockup {
        transform: translateY(0) rotate(0) !important;
    }
}
.btn-center {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.btn-golden {
  background-color: #e8ba06;
  color: #fff;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 8px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-golden:hover {
  background-color: #f5cc27;
}

.gallery-section {
  background-color: #f7f9fc;
  padding: 40px 20px;
  text-align: center;
}

.gallery-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #222;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

.thumb {
  text-align: center;
}

.caption {
  margin-top: 5px;
  font-size: 14px;
  color: #555;
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(5px);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
    }
    .nav-menu.active { transform: translateX(0); }
    .nav-menu li { margin: 0; }
    .nav-menu a { font-size: 1.5rem; }
    .nav-menu-cta { margin-top: 2rem; }
    
    .hamburger { display: block; }
    .header .btn-primary { display: none; }
    
    .hero-buttons { flex-direction: column; align-items: center; }

    #hero { height: 70vh; }
    .video-background { background: url('https://via.placeholder.com/800x600.png/063B70/FFFFFF?text=Golden+POS') center center/cover no-repeat; }
   
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #cce4d5;
  color: white;
  border-radius: 50%;
  text-align: center;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounceIn 0.8s ease;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}