/* Global Styles */
:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --secondary: #3b82f6;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --box-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 5rem 0;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 6px rgba(139, 92, 246, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(139, 92, 246, 0.35);
    color: white;
}

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

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: white;
}

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    font-size: 1.75rem;
    margin-bottom: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

nav a:hover {
    color: var(--primary);
}

nav a.active {
    color: var(--primary);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 6rem 0 3rem;
    background-color: #f9fafb;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.primary-image {
    max-width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
}

.video-container {
    margin-top: 2rem;
}

.video-placeholder {
    position: relative;
    cursor: pointer;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
    transition: var(--transition);
    margin: 0 auto;
}

.video-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.15);
}

.video-placeholder img {
    width: 100%;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.video-placeholder:hover .play-button {
    background-color: white;
    color: var(--primary-dark);
    width: 84px;
    height: 84px;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: white;
}

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

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

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray);
    margin-bottom: 0;
}

/* How It Works Section */
.how-it-works {
    background-color: #f9fafb;
    padding: 6rem 0;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.step {
    flex: 1;
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.25rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.step p {
    color: var(--gray);
    margin-bottom: 0;
}

/* Plans Section */
.plans {
    padding: 6rem 0;
    background: linear-gradient(180deg, white 0%, #f9fafb 100%);
}

.plans h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    flex: 1;
    max-width: 350px;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid #f0f0f0;
}

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

.most-popular, .best-value {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-bottom-left-radius: var(--border-radius);
}

.best-value {
    background: var(--success);
}

.card-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.card-header p {
    color: var(--gray);
    margin-bottom: 0;
}

.card-features {
    padding: 2rem;
}

.card-features ul li {
    margin-bottom: 1rem;
    color: var(--gray);
    display: flex;
    align-items: center;
}

.card-features ul li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
    margin-right: 0.75rem;
}

.card-action {
    padding: 0 2rem 2rem;
    text-align: center;
}

.premium {
    border-color: var(--primary-light);
}

.subscription-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.875rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.testimonial-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0.5rem 2rem;
    scrollbar-width: none;  /* For Firefox */
    -ms-overflow-style: none;  /* For Internet Explorer and Edge */
}

.testimonial-slider::-webkit-scrollbar {
    display: none;  /* For Chrome, Safari, and Opera */
}

.testimonial {
    flex: 0 0 auto;
    width: 320px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--dark);
}

.author-title {
    color: var(--gray);
    font-size: 0.875rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta .btn {
    background-color: white;
    color: var(--primary);
    font-weight: 600;
}

.cta .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 2;
    min-width: 200px;
}

.footer-logo h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: white;
}

.footer-logo p {
    color: var(--gray-light);
    margin-bottom: 0;
}

.footer-links {
    flex: 1;
    min-width: 150px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

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

.footer-links a {
    color: var(--gray-light);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-contact h4 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.footer-contact p {
    color: var(--gray-light);
}

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

.footer-bottom p {
    color: var(--gray-light);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Legal Content Pages */
.legal-content {
    padding: 4rem 0;
}

.legal-content h2 {
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--gray);
    margin-bottom: 2rem;
    font-style: italic;
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.policy-section h4 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.policy-section p, .policy-section ul, .policy-section ol {
    margin-bottom: 1rem;
}

.policy-section ul, .policy-section ol {
    padding-left: 1.5rem;
}

.policy-section ul li, .policy-section ol li {
    margin-bottom: 0.5rem;
}

/* Pricing Page Specific Styles */
.pricing-hero {
    background: var(--gradient-primary);
    padding: 5rem 0;
    color: white;
    text-align: center;
}

.pricing-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-hero-content p {
    font-size: 1.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-details {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 1rem;
}

.pricing-tab {
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    background-color: white;
    color: var(--gray);
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: var(--transition);
}

.pricing-tab.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pricing-tab:hover:not(.active) {
    color: var(--primary);
    border-color: var(--primary-light);
}

.pricing-cards-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Features Comparison */
.features-comparison {
    padding: 5rem 0;
    background-color: white;
}

.features-comparison h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.comparison-table-wrapper {
    overflow-x: auto;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    margin: 0 auto;
    max-width: 900px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th, 
.comparison-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-table th {
    background-color: #f9fafb;
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table th:not(:first-child),
.comparison-table td:not(:first-child) {
    text-align: center;
}

.comparison-table td:first-child {
    font-weight: 500;
}

.check {
    color: var(--success);
    font-weight: bold;
}

.x {
    color: var(--gray-light);
}

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

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

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin-bottom: 0;
    color: var(--gray);
}

.faq-item.open .faq-question {
    background-color: #f9fafb;
}

/* Privacy Policy Page */
.privacy-content {
    padding: 4rem 0;
}

.privacy-content h2 {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .comparison-table th, 
    .comparison-table td {
        padding: 0.75rem;
    }
}

@media (max-width: 600px) {
    nav ul {
        gap: 1rem;
    }
    
    .hero-content h1, 
    .pricing-hero-content h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem !important;
    }
    
    .testimonial {
        width: 100%;
    }
    
    .pricing-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Video Section */
.video-section {
    padding: 4rem 0;
    background-color: #f0f4ff;
    text-align: center;
}

.video-section h2 {
    margin-bottom: 2rem;
    font-size: 2.25rem;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-placeholder {
    position: relative;
    cursor: pointer;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
    transition: var(--transition);
    margin: 0 auto;
}

.video-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.15);
}

.video-placeholder img {
    width: 100%;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.video-placeholder:hover .play-button {
    background-color: white;
    color: var(--primary-dark);
    width: 84px;
    height: 84px;
}

.embed-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 视频的纵横比 */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
}

@media (max-width: 768px) {
    .video-section {
        padding: 3rem 0;
    }
    
    .video-section h2 {
        font-size: 1.75rem;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .video-placeholder:hover .play-button {
        width: 64px;
        height: 64px;
    }
}

/* 认证按钮样式 */
.auth-button {
    color: var(--primary) !important;
    padding: 6px 12px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}

.auth-button:hover {
    background-color: rgba(139, 92, 246, 0.1);
    border-color: var(--primary-light);
}

.auth-logged-in {
    background-color: rgba(139, 92, 246, 0.1);
    border-color: var(--primary-light);
    font-weight: 600;
}

/* 用户菜单样式 */
.user-menu {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.user-menu-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: var(--transition);
}

.user-menu-item:hover {
    background-color: #f9fafb;
    color: var(--primary);
}

/* 认证模态框样式 */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(3px);
}

.auth-modal-content {
    width: 100%;
    max-width: 400px;
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--box-shadow-lg);
    position: relative;
}

.auth-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.auth-tab.active {
    border-bottom: 2px solid var(--primary);
    color: var(--primary);
}

.auth-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    outline: none;
    transition: var(--transition);
}

.auth-input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

.auth-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .auth-modal-content {
        width: 90%;
        padding: 20px;
    }
} 