* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #334155;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.1);
    padding: 32px 0;
    margin-bottom: 48px;
    position: relative;
}

h1 {
    color: #1e293b;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
}

.language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 5px 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: #e2e8f0;
}

.lang-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.city-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    justify-content: center;
    background: white;
    padding: 28px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.1);
}

.city-tab {
    padding: 12px 20px;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #475569;
    white-space: nowrap;
    flex-shrink: 0;
}

.city-tab:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.city-tab.active {
    background: #3b82f6;
    color: white;
}

.city-info {
    text-align: center;
    margin-bottom: 40px;
    padding: 32px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.1);
}

.city-name {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.city-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin: 0 8px;
    color: #94a3b8;
    font-weight: 500;
}

.breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.breadcrumb span {
    color: #475569;
    font-weight: 500;
}

/* City SEO Content Styles */
.city-seo-content {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 30px;
    margin-top: 20px;
    border: 1px solid #e2e8f0;
}

.city-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.city-insights {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.city-insights h3 {
    color: #1e293b;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.city-insights p {
    color: #475569;
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

.vpn-list {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.vpn-item {
    display: flex;
    align-items: flex-start;
    padding: 32px 28px;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    gap: 24px;
}

.vpn-item:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

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

.vpn-rank {
    font-size: 1.75rem;
    font-weight: 700;
    color: #475569;
    min-width: 45px;
    flex-shrink: 0;
    line-height: 1;
}

.vpn-logo {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #64748b;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: all 0.3s ease;
}

.vpn-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.08);
}

.vpn-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.vpn-info {
    flex: 1;
    min-width: 0;
}

.vpn-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.2;
}

.vpn-description {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 12px;
    line-height: 1.5;
}

.vpn-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 16px;
    padding: 8px 12px;
    background: #eff6ff;
    border-radius: 8px;
    display: inline-block;
}

.vpn-status {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
    flex: 1;
}

.status-option {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.status-btn {
    padding: 12px 18px;
    border: 2px solid;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    background: white;
    font-size: 0.95rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-width: 140px;
}

.status-btn.working {
    border-color: #10b981;
    color: #10b981;
}

.status-btn.working:hover:not(.disabled):not(.voted) {
    background: #f0fdf4;
    border-color: #059669;
    color: #059669;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.status-btn.not-working {
    border-color: #ef4444;
    color: #ef4444;
}

.status-btn.not-working:hover:not(.disabled):not(.voted) {
    background: #fef2f2;
    border-color: #dc2626;
    color: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.status-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #94a3b8;
    transform: none;
    box-shadow: none;
}

.status-btn.disabled::after {
    content: " (24h limit)";
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 400;
}

.status-btn.voted {
    opacity: 0.6;
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.status-btn.voted::after {
    content: "";
}

.vote-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #64748b;
    flex-wrap: wrap;
}

.vote-count {
    font-weight: 700;
    color: #475569;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-fill.working {
    background: linear-gradient(90deg, #10b981, #059669);
}

.progress-fill.not-working {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.last-updated {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.download-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.15);
    flex-shrink: 0;
}

.download-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.25);
}

.loading {
    padding: 40px;
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
}

.error {
    padding: 40px;
    text-align: center;
    color: #ef4444;
    font-size: 1.1rem;
}

/* FAQ Section Styles */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: 60px;
}

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

.faq-title {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
}

.faq-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.faq-question {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.4;
    position: relative;
    padding-left: 30px;
}

.faq-question::before {
    content: '?';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.faq-answer {
    margin-top: 15px;
}

.faq-answer p {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
        margin-top: 40px;
    }
    
    .faq-container {
        padding: 0 15px;
    }
    
    .faq-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .faq-item {
        padding: 25px 20px;
    }
    
    .faq-question {
        font-size: 1.2rem;
        padding-left: 35px;
    }
    
    .faq-question::before {
        width: 22px;
        height: 22px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .faq-title {
        font-size: 1.8rem;
    }
    
    .faq-question {
        font-size: 1.1rem;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
    }
}

footer {
    margin-top: 80px;
    padding: 48px 0;
    background: white;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: #64748b;
    box-shadow: 0 -4px 6px rgba(0,0,0,0.02);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    margin-bottom: 32px;
    padding: 40px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 20px;
    border: 1px solid #334155;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.footer-left {
    flex: 1;
    max-width: 65%;
}

.footer-brand {
    margin-bottom: 24px;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: -0.025em;
}

.footer-slogan {
    font-size: 0.95rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

.footer-disclaimer {
    margin-top: 16px;
}

.disclaimer-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0;
}

.disclaimer-text strong {
    color: #f1f5f9;
    font-weight: 600;
}

.footer-contact {
    flex: 0 0 auto;
    text-align: center;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    min-width: 240px;
}

.contact-info {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #475569;
    margin: 0;
}

.contact-info strong {
    color: #1e293b;
    font-weight: 600;
    font-size: 1rem;
    display: block;
    margin-bottom: 12px;
}

.contact-info a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
}

.contact-info a:hover {
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.footer-copyright {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Accessibility - Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* SEO and Semantic Improvements */
/* The existing city-name and city-description styles are already defined above, no need to override */

.vpn-results {
    margin-top: 40px;
}

/* 移动端样式 */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .city-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding: 24px 16px;
        gap: 8px;
    }
    
    .city-tab {
        padding: 10px 16px;
        font-size: 0.9rem;
        min-width: auto;
    }
    
    .city-info {
        padding: 24px 20px;
        margin-bottom: 32px;
    }
    
    .city-name {
        font-size: 1.75rem;
    }
    
    .city-description {
        font-size: 1rem;
    }
    
    .vpn-item {
        flex-direction: column;
        text-align: left;
        gap: 20px;
        padding: 24px 20px;
    }
    
    .vpn-rank {
        margin-right: 0;
        align-self: flex-start;
        order: 0;
        font-size: 1.5rem;
    }
    
    .vpn-logo {
        order: 1;
        margin-right: 0;
        align-self: flex-start;
        width: 60px;
        height: 60px;
    }
    
    .vpn-logo img {
        border-radius: 8px;
    }
    
    .vpn-info {
        order: 2;
        width: 100%;
    }
    
    .vpn-name {
        font-size: 1.3rem;
    }
    
    .download-btn {
        order: 3;
        align-self: stretch;
        text-align: center;
        margin-top: 16px;
        padding: 16px 24px;
    }
    
    .status-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .vote-info {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
        font-size: 0.8rem;
    }
    
    .status-btn {
        padding: 14px 18px;
        font-size: 0.95rem;
        width: 100%;
        min-width: auto;
    }
    
    .progress-bar {
        width: 100%;
        height: 6px;
    }
    
    .language-switcher {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 24px;
        justify-content: center;
    }
    
    .vpn-status {
        gap: 18px;
    }
    
    .status-option {
        gap: 8px;
    }
    
    .last-updated {
        margin-top: 16px;
        padding-top: 16px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
        padding: 32px 20px;
        text-align: center;
    }
    
    .footer-left {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-brand {
        margin-bottom: 20px;
    }
    
    .footer-title {
        font-size: 1.25rem;
        margin-bottom: 6px;
    }
    
    .footer-slogan {
        font-size: 0.9rem;
    }
    
    .footer-disclaimer {
        margin-top: 12px;
        text-align: left;
    }
    
    .disclaimer-text {
        font-size: 0.8rem;
    }
    
    .footer-contact {
        text-align: center;
        padding: 20px 24px;
        align-self: center;
        min-width: 200px;
        max-width: 280px;
    }
    
    .contact-info {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .contact-info strong {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .contact-info a {
        font-size: 0.9rem;
    }
} 