/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0a0a;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1a0033 0%, #0a0a0a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.navbar {
    padding: 1rem 0;
    position: relative;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.2rem;
}

.nav-brand .tagline {
    font-size: 0.9rem;
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.cta-btn {
    background: rgba(138, 43, 226, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    border: 2px solid rgba(138, 43, 226, 0.5);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: rgba(138, 43, 226, 0.5);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    padding: 4rem 0 6rem 0;
    text-align: center;
}

.hero-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Demo Cards Container */
.demo-cards-container {
    margin-top: 3rem;
}

.demo-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    font-weight: 600;
    color: white;
}

.demo-workflow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* Demo Cards */
.demo-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    width: 280px;
    height: 320px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.input-image-card {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.8) 0%, rgba(75, 0, 130, 0.8) 100%);
}

.input-audio-card {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.6) 0%, rgba(75, 0, 130, 0.6) 100%);
}

.output-video-card {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.7) 0%, rgba(75, 0, 130, 0.7) 100%);
}

.card-header {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    text-align: center;
}

.card-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image Placeholder */
.image-placeholder {
    width: 100%;
    height: 200px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.placeholder-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-align: center;
}

.demo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Audio Placeholder */
.audio-placeholder {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-audio {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
}

/* Audio Placeholder */
.audio-placeholder {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-control-placeholder {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    width: 100%;
    max-width: 240px;
}

.play-button {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
}

.audio-timeline {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.timeline-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    position: relative;
}

.timeline-progress {
    height: 100%;
    width: 30%;
    background: white;
    border-radius: 2px;
}

.volume-icon, .menu-icon, .fullscreen-icon {
    cursor: pointer;
    opacity: 0.8;
}

/* Video Placeholder */
.video-placeholder {
    width: 100%;
    height: 200px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.video-control-placeholder {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
}

.video-timeline {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.demo-audio {
    width: 100%;
}

/* Operation Symbols */
.operation-symbol {
    font-size: 2.5rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.demo-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-formula {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.formula-item, .formula-result {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 15px;
    font-weight: bold;
    font-size: 1.1rem;
}

.plus, .equals {
    font-size: 1.5rem;
    font-weight: bold;
}

.formula-result {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* Demo Section */
.demo-section {
    padding: 4rem 0 0 0;
    background: #0a0a0a;
}

.demo-section h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.iframe-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.iframe-container-fullwidth {
    width: 100%;
    margin: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Examples Section */
.examples-section {
    padding: 5rem 0;
    background: #111;
    color: white;
}

.examples-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.examples-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.example-item {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.example-video {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.example-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.example-prompt {
    padding: 1.5rem;
    background: #1a1a1a;
}

.prompt-label {
    display: inline-block;
    background: #8a2be2;
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.example-prompt p {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* What is Section */
.what-is-section {
    padding: 5rem 0;
    background: #111111;
}

.what-is-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}

.feature-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.highlight-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #8a2be2;
}

.highlight-item p {
    color: #cccccc;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: #0a0a0a;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.2);
    border-color: rgba(138, 43, 226, 0.4);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* How to Section */
.how-to-section {
    padding: 5rem 0;
    background: #111111;
}

.how-to-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

.steps-container {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2.5rem;
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.step-number {
    background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.step-content p {
    color: #cccccc;
    line-height: 1.6;
}

.access-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.access-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.access-info p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.access-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: #8a2be2;
    border: 2px solid #8a2be2;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(138, 43, 226, 0.4);
}

.btn-secondary:hover {
    background: #8a2be2;
    color: white;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: #0a0a0a;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #8a2be2;
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.faq-item p {
    color: #cccccc;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #0a0a0a;
    color: white;
    padding: 3rem 0 1rem;
    border-top: 1px solid #333;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #8a2be2;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-section h2 {
        font-size: 2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .access-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-formula {
        flex-direction: column;
    }
    
    .demo-workflow {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .demo-card {
        width: 100%;
        max-width: 300px;
    }
    
    .operation-symbol {
        transform: rotate(90deg);
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section h2 {
        font-size: 1.8rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .demo-title {
        font-size: 1.5rem;
    }
    
    .demo-card {
        width: 100%;
        max-width: 280px;
        height: 280px;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .example-prompt {
        padding: 1rem;
    }
    
    .feature-card,
    .faq-item,
    .step {
        padding: 1.5rem;
    }
}
