/* =====================================================
   安巡鹰官网 - 主样式文件
   稳重正式的政企风格
   ===================================================== */

:root {
    --primary: #1e3a5f;
    --primary-dark: #0d1f33;
    --primary-light: #2d5a87;
    --secondary: #3d5a73;
    --accent: #c9a227;
    --accent-light: #d4b54a;
    --dark: #0a1425;
    --light: #f5f7fa;
    --gray: #8a9bb0;
    --gray-light: #d8dde4;
    --white: #ffffff;
    --border: #2a4058;
    --shadow: 0 2px 12px rgba(0,0,0,0.2);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    font-size: 16px;
}

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

.section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title p {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    margin-top: 18px;
}


/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 20, 37, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    transition: all 0.3s ease;
}

header.scrolled nav {
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.logo img {
    height: 42px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin-bottom: unset;
    padding-left: unset;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

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

.nav-cta {
    display: flex;
    gap: 12px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #0d1f33 0%, #1a3a5c 50%, #0d2845 100%);
    position: relative;
    overflow: hidden;
    color: var(--white);
}


.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 22px;
    color: var(--white);
}

.hero-text h1 span {
    color: var(--accent);
}

.hero-text > p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 580px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.hero-stats {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

/* Features */
.features {
    background: linear-gradient(180deg, #0d1f33 0%, #0a1425 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.feature-card {
    background: rgba(30, 58, 95, 0.4);
    padding: 36px 28px;
    border-radius: 6px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
    background: rgba(30, 58, 95, 0.6);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(201,162,39,0.2) 0%, rgba(201,162,39,0.1) 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
}

.feature-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* Advantages */
.advantages {
    background: var(--primary-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2.5l6 4-6 4z' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
}

.advantages .section-title h2 {
    color: var(--white);
}

.advantages .section-title h2::after {
    background: var(--accent);
}

.advantages .section-title p {
    color: rgba(255,255,255,0.7);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.advantage-item {
    text-align: center;
    padding: 32px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    background: rgba(255,255,255,0.1);
}

.advantage-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 6px;
}

.advantage-item h3 {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* Problems */
.problems {
    background: linear-gradient(180deg, #0a1425 0%, #0d1f33 100%);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.problem-card {
    background: rgba(30, 58, 95, 0.4);
    padding: 32px 24px;
    border-radius: 6px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.problem-card:hover {
    border-left-color: var(--accent);
    transform: translateY(-3px);
    background: rgba(30, 58, 95, 0.6);
}

.problem-icon {
    width: 48px;
    height: 48px;
    background: rgba(201,162,39,0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.25rem;
}

.problem-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
}

.problem-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

/* Services */
.services {
    background: linear-gradient(180deg, #0a1425 0%, #0d1f33 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: rgba(30, 58, 95, 0.4);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-header {
    background: linear-gradient(135deg, #1e3a5f, #2d5a87);
    padding: 28px;
    color: var(--white);
    position: relative;
}

.service-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.service-header p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.service-body {
    padding: 28px;
}

.service-body ul {
    list-style: none;
}

.service-body li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
    font-size: 0.92rem;
}

.service-body li:last-child {
    border-bottom: none;
}

.service-body li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}

.service-cta {
    padding: 0 28px 28px;
}

.service-cta .btn {
    width: 100%;
}

/* Scenarios */
.scenarios {
    background: linear-gradient(180deg, #0d1f33 0%, #0a1425 100%);
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.scenario-card {
    background: rgba(30, 58, 95, 0.4);
    padding: 32px 22px;
    border-radius: 6px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.scenario-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    background: rgba(30, 58, 95, 0.6);
}

.scenario-icon {
    width: 64px;
    height: 64px;
    background: rgba(201,162,39,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.75rem;
}

.scenario-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
}

.scenario-card p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.55;
}

/* Contact CTA */
.contact-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-text h2 {
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 14px;
    font-weight: 700;
}

.contact-text p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 26px;
    font-size: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 0.95rem;
}

.contact-info-item span:first-child {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-qr {
    display: flex;
    justify-content: center;
}

.contact-qr img {
    width: 160px;
    height: 160px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    border: 4px solid var(--white);
}

.contact-qr p {
    text-align: center;
    color: rgba(255,255,255,0.8);
    margin-top: 12px;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 50px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
    text-align: center;
}

.footer-brand {
    max-width: 900px;
    margin: 0 auto;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-top: 16px;
    line-height: 1.85;
    font-size: 0.9rem;
    text-align: justify;
    word-break: break-all;
}

.footer-brand .logo {
    justify-content: flex-start;
}

.footer-brand .logo {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 0.82rem;
}

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

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
    .features-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid,
    .problems-grid,
    .scenarios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .nav-links, .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links a {
        color: var(--dark);
    }

    .nav-links a.active {
        color: var(--primary);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text > p {
        margin: 0 auto 28px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .features-grid,
    .services-grid,
    .advantages-grid,
    .problems-grid,
    .scenarios-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-info {
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-brand p {
        font-size: 0.85rem;
        line-height: 1.8;
    }

    .footer-bottom {
        flex-wrap: nowrap;
        text-align: center;
        gap: 16px;
    }

    .footer-bottom p {
        font-size: 0.75rem;
        line-height: 1.6;
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .hero-stat {
        flex: 0 0 auto;
        min-width: 80px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-brand p {
        font-size: 0.82rem;
    }
}
