/* GEO检测平台 - 公共样式 */

/* CSS Variables */
:root {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --secondary-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --bg-color: #f9fafb;
    --white: #ffffff;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 12px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
}

.logo:hover {
    color: var(--text-color);
}

.logo-icon {
    font-size: 24px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

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

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

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

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

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

.btn-text {
    background: transparent;
    color: var(--text-light);
}

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

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

/* Main */
.main {
    min-height: calc(100vh - 64px - 300px);
}

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

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
}

.hero-form input {
    flex: 1;
    padding: 14px 20px;
    font-size: 16px;
    border: none;
    border-radius: var(--radius);
}

.hero-form button {
    padding: 14px 32px;
}

/* Check Form */
.check-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.check-form h2 {
    font-size: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group .hint {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 6px;
}

.check-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.check-option {
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.check-option:hover {
    border-color: var(--primary-color);
}

.check-option.selected {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
}

.check-option h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.check-option p {
    font-size: 13px;
    color: var(--text-light);
}

.check-option.vip {
    position: relative;
}

.check-option.vip::after {
    content: 'VIP';
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--warning-color);
    color: var(--white);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Progress */
.progress-container {
    text-align: center;
    padding: 60px 20px;
}

.progress-bar {
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    position: relative;
}

.progress-bar svg {
    transform: rotate(-90deg);
}

.progress-bar circle {
    fill: none;
    stroke-width: 8;
}

.progress-bar .bg {
    stroke: var(--border-color);
}

.progress-bar .progress {
    stroke: var(--primary-color);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    font-weight: 700;
}

.progress-status {
    font-size: 18px;
    color: var(--text-light);
}

/* Report */
.report-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.report-header h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

.report-header .url {
    opacity: 0.9;
    font-size: 14px;
}

.report-content {
    padding: 40px 0;
}

.score-overview {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.score-main {
    text-align: center;
}

.score-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--white);
    font-weight: 700;
}

.score-circle.green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.score-circle.yellow {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.score-circle.red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.score-number {
    font-size: 48px;
    line-height: 1;
}

.score-label {
    font-size: 14px;
    opacity: 0.9;
}

.score-grade {
    font-size: 24px;
    font-weight: 700;
}

.score-radar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}

.score-radar h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.radar-chart {
    width: 100%;
    height: 300px;
}

/* Score Cards */
.score-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.score-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}

.score-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.score-card-header h3 {
    font-size: 18px;
}

.score-card-header .score {
    font-size: 24px;
    font-weight: 700;
}

.score-card-header .score.green { color: var(--secondary-color); }
.score-card-header .score.yellow { color: var(--warning-color); }
.score-card-header .score.red { color: var(--danger-color); }

.score-items {
    list-style: none;
}

.score-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.score-item-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.score-item-name .status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.score-item-name .status.pass { background: var(--secondary-color); }
.score-item-name .status.warning { background: var(--warning-color); }
.score-item-name .status.fail { background: var(--danger-color); }

.score-item-score {
    font-weight: 500;
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 16px;
}

.section-desc {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* Pricing */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: '推荐';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.pricing-card .price {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.pricing-card .price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
}

.pricing-card .desc {
    color: var(--text-light);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.pricing-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: 700;
}

/* Articles */
.article-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.article-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.article-card:hover {
    transform: translateY(-4px);
}

.article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.article-card-content {
    padding: 20px;
}

.article-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.article-card h3 a {
    color: var(--text-color);
}

.article-card h3 a:hover {
    color: var(--primary-color);
}

.article-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 12px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
}

/* Questions */
.question-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.question-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}

.question-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.question-card h3 a {
    color: var(--text-color);
}

.question-card h3 a:hover {
    color: var(--primary-color);
}

.question-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: #1f2937;
    color: var(--white);
    padding: 60px 0 24px;
    margin-top: 60px;
}

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

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 16px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
}

.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-secondary { background: #e5e7eb; color: #374151; }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

.pagination li a,
.pagination li span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-color);
}

.pagination li a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination li.active span {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.pagination li.disabled span {
    color: var(--text-light);
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

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

.alert-warning {
    background: #fef3c7;
    color: #92400e;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
}

/* Modal */
.modal-overlay {
    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: 1000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

/* Responsive */
@media (max-width: 992px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 首页服务卡片响应式 */
    .section > div[style*="grid-template-columns: repeat(3"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* 统计数据响应式 */
    .section > div[style*="grid-template-columns: repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    /* 导航栏 */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow);
        display: none;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 0;
    }
    
    .nav-actions {
        display: none;
    }
    
    /* Hero区域 */
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 24px !important;
        line-height: 1.3;
        margin-bottom: 12px !important;
    }
    
    .hero p {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
    
    .hero-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-form input {
        width: 100%;
        font-size: 14px;
        padding: 12px 16px;
    }
    
    .hero-form button {
        width: 100%;
    }
    
    /* Section标题 */
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 22px;
        padding: 0 12px;
    }
    
    .section-desc {
        font-size: 14px;
        padding: 0 12px;
    }
    
    /* Features卡片 */
    .features {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 12px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .feature-card h3 {
        font-size: 18px;
    }
    
    .feature-card p {
        font-size: 14px;
    }
    
    /* 检测选项 */
    .check-options {
        grid-template-columns: 1fr;
    }
    
    /* 报告页 */
    .score-overview {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .score-circle {
        width: 140px;
        height: 140px;
    }
    
    .score-number {
        font-size: 40px;
    }
    
    /* 文章列表 */
    .article-list {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 12px;
    }
    
    .article-card img {
        height: 160px;
    }
    
    .article-card-content {
        padding: 16px;
    }
    
    .article-card h3 {
        font-size: 16px;
    }
    
    .article-card p {
        font-size: 13px;
    }
    
    /* 问答列表 */
    .question-card {
        padding: 16px;
    }
    
    .question-card h3 {
        font-size: 16px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
        margin-top: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 12px;
    }
    
    .footer-brand p {
        font-size: 13px;
    }
    
    .footer-links h4 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .footer-bottom {
        font-size: 13px;
        padding: 16px 12px 0;
    }
    
    /* 表单 */
    .check-form {
        padding: 20px;
        margin: 0 12px;
    }
    
    .check-form h2 {
        font-size: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
        padding: 10px 14px;
    }
    
    /* 按钮 */
    .btn-lg {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    /* 首页服务卡片响应式 */
    .section > div[style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 0 12px;
    }
    
    .section > div[style*="grid-template-columns: repeat(3"] > div {
        padding: 24px !important;
    }
    
    /* 统计数据响应式 */
    .section > div[style*="grid-template-columns: repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        padding: 0 12px;
    }
    
    .section > div[style*="grid-template-columns: repeat(4"] > div > div:first-child {
        font-size: 32px !important;
    }
    
    .section > div[style*="grid-template-columns: repeat(4"] > div > div:last-child {
        font-size: 13px !important;
    }
    
    /* 三步骤响应式 */
    .section > div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 0 12px;
    }
    
    /* 用户中心响应式 */
    div[style*="grid-template-columns: 280px 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* 联系页面响应式 */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    /* CTA按钮响应式 */
    div[style*="display: flex; gap: 16px; justify-content: center"] {
        flex-direction: column;
        align-items: center;
        gap: 12px !important;
    }
    
    div[style*="display: flex; gap: 16px; justify-content: center"] .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* 文章列表页响应式 */
    div[style*="grid-template-columns: 250px 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    /* 文章详情页响应式 */
    div[style*="grid-template-columns: 1fr 300px"] {
        grid-template-columns: 1fr !important;
    }
    
    /* 文章详情页隐藏侧边栏 */
    div[style*="grid-template-columns: 1fr 300px"] > aside {
        display: none !important;
    }
    
    /* 相关文章响应式 */
    div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Pricing卡片 */
    .pricing-card {
        padding: 24px;
    }
    
    .pricing-card .price {
        font-size: 36px;
    }
    
    /* 分页 */
    .pagination ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination li a,
    .pagination li span {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    /* Modal */
    .modal {
        padding: 20px;
        width: 95%;
    }
    
    .modal h3 {
        font-size: 18px;
    }
    
    /* 隐藏类 */
    .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;
    }
    
    /* 容器内边距 */
    .container {
        padding: 0 16px;
    }
    
    /* 标题字号 */
    h1 { font-size: 24px !important; }
    h2 { font-size: 20px !important; }
    h3 { font-size: 18px !important; }
    h4 { font-size: 16px !important; }
    
    /* 段落字号 */
    p {
        font-size: 14px;
    }
    
    /* 卡片圆角 */
    .score-card,
    .article-card,
    .question-card {
        border-radius: var(--radius);
    }
}

/* 超小屏幕 (< 375px) */
@media (max-width: 374px) {
    .hero h1 {
        font-size: 20px !important;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .section > div[style*="grid-template-columns: repeat(4"] > div > div:first-child {
        font-size: 28px !important;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 14px;
    }
}
}
