/**
 * Landing Page Styles
 * Dark theme landing page with hero, features, blog, pricing CTA
 */

/* ============================================
   PAGE LAYOUT
   ============================================ */
.landing-page {
    min-height: 100vh;
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    padding: 120px 20px 80px;
    text-align: center;
    background: linear-gradient(135deg, #0a0e17 0%, #131722 40%, #1a1a2e 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(8, 153, 129, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    color: #818cf8;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #6366f1 0%, #818cf8 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #8892a0;
    max-width: 650px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: #d1d4dc;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.hero-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 13px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: 80px 20px;
    background: var(--bg-primary);
}

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

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

.section-label {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 4px;
    color: #818cf8;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #8892a0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 28px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.feature-icon.blue { background: rgba(99, 102, 241, 0.15); }
.feature-icon.green { background: rgba(8, 153, 129, 0.15); }
.feature-icon.orange { background: rgba(255, 152, 0, 0.15); }
.feature-icon.purple { background: rgba(123, 104, 238, 0.15); }
.feature-icon.teal { background: rgba(38, 166, 154, 0.15); }
.feature-icon.red { background: rgba(242, 54, 69, 0.15); }

.feature-title {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.feature-description {
    font-size: 14px;
    color: #8892a0;
    line-height: 1.6;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, #0d1117 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 10px;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.step-description {
    font-size: 14px;
    color: #8892a0;
    line-height: 1.6;
}

/* Step connector arrows (desktop only) */
.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 52px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, rgba(99, 102, 241, 0.2));
}

/* ============================================
   MODELS SHOWCASE SECTION
   ============================================ */
.models-section {
    padding: 80px 20px;
    background: var(--bg-primary);
}

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

.model-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.model-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.model-emoji {
    font-size: 28px;
    margin-bottom: 10px;
}

.model-name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

.model-desc {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}

/* ============================================
   BLOG / ARTICLES SECTION
   ============================================ */
.blog-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, #0d1117 100%);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.blog-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.blog-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: var(--bg-tertiary);
}

.blog-card-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--text-muted);
}

.blog-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-category {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(99, 102, 241, 0.12);
    color: #818cf8;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    align-self: flex-start;
}

.blog-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 13px;
    color: #8892a0;
    line-height: 1.6;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-primary);
    font-size: 12px;
    color: #6b7280;
}

.blog-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
    font-size: 15px;
}

.blog-view-all {
    text-align: center;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.5);
}

/* ============================================
   PRICING CTA SECTION
   ============================================ */
.pricing-cta-section {
    padding: 80px 20px;
    background: var(--bg-primary);
}

.pricing-cta-box {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    position: relative;
}

.pricing-cta-subtitle {
    font-size: 1.05rem;
    color: #8892a0;
    margin-bottom: 30px;
    position: relative;
}

.pricing-cta-plans {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 30px;
    position: relative;
}

.pricing-cta-plan {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px 30px;
    text-align: center;
    min-width: 150px;
}

.pricing-cta-plan.featured {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.08);
}

.pricing-cta-plan-name {
    font-size: 14px;
    font-weight: 600;
    color: #d1d4dc;
    margin-bottom: 6px;
}

.pricing-cta-plan-price {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.pricing-cta-plan-price small {
    font-size: 13px;
    font-weight: 400;
    color: #6b7280;
}

.pricing-cta-actions {
    position: relative;
}

.btn-pricing-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */
.landing-footer {
    padding: 40px 20px;
    background: #0a0e17;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.landing-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-footer-copy {
    font-size: 13px;
    color: #6b7280;
}

.landing-footer-links {
    display: flex;
    gap: 20px;
}

.landing-footer-links a {
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.landing-footer-links a:hover {
    color: #d1d4dc;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 20px 60px;
    }

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

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

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero-stat-value {
        font-size: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .step-card:not(:last-child)::after {
        display: none;
    }

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

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .pricing-cta-plans {
        flex-direction: column;
        align-items: center;
    }

    .pricing-cta-box {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .landing-footer-content {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .models-grid {
        grid-template-columns: 1fr;
    }
}
