/* VibeDubbing Landing Page Styles */

:root {
    --primary-color: #4f46e5;
    --primary-dark: #3730a3;
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Source Han Sans SC', 'Helvetica Neue', Helvetica, Arial, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--text-dark) !important;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.brand-text {
    margin-left: 12px;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-toggler {
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: var(--bg-light);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 25px;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(79, 70, 229, 0.1);
    transform: translateY(-1px);
}

.nav-link.rounded-pill:hover {
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

/* Modern button styles */
.btn-modern {
    border-radius: 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

/* Language dropdown styles */
.language-toggle {
    min-width: 80px;
    justify-content: center;
}

.language-toggle:hover {
    background: rgba(79, 70, 229, 0.1) !important;
}

.language-dropdown {
    border-radius: 12px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 140px;
}

.language-item {
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 0.5rem;
}

.language-item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    transform: translateX(4px);
}

.language-item.active {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.check-icon {
    color: var(--primary-color);
}

.language-name {
    font-size: 0.95rem;
}

.language-text {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background: transparent;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.6;
}

.hero-buttons {
    margin-bottom: 3rem;
}

.hero-stats {
    margin-top: 3rem;
}

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

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Hero Visual */
.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 6s ease-in-out infinite;
    font-size: 0.9rem;
    z-index: 2;
}

.floating-card i {
    font-size: 1.3rem;
    color: var(--accent-color);
}

.floating-card span {
    font-weight: 600;
    color: var(--text-dark);
}

/* 围绕hero-visual自然分布的floating-card */
.card-1 {
    top: 8%;
    left: 12%;
    animation-delay: 0s;
}

.card-2 {
    top: 3%;
    left: 38%;
    animation-delay: 1s;
}

.card-3 {
    top: 12%;
    right: 15%;
    animation-delay: 2s;
}

.card-4 {
    top: 30%;
    right: 5%;
    animation-delay: 3s;
}

.card-5 {
    top: 55%;
    right: 3%;
    animation-delay: 4s;
}

.card-6 {
    top: 78%;
    right: 12%;
    animation-delay: 5s;
}

.card-7 {
    bottom: 2%;
    left: 42%;
    animation-delay: 6s;
}

.card-8 {
    top: 82%;
    left: 15%;
    animation-delay: 7s;
}

.card-9 {
    top: 58%;
    left: 4%;
    animation-delay: 8s;
}

.card-10 {
    top: 28%;
    left: 3%;
    animation-delay: 9s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-visual {
    width: 250px;
    height: 250px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    z-index: 1;
    position: relative;
}

.waveform {
    display: flex;
    align-items: center;
    gap: 4px;
}

.wave {
    width: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    animation: wave 1.5s ease-in-out infinite;
}

.wave:nth-child(1) { height: 20px; animation-delay: 0s; }
.wave:nth-child(2) { height: 40px; animation-delay: 0.1s; }
.wave:nth-child(3) { height: 60px; animation-delay: 0.2s; }
.wave:nth-child(4) { height: 40px; animation-delay: 0.3s; }
.wave:nth-child(5) { height: 20px; animation-delay: 0.4s; }

@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.3); }
}

/* Features Section */
.features-section {
    background: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.feature-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Pricing Section */
.pricing-section {
    background: var(--bg-white);
}

.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0.25rem;
}

.period {
    font-size: 1rem;
    color: var(--text-light);
}

.price-note {
    font-size: 0.875rem;
    color: var(--accent-color);
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.pricing-features i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1.125rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
}

.footer-brand h5 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #9ca3af;
    line-height: 1.6;
}

.footer h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-info {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #9ca3af;
}

.contact-item i {
    margin-right: 0.75rem;
    color: var(--primary-color);
    width: 20px;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.copyright {
    color: #9ca3af;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.faq-section {
    background: #f8f9fa;
    padding: 80px 0;
}
        
.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
}
        
.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

/* Buttons */
.btn {
    font-weight: 600;
    border-radius: 12px;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

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

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}



/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .nav-item {
        margin: 0.25rem 0;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        text-align: center;
    }
    
    .btn-modern {
        width: 100%;
        margin: 0.5rem 0;
        padding: 0.75rem 1.5rem;
    }
    
    .language-toggle {
        justify-content: center;
        width: 100%;
    }
    
    .language-dropdown {
        width: 100%;
        margin-top: 0.25rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .hero-image {
        height: auto;
        margin-top: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        position: relative;
    }
    
    .hero-visual {
        order: 1;
        margin-bottom: 1rem;
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .feature-card, .pricing-card {
        padding: 1.5rem;
    }
    
    .hero-visual {
        width: 120px;
        height: 120px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-section {
        background: #000;
        color: #fff;
    }
    
    .feature-card {
        border: 2px solid var(--text-dark);
    }
}