/* ===== 亚星官网 - 全局样式 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    font-size: 16px;
}

a { text-decoration: none; color: #e94560; transition: color 0.3s; }
a:hover { color: #d1334f; }

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

/* ===== 导航栏 ===== */
.navbar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo {
    color: #e94560;
    font-size: 24px;
    font-weight: bold;
    padding: 15px 0;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 20px 22px;
    display: block;
    transition: background 0.3s;
    font-size: 15px;
}

.nav-links a:hover, .nav-links a.active {
    background: #e94560;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* ===== 面包屑导航 ===== */
.breadcrumb {
    max-width: 1200px;
    margin: 15px auto;
    padding: 0 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a { color: #e94560; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; color: #999; }

/* ===== 主内容容器 ===== */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ===== Hero区域 ===== */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(233,69,96,0.1);
    border-radius: 50%;
}

.hero h1 {
    font-size: 38px;
    margin-bottom: 15px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.hero .subtitle {
    font-size: 18px;
    color: #a0a0a0;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn {
    padding: 14px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #e94560;
    color: #fff;
}

.btn-primary:hover {
    background: #d1334f;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233,69,96,0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #e94560;
}

.btn-secondary:hover {
    background: #e94560;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233,69,96,0.4);
}

.btn-large {
    padding: 16px 45px;
    font-size: 18px;
}

/* ===== 快速上手流程 ===== */
.quick-start {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.quick-start h2 {
    font-size: 28px;
    color: #1a1a2e;
    margin-bottom: 30px;
}

.quick-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.quick-step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    text-align: center;
    padding: 25px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    position: relative;
}

.quick-step .step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: #fff;
}

.quick-step h3 {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.quick-step p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.step-arrow {
    font-size: 30px;
    color: #e94560;
    font-weight: bold;
}

@media (max-width: 768px) {
    .step-arrow { display: none; }
    .quick-step { max-width: 100%; }
}

/* ===== 特色服务卡片 ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
}

.feature-card h2 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.feature-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

/* ===== 内容区块 ===== */
.content-section {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.content-section h2 {
    font-size: 28px;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #e94560;
    display: inline-block;
}

.content-section h3 {
    font-size: 22px;
    color: #333;
    margin: 30px 0 15px;
}

.content-section h4 {
    font-size: 18px;
    color: #444;
    margin: 25px 0 12px;
}

.content-section p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 16px;
}

.content-section ul, .content-section ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.content-section li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.7;
}

.content-section strong {
    color: #1a1a2e;
}

/* ===== 安全认证标识 ===== */
.security-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
}

.security-badge .badge-icon {
    font-size: 24px;
}

/* ===== FAQ 区域 ===== */
.faq-section {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.faq-section h2 {
    font-size: 28px;
    color: #1a1a2e;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #e94560;
    display: inline-block;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

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

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: #e94560;
    transition: transform 0.3s;
}

.faq-question.active::after {
    content: '−';
}

.faq-answer {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
    padding-left: 5px;
}

/* ===== 步骤流程 ===== */
.steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.step-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 25px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    position: relative;
}

.step-number {
    width: 45px;
    height: 45px;
    background: #e94560;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step-item h4 {
    font-size: 17px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.step-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* ===== 信息卡片 ===== */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.info-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    border-left: 4px solid #e94560;
}

.info-card h4 {
    color: #e94560;
    font-size: 17px;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* ===== 表格样式 ===== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.data-table th {
    background: #1a1a2e;
    color: #fff;
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
}

.data-table td {
    padding: 12px 18px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.data-table tr:hover {
    background: #f8f9fa;
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* ===== 下载区域 ===== */
.download-area {
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.download-qr {
    text-align: center;
}

.download-qr img {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

.download-qr p {
    font-size: 13px;
    color: #666;
}

.download-info {
    flex: 1;
    min-width: 250px;
}

.download-info h3 {
    margin-top: 0;
}

.download-btns {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: #1a1a2e;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.download-btn:hover {
    background: #e94560;
    transform: translateY(-2px);
}

.download-btn .icon {
    font-size: 24px;
}

/* ===== 联系表单 ===== */
.contact-form {
    max-width: 600px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #e94560;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: #e94560;
    color: #fff;
    padding: 14px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #d1334f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233,69,96,0.3);
}

/* ===== 联系信息 ===== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.contact-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.contact-item .icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
}

.contact-item h4 {
    font-size: 17px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* ===== 新闻列表 ===== */
.news-list { margin-top: 20px; }

.news-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.news-item:hover { background: #f8f9fa; }
.news-item:last-child { border-bottom: none; }

.news-date {
    min-width: 80px;
    text-align: center;
    background: #e94560;
    color: #fff;
    border-radius: 8px;
    padding: 10px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.news-date .day {
    font-size: 22px;
    font-weight: bold;
    display: block;
    line-height: 1.2;
}

.news-date .month {
    font-size: 12px;
    line-height: 1.2;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.news-content h3 a {
    color: inherit;
    text-decoration: none;
}

.news-content h3 a:hover { color: #e94560; }

.news-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.news-tag {
    display: inline-block;
    background: #f0f0f0;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}

/* ===== 页脚 ===== */
.footer {
    background: #1a1a2e;
    color: #a0a0a0;
    padding: 45px 20px 30px;
    text-align: center;
    margin-top: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}

.footer-links a:hover { color: #e94560; }

.footer p {
    font-size: 14px;
    margin-top: 10px;
}

/* ===== 提示框 ===== */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
}

.alert-info {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    color: #1565c0;
}

.alert-success {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    color: #2e7d32;
}

.alert-warning {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    color: #ef6c00;
}

/* ===== 二维码区域 ===== */
.qr-section { text-align: center; padding: 30px; }
.qr-section img {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}
.qr-section p { color: #666; font-size: 14px; }

/* ===== 页面内导航 ===== */
.page-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.page-nav a {
    padding: 8px 18px;
    background: #f0f0f0;
    border-radius: 20px;
    color: #555;
    font-size: 14px;
    transition: all 0.3s;
}

.page-nav a:hover, .page-nav a.active {
    background: #e94560;
    color: #fff;
}

/* ===== 文章详情页 ===== */
.article-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.article-content {
    line-height: 1.8;
    color: #555;
}

.article-content p {
    margin-bottom: 15px;
    font-size: 16px;
}

.article-content h3 {
    font-size: 22px;
    color: #1a1a2e;
    margin: 30px 0 15px;
}

.article-content h4 {
    font-size: 18px;
    color: #333;
    margin: 25px 0 12px;
}

.article-content ul, .article-content ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.article-content li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.7;
}

.article-content a {
    color: #e94560;
    text-decoration: underline;
}

.article-content a:hover {
    color: #d1334f;
}

/* ===== 内链推荐 ===== */
.related-links {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    border-left: 4px solid #e94560;
}

.related-links h4 {
    color: #e94560;
    font-size: 18px;
    margin-bottom: 15px;
}

.related-links ul {
    margin: 0;
    padding-left: 20px;
}

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

.related-links a {
    color: #e94560;
    text-decoration: none;
}

.related-links a:hover {
    text-decoration: underline;
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 26px; }
    .hero { padding: 40px 20px; }
    .hero .subtitle { font-size: 15px; }
    .content-section { padding: 25px; }
    .content-section h2 { font-size: 22px; }
    .features { grid-template-columns: 1fr; }
    .steps { flex-direction: column; }
    .download-area { flex-direction: column; text-align: center; }
    .news-item { flex-direction: column; gap: 10px; }
    .news-date { width: fit-content; flex-direction: row; gap: 5px; padding: 8px 15px; }
    .news-date .day { font-size: 16px; }
    .footer-links { gap: 15px; }
    .contact-info { grid-template-columns: 1fr; }
    .info-cards { grid-template-columns: 1fr; }
    .quick-steps { flex-direction: column; }
    .step-arrow { display: none; }
    .security-badges { flex-direction: column; align-items: center; }
}
