* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #003399;
    --primary-yellow: #ffc90e;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-large: 0 20px 60px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-blue);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 3px 0;
    transition: var(--transition);
}

.hero {
    height: 100vh;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 201, 14, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 201, 14, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #003399 0%, #0056d4 50%, #1976d2 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 10% 10%, rgba(255, 201, 14, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 90% 90%, rgba(255, 201, 14, 0.2) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    animation: float 25s infinite linear;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            rgba(255, 255, 255, 0.02) 100px,
            rgba(255, 255, 255, 0.02) 102px
        );
    animation: slide 30s infinite linear;
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(100px); }
}

@keyframes float {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-50px) translateY(-50px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-logo {
    max-width: 200px;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-yellow);
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero .slogan {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.4s both;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1.2rem 2.5rem;
    background: var(--primary-yellow);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    animation: fadeInUp 1s ease 0.6s both;
    box-shadow: 0 5px 20px rgba(255, 201, 14, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 201, 14, 0.5);
}

.cta-button i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(18px);
    }
}

.section {
    padding: 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-yellow);
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.about {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    text-align: center;
    margin-bottom: 2rem;
}

.about-image {
    position: relative;
}

.about-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-large);
    transition: var(--transition-smooth);
}

.about-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.image-caption {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
    font-style: italic;
}

.about-content {
    position: relative;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-blue), #0056d4);
    color: var(--white);
    border-radius: 30px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 51, 153, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.about-badge i {
    color: var(--primary-yellow);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.highlight {
    color: var(--primary-blue);
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-yellow), transparent);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 51, 153, 0.05), transparent);
    transition: left 0.5s;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-large);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.stat-item:hover .stat-icon {
    transform: scale(1.2) rotateY(360deg);
    color: var(--primary-blue);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.stat-item:hover .stat-number {
    color: var(--primary-yellow);
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
}

.services {
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(0, 51, 153, 0.03) 35px,
            rgba(0, 51, 153, 0.03) 70px
        ),
        linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    position: relative;
}

.services .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition-smooth);
    border-top: 4px solid var(--primary-yellow);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 201, 14, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-top-width: 6px;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
    display: inline-block;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotateY(360deg);
    color: var(--primary-yellow);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    position: relative;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    position: relative;
}

.contact {
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 201, 14, 0.15) 0%, transparent 70%),
        radial-gradient(circle at 70% 70%, rgba(255, 201, 14, 0.15) 0%, transparent 70%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.05) 2px,
            rgba(255, 255, 255, 0.05) 4px
        ),
        linear-gradient(135deg, #003399 0%, #0056d4 50%, #1976d2 100%);
    background-attachment: fixed;
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.contact-item {
    text-align: center;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
    display: inline-block;
}

.contact-item:hover .contact-icon {
    transform: scale(1.2);
}

.pulse {
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 201, 14, 0.7);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 201, 14, 0);
    }
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-item p {
    opacity: 0.9;
    line-height: 1.8;
}

.phone-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-yellow);
    text-decoration: none;
    margin: 0.5rem 0;
    transition: var(--transition);
}

.phone-number:hover {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(255, 201, 14, 0.8);
}

.contact-time,
.store-info,
.company-year {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
    font-size: 0.95rem;
    opacity: 0.95;
}

.contact-time i,
.store-info i,
.company-year i {
    color: var(--primary-yellow);
}

.footer {
    background: #1a1a1a;
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .logo img {
        height: 30px;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .hero-content img,
    .hero-content svg {
        max-width: 150px !important;
        height: auto !important;
    }

    .about-image svg {
        max-width: 250px !important;
        height: auto !important;
    }

    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .hero .slogan {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-blue);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-yellow);
    color: var(--text-dark);
    transform: translateY(-5px);
}

/* 额外的响应式优化 */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .about-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }

    .hero-logo {
        max-width: 150px !important;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .about-badge {
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .cta-button {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
    }

    .about-badge {
        display: flex;
        font-size: 0.85rem;
    }

    .stat-icon {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .contact-icon {
        font-size: 2rem;
    }

    .phone-number {
        font-size: 1.6rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* 暗黑模式支持（可选） */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #e0e0e0;
        --text-light: #b0b0b0;
        --bg-light: #1a1a1a;
    }
}

/* 打印样式优化 */
@media print {
    .navbar,
    .back-to-top,
    .hamburger {
        display: none !important;
    }

    .hero {
        height: auto;
        padding: 3rem 0;
        background: var(--primary-blue) !important;
    }

    .section {
        page-break-inside: avoid;
    }
} 