/* ========================================
   Global Styles & Reset
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --success-color: #4ade80;
    --warning-color: #fbbf24;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    
    /* Neutral Colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Arabic Font Support */
[lang="ar"], [lang="ur"] {
    font-family: 'Segoe UI', 'Tahoma', 'Arial', sans-serif;
}

/* Hindi/Bengali/Nepali Font Support */
[lang="hi"], [lang="bn"], [lang="ne"] {
    font-family: 'Noto Sans', 'Arial Unicode MS', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ========================================
   Progress Bar
   ======================================== */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 9999;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

/* ========================================
   Header
   ======================================== */
.header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-icon {
    font-size: 2.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Language Selector
   ======================================== */
.language-selector {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.lang-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* ========================================
   Main Content
   ======================================== */
.main-content {
    padding: var(--spacing-xl) 0;
    min-height: calc(100vh - 200px);
}

/* ========================================
   Tabs Navigation
   ======================================== */
.tabs-navigation {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    color: white;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.tab-icon {
    font-size: 1.5rem;
}

/* ========================================
   Tab Content
   ======================================== */
.tab-content {
    display: none;
    animation: fadeInUp 0.5s ease forwards;
}

.tab-content.active {
    display: block;
}

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

/* ========================================
   Section Header
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Steps Grid
   ======================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.step-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.step-card:hover::before {
    opacity: 1;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.3);
}

.step-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.step-icon {
    font-size: 3rem;
    margin: var(--spacing-sm) 0;
    display: block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.step-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.step-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.step-warning {
    background: rgba(251, 191, 36, 0.1);
    border-left: 4px solid var(--warning-color);
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    color: var(--warning-color);
    font-size: 0.95rem;
    margin-top: var(--spacing-md);
    font-weight: 500;
}

/* ========================================
   Issues Grid
   ======================================== */
.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

.issue-card {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(239, 68, 68, 0.02) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--danger-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-normal);
    display: flex;
    gap: var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.issue-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.issue-card:hover::before {
    opacity: 1;
}

.issue-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(239, 68, 68, 0.2);
}

.issue-icon {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.issue-content {
    flex: 1;
}

.issue-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.issue-preview {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.view-solution-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.view-solution-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* RTL Support for button */
[dir="rtl"] .view-solution-btn:hover {
    transform: translateX(-5px);
}

/* ========================================
   Modal
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    padding: var(--spacing-md);
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: var(--shadow-xl);
}

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

.close-modal {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

[dir="rtl"] .close-modal {
    right: auto;
    left: var(--spacing-md);
}

.modal-header {
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    text-align: center;
    position: relative;
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
}

.modal-header h2 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.modal-body {
    padding: var(--spacing-xl);
}

/* ========================================
   Solution Steps
   ======================================== */
.solution-step {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    transition: all var(--transition-normal);
}

.solution-step:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

[dir="rtl"] .solution-step {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

[dir="rtl"] .solution-step:hover {
    transform: translateX(-5px);
}

.solution-step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.solution-step-content h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.solution-step-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

/* ========================================
   Apps List
   ======================================== */
.apps-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
    margin: var(--spacing-lg) 0;
}

.app-item {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.app-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* ========================================
   Format Box
   ======================================== */
.format-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.format-box pre {
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.8;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* ========================================
   Important Note
   ======================================== */
.important-note {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid var(--warning-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    color: var(--warning-color);
    font-size: 1rem;
    margin-top: var(--spacing-lg);
    font-weight: 500;
    line-height: 1.8;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg) 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--spacing-xl);
}

.footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ========================================
   Ripple Effect
   ======================================== */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .language-selector {
        width: 100%;
        justify-content: center;
    }
    
    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .tabs-navigation {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .issues-grid {
        grid-template-columns: 1fr;
    }
    
    .issue-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .modal-content {
        margin: var(--spacing-sm);
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .apps-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        font-size: 2rem;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .step-icon {
        font-size: 2.5rem;
    }
    
    .step-title {
        font-size: 1.2rem;
    }
    
    .issue-title {
        font-size: 1.1rem;
    }
}

/* ========================================
   Scrollbar Styling
   ======================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .header,
    .tabs-navigation,
    .footer,
    .language-selector,
    .progress-container {
        display: none;
    }
    
    .tab-content {
        display: block !important;
    }
    
    body {
        background: white;
        color: black;
    }
}



/* ========================================
   App Accordion Styles
   ======================================== */
.apps-container {
    margin: var(--spacing-md) 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.app-accordion {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid transparent;
    transition: all var(--transition-normal);
}

.app-accordion:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.app-accordion-btn {
    width: 100%;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.app-accordion-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.app-accordion-btn:hover::before {
    opacity: 0.1;
}

.app-accordion-btn:active {
    transform: scale(0.98);
}

.app-icon {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
}

.app-name {
    flex: 1;
    text-align: right;
    position: relative;
    z-index: 1;
}

[dir="ltr"] .app-name {
    text-align: left;
}

.app-arrow {
    font-size: 1.2rem;
    transition: transform var(--transition-normal);
    position: relative;
    z-index: 1;
    color: var(--primary-color);
}

.app-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-normal);
    background: var(--bg-primary);
    padding: 0 var(--spacing-md);
}

.app-accordion-content.active {
    max-height: 500px;
    padding: var(--spacing-md);
    border-top: 2px solid var(--primary-color);
}

.app-accordion-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for App Accordion */
@media (max-width: 768px) {
    .app-accordion-btn {
        padding: var(--spacing-sm);
        font-size: 1rem;
    }
    
    .app-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .app-accordion-content.active {
        padding: var(--spacing-sm);
    }
}



/* Red Alert for Step 4 */
.step-red-alert {
    margin-top: 15px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    border: 2px solid #ff0000;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    animation: pulseRed 2s ease-in-out infinite;
}

@keyframes pulseRed {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
        transform: scale(1.02);
    }
}



/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.app-card {
    background: linear-gradient(135deg, var(--app-color), rgba(0, 0, 0, 0.1));
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.app-card::after {
    display: none !important;
}

.app-card::before {
    display: none !important;
}

.app-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.app-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 15px;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    box-sizing: border-box;
}

.app-icon.emoji-icon {
    font-size: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    padding: 0;
    width: auto;
    height: auto;
}

.app-name {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Offers List */
.offers-list {
    animation: fadeInUp 0.5s ease forwards;
}

.back-btn {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.back-btn span {
    font-size: 1.2rem;
    margin-left: 5px;
}

.offers-app-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.offer-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.offer-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.offer-content {
    padding: 20px;
}

.offer-name {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.offer-details-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.offer-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.no-offers {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-color);
    font-size: 1.2rem;
}

/* Offer Modal */
.offer-modal-content {
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
}

.offer-modal-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 25px;
}

.offer-details-section {
    background: rgba(52, 152, 219, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item strong {
    color: var(--primary-color);
    font-size: 1.05rem;
}

.detail-item span {
    color: var(--text-color);
    font-size: 1.05rem;
}

.products-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.products-list {
    display: grid;
    gap: 15px;
}

.product-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.product-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-left: 15px;
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.product-quantity {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Responsive for offers */
@media (max-width: 768px) {
    .apps-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .app-icon {
        width: 60px;
        height: 60px;
    }
    
    .app-icon.emoji-icon {
        font-size: 3rem;
        width: auto;
        height: auto;
    }
    
    .app-name {
        font-size: 1.1rem;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        width: 60px;
        height: 60px;
    }
}

