* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-pink: #ff6b9d;
    --secondary-pink: #ff8fab;
    --primary-purple: #9b59b6;
    --secondary-purple: #bb8fce;
    --accent-orange: #ff9f43;
    --accent-blue: #54a0ff;
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --background-light: #fff5f7;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-pink), var(--primary-purple));
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-pink);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* 英雄区 */
.hero {
    background: linear-gradient(135deg, var(--background-light) 0%, #ffeef5 100%);
    padding: 150px 0 100px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(155, 89, 182, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    animation: slideInLeft 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-style: italic;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: var(--white);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--primary-pink);
    border: 2px solid var(--primary-pink);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.4);
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-heart {
    position: absolute;
    font-size: 6rem;
    animation: float 4s ease-in-out infinite;
    top: 20%;
    left: 10%;
}

.floating-brain {
    position: absolute;
    font-size: 5rem;
    animation: float 5s ease-in-out infinite;
    bottom: 20%;
    right: 10%;
    animation-delay: 1s;
}

.floating-robot {
    position: absolute;
    font-size: 7rem;
    animation: float 6s ease-in-out infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
}

/* 通用部分样式 */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-weight: 500;
}

/* 理念部分 */
.philosophy {
    background: var(--white);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.philosophy-card {
    background: linear-gradient(135deg, #fff5f7 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.philosophy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.2);
    border-color: var(--primary-pink);
}

.philosophy-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.philosophy-card:nth-child(2) .philosophy-icon {
    animation-delay: 0.5s;
}

.philosophy-card:nth-child(3) .philosophy-icon {
    animation-delay: 1s;
}

.philosophy-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-purple);
}

.philosophy-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 产品部分 */
.products {
    background: linear-gradient(180deg, var(--white) 0%, #ffeef5 100%);
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.feature-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: var(--white);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.15);
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-purple);
}

.feature-content > p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.feature-list li::before {
    content: '✨';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    animation: sparkle 1s infinite;
}

.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-brain {
    font-size: 8rem;
    animation: heartbeat 2s infinite;
}

.feature-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background: var(--white);
    border-radius: 20px;
    padding: 35px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-pink);
}

.feature-text p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 应用场景 */
.scenarios {
    background: var(--white);
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.scenario-card {
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.scenario-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.05) 0%, rgba(155, 89, 182, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scenario-card:hover::before {
    opacity: 1;
}

.scenario-card.romance {
    background: linear-gradient(135deg, #fff0f3 0%, #ffffff 100%);
    border: 2px solid var(--primary-pink);
}

.scenario-card.elderly {
    background: linear-gradient(135deg, #f8f0ff 0%, #ffffff 100%);
    border: 2px solid var(--primary-purple);
}

.scenario-card.workplace {
    background: linear-gradient(135deg, #fff8e7 0%, #ffffff 100%);
    border: 2px solid var(--accent-orange);
}

.scenario-card.memorial {
    background: linear-gradient(135deg, #e8f4ff 0%, #ffffff 100%);
    border: 2px solid var(--accent-blue);
}

.scenario-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.2);
}

.scenario-emoji {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.scenario-card:nth-child(2) .scenario-emoji {
    animation-delay: 0.3s;
}

.scenario-card:nth-child(3) .scenario-emoji {
    animation-delay: 0.6s;
}

.scenario-card:nth-child(4) .scenario-emoji {
    animation-delay: 0.9s;
}

.scenario-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.scenario-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.scenario-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 107, 157, 0.1);
    color: var(--primary-pink);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.elderly .tag {
    background: rgba(155, 89, 182, 0.1);
    color: var(--primary-purple);
}

.workplace .tag {
    background: rgba(255, 159, 67, 0.1);
    color: var(--accent-orange);
}

.memorial .tag {
    background: rgba(84, 160, 255, 0.1);
    color: var(--accent-blue);
}

/* 联系我们 */
.contact {
    background: linear-gradient(135deg, #ffeef5 0%, #fff5f7 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-purple);
}

.contact-info > p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-form {
    background: var(--white);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.15);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px;
    margin-bottom: 20px;
    border: 2px solid #ffeef5;
    border-radius: 15px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: var(--white);
    padding: 18px;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.4);
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-icon {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

.footer-text {
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-link {
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.2);
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 动画效果 */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.5; transform: translateY(-50%) scale(0.8); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
}

@keyframes gradientShift {
    0% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
    100% { filter: hue-rotate(0deg); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 移动端菜单样式 */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-pink);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 20px rgba(255, 107, 157, 0.1);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #ffeef5;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-logo-img {
    height: 35px;
    width: auto;
}

.mobile-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close-menu {
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.mobile-nav-menu {
    flex: 1;
    padding: 20px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-link {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.mobile-nav-link:hover {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: var(--white);
    transform: translateX(10px);
}

/* 响应式设计 */
@media (max-width: 968px) {
    .hero-content,
    .feature-main,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-visual {
        height: 300px;
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .philosophy-grid,
    .scenarios-grid,
    .feature-details {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .philosophy-card,
    .scenario-card,
    .feature-card {
        padding: 30px 20px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .hero {
        padding: 80px 0 40px;
    }

    .philosophy-grid,
    .scenarios-grid,
    .feature-details {
        gap: 20px;
    }

    .philosophy-card,
    .scenario-card,
    .feature-card {
        padding: 25px 15px;
    }
}
