/* ==========================================
   HygoPOS - QR Massa Style Page
   ========================================== */

/* Hero */
.pos-hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    background: #050510;
}

.pos-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.pos-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.pos-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: var(--accent-color);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.pos-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-color), #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pos-hero-content > p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pos-hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mini Cards */
.pos-hero-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.mini-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
}

.mini-card:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.25);
    transform: translateY(-4px);
}

.mini-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.mini-card span {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
}

.mini-card p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

/* Sections */
.pos-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.pos-section-alt {
    background: var(--bg-accent);
}

.pos-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.pos-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--accent-color);
    padding: 0.4rem 1.25rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.pos-section-header h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
}

.pos-section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Feature Cards */
.pos-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pos-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 2.25rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pos-feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #818cf8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pos-feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.pos-feature-card:hover::after {
    opacity: 1;
}

.pos-feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.pos-feature-icon i {
    font-size: 1.25rem;
    color: #fff;
}

.pos-feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.pos-feature-card > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.pos-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pos-feature-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.pos-feature-list li i {
    color: var(--success);
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* Management Grid */
.pos-management-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.pos-mgmt-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.pos-mgmt-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.pos-mgmt-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pos-mgmt-icon i {
    font-size: 1.15rem;
    color: #fff;
}

.pos-mgmt-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.pos-mgmt-content p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.55;
}

/* Tech Grid */
.pos-tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}

.pos-tech-item {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.75rem 1rem;
    transition: all 0.3s ease;
}

.pos-tech-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
}

.pos-tech-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    display: block;
}

.pos-tech-item span {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.pos-tech-item p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* CTA */
.pos-cta {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.pos-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #050510 0%, #0a1628 50%, #050510 100%);
}

.pos-cta-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
}

.pos-cta-content {
    position: relative;
    z-index: 1;
}

.pos-cta-content h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.pos-cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
}

.pos-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 1024px) {
    .pos-hero-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .pos-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pos-tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pos-hero-content h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .pos-hero {
        padding: 130px 0 70px;
    }

    .pos-hero-content h1 {
        font-size: 2.15rem;
        letter-spacing: -1px;
    }

    .pos-hero-content > p {
        font-size: 1rem;
    }

    .pos-hero-cards {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .pos-section {
        padding: 60px 0;
    }

    .pos-section-header h2 {
        font-size: 2rem;
    }

    .pos-features-grid {
        grid-template-columns: 1fr;
    }

    .pos-management-grid {
        grid-template-columns: 1fr;
    }

    .pos-tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pos-cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .pos-hero {
        padding: 110px 0 50px;
    }

    .pos-hero-content h1 {
        font-size: 1.75rem;
    }

    .pos-hero-cards {
        grid-template-columns: 1fr;
    }

    .mini-card {
        padding: 1.25rem;
    }

    .pos-section-header h2 {
        font-size: 1.65rem;
    }

    .pos-feature-card {
        padding: 1.75rem;
    }

    .pos-tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pos-cta-content h2 {
        font-size: 1.65rem;
    }

    .pos-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .pos-cta-buttons .btn-primary,
    .pos-cta-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}
