/* ============================================
   legal.css — Shared Styles for Legal Pages
   daq Service
   ============================================ */

/* ── Legal Hero Banner ── */
.legal-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 60%, #004080 100%);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 50%, rgba(2, 113, 203, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 80% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.legal-hero-content {
    position: relative;
    z-index: 1;
}

.legal-icon {
    width: 80px;
    height: 80px;
    background: rgba(2, 113, 203, 0.15);
    border: 2px solid rgba(2, 113, 203, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-color);
    margin: 0 auto 28px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 40px rgba(2, 113, 203, 0.2);
    animation: pulse-icon 3s ease-in-out infinite;
}

@keyframes pulse-icon {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(2, 113, 203, 0.2);
    }

    50% {
        box-shadow: 0 0 55px rgba(2, 113, 203, 0.4);
    }
}

.legal-hero-content h1 {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.legal-hero-content p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.15rem;
    letter-spacing: 0.5px;
}

/* ── Main Content Wrapper ── */
.legal-content {
    background-color: var(--bg-light);
    padding: 60px 0 100px;
}

/* ── White Card Container ── */
.legal-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 60px 70px;
    box-shadow: 0 20px 70px rgba(0, 31, 63, 0.07);
    max-width: 900px;
    margin: 0 auto;
    border-top: 5px solid var(--accent-color);
}

/* ── Each Section Block ── */
.legal-section {
    margin-bottom: 50px;
    padding-bottom: 45px;
    border-bottom: 1px solid #f0f0f0;
    animation: fadeInUp 0.5s ease both;
}

.legal-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Section Heading ── */
.legal-section h2 {
    font-size: 1.45rem;
    color: var(--primary-color);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.legal-section h2 i {
    color: var(--accent-color);
    font-size: 1.15rem;
    width: 36px;
    height: 36px;
    background: rgba(2, 113, 203, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.legal-section h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 22px 0 10px;
    font-weight: 600;
}

/* ── Paragraph text ── */
.legal-section p {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.9;
    margin-bottom: 14px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

/* ── Highlighted block (e.g. address) ── */
.legal-highlight {
    background: linear-gradient(135deg, rgba(0, 31, 63, 0.04), rgba(2, 113, 203, 0.06));
    border-left: 4px solid var(--accent-color);
    border-radius: 0 10px 10px 0;
    padding: 20px 25px !important;
    margin: 16px 0 20px !important;
    color: var(--primary-color) !important;
    font-size: 1.02rem !important;
}

/* ── Custom List ── */
.legal-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legal-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.legal-list li i {
    color: var(--accent-color);
    font-size: 0.95rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* ── Inline links inside legal sections ── */
.legal-section a {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: var(--transition);
}

.legal-section a:hover {
    color: var(--accent-hover);
}

/* ── Back Button ── */
.legal-back {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.legal-back .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-size: 1rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .legal-hero {
        padding: 140px 0 60px;
    }

    .legal-hero-content h1 {
        font-size: 2rem;
    }

    .legal-card {
        padding: 36px 24px;
        border-radius: 14px;
    }

    .legal-section h2 {
        font-size: 1.2rem;
    }
}