/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
}
:root {
    /* Light Mode Colors */
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.25);
    --bg-glass-secondary: rgba(255, 255, 255, 95%);
    --bg-glass-hover: rgba(255, 255, 255, 0.35);
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --accent-primary: #3b82f6;
    --accent-secondary: #10b981;
    --border-color: rgba(255, 255, 255, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --glow-color-1: rgba(59, 130, 246, 0.3);
    --glow-color-2: rgba(16, 185, 129, 0.3);
    --glow-color-3: rgba(139, 92, 246, 0.3);
}

[data-theme="dark"] {
    /* Dark Mode Colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-glass: rgba(30, 41, 59, 0.4);
    --bg-glass-secondary: rgba(30, 41, 59, 95%);
    --bg-glass-hover: rgba(30, 41, 59, 0.6);
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --accent-primary: #60a5fa;
    --accent-secondary: #34d399;
    --border-color: rgba(148, 163, 184, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --glow-color-1: rgba(96, 165, 250, 0.4);
    --glow-color-2: rgba(52, 211, 153, 0.4);
    --glow-color-3: rgba(167, 139, 250, 0.4);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    text-decoration: none;
}

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

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-primary);
    background: var(--bg-glass-hover);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.theme-toggle:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-1px);
}

.theme-toggle .sun-icon {
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.theme-toggle .moon-icon {
    color: var(--accent-primary);
    position: absolute;
    opacity: 0;
    transform: rotate(180deg);
    transition: all 0.3s ease;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(180deg);
}

[data-theme="dark"] .theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.cta-button {
    background: var(--accent-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--accent-secondary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: 1rem;
    margin-top: 5px;
    margin-bottom: 10px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.glow-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.glow-1 {
    width: 300px;
    height: 300px;
    background: var(--glow-color-1);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: var(--glow-color-2);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.glow-3 {
    width: 250px;
    height: 250px;
    background: var(--glow-color-3);
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.hero-content {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-glass-box {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 3rem;
    width: 95%;
    max-width: 1200px;
    text-align: center;
    box-shadow: 0 8px 32px var(--shadow-color);
    transition: all 0.3s ease;
}

.hero-glass-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px var(--shadow-color);
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.primary-button {
    background: var(--accent-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-button:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-color);
}

.secondary-button {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.secondary-button:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

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

.feature-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px var(--shadow-color);
    background: var(--bg-glass-hover);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: var(--accent-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.feature-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-glass);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-primary);
}

.pricing-header {
    margin-bottom: 2.5rem;
}

.plan-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.amount {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
}

.period {
    color: var(--text-secondary);
    font-weight: 500;
}

.plan-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-item:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.checkmark-icon {
    color: var(--accent-secondary);
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    padding: 0.25rem;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}

.plan-button {
    width: 100%;
    background: var(--accent-primary);
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

    .plan-button:hover {
        background: var(--accent-secondary);
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    }

    /* Trustpilot Section */
    .trustpilot-section {
        padding: 2rem 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border-color);
    }

    .trustpilot-content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .trustpilot-text {
        font-family: 'Inter', 'Segoe UI', sans-serif;
        font-size: 0.9rem;
        color: var(--text-primary);
        font-weight: 500;
    }

    .trustpilot-logo {
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

    .trustpilot-logo:hover {
        opacity: 1;
    }

    /* Discord Community Section */
    .discord-section {
        padding: 4rem 0;
        position: relative;
        overflow: hidden;
        min-height: 60vh;
        display: flex;
        align-items: center;
    }

    .discord-background {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
        z-index: 0;
    }

    .world-map-pattern {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: 
            radial-gradient(circle at 20% 30%, rgba(88, 101, 242, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(114, 137, 218, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 40% 80%, rgba(88, 101, 242, 0.05) 0%, transparent 50%);
        background-size: 800px 800px, 600px 600px, 400px 400px;
        animation: float 20s ease-in-out infinite;
    }

    @keyframes float {
        0%, 100% { transform: translateY(0px) rotate(0deg); }
        50% { transform: translateY(-20px) rotate(1deg); }
    }

    .discord-content {
        position: relative;
        z-index: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 40vh;
    }

    .discord-glass-box {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 2rem;
        padding: 3rem;
        text-align: center;
        max-width: 500px;
        width: 100%;
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        position: relative;
        overflow: hidden;
    }

    .discord-glass-box::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent, rgba(255, 255, 255, 0.05));
        border-radius: 2rem;
        z-index: -1;
    }

    .discord-icon {
        margin-bottom: 1.5rem;
        display: flex;
        justify-content: center;
    }

    .discord-icon svg {
        width: 60px;
        height: 60px;
        filter: drop-shadow(0 4px 12px rgba(88, 101, 242, 0.3));
        animation: pulse 2s ease-in-out infinite;
    }

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

    .discord-title {
        font-family: 'Inter', 'Segoe UI', sans-serif;
        font-size: 2.5rem;
        font-weight: 800;
        color: white;
        margin-bottom: 1rem;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        line-height: 1.2;
    }

    .discord-description {
        font-family: 'Inter', 'Segoe UI', sans-serif;
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.6;
        margin-bottom: 2rem;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .discord-benefits {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
    }

    .benefit-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 600;
        font-size: 0.9rem;
    }

    .benefit-icon {
        color: #7289DA;
        background: rgba(114, 137, 218, 0.1);
        border-radius: 50%;
        padding: 0.5rem;
        width: 2rem;
        height: 2rem;
        flex-shrink: 0;
    }

    .discord-button {
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        background: linear-gradient(135deg, #5865F2, #7289DA);
        color: white;
        text-decoration: none;
        padding: 1rem 2.5rem;
        border-radius: 1.5rem;
        font-family: 'Inter', 'Segoe UI', sans-serif;
        font-weight: 700;
        font-size: 1rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 
            0 8px 25px rgba(88, 101, 242, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        position: relative;
        overflow: hidden;
    }

    .discord-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.6s ease;
    }

    .discord-button:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 
            0 15px 40px rgba(88, 101, 242, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        background: linear-gradient(135deg, #4752C4, #5865F2);
    }

    .discord-button:hover::before {
        left: 100%;
    }

    .discord-button:active {
        transform: translateY(-1px) scale(1.01);
    }

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-logo svg {
    color: var(--accent-primary);
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-glass-box {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .trustpilot-section {
        padding: 1.5rem 0;
    }
    
    .trustpilot-content {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .trustpilot-logo {
        width: 100px;
        height: 20px;
    }
    
    .discord-glass-box {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .discord-title {
        font-size: 2rem;
    }
    
    .discord-description {
        font-size: 1rem;
    }
    
    .discord-benefits {
        flex-direction: column;
        gap: 1rem;
    }
    
    .discord-button {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-glass-box {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .trustpilot-section {
        padding: 1rem 0;
    }
    
    .trustpilot-text {
        font-size: 0.8rem;
    }
    
    .trustpilot-logo {
        width: 90px;
        height: 18px;
    }
    
    .discord-glass-box {
        padding: 1.5rem 1rem;
    }
    
    .discord-title {
        font-size: 1.75rem;
    }
    
    .discord-description {
        font-size: 0.95rem;
    }
    
    .discord-icon svg {
        width: 50px;
        height: 50px;
    }
}dth: 100%;
        justify-content: center;
    }
}



/* Policy Page Styles */
.policy-page {
    padding: 8rem 2rem 4rem;
    background: var(--bg-primary);
    min-height: 100vh;
}

.policy-title {
    margin-top:70px;
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.policy-last-updated {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 3rem;
    font-style: italic;
}

.policy-section {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px var(--shadow-color);
    transition: all 0.3s ease;
}

.policy-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 48px var(--shadow-color);
}

.policy-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.policy-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 1rem;
}

.policy-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.policy-section ul {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
}

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .policy-page {
        padding: 6rem 1rem 2rem;
    }
    
    .policy-title {
        font-size: 2rem;
    }
    
    .policy-section {
        padding: 1.5rem;
    }
    
    .policy-section-title {
        font-size: 1.5rem;
    }
}



/* SPA Transition Styles */
.page-transitioning {
    overflow-x: hidden;
}

main {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.page-transitioning main {
    pointer-events: none;
}

/* Loading indicator for page transitions */
.spa-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: translateX(-100%);
    animation: loading-bar 1s ease-in-out infinite;
    z-index: 9999;
}

@keyframes loading-bar {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Smooth transitions for content changes */
.content-fade-enter {
    opacity: 0;
    transform: translateY(20px);
}

.content-fade-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.content-fade-exit {
    opacity: 1;
    transform: translateY(0);
}

.content-fade-exit-active {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Enhanced link hover effects for SPA navigation */
a[href="/"], a[href="index.html"], 
a[href="/terms"], a[href="terms.html"], 
a[href="/privacy"], a[href="privacy.html"] {
    position: relative;
    transition: color 0.3s ease;
}

a[href="/"]::after, a[href="index.html"]::after,
a[href="/terms"]::after, a[href="terms.html"]::after,
a[href="/privacy"]::after, a[href="privacy.html"]::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transition: width 0.3s ease;
}

a[href="/"]:hover::after, a[href="index.html"]:hover::after,
a[href="/terms"]:hover::after, a[href="terms.html"]:hover::after,
a[href="/privacy"]:hover::after, a[href="privacy.html"]:hover::after {
    width: 100%;
}

/* Page transition overlay */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    opacity: 0;
    pointer-events: none;
    z-index: 9998;
    transition: opacity 0.3s ease;
}

.page-transitioning .page-transition-overlay {
    opacity: 0.8;
    pointer-events: all;
}

/* Stagger animations for policy sections */
.policy-section {
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.policy-section:nth-child(1) { transition-delay: 0.1s; }
.policy-section:nth-child(2) { transition-delay: 0.2s; }
.policy-section:nth-child(3) { transition-delay: 0.3s; }
.policy-section:nth-child(4) { transition-delay: 0.4s; }
.policy-section:nth-child(5) { transition-delay: 0.5s; }
.policy-section:nth-child(6) { transition-delay: 0.6s; }
.policy-section:nth-child(7) { transition-delay: 0.7s; }
.policy-section:nth-child(8) { transition-delay: 0.8s; }

/* Smooth scroll behavior for SPA navigation */
html {
    scroll-behavior: smooth;
}

/* Preload indicator */
.preload-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--text-secondary);
    border-top: 3px solid var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    pointer-events: none;
    z-index: 10000;
    transition: opacity 0.3s ease;
}

.page-transitioning .preload-indicator {
    opacity: 1;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Enhanced focus styles for accessibility */
a:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    main {
        transition: none;
    }
    
    .policy-section {
        transition: none;
        opacity: 1;
        transform: none;
    }
    
    .spa-loading {
        animation: none;
    }
    
    .preload-indicator {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}



/* Ensure main content is always visible */
main {
    display: block; /* Ensure main is always a block-level element */
}

/* Mobile Navigation Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--bg-glass-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}


.hamburger-line {
    width: 1.25rem;
    height: 2px;
    background: var(--text-primary);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-glass-secondary);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--border-color);
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.active .mobile-nav-content {
    transform: translateX(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 1rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mobile-nav-link:hover {
    color: var(--accent-primary);
    background: var(--bg-glass-hover);
    border-color: var(--border-color);
    transform: translateX(5px);
}

.mobile-nav-link svg {
    flex-shrink: 0;
}

.mobile-nav-actions {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.mobile-cta-button {
    width: 100%;
    background: var(--accent-primary);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-cta-button:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .desktop-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-wrapper {
        padding: 0.75rem 0;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .header-actions {
        gap: 0.75rem;
    }
    
    .theme-toggle {
        width: 2.25rem;
        height: 2.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .mobile-nav-content {
        width: 100%;
        border-left: none;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .theme-toggle {
        width: 2rem;
        height: 2rem;
    }
    
    .mobile-menu-toggle {
        width: 2rem;
        height: 2rem;
    }
    
    .hamburger-line {
        width: 1rem;
    }
}

/* Ensure mobile menu appears above other content */
.mobile-nav {
    z-index: 9999;
}

.mobile-menu-toggle {
    z-index: 10000;
}

/* Smooth animations for mobile menu */
@media (prefers-reduced-motion: reduce) {
    .mobile-nav,
    .mobile-nav-content,
    .hamburger-line,
    .mobile-nav-link {
        transition: none;
    }
}

/* Focus styles for accessibility */
.mobile-menu-toggle:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.mobile-nav-link:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.mobile-cta-button:focus {
    outline: 2px solid var(--accent-secondary);
    outline-offset: 2px;
}


/* Country Switch Styles */
.country-switch-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.country-switch {
    position: relative;
    display: flex;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 0.5rem;
    box-shadow: 0 4px 16px var(--shadow-color);
}

.switch-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 120px;
    justify-content: center;
}

.switch-option.active {
    color: var(--text-primary);
}

.switch-option:hover {
    color: var(--accent-primary);
}

.switch-indicator {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: calc(50% - 0.5rem);
    height: calc(100% - 1rem);
    background: var(--bg-glass-secondary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0.75rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 2px 8px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.switch-option[data-country="usa"].active ~ .switch-indicator {
    transform: translateX(100%);
}

.flag-icon {
    width: 24px;
    height: 18px;
    border-radius: 3px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.eu-flag {
    background: linear-gradient(to bottom, #003399 0%, #003399 100%);
    position: relative;
}

.eu-flag::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, #ffcc00 1px, transparent 1px);
    background-size: 3px 3px;
    background-position: 0 0, 1.5px 1.5px;
    border-radius: 50%;
}

.eu-flag::after {
    content: '★★★★★★★★★★★★';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffcc00;
    font-size: 6px;
    line-height: 1;
    letter-spacing: -1px;
    text-align: center;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.us-flag {
    background: linear-gradient(to bottom, 
        #b22234 0%, #b22234 7.69%, 
        #ffffff 7.69%, #ffffff 15.38%, 
        #b22234 15.38%, #b22234 23.08%, 
        #ffffff 23.08%, #ffffff 30.77%, 
        #b22234 30.77%, #b22234 38.46%, 
        #ffffff 38.46%, #ffffff 46.15%, 
        #b22234 46.15%, #b22234 53.85%, 
        #ffffff 53.85%, #ffffff 61.54%, 
        #b22234 61.54%, #b22234 69.23%, 
        #ffffff 69.23%, #ffffff 76.92%, 
        #b22234 76.92%, #b22234 84.62%, 
        #ffffff 84.62%, #ffffff 92.31%, 
        #b22234 92.31%, #b22234 100%);
    position: relative;
}

.us-flag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 53.85%;
    background: #3c3b6e;
}

.us-flag::after {
    content: '★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 8px;
    height: 8px;
    color: white;
    font-size: 2px;
    line-height: 1;
    overflow: hidden;
}


/* Custom Support Chat Widget */
.support-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

.chat-toggle-button {
    width: 60px;
    height: 60px;
    background: var(--accent-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.chat-toggle-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    background: var(--accent-secondary);
}

.chat-toggle-button svg {
    color: white;
    transition: all 0.3s ease;
}

.chat-toggle-button.active svg.chat-icon {
    transform: rotate(180deg);
    opacity: 0;
}

.chat-toggle-button.active svg.close-icon {
    transform: rotate(0deg);
    opacity: 1;
}

.chat-toggle-button svg.close-icon {
    position: absolute;
    transform: rotate(180deg);
    opacity: 0;
}

.chat-window {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 350px;
    height: 500px;
    max-height: calc(100vh - 140px);
    background: var(--bg-glass-secondary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    box-shadow: 0 12px 48px var(--shadow-color);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
    top: auto;
}

.chat-window.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    background: var(--accent-primary);
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-header-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-header-info h3 {
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

.chat-header-info p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    word-wrap: break-word;
    box-sizing: border-box;
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    animation: slideInMessage 0.3s ease;
}

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

.message-avatar {
    width: 32px;
    height: 32px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.message-avatar svg {
    color: white;
    width: 16px;
    height: 16px;
}

.message-content {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.message-text {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 0.75rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.25rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.message-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-avatar {
    background: var(--accent-secondary);
}

.user-message .message-text {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.chat-input-container {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-glass);
    box-sizing: border-box;
}

.chat-input-form {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    width: 100%;
    box-sizing: border-box;
}

.chat-input {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 0.75rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    resize: none;
    min-height: 40px;
    max-height: 100px;
    transition: all 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    min-width: 0;
}

.chat-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.chat-input::placeholder {
    color: var(--text-muted);
}

.chat-send-button {
    background: var(--accent-primary);
    border: none;
    border-radius: 0.75rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.chat-send-button:hover {
    background: var(--accent-secondary);
    transform: translateY(-1px);
}

.chat-send-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.chat-send-button svg {
    color: white;
    width: 16px;
    height: 16px;
}

.quick-actions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.quick-action-button {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-action-button:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
}

.typing-dots {
    display: flex;
    gap: 0.25rem;
}

.typing-dot {
    width: 4px;
    height: 4px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typingDot 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    30% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Mobile responsiveness for chat widget */
@media (max-width: 768px) {
    .support-chat-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .chat-window {
        position: fixed;
        bottom: 90px;
        right: 15px;
        left: 15px;
        width: auto;
        max-width: none;
        height: 450px;
        max-height: calc(100vh - 130px);
        box-sizing: border-box;
    }
    
    .chat-toggle-button {
        width: 55px;
        height: 55px;
    }
    
    .chat-messages {
        padding: 0.75rem;
    }
    
    .chat-input-container {
        padding: 0.75rem;
    }
    
    .message-text {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .support-chat-widget {
        bottom: 10px;
        right: 10px;
    }
    
    .chat-window {
        bottom: 80px;
        right: 10px;
        left: 10px;
        height: 400px;
        max-height: calc(100vh - 110px);
    }
    
    .chat-toggle-button {
        width: 50px;
        height: 50px;
    }
    
    .chat-messages {
        padding: 0.5rem;
    }
    
    .chat-input-container {
        padding: 0.5rem;
    }
    
    .message-text {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .chat-header {
        padding: 0.75rem;
    }
    
    .chat-header h3 {
        font-size: 0.9rem;
    }
    
    .chat-header p {
        font-size: 0.75rem;
    }
}

/* Notification badge */
.chat-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Modern Scrollbar Styles */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 4px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

::-webkit-scrollbar-corner {
    background: var(--bg-secondary);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #3b82f6 var(--bg-secondary);
}

/* Chat specific scrollbar */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .chat-window {
        height: 350px;
        max-height: calc(100vh - 100px);
        bottom: 90px;
    }
}

/* Very small screens */
@media (max-height: 600px) {
    .chat-window {
        height: 400px;
        max-height: calc(100vh - 120px);
        bottom: 90px;
    }
}

/* Ensure chat never goes above viewport */
@media (max-height: 500px) {
    .chat-window {
        height: 300px;
        max-height: calc(100vh - 100px);
        bottom: 80px;
    }
    
    .chat-messages {
        padding: 0.5rem;
    }
    
    .chat-input-container {
        padding: 0.5rem;
    }
    
    .chat-header {
        padding: 0.5rem;
    }
}
