/* ===========================================
   Landing Page Styles
   =========================================== */

/* Header */
.landing-header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.landing-header.scrolled,
.landing-header.switched-header {
    background-color: #ffffff;
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
}

.landing-header.scrolled .nav-link,
.landing-header.switched-header .nav-link {
    color: #333 !important;
}

.landing-header.scrolled .nav-link:hover,
.landing-header.switched-header .nav-link:hover {
    color: var(--color-primary) !important;
}

.landing-header.scrolled .logo-text,
.landing-header.switched-header .logo-text {
    color: #333 !important;
}

.landing-header.scrolled .btn-outline-light,
.landing-header.switched-header .btn-outline-light {
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

.landing-header.scrolled .btn-outline-light:hover,
.landing-header.switched-header .btn-outline-light:hover {
    background-color: var(--color-primary) !important;
    color: #fff !important;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Hero Section */
.landing-hero {
    min-height: 100vh;
    margin-bottom: -1px;
}

#features {
    background: #ffffff;
}

.landing-hero .hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.landing-hero .btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Features Section */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    border-radius: 50%;
}

/* Pricing Cards */
.pricing-card {
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular {
    border: 2px solid var(--color-primary);
    position: relative;
}

.pricing-card .popular-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: var(--color-accent);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 0 1rem 0 1rem;
}

.pricing-card .card-header {
    border-bottom: none;
}

.pricing-card .price {
    line-height: 1;
}

.pricing-card .price .display-4 {
    font-size: 3rem;
}

.pricing-card .card-body ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-card .card-body ul li:last-child {
    border-bottom: none;
}

/* Process Section */
.process-step {
    position: relative;
    padding: 2rem;
}

.process-step .step-number {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* FAQ Accordion */
#faqAccordion .card {
    border-radius: 0.75rem;
    overflow: hidden;
}

#faqAccordion .btn-link {
    text-decoration: none;
    font-weight: 500;
    padding: 1rem;
    white-space: normal;
    word-wrap: break-word;
    text-align: left;
    line-height: 1.4;
}

#faqAccordion .btn-link:hover {
    color: var(--color-primary);
}

#faqAccordion .btn-link:focus {
    box-shadow: none;
}

/* Contact Section */
.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form .form-control {
    border-radius: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 0.875rem 1rem;
}

.contact-form .form-control-lg {
    font-size: 1rem;
}

.contact-form .form-control::placeholder {
    color: #555;
}

.contact-form .form-control:focus {
    background: #fff;
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    color: #333;
}

.contact-form select.form-control {
    color: #333;
    height: auto;
}

.contact-form select.form-control option {
    color: #333;
    background: white;
}

.contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Privacy checkbox styling */
.contact-form .privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    margin-bottom: 1.25rem;
}

.contact-form .privacy-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #fff;
}

.contact-form .privacy-check label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    cursor: pointer;
}

.contact-form .privacy-check a {
    color: #fff;
    font-weight: 600;
}

.contact-form .privacy-check a:hover {
    text-decoration: none;
    opacity: 0.8;
}

/* Submit button */
.contact-form .btn-light {
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-form .btn-light:disabled {
    opacity: 0.7;
    transform: none;
}

/* Demo Preview */
.demo-preview-image img {
    max-height: 500px;
    object-fit: contain;
}

/* Footer */
.landing-footer {
    background-color: #1a1a1a !important;
}

.landing-footer h5,
.landing-footer h6 {
    color: #fff;
}

.landing-footer .text-muted {
    color: #adb5bd !important;
}

.landing-footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.landing-footer a.text-muted {
    color: #adb5bd !important;
}

.landing-footer a:hover {
    color: var(--color-primary) !important;
}

.landing-footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .landing-hero .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .landing-hero .btn-lg {
        width: 100%;
        max-width: 300px;
    }

    .pricing-card .price .display-4 {
        font-size: 2.5rem;
    }

    .process-step::after {
        display: none;
    }

    /* FAQ mobile styles */
    #faqAccordion .card {
        overflow: visible;
    }

    #faqAccordion .card-header {
        padding: 0;
    }

    #faqAccordion .btn-link {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.pricing-card,
.process-step {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(2),
.pricing-card:nth-child(2) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(3),
.pricing-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Cookie Banner GDPR */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(33, 37, 41, 0.98);
    color: #fff;
    padding: 1rem 0;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner .cookie-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    flex: 1;
    min-width: 280px;
}

.cookie-banner .cookie-link {
    color: var(--color-primary);
    text-decoration: underline;
}

.cookie-banner .cookie-link:hover {
    color: #fff;
}

.cookie-banner .cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-banner .btn {
    white-space: nowrap;
}

@media (max-width: 576px) {
    .cookie-banner .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Legal Pages */
.legal-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.legal-content h5 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #444;
}

.legal-content p,
.legal-content li {
    color: #666;
    line-height: 1.8;
}

.legal-content ul {
    padding-left: 1.5rem;
}

.legal-content a {
    color: var(--color-primary);
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-content table {
    margin: 1rem 0;
}

.legal-content table th {
    background-color: #f8f9fa;
}
