/* =============================================
   POS SYSTEM PAGE STYLES
   Counter POS System Landing Page
   ============================================= */

/* =============================================
   HERO SECTION
   ============================================= */
.pos-hero {
    position: relative;
    min-height: 426px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0;
}

.pos-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.pos-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pos-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
}

.pos-hero .container {
    position: relative;
    z-index: 2;
}

.pos-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.pos-hero-welcome {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
}

.pos-hero-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--dark-navy);
    line-height: 1.21;
    margin-bottom: 1.5rem;
}

.pos-hero-subtitle {
    font-size: 22px;
    font-weight: 400;
    color: var(--dark-navy);
    line-height: 1.21;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Jump Navigation */
.pos-jump-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.pos-jump-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pos-jump-label i {
    font-size: 1.25rem;
}

.pos-nav-btn {
    padding: 9px 22px;
    border: 1px solid var(--grey-600);
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-navy);
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 0.8;
}

.pos-nav-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    opacity: 1;
    transform: translateY(-2px);
}

.btn-book-demo {
    background: var(--primary-blue);
    color: #fff;
    border-radius: 20px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-book-demo:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(33, 148, 243, 0.3);
}


/* =============================================
   WHAT WE OFFER SECTION
   ============================================= */
.pos-offer {
    background: var(--light-blue-grey);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Decorative circles */
.pos-offer::before,
.pos-offer::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: var(--primary-blue);
    opacity: 0.4;
}

.pos-offer::before {
    width: 226px;
    height: 231px;
    bottom: -80px;
    left: -42px;
    animation: pulse 3s ease-in-out infinite;
}

.pos-offer::after {
    width: 161px;
    height: 161px;
    top: -24px;
    right: -40px;
    animation: pulse 3s ease-in-out infinite 1.5s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

.pos-offer .container {
    position: relative;
    z-index: 2;
}

.pos-offer-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.pos-offer-left {
    flex: 1;
}

.pos-offer-right {
    flex: 1;
}

.pos-offer-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    max-width: 420px;
    margin: 0 auto;
}

.pos-offer-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    max-height: 320px;
    object-fit: cover;
}

.pos-section-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.pos-offer-desc {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    line-height: 1.67;
    margin-bottom: 2rem;
}

.pos-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pos-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    line-height: 1.67;
    margin-bottom: 1rem;
}

.pos-check-list li i {
    color: var(--primary-blue);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* =============================================
   FEATURE SECTIONS (Alternating Layout)
   ============================================= */
.pos-feature {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.pos-feature.bg-light {
    background: #E6EBF4;
}

.pos-feature.bg-white {
    background: #fff;
}

.pos-feature-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.pos-feature-content.reverse {
    flex-direction: row-reverse;
}

.pos-feature-text {
    flex: 1;
}

.pos-feature-image {
    flex: 1;
}

.pos-feature-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.pos-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pos-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.pos-feature-list li i {
    color: var(--primary-blue);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.pos-feature-list h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
}

.pos-feature-list p {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark-navy);
    line-height: 1.67;
    margin: 0;
}

.pos-feature-image img {
    width: 100%;
    height: auto;
    border-radius: 25px;
    object-fit: cover;
}


/* =============================================
   HOW IT WORKS / CAROUSEL SECTION
   ============================================= */
.pos-carousel {
    background: #1E2024;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Glow effect */
.pos-carousel::before {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    filter: blur(250px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.pos-carousel .container {
    position: relative;
    z-index: 2;
}

.pos-carousel-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pos-carousel-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.pos-carousel-subtitle {
    font-size: 1.35rem;
    font-weight: 400;
    color: #fff;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.21;
}

.pos-carousel-wrapper {
    position: relative;
    max-width: 400px;
    margin: 2rem auto;
}

.pos-carousel-image {
    width: 100%;
    border-radius: 12px;
}

.pos-carousel-footer {
    text-align: center;
    margin-top: 2rem;
}

.pos-carousel-label {
    font-size: 2.25rem;
    font-weight: 600;
    color: #fff;
}

/* =============================================
   ANIMATIONS
   ============================================= */
/* Fade in from left */
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from bottom */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scale in */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children animation */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Hover effects for images */
.pos-feature-image img {
    transition: transform 0.5s ease;
}

.pos-feature-image:hover img {
    transform: translateY(-10px) scale(1.02);
}

/* Check icon animation */
.pos-check-list li i,
.pos-feature-list li i {
    transition: transform 0.3s ease;
}

.pos-check-list li:hover i,
.pos-feature-list li:hover i {
    transform: scale(1.2);
}

/* =============================================
   RESPONSIVE STYLES
   ============================================= */
@media (max-width: 991px) {
    .pos-hero {
        padding: 60px 0;
        min-height: auto;
    }
    
    .pos-hero-title {
        font-size: 2rem;
    }
    
    .pos-hero-subtitle {
        font-size: 17px;
    }
    
    .pos-offer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .pos-offer-left {
        flex: 1;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .pos-feature-content,
    .pos-feature-content.reverse {
        flex-direction: column;
        gap: 40px;
    }
    
    .pos-feature-image {
        flex: 1;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .pos-feature-image img {
        max-width: 100%;
    }
    
    .pos-section-title,
    .pos-feature-title {
        font-size: 1.9rem;
    }
    
    .pos-carousel-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .pos-hero {
        padding: 40px 0;
    }
    
    .pos-hero-welcome {
        font-size: 17px;
    }
    
    .pos-hero-title {
        font-size: 1.65rem;
    }
    
    .pos-hero-subtitle {
        font-size: 15px;
    }
    
    .pos-jump-nav {
        gap: 0.75rem;
    }
    
    .pos-nav-btn {
        padding: 6px 14px;
        font-size: 14px;
    }
    
    .pos-offer,
    .pos-feature,
    .pos-carousel {
        padding: 60px 0;
    }
    
    .pos-section-title,
    .pos-feature-title {
        font-size: 1.65rem;
    }
    
    .pos-carousel-title {
        font-size: 1.9rem;
    }
    
    .pos-carousel-subtitle {
        font-size: 1.1rem;
    }
    
    .pos-carousel-label {
        font-size: 1.65rem;
    }
}

@media (max-width: 575px) {
    .pos-hero-title {
        font-size: 1.4rem;
    }
    
    .pos-jump-nav {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pos-nav-btn {
        text-align: center;
    }
    
    .btn-book-demo {
        width: 100%;
    }
}
