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

:root {
    --primary-red: #c41e3a;
    --primary-red-light: #e63950;
    --primary-red-dark: #9a152b;
    --text-dark: #1d1d1f;
    --text-light: #86868b;
    --bg-light: #fbfbfd;
    --bg-white: #ffffff;
    --shadow: 0 4px 20px rgba(196, 30, 58, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
    perspective: 1px;
    height: 100%;
}

.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateZ(-1px) scale(2);
    z-index: -1;
}

.parallax-content {
    position: relative;
    z-index: 1;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

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

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.scroll-reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.scroll-reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.scroll-reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.nav-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-red);
    animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    animation: fadeInRight 0.8s ease-out;
}

.nav-link:nth-child(1) { animation-delay: 0.1s; }
.nav-link:nth-child(2) { animation-delay: 0.2s; }
.nav-link:nth-child(3) { animation-delay: 0.3s; }
.nav-link:nth-child(4) { animation-delay: 0.4s; }
.nav-link:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link:hover::after {
    width: 100%;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, #fff5f5 0%, #fff 50%, #ffe5e5 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: 72px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -2px;
    animation: scaleIn 1s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-subtitle {
    font-size: 28px;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

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

.btn {
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(196, 30, 58, 0.6);
    }
}

.btn-primary:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    will-change: transform;
    filter: drop-shadow(0 8px 16px rgba(196, 30, 58, 0.2));
}

.shape-1 {
    width: 250px;
    height: 250px;
    top: 10%;
    left: 10%;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
}

.shape-3 {
    width: 180px;
    height: 180px;
    bottom: 20%;
    left: 20%;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
    }
    50% {
        transform: translateY(-15px) rotate(180deg);
    }
    75% {
        transform: translateY(-25px) rotate(270deg);
    }
}

.products {
    padding: 100px 0;
    background: var(--bg-white);
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 60px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(196, 30, 58, 0.2);
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-svg {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 4px 8px rgba(196, 30, 58, 0.2));
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .icon-svg {
    transform: scale(1.1) rotate(5deg);
}

.product-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.product-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.product-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.product-link:hover {
    transform: translateX(5px);
}

.features {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, #fff5f5 100%);
}

.features-list {
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    padding: 40px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

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

.feature-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-red);
    margin-right: 40px;
    min-width: 100px;
    opacity: 0.3;
    transition: var(--transition);
}

.feature-item:hover .feature-number {
    opacity: 1;
    transform: scale(1.1);
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

.about {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.about-text {
}

.about-description {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
}

.about-image {
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-light));
    border-radius: 20px;
    overflow: hidden;
}

.image-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-decoration svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(196, 30, 58, 0.2));
}

@keyframes slideBackground {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100px 100px;
    }
}

.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, #fff5f5 0%, var(--bg-light) 100%);
}

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

.contact-info {
    animation: fadeInLeft 0.8s ease-out;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.15);
}

.contact-icon {
    width: 50px;
    height: 50px;
    margin-right: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon-svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 2px 4px rgba(196, 30, 58, 0.15));
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover .contact-icon-svg {
    transform: scale(1.1);
}

.contact-details h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-details p {
    font-size: 16px;
    color: var(--text-light);
}

.contact-form {
    animation: fadeInRight 0.8s ease-out;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

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

.contact-form .btn {
    width: 100%;
    border: none;
    cursor: pointer;
}

.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-red-light);
}

.footer-section p {
    color: #86868b;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #86868b;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-red-light);
    transform: translateX(5px);
    display: inline-block;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon-svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
    background: var(--primary-red);
    transform: translateY(-5px);
}

.social-link:hover .social-icon-svg {
    transform: scale(1.1) rotate(5deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #86868b;
    font-size: 14px;
}

.icp-info {
    color: #86868b;
    font-size: 12px;
    margin-top: 10px;
}

.icp-info a {
    color: #86868b;
    text-decoration: none;
}

.icp-info a:hover {
    color: #86868b;
    text-decoration: underline;
}

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

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .section-title {
        font-size: 36px;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-number {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

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

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

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

    .about-stats {
        flex-direction: column;
    }
}