﻿/* Shared page hero (contact, about, pricing, FAQ, home) */
.page-hero {
    background-color: #fff;
    position: relative;
    overflow: hidden;
    padding: 8rem 0 5rem;
    min-height: 360px;
    display: flex;
    align-items: center;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--page-hero-bg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    pointer-events: none;
    z-index: 0;
}

.page-hero .container {
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

.contact-page-hero .container {
    max-width: 1200px;
    padding-left: 20px;
    padding-right: 20px;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.page-hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted-strong);
    max-width: 36rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 260px;
        padding: 6.5rem 0 3.25rem;
    }

    .page-hero::before {
        background-position: 80% center;
    }
}

/* Features link */
.features-link {
    text-align: center;
    margin-top: 3rem;
}

.features-link a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.features-link a:hover {
    color: var(--accent-blue);
}

/* Pricing discount link */
.pricing-discount {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
}

.pricing-discount a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pricing-discount a:hover {
    color: var(--accent-blue);
}

/* Pricing CTA (home page) */
.pricing-cta {
    background: var(--section-bg);
    padding: 100px 0;
    text-align: left;
    color: var(--text-dark);
}

.pricing-cta h2 {
    font-size: 24px;
    margin-bottom: 1rem;
}

.pricing-cta .pricing-subtitle {
    margin-bottom: 1.5rem;
    max-width: 680px;
}

/* Footer */
.footer {
    position: relative;
    background-color: var(--surface-dark);
    background-image: linear-gradient(155deg, rgba(8, 16, 44, 0.8), rgba(15, 37, 96, 0.68), rgba(34, 88, 212, 0.46)),
        url('/assets/images/page/background-footer-1.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 4rem 0 1.5rem;
    color: var(--footer-text-muted);
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(200px, 1.4fr) repeat(4, minmax(140px, 1fr));
    gap: 2.5rem 2rem;
    margin-bottom: 2.5rem;
}

.footer-brand {
    padding-right: 1rem;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo {
    display: block;
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--footer-text-muted);
    margin-bottom: 1.25rem;
    max-width: 280px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: var(--accent-blue);
}

.footer-section h4 {
    color: var(--footer-text);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.55rem;
}

.footer-section ul li a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-section ul li a i {
    font-size: 0.82rem;
    margin-right: 0.35rem;
    color: rgba(255, 255, 255, 0.92);
}

.footer-section ul li a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--footer-text-muted);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--accent-blue);
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
}
