/* Shared CSS for Model, Feature, Compare, and VS pages */
/* Brand colors are set via CSS custom properties on each page */
:root {
    --brand: #667eea;
    --brand-dark: #764ba2;
    --brand-light-bg: #f0f0ff;
    --brand-light-border: #e0e0ff;
    --accent: #f39c12;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
}

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

/* Header */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #1a1a1a;
    text-decoration: none;
}

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: #666; text-decoration: none; transition: color 0.3s; }
.nav-links a:hover { color: var(--brand); }

.cta-nav {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: white !important;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: transform 0.3s;
}
.cta-nav:hover { transform: translateY(-2px); color: white; }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    padding: 100px 0;
    color: white;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

h1 { font-size: 48px; margin-bottom: 20px; font-weight: 700; }

.hero-subtitle {
    font-size: 22px;
    opacity: 0.95;
    margin-bottom: 30px;
    line-height: 1.5;
}

.hero-features { display: flex; gap: 30px; margin: 30px 0; }
.hero-feature { display: flex; flex-direction: column; align-items: center; }
.feature-number { font-size: 32px; font-weight: bold; color: var(--accent); }
.feature-text { font-size: 14px; opacity: 0.9; }

.hero-cta { display: flex; gap: 20px; margin-top: 40px; flex-wrap: wrap; }

.btn-primary {
    background: white;
    color: var(--brand);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: transform 0.3s;
    display: inline-block;
}
.btn-primary:hover { transform: translateY(-3px); }

.btn-secondary {
    background: transparent;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    border: 2px solid white;
    transition: all 0.3s;
    display: inline-block;
}
.btn-secondary:hover { background: white; color: var(--brand); }

.hero-video {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hero-video img, .hero-video video {
    width: 100%;
    height: auto;
    display: block;
}

.badge-new {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}
.breadcrumb a { color: var(--brand); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; color: #999; }

/* Key Features Section */
.features-section { padding: 80px 0; background: #f8f9fa; }

.section-header { text-align: center; margin-bottom: 60px; }

h2 { font-size: 40px; margin-bottom: 20px; color: #1a1a1a; }

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-5px); }

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.feature-card h3 { font-size: 24px; margin-bottom: 15px; color: #1a1a1a; }
.feature-card p { color: #666; line-height: 1.6; }

/* Unique Capabilities / Content Section */
.unique-section { padding: 80px 0; background: white; }

.capability-highlight {
    background: linear-gradient(135deg, var(--brand-light-bg) 0%, #ffeee5 100%);
    border-left: 4px solid var(--brand);
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
}
.capability-highlight h3 { color: var(--brand); font-size: 24px; margin-bottom: 15px; }

.capability-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.capability-box { padding: 30px; background: #f8f9fa; border-radius: 15px; }
.capability-box h4 { font-size: 20px; margin-bottom: 15px; color: #1a1a1a; }
.capability-box ul { list-style: none; color: #666; }
.capability-box li { padding: 8px 0; display: flex; align-items: flex-start; }
.capability-box li:before { content: "\2192"; color: var(--brand); margin-right: 10px; font-weight: bold; }

/* Comparison Table */
.comparison-section { padding: 80px 0; background: #f8f9fa; }

.comparison-table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

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

th {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: 600;
}

td { padding: 20px; border-bottom: 1px solid #eee; }
tr:last-child td { border-bottom: none; }
.check { color: #27ae60; font-size: 20px; }
.cross { color: #e74c3c; font-size: 20px; }
.highlight-cell { background: var(--brand-light-bg); font-weight: 600; color: var(--brand); }

/* Use Cases */
.use-cases { padding: 80px 0; background: white; }

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.use-case-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #eee;
    transition: transform 0.3s;
}
.use-case-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

.use-case-icon {
    width: 60px;
    height: 60px;
    background: var(--brand);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.use-case-card h3 { font-size: 22px; margin-bottom: 15px; }
.use-case-card p { color: #666; margin-bottom: 20px; }

.use-case-example {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid var(--brand);
}
.use-case-example strong { color: var(--brand); display: block; margin-bottom: 5px; font-size: 14px; }

/* Examples / Gallery Section */
.examples-section { padding: 80px 0; background: #f8f9fa; }

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.example-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}
.example-card:hover { transform: translateY(-5px); }
.example-card img { width: 100%; height: 200px; object-fit: cover; }
.example-content { padding: 25px; }
.example-duration {
    display: inline-block;
    background: var(--brand);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    margin-bottom: 10px;
}
.example-prompt { font-size: 14px; color: #666; margin-bottom: 10px; }
.example-title { font-size: 18px; font-weight: 600; color: #1a1a1a; }

/* FAQ Section */
.faq-section { padding: 80px 0; background: white; }

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

.faq-item {
    background: #f8f9fa;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
}

.faq-question {
    padding: 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question:hover { background: #f0f0f0; }

.faq-answer { padding: 0 25px 25px; color: #666; line-height: 1.6; display: none; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question span { transform: rotate(45deg); }
.faq-question span { transition: transform 0.3s; display: inline-block; }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}
.cta-section h2 { color: white; margin-bottom: 20px; }
.cta-section p { font-size: 20px; margin-bottom: 40px; opacity: 0.95; }
.cta-section .hero-cta { justify-content: center; }

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-column h4 { margin-bottom: 20px; }
.footer-column a { color: #999; text-decoration: none; display: block; margin-bottom: 10px; transition: color 0.3s; }
.footer-column a:hover { color: var(--brand); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid #333; color: #999; }

/* Models Index Grid */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.model-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: #1a1a1a;
    display: block;
    border: 1px solid #eee;
}
.model-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }

.model-card-icon { font-size: 48px; margin-bottom: 15px; }
.model-card h3 { font-size: 22px; margin-bottom: 8px; }
.model-card .model-brand { font-size: 14px; color: #999; margin-bottom: 12px; }
.model-card p { color: #666; font-size: 15px; margin-bottom: 15px; }

.model-card-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.model-tag {
    background: #f0f0f0;
    color: #666;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}
.model-tag.video { background: #e8f5e9; color: #2e7d32; }
.model-tag.image { background: #e3f2fd; color: #1565c0; }
.model-tag.new { background: #fff3e0; color: #e65100; }

/* Compare Page specifics */
.compare-hero { padding: 80px 0; }
.vs-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    margin-bottom: 20px;
}

.compare-table-wrap { overflow-x: auto; }

.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th { padding: 20px; text-align: center; font-size: 18px; }
.compare-table th:first-child { text-align: left; }
.compare-table td { padding: 16px 20px; border-bottom: 1px solid #eee; text-align: center; }
.compare-table td:first-child { text-align: left; font-weight: 500; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-winner { background: var(--brand-light-bg); font-weight: 600; }

/* Prose content */
.prose { max-width: 800px; margin: 0 auto; }
.prose h3 { font-size: 26px; margin: 40px 0 15px; color: #1a1a1a; }
.prose p { color: #555; font-size: 17px; line-height: 1.8; margin-bottom: 20px; }
.prose ul { margin: 15px 0 25px 20px; color: #555; }
.prose li { margin-bottom: 8px; line-height: 1.6; }

/* Filter tabs for models index */
.filter-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.filter-tab {
    padding: 10px 25px;
    border-radius: 25px;
    border: 2px solid #ddd;
    background: white;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    color: #666;
}
.filter-tab:hover, .filter-tab.active { border-color: var(--brand); color: var(--brand); background: var(--brand-light-bg); }

/* Responsive */
@media (max-width: 768px) {
    .hero-content { grid-template-columns: 1fr; }
    h1 { font-size: 36px; }
    h2 { font-size: 30px; }
    .capability-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero { padding: 60px 0; }
    .features-section, .unique-section, .comparison-section,
    .use-cases, .examples-section, .faq-section, .cta-section { padding: 50px 0; }
    .hero-features { gap: 15px; }
    .feature-number { font-size: 24px; }
    .models-grid { grid-template-columns: 1fr; }
    table { font-size: 14px; }
    th, td { padding: 12px; }
}

@media (max-width: 480px) {
    h1 { font-size: 28px; }
    .hero-subtitle { font-size: 18px; }
    .btn-primary, .btn-secondary { padding: 12px 30px; font-size: 16px; }
}
