/* Landing Pages Listing Styles */

/* Hero Section */
.lp-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

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

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

.lp-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.lp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 700px;
    margin: 0 auto;
}

.lp-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lp-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

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

/* Filter Section */
.lp-filter-section {
    padding: 40px 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.lp-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.filter-btn {
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

/* Landing Pages Showcase */
.lp-showcase {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.lp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2.5rem;
}

.lp-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    opacity: 1;
    transform: scale(1);
}

.lp-card.hidden {
    display: none;
}

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

.lp-card-image {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: #f3f4f6;
}

.lp-preview {
    width: 100%;
    height: 100%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.lp-card:hover .lp-preview {
    transform: scale(0.95);
}

.lp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(99, 102, 241, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.lp-card:hover .lp-overlay {
    opacity: 1;
}

.lp-view-btn {
    padding: 15px 35px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
}

.lp-view-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.05);
}

/* Preview Styles - Miniature Landing Pages */
.preview-header {
    height: 40px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.preview-nav {
    width: 100%;
    height: 8px;
    background: rgba(99, 102, 241, 0.3);
    border-radius: 4px;
}

.preview-hero {
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.preview-hero h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.preview-hero p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Specific Preview Styles */
.lp-preview-jewelry {
    background: linear-gradient(to bottom, #1a1a1a, #2d2d2d);
}

.lp-preview-jewelry .preview-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
}

.lp-preview-jewelry .preview-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px;
}

.lp-preview-jewelry .preview-products::before,
.lp-preview-jewelry .preview-products::after {
    content: '';
    height: 80px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    border-radius: 8px;
}

.lp-preview-leadgen {
    background: #f8fafc;
}

.lp-preview-leadgen .preview-hero {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.lp-preview-leadgen .preview-form {
    margin: 20px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 150px;
}

.lp-preview-travel {
    background: #e0f2fe;
}

.lp-preview-travel .preview-hero {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    padding: 50px 20px;
}

.lp-preview-travel .preview-destinations {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 20px;
}

.lp-preview-travel .preview-destinations::before,
.lp-preview-travel .preview-destinations::after {
    content: '';
    height: 90px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    border-radius: 8px;
}

.lp-preview-saas {
    background: #f0f9ff;
}

.lp-preview-saas .preview-hero {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.lp-preview-saas .preview-features {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-preview-saas .preview-features::before,
.lp-preview-saas .preview-features::after {
    content: '';
    height: 40px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 6px;
}

.lp-preview-realestate {
    background: #fafaf9;
}

.lp-preview-realestate .preview-hero {
    background: linear-gradient(135deg, #78716c 0%, #57534e 100%);
}

.lp-preview-realestate .preview-properties {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.lp-preview-realestate .preview-properties::before,
.lp-preview-realestate .preview-properties::after {
    content: '';
    height: 80px;
    background: linear-gradient(135deg, #a8a29e, #78716c);
    border-radius: 8px;
}

.lp-preview-fitness {
    background: #f0fdf4;
}

.lp-preview-fitness .preview-hero {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.lp-preview-fitness .preview-cta {
    margin: 20px;
    padding: 40px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 12px;
}

.lp-preview-restaurant {
    background: #fffbeb;
}

.lp-preview-restaurant .preview-hero {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.lp-preview-restaurant .preview-menu {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.lp-preview-restaurant .preview-menu::before,
.lp-preview-restaurant .preview-menu::after {
    content: '';
    height: 60px;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 6px;
}

.lp-preview-finance {
    background: #f8fafc;
}

.lp-preview-finance .preview-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.lp-preview-finance .preview-calculator {
    margin: 20px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 120px;
}

.lp-preview-elearning {
    background: #fef3c7;
}

.lp-preview-elearning .preview-hero {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.lp-preview-elearning .preview-courses {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.lp-preview-elearning .preview-courses::before,
.lp-preview-elearning .preview-courses::after {
    content: '';
    height: 80px;
    background: linear-gradient(135deg, #c084fc, #a855f7);
    border-radius: 8px;
}

/* Card Content */
.lp-card-content {
    padding: 2rem;
}

.lp-category {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lp-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.lp-card-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.lp-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.lp-feature-tag {
    padding: 6px 12px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

.lp-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.lp-cta-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Active nav link */
.nav-link.active {
    color: var(--primary-color);
    position: relative;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .lp-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .lp-hero-title {
        font-size: 2.5rem;
    }

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

    .lp-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .lp-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        width: 100%;
    }

    .lp-card-image {
        height: 300px;
    }

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

    .lp-cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .lp-hero {
        padding: 100px 0 60px;
    }

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

    .lp-showcase {
        padding: 60px 0;
    }

    .lp-card-content {
        padding: 1.5rem;
    }

    .lp-card-title {
        font-size: 1.25rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lp-card {
    animation: fadeInUp 0.5s ease-out;
}

.lp-card:nth-child(1) { animation-delay: 0.1s; }
.lp-card:nth-child(2) { animation-delay: 0.2s; }
.lp-card:nth-child(3) { animation-delay: 0.3s; }
.lp-card:nth-child(4) { animation-delay: 0.4s; }
.lp-card:nth-child(5) { animation-delay: 0.5s; }
.lp-card:nth-child(6) { animation-delay: 0.6s; }
