/* ========== 基础重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

:root {
    --primary: #0a1a2b;
    --primary-light: #1d3a5c;
    --accent: #3b82f6;
    --accent-glow: #60a5fa;
    --bg-light: #f5f8fe;
    --border-light: #e2eaf5;
    --text-dark: #0f1e2e;
    --text-mid: #4b5e73;
    --text-light: #7c8ea6;
    --white: #ffffff;
    --radius: 20px;
    --radius-sm: 14px;
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 8px 32px rgba(10, 26, 43, 0.06);
    --shadow-lg: 0 24px 56px rgba(10, 26, 43, 0.10);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ========== 顶部信息条 ========== */
.top-bar {
    background: var(--primary);
    color: #d0ddeb;
    padding: 10px 0;
    font-size: 0.85rem;
    letter-spacing: 0.2px;
}

.top-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-contact i {
    margin-right: 6px;
    color: var(--accent-glow);
}

.top-lang a {
    color: #9fb3c8;
    text-decoration: none;
    margin-left: 24px;
    transition: color 0.25s;
    font-weight: 500;
}

.top-lang a:hover {
    color: white;
}

/* ========== 主导航 ========== */
.main-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 24px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo-icon span {
    color: var(--accent);
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.logo-text small {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--text-light);
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--text-mid);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 40px;
    transition: all 0.25s ease;
    white-space: nowrap;
    display: inline-block;
}

.nav-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.nav-menu li a.active {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.nav-menu li a.complaint-btn {
    background: #fef2f2;
    color: #b91c1c !important;
    font-weight: 600;
    padding: 8px 18px !important;
}

.nav-menu li a.complaint-btn i {
    margin-right: 6px;
    color: #dc2626;
}

.nav-menu li a.complaint-btn:hover,
.nav-menu li a.complaint-btn.active {
    background: #dc2626;
    color: white !important;
}

.nav-menu li a.complaint-btn:hover i,
.nav-menu li a.complaint-btn.active i {
    color: white;
}

/* ========== 通用区块 ========== */
.section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-light);
}

.section:last-of-type {
    border-bottom: none;
}

.section-header {
    margin-bottom: 48px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    margin-bottom: 14px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-glow));
    border-radius: 4px;
}

.section-sub {
    color: var(--text-mid);
    max-width: 720px;
    font-size: 1.05rem;
    margin-top: 6px;
}

/* ========== 首页 Hero ========== */
.hero {
    background: linear-gradient(145deg, #0a1a2b 0%, #142c45 50%, #1d3a5c 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1 1 480px;
}

.hero-tagline {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: var(--accent-glow);
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-content h1 span {
    background: linear-gradient(90deg, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.85;
    max-width: 620px;
    margin-bottom: 36px;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.stat-item h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-glow);
    letter-spacing: -1px;
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0;
    font-weight: 500;
}

.hero-image {
    flex: 1 1 320px;
    text-align: right;
    font-size: 12rem;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
}

/* ========== 走进亚星 ========== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-glow));
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.8rem;
    color: var(--accent);
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.card p {
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========== 亚星资讯 ========== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 28px;
    background: var(--white);
    padding: 22px 28px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
}

.news-item:hover {
    border-color: #c7daf0;
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.news-date {
    background: #eef4fc;
    padding: 8px 16px;
    border-radius: 40px;
    font-weight: 700;
    color: var(--primary-light);
    font-size: 0.8rem;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.news-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.news-tag {
    margin-left: auto;
    font-size: 0.75rem;
    background: #dbeafe;
    padding: 6px 16px;
    border-radius: 40px;
    color: #1e40af;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* ========== 亚星项目 ========== */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.project-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.project-img {
    height: 180px;
    background: linear-gradient(145deg, #dbeafe, #bfdbfe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #2563eb;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.project-card:hover .project-img {
    transform: scale(1.02);
}

.project-info {
    padding: 24px;
}

.project-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}

.project-info p {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* ========== 亚星产业 ========== */
.industry-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: space-between;
}

.industry-item {
    flex: 1 1 220px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.industry-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #c7daf0;
}

.industry-item i {
    font-size: 2.6rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-block;
}

.industry-item h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}

.industry-item p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.6;
}

/* ========== 联系亚星 ========== */
.contact-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.contact-info {
    flex: 1 1 320px;
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.contact-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info h3 i {
    color: var(--accent);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-detail p {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-detail span {
    color: var(--text-light);
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    margin-top: 2px;
}

.contact-map {
    flex: 1 1 320px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    padding: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    color: var(--text-light);
    text-align: center;
}

.contact-map i {
    font-size: 4rem;
    color: #dbeafe;
}

.contact-map h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-mid);
}

.contact-map p {
    font-size: 0.9rem;
}

/* ========== 投诉建议 ========== */
.complaint-section {
    background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
    padding: 80px 0;
}

.complaint-wrapper {
    max-width: 760px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: 28px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.complaint-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
}

.complaint-wrapper h3 i {
    color: #dc2626;
}

.complaint-desc {
    color: var(--text-mid);
    margin-bottom: 32px;
    font-size: 0.98rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border-light);
    border-radius: 12px;
    font-size: 0.95rem;
    background: #fafdff;
    transition: all 0.25s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background: white;
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.btn-submit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px 36px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.btn-submit:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 26, 43, 0.2);
}

/* ========== 底部 ========== */
footer {
    background: var(--primary);
    color: #9fb3c8;
    padding: 56px 0 28px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 36px;
}

.footer-col h4 {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-col a {
    color: #9fb3c8;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: color 0.2s;
    font-size: 0.88rem;
}

.footer-col a:hover {
    color: white;
}

.footer-col a i {
    margin-right: 8px;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #1f3245;
    margin-top: 40px;
    padding-top: 24px;
    text-align: center;
    font-size: 0.82rem;
    color: #7c8ea6;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .navbar {
        flex-direction: column;
        gap: 12px;
    }

    .nav-menu {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    .hero-stats {
        gap: 28px;
    }

    .stat-item h3 {
        font-size: 1.8rem;
    }

    .hero-image {
        display: none;
    }

    .nav-menu li a {
        font-size: 0.82rem;
        padding: 6px 12px;
    }

    .complaint-wrapper {
        padding: 28px 20px;
    }

    .news-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .news-tag {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .top-flex {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .top-lang a {
        margin: 0 10px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .card {
        padding: 28px 22px;
    }
}