/* Landing Page CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    overflow-x: hidden;
    padding-top: 80px; /* Add space for fixed header */
}

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

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-brand .brand-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.nav-brand .brand-link i {
    font-size: 1.8rem;
}

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

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #374151;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iMC4xIj48Y2lyY2xlIGN4PSIxMCIgY3k9IjEwIiByPSIxIi8+PC9nPjwvZz48L3N2Zz4=') repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fbbf24;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #f59e0b;
    color: white;
    border-color: #f59e0b;
}

.btn-primary:hover {
    background: #d97706;
    border-color: #d97706;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #1f2937;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.8);
    border-width: 2px;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

/* Sections */
.why-section,
.capabilities-section,
.framework-section,
.generator-section,
.cta-section {
    padding: 5rem 0;
}

/* Capabilities Section */
.capabilities-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.capabilities-content {
    max-width: 900px;
    margin: 0 auto;
}

.capability-highlight {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #e2e8f0;
}

.highlight-icon {
    font-size: 4rem;
    color: #667eea;
    margin-bottom: 1.5rem;
}

.capability-highlight h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.capability-highlight > p {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.dialogue-example {
    background: #f1f5f9;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid #667eea;
}

.dialogue-example h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.dialogue-sample {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.dialogue-line {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.speaker {
    font-weight: 700;
    color: #667eea;
    min-width: 60px;
}

.text {
    color: #374151;
    font-style: italic;
}

.auto-features {
    margin: 2.5rem 0;
}

.auto-features h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1.5rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    text-align: left;
}

.auto-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.auto-feature i {
    color: #10b981;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.auto-feature span {
    color: #374151;
    font-size: 0.95rem;
}

.capability-cta {
    margin-top: 2.5rem;
}

.capability-note {
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.capability-note i {
    color: #f59e0b;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

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

.feature-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #374151;
}

.feature-list i {
    color: #10b981;
    font-size: 0.8rem;
}

/* Framework Section */
.framework-section {
    background: #f9fafb;
}

.framework-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.framework-item {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.framework-number {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.framework-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.framework-content p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.example {
    background: #f3f4f6;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #374151;
}

.example strong {
    color: #667eea;
}

/* Generator Section */
.generator-section {
    background: white;
}

.generator-content {
    text-align: center;
}

.generator-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.generator-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.workflow-steps {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: left;
}

.workflow-steps h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #1f2937;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
}

.step-number {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.step-content h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1f2937;
}

.step-content p {
    color: #6b7280;
    font-size: 0.9rem;
}

.generator-cta {
    text-align: center;
}

.generator-note {
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.generator-note i {
    color: #10b981;
    margin-right: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.7;
}

.cta-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.9);
    border-width: 2px;
    backdrop-filter: blur(10px);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-primary {
    background: #f59e0b;
    color: white;
    border-color: #f59e0b;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-primary:hover {
    background: #d97706;
    border-color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0.9;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-note i {
    color: #10b981;
}

/* Dark Theme Support */
[data-theme="dark"] {
    background-color: #1f2937;
    color: #f9fafb;
}

[data-theme="dark"] .header {
    background: rgba(17, 24, 39, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .nav-brand .brand-link {
    color: #a78bfa;
}

[data-theme="dark"] .nav-link {
    color: #f3f4f6;
    font-weight: 500;
}

[data-theme="dark"] .nav-link:hover {
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.15);
}

[data-theme="dark"] .nav-toggle span {
    background: #f3f4f6;
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #4c1d95 0%, #581c87 100%);
}

[data-theme="dark"] .why-section {
    background-color: #111827;
}

[data-theme="dark"] .capabilities-section {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

[data-theme="dark"] .capability-highlight {
    background: #374151;
    border-color: #4b5563;
}

[data-theme="dark"] .capability-highlight h3 {
    color: #f9fafb;
}

[data-theme="dark"] .capability-highlight > p {
    color: #d1d5db;
}

[data-theme="dark"] .dialogue-example {
    background: #1f2937;
    border-left-color: #a78bfa;
}

[data-theme="dark"] .dialogue-example h4 {
    color: #f3f4f6;
}

[data-theme="dark"] .speaker {
    color: #a78bfa;
}

[data-theme="dark"] .text {
    color: #e5e7eb;
}

[data-theme="dark"] .auto-features h4 {
    color: #f3f4f6;
}

[data-theme="dark"] .auto-feature {
    background: #1f2937;
    border-color: #374151;
}

[data-theme="dark"] .auto-feature span {
    color: #e5e7eb;
}

[data-theme="dark"] .capability-note {
    color: #d1d5db;
}

[data-theme="dark"] .section-header h2 {
    color: #f9fafb;
}

[data-theme="dark"] .section-header p {
    color: #d1d5db;
}

[data-theme="dark"] .feature-card {
    background: #374151;
    border-color: #4b5563;
}

[data-theme="dark"] .feature-card h3 {
    color: #f9fafb;
}

[data-theme="dark"] .feature-card p {
    color: #d1d5db;
}

[data-theme="dark"] .feature-list li {
    color: #e5e7eb;
}

[data-theme="dark"] .framework-section {
    background: #111827;
}

[data-theme="dark"] .framework-item {
    background: #374151;
}

[data-theme="dark"] .framework-content h3 {
    color: #f9fafb;
}

[data-theme="dark"] .framework-content p {
    color: #d1d5db;
}

[data-theme="dark"] .example {
    background: #4b5563;
    color: #e5e7eb;
}

[data-theme="dark"] .example strong {
    color: #818cf8;
}

[data-theme="dark"] .generator-section {
    background: #1f2937;
}

[data-theme="dark"] .generator-info h2 {
    color: #f9fafb;
}

[data-theme="dark"] .generator-subtitle {
    color: #d1d5db;
}

[data-theme="dark"] .workflow-steps h3 {
    color: #f9fafb;
}

[data-theme="dark"] .step {
    background: #374151;
}

[data-theme="dark"] .step-content h4 {
    color: #f9fafb;
}

[data-theme="dark"] .step-content p {
    color: #d1d5db;
}

[data-theme="dark"] .generator-note {
    color: #d1d5db;
}

[data-theme="dark"] .cta-section {
    background: linear-gradient(135deg, #4c1d95 0%, #581c87 100%);
}

/* Mobile Navigation Dark Theme */
@media (max-width: 768px) {
    [data-theme="dark"] .nav-menu {
        background: #1f2937;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    [data-theme="dark"] .nav-link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    transform: translateY(0);
    opacity: 1;
}

.scroll-to-top:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .scroll-to-top {
    background: #a78bfa;
    color: #1f2937;
}

[data-theme="dark"] .scroll-to-top:hover {
    background: #9333ea;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .framework-grid {
        grid-template-columns: 1fr;
    }
    
    .framework-item {
        flex-direction: column;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .capability-highlight {
        padding: 2rem;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .why-section,
    .capabilities-section,
    .framework-section,
    .generator-section,
    .cta-section {
        padding: 3rem 0;
    }
    
    .capability-highlight {
        padding: 1.5rem;
    }
    
    .capability-highlight h3 {
        font-size: 1.5rem;
    }
}