/* ================================
   SEO LANDING PAGES - CINEMATIC AI
   Matching the main landing page style
   ================================ */

/* ==========================================================================
   Hero Section - Platform Specific Gradients
   ========================================================================== */
.seo-page-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 140px 2rem 100px;
    position: relative;
    overflow: hidden;
}

.seo-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.seo-page-hero .container {
    position: relative;
    z-index: 1;
    max-width: 950px;
}

/* Platform-specific hero backgrounds - Dark versions for better text readability */
.tiktok-hero {
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 60%, #121212 100%);
}

.tiktok-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 242, 234, 0.15) 50%, rgba(255, 0, 80, 0.15) 100%);
    z-index: 0;
    pointer-events: none;
}

.instagram-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
}

.instagram-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(131, 58, 180, 0.2) 30%, rgba(225, 48, 108, 0.2) 60%, rgba(252, 175, 69, 0.15) 100%);
    z-index: 0;
    pointer-events: none;
}

.youtube-hero {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0a0a0a 100%);
}

.youtube-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 0, 0, 0.2) 50%, rgba(139, 0, 0, 0.15) 100%);
    z-index: 0;
    pointer-events: none;
}

.text-video-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.text-video-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(102, 126, 234, 0.2) 50%, rgba(118, 75, 162, 0.15) 100%);
    z-index: 0;
    pointer-events: none;
}

.marketing-hero {
    background: linear-gradient(135deg, #0F2027 0%, #203A43 50%, #2C5364 100%);
}

/* ==========================================================================
   Language Switcher Styles
   ========================================================================== */
.nav-lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(62, 39, 35, 0.08);
    border-radius: 20px;
    margin-left: 10px;
}

.lang-link {
    color: #3E2723;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 4px 8px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.lang-link:hover {
    background: rgba(196, 155, 122, 0.2);
}

.lang-link.active {
    background: linear-gradient(135deg, #C49B7A 0%, #A67C5A 100%);
    color: white;
}

.lang-divider {
    color: #C49B7A;
    font-weight: 300;
}

/* Mobile Language Switcher */
.mobile-lang-switcher {
    display: none;
    gap: 5px;
}

.mobile-lang-switcher a {
    color: #3E2723;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mobile-lang-switcher a.active {
    background: linear-gradient(135deg, #C49B7A 0%, #A67C5A 100%);
    color: white;
}

.nav-right-mobile {
    display: none;
    align-items: center;
    gap: 15px;
}

@media (max-width: 768px) {
    .nav-lang-switcher {
        display: none;
    }

    .nav-right-mobile {
        display: flex;
    }

    .mobile-lang-switcher {
        display: flex;
    }
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.6s ease forwards;
    color: #ffd700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.badge-icon {
    font-size: 1.2rem;
}

/* Hero Title */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.1s;
    color: #ffffff;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #ffd700 0%, #ffcc00 50%, #ffd700 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    text-shadow: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    max-width: 750px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-weight: 400;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Hero CTA Group */
.hero-cta-group {
    margin-bottom: 50px;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.3s;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: none;
    cursor: pointer;
}

.primary-cta {
    background: white;
    color: #1a1a1a;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.primary-cta:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.cta-icon {
    font-size: 1.4rem;
}

.cta-text {
    font-weight: 700;
}

.cta-arrow {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(5px);
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.4s;
}

.stat-item {
    text-align: center;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.2;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 5px;
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */
.seo-benefits-section {
    padding: 120px 2rem;
    background: #FDF8F0;
}

.seo-benefits-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #3E2723;
    text-align: center;
    margin-bottom: 70px;
    line-height: 1.2;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(196, 155, 122, 0.1);
}

.benefit-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(196, 155, 122, 0.25);
    border-color: #C49B7A;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #C49B7A 0%, #A67C5A 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(196, 155, 122, 0.3);
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #3E2723;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #8B7355;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ==========================================================================
   Steps Section (How It Works)
   ========================================================================== */
.seo-steps-section {
    padding: 120px 2rem;
    background: white;
}

.seo-steps-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
}

/* 3-column grid for pages with 3 steps */
.steps-grid:has(.step-card:nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(90deg, #C49B7A 0%, #A67C5A 100%);
    border-radius: 2px;
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #C49B7A 0%, #A67C5A 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(196, 155, 122, 0.4);
    border: 4px solid white;
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3E2723;
    margin-bottom: 12px;
}

.step-card p {
    color: #8B7355;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Prompts Grid Variation */
.prompts-grid .step-number {
    font-size: 2rem;
}

.prompt-text {
    font-style: italic;
    color: #6B5B4F;
    background: #FDF8F0;
    padding: 15px;
    border-radius: 12px;
    font-size: 0.9rem;
}

/* ==========================================================================
   Use Cases Section
   ========================================================================== */
.seo-usecases-section {
    padding: 120px 2rem;
    background: #FDF8F0;
}

.seo-usecases-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.usecase-card {
    display: flex;
    gap: 25px;
    padding: 40px;
    background: white;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: flex-start;
    box-shadow: 0 4px 20px rgba(196, 155, 122, 0.1);
}

.usecase-card:hover {
    transform: translateX(15px);
    box-shadow: 0 15px 50px rgba(196, 155, 122, 0.2);
}

.usecase-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #C49B7A 0%, #A67C5A 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(196, 155, 122, 0.3);
}

.usecase-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3E2723;
    margin-bottom: 10px;
}

.usecase-card p {
    color: #8B7355;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.seo-cta-section {
    padding: 120px 2rem;
    background: linear-gradient(135deg, #C49B7A 0%, #A67C5A 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.seo-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: pulse 20s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.seo-cta-section .container {
    max-width: 800px;
    margin: 0 auto;
}

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

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.7;
}

.mega-cta {
    background: white;
    color: #3E2723;
    font-size: 1.2rem;
    padding: 22px 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.mega-cta:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 500;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.seo-faq-section {
    padding: 120px 2rem;
    background: white;
}

.seo-faq-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item {
    background: #FDF8F0;
    border-radius: 20px;
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.faq-item:hover {
    box-shadow: 0 15px 50px rgba(196, 155, 122, 0.2);
    border-color: #E8D5B7;
    transform: translateY(-5px);
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3E2723;
    margin-bottom: 15px;
    line-height: 1.4;
}

.faq-item p {
    color: #8B7355;
    line-height: 1.8;
    font-size: 0.95rem;
}

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .steps-grid:has(.step-card:nth-child(3):last-child) {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps-grid::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .seo-page-hero {
        padding: 120px 1.5rem 80px;
        min-height: 75vh;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 15px;
    }

    .stat-item {
        padding: 15px 20px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 50px;
    }

    .seo-benefits-section,
    .seo-steps-section,
    .seo-usecases-section,
    .seo-cta-section,
    .seo-faq-section {
        padding: 80px 1.5rem;
    }

    .benefits-grid,
    .usecases-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-benefits,
    .cta-trust {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .seo-page-hero {
        padding: 100px 1rem 60px;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 10px 18px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 16px 30px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .stat-item {
        padding: 12px 16px;
        flex: 1;
        min-width: 90px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .benefit-card,
    .usecase-card,
    .faq-item {
        padding: 30px 20px;
    }

    .usecase-card {
        flex-direction: column;
        text-align: center;
    }

    .usecase-icon {
        margin: 0 auto;
    }

    .mega-cta {
        width: 100%;
        padding: 18px 30px;
    }
}

/* ==========================================================================
   Platform-Specific Icon Colors
   ========================================================================== */

/* TikTok Colors */
body:has(.tiktok-hero) .hero-title .highlight {
    background: linear-gradient(135deg, #00f2ea 0%, #ff0050 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

body:has(.tiktok-hero) .stat-number {
    color: #00f2ea;
}

body:has(.tiktok-hero) .hero-badge {
    color: #00f2ea;
    border-color: rgba(0, 242, 234, 0.3);
}

body:has(.tiktok-hero) .benefit-icon,
body:has(.tiktok-hero) .step-number,
body:has(.tiktok-hero) .usecase-icon {
    background: linear-gradient(135deg, #00f2ea 0%, #ff0050 100%);
}

body:has(.tiktok-hero) .seo-cta-section {
    background: linear-gradient(135deg, #010101 0%, #00f2ea 50%, #ff0050 100%);
}

/* Instagram Colors */
body:has(.instagram-hero) .hero-title .highlight {
    background: linear-gradient(135deg, #833AB4 0%, #E1306C 50%, #F77737 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

body:has(.instagram-hero) .stat-number {
    color: #E1306C;
}

body:has(.instagram-hero) .hero-badge {
    color: #F77737;
    border-color: rgba(225, 48, 108, 0.3);
}

body:has(.instagram-hero) .benefit-icon,
body:has(.instagram-hero) .step-number,
body:has(.instagram-hero) .usecase-icon {
    background: linear-gradient(135deg, #833AB4 0%, #E1306C 50%, #F77737 100%);
}

body:has(.instagram-hero) .seo-cta-section {
    background: linear-gradient(135deg, #833AB4 0%, #E1306C 50%, #F77737 100%);
}

/* YouTube Colors */
body:has(.youtube-hero) .hero-title .highlight {
    background: linear-gradient(135deg, #FF0000 0%, #ff4444 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

body:has(.youtube-hero) .stat-number {
    color: #FF0000;
}

body:has(.youtube-hero) .hero-badge {
    color: #FF0000;
    border-color: rgba(255, 0, 0, 0.3);
}

body:has(.youtube-hero) .benefit-icon,
body:has(.youtube-hero) .step-number,
body:has(.youtube-hero) .usecase-icon {
    background: linear-gradient(135deg, #FF0000 0%, #cc0000 100%);
}

body:has(.youtube-hero) .seo-cta-section {
    background: linear-gradient(135deg, #FF0000 0%, #8B0000 100%);
}

/* Text-to-Video Colors */
body:has(.text-video-hero) .hero-title .highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

body:has(.text-video-hero) .stat-number {
    color: #667eea;
}

body:has(.text-video-hero) .hero-badge {
    color: #667eea;
    border-color: rgba(102, 126, 234, 0.3);
}

body:has(.text-video-hero) .benefit-icon,
body:has(.text-video-hero) .step-number,
body:has(.text-video-hero) .usecase-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body:has(.text-video-hero) .seo-cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Marketing Colors */
body:has(.marketing-hero) .hero-title .highlight {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

body:has(.marketing-hero) .stat-number {
    color: #38ef7d;
}

body:has(.marketing-hero) .hero-badge {
    color: #38ef7d;
    border-color: rgba(56, 239, 125, 0.3);
}

body:has(.marketing-hero) .benefit-icon,
body:has(.marketing-hero) .step-number,
body:has(.marketing-hero) .usecase-icon {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

body:has(.marketing-hero) .seo-cta-section {
    background: linear-gradient(135deg, #0F2027 0%, #203A43 50%, #2C5364 100%);
}

/* ==========================================================================
   Fallback for browsers without :has() support
   ========================================================================== */
@supports not selector(:has(*)) {
    .benefit-icon,
    .step-number,
    .usecase-icon {
        background: linear-gradient(135deg, #C49B7A 0%, #A67C5A 100%);
    }

    .seo-cta-section {
        background: linear-gradient(135deg, #C49B7A 0%, #A67C5A 100%);
    }
}
