/* ===================================
   AysimaPOS Landing Page - Who Can Use Section
   Modern SaaS Design - Variables Based
   =================================== */

/* Content Width Override */
.who-can-use-page .container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (max-width: 768px) {
    .who-can-use-page .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 1280px) {
    .who-can-use-page .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Hero Section - COMPACT */
.who-hero-section {
    background: var(--gradient-primary);
    min-height: 45vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-16) 0 var(--spacing-10);
}

.who-hero-section .container {
    max-width: 1280px;
}

.who-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.2)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.8;
}

.who-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.who-hero-title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-extrabold);
    color: #ffffff;
    margin-bottom: var(--spacing-4);
    line-height: var(--line-height-tight);
}

.who-hero-subtitle {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-6);
    line-height: var(--line-height-normal);
}

.who-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Sector Cards Section - COMPACT */
.sectors-section {
    padding: 35px 0;
    background: var(--gray-lightest);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
    text-align: center;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray-dark);
    text-align: center;
    margin-bottom: 2.25rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.sector-card {
    background: #ffffff;
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-4);
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-duration-300) var(--transition-timing-function-out);
    border: 2px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.sector-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-duration-300) var(--transition-timing-function-out);
}

.sector-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-400);
}

.sector-card:hover::before {
    transform: scaleX(1);
}

.sector-icon {
    width: 55px;
    height: 55px;
    border-radius: var(--border-radius-xl);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-4);
    transition: all var(--transition-duration-300) var(--transition-timing-function-out);
    box-shadow: var(--shadow-md);
}

.sector-card:hover .sector-icon {
    transform: scale(1.08) rotate(3deg);
    box-shadow: var(--shadow-lg);
}

.sector-icon i {
    font-size: var(--font-size-xl);
    color: #ffffff;
}

.sector-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.6rem;
}

.sector-description {
    font-size: 0.95rem;
    color: var(--gray-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.sector-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sector-features li {
    padding: 0.4rem 0;
    color: var(--gray-dark);
    font-size: 0.92rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.sector-features li i {
    color: var(--success-500);
    margin-right: 0.6rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    font-size: 0.85rem;
}

/* Problem-Solution Section - CARD LAYOUT */
.problem-solution-section {
    padding: 10px 0;
    background: var(--gray-lightest);
}

/* Alert border styles */
.border-left-primary {
    border-left: 4px solid var(--primary-600) !important;
}

/* Problem-Solution Cards */
.problem-solution-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.problem-solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
    border-color: var(--primary-600);
}

.problem-card-header {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-500) 100%);
    padding: 1.5rem;
    color: var(--white);
    text-align: center;
}

.problem-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.problem-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    color: var(--white);
}

.problem-card-body {
    padding: 1.5rem;
}

.problem-description {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px dashed var(--gray-100);
}

.problem-description p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-dark);
    margin-top: 0.75rem;
}

.solution-description h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.solution-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-list li {
    padding: 0.5rem 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--gray-dark);
    display: flex;
    align-items: flex-start;
}

.solution-list li strong {
    color: var(--dark);
}

/* Badge Styles */
.problem-badge {
    display: inline-block;
    background: var(--danger-500);
    color: var(--white);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.solution-badge {
    display: inline-block;
    background: var(--success-500);
    color: var(--white);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Benefits Section - COMPACT */
.benefits-section {
    padding: 35px 0;
    background: var(--gray-lightest);
}

.benefit-card {
    background: var(--white);
    border-radius: 0.8rem;
    padding: 1rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-lighter);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 0.8rem;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-500) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.05);
}

.benefit-icon i {
    font-size: 1.6rem;
    color: var(--white);
}

.benefit-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.benefit-description {
    font-size: 0.9rem;
    color: var(--gray-dark);
    line-height: 1.6;
    margin: 0;
}

/* Info Callout - Custom Alert Style */
.info-callout {
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-100) 100%);
    border-left: 4px solid var(--primary-600);
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem;
    display: flex;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
}

.info-callout-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.info-callout-content {
    flex: 1;
}

.info-callout-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-700);
    margin: 0 0 0.5rem 0;
}

.info-callout-text {
    font-size: 0.95rem;
    color: var(--primary-800);
    line-height: 1.6;
    margin: 0;
}

.info-callout-link {
    color: var(--primary-700);
    font-weight: 600;
    text-decoration: underline;
}

.info-callout-link:hover {
    color: var(--primary-800);
    text-decoration: none;
}

/* Warning Callout */
.warning-callout {
    background: linear-gradient(135deg, var(--warning-50) 0%, var(--warning-200) 100%);
    border-left: 4px solid var(--warning-500);
}

.warning-callout .info-callout-icon {
    background: var(--warning-500);
}

.warning-callout .info-callout-title {
    color: var(--warning-600);
}

.warning-callout .info-callout-text {
    color: var(--warning-700);
}

.warning-callout .info-callout-link {
    color: var(--warning-600);
}

/* Success Callout */
.success-callout {
    background: linear-gradient(135deg, var(--success-50) 0%, var(--success-100) 100%);
    border-left: 4px solid var(--success-500);
}

.success-callout .info-callout-icon {
    background: var(--success-500);
}

.success-callout .info-callout-title {
    color: var(--success-600);
}

.success-callout .info-callout-text {
    color: var(--success-800);
}

.success-callout .info-callout-link {
    color: var(--success-600);
}

/* Danger Callout */
.danger-callout {
    background: linear-gradient(135deg, var(--danger-50) 0%, var(--danger-100) 100%);
    border-left: 4px solid var(--danger-500);
}

.danger-callout .info-callout-icon {
    background: var(--danger-500);
}

.danger-callout .info-callout-title {
    color: var(--danger-600);
}

.danger-callout .info-callout-text {
    color: var(--danger-800);
}

.danger-callout .info-callout-link {
    color: var(--danger-600);
}

/* Stats Section - COMPACT */
.stats-section {
    padding: 30px 0;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-500) 100%);
}

.stats-section .stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.6rem;
    padding: 1rem 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stats-section .stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.stats-section .stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
}

.stats-section .stat-icon i {
    font-size: 1.1rem;
    color: var(--white);
}

.stats-section .stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.3rem;
    line-height: 1;
}

.stats-section .stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* FAQ Section - COMPACT */
.faq-section {
    padding: 20px 0;
    background: var(--white);
}

.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 0.75rem;
    border-radius: 0.6rem;
    overflow: hidden;
    border: 1px solid var(--gray-lighter);
}

.faq-accordion .accordion-button {
    background: var(--white);
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 1rem 1.25rem;
    border: none;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--gray-lightest);
    color: var(--primary-600);
}

.faq-accordion .accordion-body {
    padding: 1rem 1.25rem;
    color: var(--gray-dark);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* CTA Section - COMPACT */
.cta-who-section {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-500) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-who-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.cta-who-content {
    position: relative;
    z-index: 2;
}

.cta-who-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-who-subtitle {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    color: var(--white);
}

.cta-trust-badges {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.trust-badge i {
    font-size: 1.5rem;
    opacity: 0.9;
    color: var(--white);
}

.trust-badge-text {
    text-align: left;
}

.trust-badge-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.trust-badge-label {
    font-size: 0.9rem;
    opacity: 0.85;
    color: var(--white);
}

/* Responsive Design - COMPACT */
@media (max-width: 991px) {
    .who-hero-section {
        padding: var(--spacing-14) 0 var(--spacing-8);
    }
}

@media (max-width: 768px) {
    .who-hero-title {
        font-size: var(--font-size-xl);
    }
    
    .who-hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .section-title {
        font-size: var(--font-size-xl);
    }
    
    .sector-card {
        margin-bottom: var(--spacing-4);
    }
    
    .stat-number {
        font-size: var(--font-size-3xl);
    }
    
    .cta-who-title {
        font-size: var(--font-size-xl);
    }
    
    .cta-trust-badges {
        gap: var(--spacing-5);
    }
}

@media (max-width: 576px) {
    .who-hero-section {
        padding: 80px 0 40px;
    }
    
    .sectors-section,
    .problem-solution-section,
    .benefits-section,
    .faq-section {
        padding: 40px 0;
    }
    
    .stat-card {
        padding: 0.75rem;
    }
    
    .section-subtitle {
        margin-bottom: 1.5rem;
    }
}

/* ============================================
   Hero Animations - Unique Style: Scale + Fade
   ============================================ */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.who-hero-badge {
    animation: scaleIn 0.6s ease-out;
}

.who-hero-title {
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.who-hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
