/* 
 * AysimaPOS - Privacy Policy Page Styles
 * Modern SaaS Design - Variables Based
 * copilot-instructions.md COMPLIANT: NO inline styles, modular CSS
 */

/* Hero Section - Matching FAQ Design */
.privacy-hero {
    background: var(--gradient-primary);
    padding: var(--spacing-16) 0 var(--spacing-14);
    position: relative;
    overflow: hidden;
}

.privacy-hero::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.5;
}

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

.privacy-hero__title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-black);
    margin-bottom: var(--spacing-8);
    color: #ffffff;
    position: relative;
    z-index: var(--z-index-10);
    letter-spacing: -1px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-hero__subtitle {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: #ffffff;
    opacity: 0.95;
    position: relative;
    z-index: var(--z-index-10);
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.privacy-hero__link {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--success-400);
    transition: all 0.3s ease;
}

.privacy-hero__link:hover {
    color: var(--success-400);
    text-decoration-color: #ffffff;
    text-underline-offset: 5px;
}

.privacy-hero__badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .privacy-hero {
        padding: var(--spacing-14) 0 var(--spacing-10);
    }
    
    .privacy-hero__title {
        font-size: var(--font-size-3xl);
    }
    
    .privacy-hero__subtitle {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 575px) {
    .privacy-hero {
        padding: var(--spacing-12) 0 var(--spacing-8);
    }
    
    .privacy-hero__title {
        font-size: var(--font-size-2xl);
    }
}

/* Custom Alert Boxes - Modular CSS (No AdminLTE dependency) */
.privacy-alert {
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid;
    background-color: var(--gray-50);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.privacy-alert:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.privacy-alert i {
    font-size: 1.1rem;
    vertical-align: middle;
}

.privacy-alert strong {
    font-weight: 700;
}

/* Info Alert - Blue */
.privacy-alert--info {
    background-color: var(--primary-100);
    border-left-color: var(--info-500);
    color: var(--info-700);
}

.privacy-alert--info i {
    color: var(--info-500);
}

/* Success Alert - Green */
.privacy-alert--success {
    background-color: var(--success-100);
    border-left-color: var(--success-500);
    color: var(--success-800);
}

.privacy-alert--success i {
    color: var(--success-500);
}

/* Warning Alert - Yellow/Orange */
.privacy-alert--warning {
    background-color: var(--warning-100);
    border-left-color: var(--warning-500);
    color: var(--warning-800);
}

.privacy-alert--warning i {
    color: var(--warning-500);
}

/* Danger Alert - Red */
.privacy-alert--danger {
    background-color: var(--danger-100);
    border-left-color: var(--danger-500);
    color: var(--danger-900);
}

.privacy-alert--danger i {
    color: var(--danger-500);
}

/* Secondary Alert - Gray */
.privacy-alert--secondary {
    background-color: var(--gray-100);
    border-left-color: var(--gray-500);
    color: var(--gray-700);
}

.privacy-alert--secondary i {
    color: var(--gray-500);
}

/* Alert with no margin top */
.privacy-alert--no-mt {
    margin-top: 0;
}

/* Alert with margin bottom */
.privacy-alert--mb {
    margin-bottom: 1rem;
}

/* Alert List Styling */
.privacy-alert ul {
    margin-bottom: 0;
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

.privacy-alert ul li {
    margin-bottom: 0.25rem;
}

.privacy-alert ul li:last-child {
    margin-bottom: 0;
}

/* Responsive Alert */
@media (max-width: 767px) {
    .privacy-alert {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   Hero Animations - Unique Style: Cascade Fade Up
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.privacy-hero__badge {
    animation: fadeInUp 0.6s ease-out;
}

.privacy-hero__title {
    animation: fadeInUp 0.7s ease-out 0.1s both;
}

.privacy-hero__subtitle {
    animation: fadeInUp 0.7s ease-out 0.2s both;
}
