/* ===== Reset & Variables ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --primary-light: #ff8c5a;
    --primary-dark: #e55a25;
    --secondary-color: #f7c531;
    --accent-color: #00b4d8;
    --accent-dark: #0096b7;
    --dark-color: #1a1a2e;
    --dark-secondary: #16213e;
    --light-color: #f8f9fa;
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --text-light: #b2bec3;
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #f7c531 100%);
    --gradient-secondary: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
    --gradient-warm: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 50%, #f7c531 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.15);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    overflow-x: hidden;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

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

/* ===== Header ===== */
.header {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-secondary) 100%);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    transition: padding 0.3s ease;
}

.header.scrolled .header-content {
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: rotate(-10deg) scale(1.1);
}

.logo-icon .material-icons-round {
    color: #fff;
    font-size: 24px;
}

.logo h1 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

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

.nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 20px;
    border-radius: 50px;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav a:hover,
.nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav a:hover::after,
.nav a.active::after {
    width: 24px;
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero Section ===== */
.hero {
    background: url('../assets/banner.png') center center no-repeat;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 0;
    padding-top: 74px;
    overflow: hidden;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 15s infinite;
}

.particle:nth-child(1) { left: 8%; width: 14px; height: 14px; animation-delay: 0s; }
.particle:nth-child(2) { left: 22%; width: 8px; height: 8px; animation-delay: 2s; }
.particle:nth-child(3) { left: 38%; width: 11px; height: 11px; animation-delay: 4s; }
.particle:nth-child(4) { left: 55%; width: 9px; height: 9px; animation-delay: 6s; }
.particle:nth-child(5) { left: 70%; width: 13px; height: 13px; animation-delay: 8s; }
.particle:nth-child(6) { left: 85%; width: 7px; height: 7px; animation-delay: 10s; }
.particle:nth-child(7) { left: 45%; width: 10px; height: 10px; animation-delay: 3s; }
.particle:nth-child(8) { left: 15%; width: 6px; height: 6px; animation-delay: 7s; }

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        160deg,
        rgba(26, 26, 46, 0.88) 0%,
        rgba(22, 33, 62, 0.75) 50%,
        rgba(0, 77, 128, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease;
    letter-spacing: 1px;
}

.hero-badge .material-icons-round {
    font-size: 18px;
    color: var(--secondary-color);
}

.hero h2 {
    font-size: 60px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 4px;
    font-weight: 900;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 20px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.4s both;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn .material-icons-round {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn:hover .material-icons-round {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.7);
}

.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    cursor: pointer;
}

.scroll-icon {
    width: 28px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
    animation: scrollBounce 2.5s ease-in-out infinite;
}

.scroll-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--gradient-primary);
    border-radius: 3px;
    animation: scrollMove 2.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.6; }
}

@keyframes scrollMove {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 24px; opacity: 0.3; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Sections Common ===== */
.about, .products, .contact {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.section-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
}

.decoration-circle-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-color);
    top: -200px;
    right: -100px;
}

.decoration-circle-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    bottom: -100px;
    left: -80px;
}

.decoration-circle-3 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    top: -150px;
    left: -120px;
}

.decoration-circle-4 {
    width: 350px;
    height: 350px;
    background: var(--accent-color);
    bottom: -100px;
    right: -80px;
}

.decoration-circle-5 {
    width: 450px;
    height: 450px;
    background: var(--primary-color);
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
}

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

.section-badge {
    display: inline-block;
    padding: 8px 24px;
    background: var(--gradient-secondary);
    color: #fff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 3px;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.25);
}

.section-title h2 {
    font-size: 40px;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.title-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 4px;
    position: relative;
}

.title-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15), 0 0 20px rgba(255, 107, 53, 0.3);
}

/* ===== About Section ===== */
.about {
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.about-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-align: center;
    line-height: 2;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-item {
    text-align: center;
    padding: 48px 32px 40px;
    background: #fff;
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 60px rgba(255, 107, 53, 0.12);
}

.feature-icon-wrapper {
    width: 90px;
    height: 90px;
    background: var(--gradient-secondary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.3);
}

.feature-icon-wrapper .material-icons-round {
    font-size: 40px;
    color: #fff;
}

.feature-item:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-primary);
    box-shadow: 0 14px 40px rgba(255, 107, 53, 0.35);
    border-radius: 28px;
}

.feature-item h3 {
    font-size: 22px;
    color: var(--dark-color);
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.feature-decoration {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.06), rgba(247, 197, 49, 0.06));
    border-radius: 50%;
    transition: all 0.4s ease;
}

.feature-item:hover .feature-decoration {
    transform: scale(2.5);
}

/* ===== Products Section ===== */
.products {
    background: linear-gradient(180deg, var(--light-color) 0%, #fff 100%);
}

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

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    transform: translateY(-14px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(26, 26, 46, 0.6) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay .material-icons-round {
    color: #fff;
    font-size: 32px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.product-card:hover .product-overlay .material-icons-round {
    transform: translateY(0);
}

.product-content {
    padding: 28px 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.product-card h3 {
    font-size: 22px;
    color: var(--dark-color);
    margin-bottom: 8px;
    font-weight: 700;
    transition: color 0.3s ease;
}

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

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

/* ===== Contact Section ===== */
.contact {
    background: #fff;
}

.contact-content {
    text-align: center;
}

.contact-card {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    background: #fff;
    padding: 56px 64px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 180, 216, 0.12);
}

.contact-icon {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info {
    text-align: left;
}

.contact-item {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-label {
    font-weight: 700;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 16px;
}

.contact-label .material-icons-round {
    font-size: 20px;
    color: var(--accent-color);
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #0f0f1a 100%);
    color: #fff;
    padding: 48px 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.footer-logo .material-icons-round {
    font-size: 28px;
    color: var(--primary-color);
}

.footer-info {
    margin-bottom: 16px;
}

.footer-info p {
    font-size: 14px;
    color: var(--text-light);
}

.footer-icp p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 8px;
}

.footer-icp a {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.police-record {
    margin-top: 8px;
}

/* ===== Scroll Animations ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(180deg, var(--dark-color) 0%, var(--dark-secondary) 100%);
        padding: 90px 32px 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .nav.open {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 4px;
    }

    .nav a {
        display: block;
        padding: 14px 20px;
        font-size: 17px;
        border-radius: var(--radius-sm);
    }

    .nav a::after {
        display: none;
    }

    .hero h2 {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .about, .products, .contact {
        padding: 80px 0;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-item {
        padding: 36px 28px 32px;
    }

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

    .contact-card {
        flex-direction: column;
        padding: 40px 32px;
        text-align: center;
    }

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

    .contact-label {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 28px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .hero-badge {
        font-size: 13px;
        padding: 8px 20px;
    }
}
