/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #e91e63;
    text-decoration: none;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-link {
    color: #495057;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s;
    font-weight: 500;
}

.nav-link:hover {
    background: #f8f9fa;
    color: #212529;
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.lang-toggle:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.lang-flag {
    font-size: 18px;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s;
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

.lang-dropdown-content.show {
    display: block;
}

.lang-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.lang-option {
    display: block;
    padding: 10px 16px;
    color: #495057;
    text-decoration: none;
    transition: all 0.2s;
}

.lang-option:hover {
    background: #f8f9fa;
    color: #212529;
}

.lang-option.active {
    background: #e91e63;
    color: white;
}

.lang-option.active:hover {
    background: #d81b60;
}

/* Login Button */
.login-btn {
    background: linear-gradient(135deg, #e91e63 0%, #d81b60 100%);
    color: white !important;
    padding: 8px 24px !important;
    border-radius: 25px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
    transition: all 0.3s;
}

.login-btn:hover {
    background: linear-gradient(135deg, #d81b60 0%, #c2185b 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #e91e63;
    color: white;
}

.btn-primary:hover {
    background: #d81b60;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: #e91e63;
    border: 2px solid #e91e63;
}

.btn-secondary:hover {
    background: #e91e63;
    color: white;
}

/* Cards */
.card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 5px;
}

.badge.vip {
    background: #ffd700;
    color: #333;
}

.badge.verified {
    background: #4caf50;
    color: white;
}

.badge.agency {
    background: #2196f3;
    color: white;
    text-decoration: none;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert.preview {
    background: #ff9800;
    color: white;
    text-align: center;
    font-weight: bold;
}

/* Mobile Responsive */
.mobile-icon {
    display: none;
}

.desktop-only {
    display: inline-block;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .mobile-icon {
        display: inline-block;
    }
    
    .nav {
        gap: 10px;
    }
    
    /* Mobile Language Dropdown */
    .lang-toggle {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .lang-name {
        display: none;
    }
    
    .lang-dropdown-content {
        left: auto;
        right: -15px;
        min-width: 160px;
    }
    
    .login-btn {
        padding: 6px 16px !important;
        font-size: 14px;
    }
    
    .lang-option {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* Footer Styles */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
    font-size: 14px;
}

.usd-hint {
    color: #888;
    font-size: 0.85em;
    font-weight: normal;
}

.price-display {
    white-space: nowrap;
}

.currency-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 100;
    font-size: 14px;
}

.currency-toggle label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.currency-toggle input[type="checkbox"] {
    cursor: pointer;
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer {
        padding: 30px 0 15px;
        margin-top: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 20px;
    }
    
    .footer-section h4 {
        font-size: 16px;
    }
}

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Spacing utilities */
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

/* Scrollbar styling for dropdowns */
.lang-dropdown-content::-webkit-scrollbar {
    width: 6px;
}

.lang-dropdown-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.lang-dropdown-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.lang-dropdown-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}