/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #c1ff72;
    --text-color: #333;
    --background-light: #f5f6fa;
    --spacing-unit: 1rem;
}

/* 导入Google字体 - 选择了具有艺术感的字体 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,700;1,900&family=Abril+Fatface&family=Italiana&family=Bebas+Neue&family=Six+Caps&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    display: flex;
    gap: 0.5rem;
}

.language-switcher button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.language-switcher button:hover {
    background: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 0, 128, 0.2) 0%, rgba(0, 0, 0, 0) 20%),
        radial-gradient(circle at 90% 30%, rgba(0, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0) 25%),
        radial-gradient(circle at 50% 80%, rgba(255, 255, 0, 0.2) 0%, rgba(0, 0, 0, 0) 30%),
        radial-gradient(circle at 20% 70%, rgba(128, 0, 255, 0.2) 0%, rgba(0, 0, 0, 0) 25%);
}

.hero::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(255, 0, 128, 0.1) 50%, transparent 100%),
        linear-gradient(180deg, transparent 0%, rgba(0, 255, 255, 0.1) 50%, transparent 100%);
    animation: moveBackground 15s linear infinite;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: 
        linear-gradient(45deg, transparent 0%, rgba(255, 255, 0, 0.1) 50%, transparent 100%),
        linear-gradient(135deg, transparent 0%, rgba(128, 0, 255, 0.1) 50%, transparent 100%);
    animation: moveBackground 20s linear infinite reverse;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    max-width: 80%;
}

.hero-description {
    color: white;
    font-size: 1.5rem;
    margin: 2rem 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    animation: fadeIn 1.5s ease-in 0.5s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeIn 1.5s ease-in 1s both;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-color);
    color: #000;
}

.btn-outline {
    border: 2px solid white;
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.artistic-title {
    font-size: 20rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
    background: linear-gradient(90deg, #ff00ff, #00ffff, #ffff00, #ff00ff);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientText 4s ease infinite, floatText 3s ease-in-out infinite;
    font-family: 'Six Caps', sans-serif;
    transform: skew(-15deg) scaleY(1.2);
    letter-spacing: 1rem;
    text-shadow: 
        -3px -3px 0 rgba(255, 0, 255, 0.7),  
        3px -3px 0 rgba(0, 255, 255, 0.7),
        -3px 3px 0 rgba(255, 255, 0, 0.7),
        3px 3px 0 rgba(255, 0, 255, 0.7);
}

@keyframes moveBackground {
    0% { transform: translate(-10%, -10%) rotate(0deg); }
    100% { transform: translate(10%, 10%) rotate(5deg); }
}

@keyframes gradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatText {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.artistic-title::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    color: transparent;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    animation: glowText 2s ease-in-out infinite alternate;
}

@keyframes glowText {
    0% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.1); }
    100% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 0, 255, 0.5), 0 0 40px rgba(0, 255, 255, 0.5); }
}

/* Use Cases Section - New Showcase Layout */
.use-cases {
    padding: 4rem 2rem;
    background: #b3ecff; /* 浅蓝色背景，与图片颜色一致 */
}

.section-title {
    font-size: 15rem;
    text-align: center;
    color: #00d2ff;
    margin-bottom: 3rem;
    font-weight: 900;
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    line-height: 0.9;
    background: linear-gradient(45deg, #00d2ff, #3a7bd5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transform: skew(-5deg);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 5px;
    background: #00d2ff;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-description {
    max-width: 800px;
    margin: -1rem auto 3rem;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    position: relative;
    z-index: 2;
}

.section-description p {
    background: rgba(255, 255, 255, 0.7);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.showcase-item:nth-child(even) {
    direction: rtl;
}

.showcase-item:nth-child(even) .showcase-content {
    direction: ltr;
}

.showcase-image {
    height: 100%;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-item:hover .showcase-image img {
    transform: scale(1.05);
}

.showcase-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: #333;
    font-weight: 700;
}

.showcase-content p {
    margin-bottom: 2rem;
    line-height: 1.7;
    color: #666;
    font-size: 1.1rem;
}

.showcase-details {
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid #00d2ff;
}

.detail-item {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #555;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item span {
    font-weight: bold;
    color: #333;
    margin-right: 0.5rem;
}

.replay-btn {
    background: #c1ff72;
    color: #000;
    border: none;
    padding: 1rem 2.5rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.replay-btn:hover {
    background: #000;
    color: #c1ff72;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design for Showcase */
@media (max-width: 768px) {
    .showcase-item,
    .showcase-item:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }

    .section-description,
    .features-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .showcase-details {
        padding: 0.8rem;
    }
    
    .detail-item {
        font-size: 0.85rem;
    }
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    background: #f0e6ff; /* 淡紫色背景 */
    position: relative;
    overflow: hidden;
}

.background-text {
    position: absolute;
    font-size: 30rem;
    font-weight: 900;
    opacity: 0.05;
    color: #6a11cb;
    white-space: nowrap;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    z-index: 1;
    letter-spacing: 2rem;
    user-select: none;
    pointer-events: none;
}

.features h2 {
    position: relative;
    z-index: 2;
    text-align: center;
    font-size: 15rem;
    margin-bottom: 3rem;
    color: #6a11cb;
    font-family: 'Abril Fatface', cursive;
    font-style: italic;
    line-height: 0.9;
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transform: skew(-5deg);
}

.features h2::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 5px;
    background: #6a11cb;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.features-description {
    max-width: 800px;
    margin: -1rem auto 3rem;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    position: relative;
    z-index: 2;
}

.features-description p {
    background: rgba(255, 255, 255, 0.7);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.1);
}

.feature-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(106, 17, 203, 0.1), 0 10px 15px rgba(106, 17, 203, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(106, 17, 203, 0.2);
}

/* 视频容器样式 */
.video-wrapper {
    margin: -2rem -2rem 2rem -2rem;
    position: relative;
    overflow: hidden;
    border-radius: 25px 25px 0 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-item video {
    width: 100%;
    display: block;
    border-radius: 0;
    box-shadow: none;
    border: none;
    background-color: white;
    transition: transform 0.3s ease;
}

.feature-item:hover .video-wrapper {
    box-shadow: 0 15px 30px rgba(106, 17, 203, 0.15);
}

.feature-content {
    padding: 0.5rem 0;
}

.feature-content h3 {
    margin: 0 0 1rem;
    color: #6a11cb;
    font-size: 1.8rem;
}

.feature-content p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.feature-btn {
    display: inline-block;
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.2);
}

.feature-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(106, 17, 203, 0.4);
}

/* 添加视频控制器样式 */
.feature-item video::-webkit-media-controls-panel {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(240, 240, 240, 0.8));
    border-radius: 0;
}

.feature-highlights {
    margin: 1.5rem 0;
    padding-left: 1.2rem;
}

.feature-highlights li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    list-style-type: none;
}

.feature-highlights li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: #6a11cb;
    font-weight: bold;
}

/* Information Section */
.info-section {
    padding: 4rem 2rem;
    background: var(--background-light);
    position: relative;
}

.section-title-alt {
    font-size: 5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    color: #333;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    position: relative;
    letter-spacing: 0.2rem;
}

.section-title-alt::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #00d2ff, #3a7bd5, #fc466b, #3f5efb, #c1ff72, #00b09b);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.info-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.info-block {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.info-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #00d2ff, #3a7bd5);
}

.info-block:nth-child(2)::before {
    background: linear-gradient(to bottom, #fc466b, #3f5efb);
}

.info-block:nth-child(3)::before {
    background: linear-gradient(to bottom, #c1ff72, #00b09b);
}

.info-block:nth-child(4)::before {
    background: linear-gradient(to bottom, #ff9a9e, #fad0c4);
}

.info-block h2 {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.8rem;
    position: relative;
    padding-left: 1rem;
}

.info-block h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 1rem;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #00d2ff, #3a7bd5);
}

.info-block:nth-child(2) h2::after {
    background: linear-gradient(90deg, #fc466b, #3f5efb);
}

.info-block:nth-child(3) h2::after {
    background: linear-gradient(90deg, #c1ff72, #00b09b);
}

.info-block:nth-child(4) h2::after {
    background: linear-gradient(90deg, #ff9a9e, #fad0c4);
}

.info-block p {
    margin-bottom: 1rem;
    line-height: 1.7;
    padding-left: 1rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-left: 1rem;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    color: #444;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content a {
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .artistic-title {
        font-size: 3rem;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .info-container {
        flex-direction: column;
    }

    .info-block {
        width: 100%;
    }

    .language-switcher {
        position: static;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .feature-content h3 {
        font-size: 1.5rem;
    }
    
    .video-wrapper {
        margin: -1rem -1rem 1.5rem -1rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
}

/* Print Styles */
@media print {
    .language-switcher,
    .hero {
        display: none;
    }
}

/* REPLAY Animation */
@keyframes replay {
    0% { transform: scale(1); filter: brightness(1); }
    25% { transform: scale(1.1); filter: brightness(1.3) saturate(1.5); }
    50% { transform: scale(1.05) rotate(-2deg); filter: contrast(1.2) brightness(1.1); }
    75% { transform: scale(1.1) rotate(2deg); filter: saturate(1.3) brightness(1.2); }
    100% { transform: scale(1); filter: brightness(1); }
}

.replaying {
    animation: replay 2s ease forwards;
} 