/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --dark: #111827;
    --text: #111827;
    --text-light: #6b7280;
    --gray: #6b7280;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --light: #f3f4f6;
    --white: #ffffff;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8fafc;
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-top {
    background: var(--light);
    padding: 8px 0;
    font-size: 13px;
    color: var(--gray);
    position: relative;
    z-index: 101;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-info i {
    margin-right: 5px;
    color: var(--primary);
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: 1px solid #e5e7eb;
    padding: 5px 15px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    transition: all 0.3s;
}

.dropdown-toggle:hover {
    border-color: var(--primary);
}

.dropdown-toggle .flag {
    font-size: 16px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: none;
    min-width: 180px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: var(--dark);
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-item:hover {
    background: var(--light);
}

.dropdown-item.active {
    background: #eff6ff;
    color: var(--primary);
}

.dropdown-item .flag {
    font-size: 18px;
}

.header-main {
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark);
    font-size: 24px;
}

.logo i {
    color: var(--primary);
    font-size: 32px;
}

.logo strong {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

/* Language Selector in Nav Menu */
.nav-lang-selector {
    display: inline-block;
    position: relative;
}

.nav-lang-selector .dropdown-toggle {
    background: none;
    border: 1px solid #e5e7eb;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    transition: all 0.3s;
}

.nav-lang-selector .dropdown-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.nav-lang-selector .dropdown-toggle .flag {
    font-size: 18px;
}

.nav-lang-selector .dropdown-toggle .lang-name {
    font-size: 13px;
    font-weight: 600;
}

.nav-lang-selector .dropdown-toggle i {
    font-size: 10px;
    margin-left: 2px;
}

.nav-lang-selector .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 150px;
    padding: 8px 0;
    z-index: 1000;
}

.nav-lang-selector .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--dark);
    text-decoration: none;
    transition: background 0.2s;
}

.nav-lang-selector .dropdown-item:hover {
    background: var(--light);
}

.nav-lang-selector .dropdown-item.active {
    background: var(--gray-100);
    color: var(--primary);
    font-weight: 600;
}

.nav-lang-selector .dropdown-item .flag {
    font-size: 20px;
}

/* Comparison Button */
.comparison-btn {
    position: relative;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 10px;
}

.comparison-btn:hover {
    color: var(--primary);
}

.comparison-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Comparison Notification */
.comparison-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--dark);
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 1000;
}

.comparison-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
    z-index: 1000;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu-body {
    padding: 20px;
}

.mobile-menu-body a {
    display: block;
    padding: 15px 0;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.comparison-badge-mobile {
    display: inline-block !important;
    background: var(--primary);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 10px;
    font-weight: bold;
}

/* Mobile Language Selector */
.mobile-lang-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e5e7eb;
}

.mobile-lang-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    margin-bottom: 15px;
    padding: 0 5px;
}

.mobile-lang-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mobile-lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--gray-100);
    border: 1px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: all 0.3s;
}

.mobile-lang-option:hover {
    background: var(--white);
    border-color: var(--primary);
}

.mobile-lang-option.active {
    background: var(--primary);
    color: var(--white);
}

.mobile-lang-option .flag {
    font-size: 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: var(--white);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto 30px;
    background: var(--white);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.search-box input {
    flex: 1;
    border: none;
    padding: 20px 30px;
    font-size: 16px;
    outline: none;
}

.search-box button {
    background: var(--primary);
    border: none;
    padding: 0 30px;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-box button:hover {
    background: var(--primary-dark);
}

.quick-filters {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.filter-btn i {
    font-size: 16px;
}

/* Filter buttons on light background */
.cards-section .filter-btn,
.quiz-section .filter-btn,
.filters-section .filter-btn {
    background: var(--white);
    border: 2px solid #e5e7eb;
    color: var(--dark);
}

.cards-section .filter-btn:hover,
.quiz-section .filter-btn:hover,
.filters-section .filter-btn:hover {
    border-color: var(--primary);
    background: rgba(102, 126, 234, 0.05);
}

.cards-section .filter-btn.active,
.quiz-section .filter-btn.active,
.filters-section .filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Cards Section */
.cards-section {
    padding: 80px 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.card-item {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s;
}

.card-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.card-image {
    width: 100px;
    height: 60px;
}

.card-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 30px;
}

.card-info {
    flex: 1;
}

.card-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.card-issuer {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 10px;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.stars {
    color: #fbbf24;
}

.stars i {
    margin-right: 2px;
}

.card-body {
    padding: 20px;
}

.card-highlight {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.highlight-item {
    flex: 1;
}

.highlight-item .label {
    display: block;
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.highlight-item .value {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.card-features,
.card-requirements {
    margin-bottom: 20px;
}

.card-features h4,
.card-requirements h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--dark);
}

.card-features ul,
.card-requirements ul {
    list-style: none;
}

.card-features li,
.card-requirements li {
    padding: 5px 0;
    font-size: 14px;
    color: var(--gray);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.card-features i {
    color: var(--secondary);
    margin-top: 2px;
    font-size: 12px;
}

.card-requirements i {
    color: var(--primary);
    margin-top: 2px;
    font-size: 12px;
}

.card-footer {
    padding: 20px;
    background: var(--light);
    display: flex;
    gap: 10px;
}

/* Compare Button Icon */
.btn-icon {
    width: 45px;
    height: 45px;
    padding: 0;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.btn-icon:hover {
    background: var(--primary);
    color: white;
}

.btn-icon.added {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
}

/* Quiz CTA Section */
.quiz-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.quiz-cta-wrapper {
    background: white;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.quiz-cta-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
}

.quiz-cta-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quiz-cta-icon i {
    font-size: 48px;
    color: white;
}

.quiz-cta-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.quiz-cta-text p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.quiz-cta-features {
    display: flex;
    gap: 30px;
}

.quiz-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quiz-feature i {
    font-size: 20px;
    color: var(--primary);
}

.quiz-feature span {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
}

.quiz-cta-action {
    text-align: center;
}

.quiz-cta-action .btn-lg {
    padding: 18px 45px;
    font-size: 20px;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.quiz-cta-action .btn-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.quiz-cta-note {
    margin-top: 15px;
    font-size: 14px;
    color: var(--gray);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--light);
}

.features-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 32px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--gray);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-main {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
}

.footer h3,
.footer h4 {
    margin-bottom: 20px;
}

.footer p {
    color: #9ca3af;
    line-height: 1.8;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 8px 0 0 8px;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #9ca3af;
}

.newsletter-form button {
    background: var(--primary);
    border: none;
    padding: 0 20px;
    color: var(--white);
    border-radius: 0 8px 8px 0;
    cursor: pointer;
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
    color: #9ca3af;
}

/* Bottom Navigation */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid #e5e7eb;
    z-index: 999;
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    color: var(--gray);
    text-decoration: none;
    position: relative;
    transition: all 0.3s;
}

.bottom-nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.bottom-nav-item span {
    font-size: 11px;
    font-weight: 500;
}

.bottom-nav-item.active {
    color: var(--primary);
}

.bottom-nav-item:active {
    transform: scale(0.95);
}

.bottom-nav-badge {
    position: absolute;
    top: 5px;
    right: 50%;
    transform: translateX(10px);
    background: var(--primary);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
}

/* Removed swipeable cards functionality - using normal grid layout */

/* App-like feel */
@media (max-width: 768px) {
    body {
        -webkit-user-select: none;
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
    }
    
    .main-content {
        padding-bottom: 70px;
    }
    
    .bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        height: 60px;
    }
    
    .header {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 998;
    }
    
    /* Hide desktop menu on mobile */
    .nav-menu .comparison-btn {
        display: none;
    }
    
    /* Cards grid on mobile - normal layout */
    .cards-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .card-item {
        width: 100%;
    }
}

/* Pull to refresh indicator */
.pull-to-refresh {
    position: fixed;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: top 0.3s;
    z-index: 1001;
}

.pull-to-refresh.show {
    top: 20px;
}

.pull-to-refresh i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1024px) {
    .quiz-cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .quiz-cta-icon {
        margin: 0 auto;
    }
    
    .quiz-cta-features {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .comparison-notification {
        bottom: 20px;
        right: 20px;
        left: 20px;
        max-width: calc(100% - 40px);
    }
    
    .header {
        position: fixed;
        top: 0;
        width: 100%;
    }
    
    .header-top {
        position: relative;
        transform: translateY(0);
        transition: transform 0.3s ease;
    }
    
    .header-main {
        position: relative;
        background: var(--white);
    }
    
    .main-content {
        padding-top: 100px; /* Total header height */
    }
    
    .quiz-cta-wrapper {
        padding: 40px 30px;
    }
    
    .quiz-cta-text h2 {
        font-size: 28px;
    }
    
    .quiz-cta-text p {
        font-size: 16px;
    }
    
    .quiz-cta-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .quiz-cta-action .btn-lg {
        width: 100%;
        padding: 15px 30px;
        font-size: 18px;
    }
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .quick-filters {
        justify-content: center;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .card-highlight {
        flex-direction: column;
        gap: 10px;
    }
}

/* Push Notifications */
.notification-toggle {
    background: none;
    border: none;
    color: var(--text);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    margin-left: 10px;
    transition: all 0.3s;
    position: relative;
}

.notification-toggle:hover {
    color: var(--primary);
}

.notification-toggle.active {
    color: var(--primary);
}

.notification-toggle.active::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
}

/* Push Toast Notifications */
.push-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    transition: transform 0.3s ease;
    max-width: 90%;
    text-align: center;
}

.push-toast.show {
    transform: translateX(-50%) translateY(0);
}

/* Notification Prompt */
.notification-prompt {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-150%);
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    max-width: 420px;
    width: calc(100% - 40px);
    transition: transform 0.3s ease;
}

.notification-prompt.show {
    transform: translateX(-50%) translateY(0);
}

.notification-prompt-content {
    padding: 24px;
    text-align: center;
}

.notification-prompt-icon {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 16px;
}

.notification-prompt-text h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text);
}

.notification-prompt-text p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.notification-prompt-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-prompt-allow {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-prompt-allow:hover {
    background: var(--primary-dark);
}

.btn-prompt-later {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--gray-300);
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-prompt-later:hover {
    background: var(--gray-100);
}

/* Mobile notification button in menu */
.mobile-notification-btn {
    display: block;
    padding: 15px 20px;
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    border-top: 1px solid var(--gray-200);
}

.mobile-notification-btn:hover {
    background: var(--gray-100);
}

.mobile-notification-btn.active {
    color: var(--primary);
}

.mobile-notification-btn i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Hide desktop notification button on mobile */
@media (max-width: 768px) {
    .desktop-notification-btn {
        display: none !important;
    }
    
    .notification-prompt {
        top: 10px;
        max-width: calc(100% - 20px);
    }
    
    .notification-prompt-content {
        padding: 20px;
    }
    
    .notification-prompt-icon {
        font-size: 36px;
    }
    
    .notification-prompt-text h3 {
        font-size: 18px;
    }
    
    .notification-prompt-buttons {
        flex-direction: column;
    }
    
    .btn-prompt-allow,
    .btn-prompt-later {
        width: 100%;
    }
}

/* iOS Install Banner */
.ios-install-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(150%);
    transition: transform 0.3s ease;
    z-index: 9999;
}

.ios-install-banner.show {
    transform: translateY(0);
}

.ios-install-content {
    padding: 20px;
    position: relative;
}

.ios-install-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ios-install-content h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: var(--text);
}

.ios-install-content p {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: var(--text-light);
    padding-right: 20px;
}

.ios-install-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* iOS Instructions Modal */
.ios-instructions-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.ios-instructions-modal.show {
    opacity: 1;
}

.ios-instructions-content {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.ios-instructions-content h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: var(--text);
}

.ios-instructions-content ol {
    margin: 0 0 20px 0;
    padding-left: 20px;
}

.ios-instructions-content li {
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
}

.ios-instructions-content li i {
    color: var(--primary);
}

.ios-instructions-close {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

/* Universal In-App Notifications */
.notification-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
}

.in-app-notification {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    pointer-events: auto;
    cursor: pointer;
    max-width: 350px;
}

.in-app-notification.show {
    transform: translateX(0);
}

.in-app-notification-content {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    position: relative;
}

.in-app-notification-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.in-app-notification-icon i {
    color: var(--primary);
    font-size: 18px;
}

.in-app-notification-text {
    flex: 1;
    padding-right: 20px;
}

.in-app-notification-text h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.in-app-notification-text p {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.4;
}

.in-app-notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--gray);
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.in-app-notification-close:hover {
    background: var(--gray-100);
    color: var(--text);
}

/* iOS Notification Button */
.ios-notification-btn {
    background: none;
    border: none;
    color: var(--text);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    margin-left: 10px;
    transition: all 0.3s;
    position: relative;
}

.ios-notification-btn:hover {
    color: var(--primary);
}

.ios-notification-btn.active {
    color: var(--primary);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .notification-container {
        top: 70px;
        left: 10px;
        right: 10px;
    }
    
    .in-app-notification {
        max-width: 100%;
        transform: translateY(-100px);
    }
    
    .in-app-notification.show {
        transform: translateY(0);
    }
    
    .ios-notification-btn {
        display: none;
    }
}