/* ============================================
   LANDING PAGE SPECIFIC STYLES
   ============================================ */

/* Updates Preview Section */
.updates-preview-section {
    background: var(--bg-secondary);
    padding: var(--spacing-4xl) 0;
}

.updates-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.updates-preview-cta {
    text-align: center;
    margin-top: var(--spacing-2xl);
}

/* Pricing Preview Section */
.pricing-preview-section {
    background: var(--bg-primary);
    padding: var(--spacing-4xl) 0;
}

.pricing-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-preview-cta {
    text-align: center;
    margin-top: var(--spacing-2xl);
}

/* How It Works Preview Section */
.how-it-works-preview-section {
    background: var(--bg-secondary);
    padding: var(--spacing-4xl) 0;
}

.steps-preview-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
    flex-wrap: wrap;
}

.how-it-works-cta {
    text-align: center;
    margin-top: var(--spacing-2xl);
}

/* Responsive */
@media (max-width: 768px) {
    .updates-preview-grid,
    .pricing-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   NEW LANDING PAGE STYLES
   ============================================ */

/* Landing Section Base */
.landing-section {
    padding: 5rem 0;
    position: relative;
}

.landing-section.bg-secondary {
    background: var(--bg-secondary, rgba(20, 20, 20, 0.5));
}

/* Hero Section */
.landing-hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.1), rgba(102, 126, 234, 0.1));
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.landing-hero-section[style*="background-image"] {
    background-size: cover;
    background-position: center;
}

.landing-hero-section[style*="background-image"]::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.75);
    z-index: 1;
}

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

.hero-content .hero-line {
    max-width: 100%;
    display: block;
}

.hero-logo-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(255, 51, 102, 0.5));
    margin-bottom: 2rem;
}

.hero-line {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--text-primary, #ffffff), var(--primary-color, #ff3366));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
    max-width: 100%;
    word-wrap: break-word;
    hyphens: auto;
}

.hero-subheadline {
    font-size: 1.4rem;
    color: var(--text-secondary, rgba(255, 255, 255, 0.8));
    font-weight: 400;
    line-height: 1.6;
}

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

.feature-card {
    background: var(--bg-card, #1a1a1a);
    border: 2px solid var(--border-color, rgba(255, 255, 255, 0.1));
    border-radius: var(--radius-lg, 16px);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color, #ff3366);
    box-shadow: 0 10px 40px rgba(255, 51, 102, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color, #ff3366), var(--secondary-color, #33ccff));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary, rgba(255, 255, 255, 0.7));
    line-height: 1.6;
    margin: 0;
}

/* Comparison Table Section */
#landing-comparison {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
    background: var(--bg-secondary, rgba(20, 20, 20, 0.5));
}

#landing-comparison[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

#landing-comparison[style*="background-image"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.85);
    z-index: 1;
}

#landing-comparison > .container {
    position: relative;
    z-index: 2;
}

.comparison-table-container {
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-table-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.comparison-table-wrapper .table-dark {
    background: var(--bg-card, #1a1a1a);
    border-color: rgba(255, 255, 255, 0.1);
    margin: 0;
}

.comparison-table-wrapper .table-dark th {
    background: rgba(255, 51, 102, 0.15);
    border-color: rgba(255, 255, 255, 0.1);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    padding: 1.25rem 2rem;
    color: var(--text-primary, #ffffff);
}

.comparison-table-wrapper .table-dark td {
    border-color: rgba(255, 255, 255, 0.05);
    padding: 1.25rem 2rem;
    vertical-align: middle;
    color: var(--text-primary, #ffffff);
}

.comparison-table-wrapper .table-dark tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.comparison-table-wrapper .table-dark .text-success {
    color: #00ff99 !important;
}

.comparison-table-wrapper .table-dark .text-danger {
    color: #ff3366 !important;
}

.comparison-table-wrapper .table-dark .text-muted {
    color: rgba(255, 255, 255, 0.4) !important;
}

.comparison-note {
    margin-top: 2rem;
    font-size: 1rem;
    text-align: center;
    color: var(--text-secondary, rgba(255, 255, 255, 0.7));
}

/* Pricing Highlight Card */
.pricing-highlight-container {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-highlight-card {
    background: var(--bg-card, #1a1a1a);
    border: 2px solid var(--border-color, rgba(255, 255, 255, 0.1));
    border-radius: var(--radius-lg, 16px);
    padding: 3rem;
    text-align: center;
}

.pricing-highlight-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
    margin-bottom: 1rem;
}

.pricing-highlight-card .lead {
    color: var(--text-secondary, rgba(255, 255, 255, 0.7));
    margin-bottom: 2rem;
}

.pricing-bullets {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-bullets li {
    padding: 0.75rem 0;
    color: var(--text-primary, #ffffff);
    font-size: 1.05rem;
}

/* Pool Updates Section */
#landing-pool-updates {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
    background: var(--bg-secondary, rgba(20, 20, 20, 0.5));
}

#landing-pool-updates[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

#landing-pool-updates[style*="background-image"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.85);
    z-index: 1;
}

#landing-pool-updates > .container {
    position: relative;
    z-index: 2;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.update-card {
    background: var(--bg-card, #1a1a1a);
    border: 2px solid var(--border-color, rgba(255, 255, 255, 0.1));
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.update-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-color, #ff3366);
    box-shadow: 0 20px 60px rgba(255, 51, 102, 0.3);
}

.update-cover-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.2), rgba(102, 126, 234, 0.2));
}

.update-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.update-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.3), rgba(102, 126, 234, 0.3));
    color: rgba(255, 255, 255, 0.5);
    font-size: 3rem;
}

.update-card:hover .update-cover {
    transform: scale(1.1);
}

.update-content {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.update-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.update-date {
    color: var(--text-secondary, rgba(255, 255, 255, 0.6));
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.update-description {
    color: var(--text-secondary, rgba(255, 255, 255, 0.7));
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.update-tags {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-card, #1a1a1a);
    border: 2px solid var(--border-color, rgba(255, 255, 255, 0.1));
    border-radius: var(--radius-lg, 16px);
    padding: 2rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color, #ff3366);
    box-shadow: 0 10px 40px rgba(255, 51, 102, 0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color, rgba(255, 255, 255, 0.1));
}

.testimonial-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
    margin: 0;
}

.testimonial-role {
    color: var(--text-secondary, rgba(255, 255, 255, 0.6));
    font-size: 0.9rem;
    margin: 0;
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-secondary, rgba(255, 255, 255, 0.8));
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

/* FAQ Section */
#landing-faq {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
    background: var(--bg-secondary, rgba(20, 20, 20, 0.5));
}

#landing-faq[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

#landing-faq[style*="background-image"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.85);
    z-index: 1;
}

#landing-faq > .container {
    position: relative;
    z-index: 2;
}

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

.faq-container .accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: transparent;
    --bs-accordion-border-radius: 0;
    --bs-accordion-btn-padding-x: 0;
    --bs-accordion-btn-padding-y: 0;
    --bs-accordion-body-padding-x: 0;
    --bs-accordion-body-padding-y: 0;
}

.faq-container .accordion-item {
    background: var(--bg-card, #1a1a1a);
    border: 2px solid var(--border-color, rgba(255, 255, 255, 0.1));
    border-radius: var(--radius-lg, 16px);
    margin-bottom: 1.25rem;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.faq-container .accordion-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-container .accordion-item:hover {
    border-color: var(--primary-color, #ff3366);
    box-shadow: 0 8px 24px rgba(255, 51, 102, 0.2);
}

.faq-container .accordion-button {
    background: var(--bg-card, #1a1a1a);
    color: var(--text-primary, #ffffff);
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    padding: 1.75rem 2rem;
    box-shadow: none;
    position: relative;
    transition: all 0.3s ease;
}

.faq-container .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
    width: 1.25rem;
    height: 1.25rem;
}

.faq-container .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.15), rgba(102, 126, 234, 0.15));
    color: var(--primary-color, #ff3366);
    border-bottom: 2px solid var(--primary-color, #ff3366);
}

.faq-container .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
    filter: brightness(0) saturate(100%) invert(27%) sepia(95%) saturate(7499%) hue-rotate(338deg) brightness(101%) contrast(101%);
}

.faq-container .accordion-button:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-container .accordion-body {
    background: var(--bg-card, #1a1a1a);
    color: var(--text-secondary, rgba(255, 255, 255, 0.8));
    padding: 2rem 2rem 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

/* Final CTA */
.final-cta-container {
    max-width: 900px;
    margin: 0 auto;
}

.final-cta-card {
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.1), rgba(102, 126, 234, 0.1));
    border: 2px solid var(--primary-color, #ff3366);
    border-radius: var(--radius-lg, 16px);
    padding: 4rem 3rem;
    text-align: center;
}

.final-cta-card h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary, #ffffff);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color, #ff3366), var(--secondary-color, #33ccff));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-cta-card .lead {
    color: var(--text-secondary, rgba(255, 255, 255, 0.8));
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-buttons .btn-link {
    color: var(--text-secondary, rgba(255, 255, 255, 0.7));
    text-decoration: none;
}

.cta-buttons .btn-link:hover {
    color: var(--primary-color, #ff3366);
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
    .updates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .landing-hero-section {
        min-height: 70vh;
        padding: 120px 0 60px;
    }

    .hero-logo-image {
        width: 100px;
        height: 100px;
    }

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

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

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

    .pricing-highlight-card,
    .final-cta-card {
        padding: 2rem 1.5rem;
    }

    .final-cta-card h2 {
        font-size: 1.8rem;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem 1.25rem;
    }

    .comparison-table-wrapper {
        overflow-x: auto;
    }

    #landing-comparison[style*="background-image"],
    #landing-pool-updates[style*="background-image"],
    #landing-faq[style*="background-image"] {
        background-attachment: scroll;
    }

    .faq-container .accordion-button {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .faq-container .accordion-body {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
}
