/* ========================================================
   MotoFocuz - Legal Pages Stylesheet
   Dedicated styling for Terms & Conditions, Privacy Policy & Contact
   Theme: Luxury Dark (#0c0c0e) with MotoFocuz Yellow (#fee900)
   Typography: Poppins, sans-serif
   ======================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0c0c0e;
    color: #e2e2e6;
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ─── Top Header Bar ─── */
.legal-nav-header {
    background: #121215;
    border-bottom: 1px solid rgba(254, 233, 0, 0.2);
    padding: 16px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.legal-nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.legal-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
}

.legal-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.legal-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(254, 233, 0, 0.1);
    color: #fee900;
    border: 1px solid rgba(254, 233, 0, 0.3);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.legal-back-btn:hover {
    background: #fee900;
    color: #000000;
    transform: translateX(-3px);
    box-shadow: 0 4px 15px rgba(254, 233, 0, 0.3);
}

/* ─── Main Content Container ─── */
.legal-page-wrapper {
    max-width: 960px;
    width: 100%;
    margin: 36px auto;
    padding: 0 20px;
    flex: 1;
}

/* ─── Tabs Switcher ─── */
.legal-page-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 14px;
    overflow-x: auto;
    scrollbar-width: none;
}

.legal-page-tabs::-webkit-scrollbar {
    display: none;
}

.legal-page-tab-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    color: #9c9ca4;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.legal-page-tab-link:hover {
    color: #ffffff;
    background: rgba(254, 233, 0, 0.08);
    border-color: rgba(254, 233, 0, 0.3);
}

.legal-page-tab-link.active {
    background: #fee900;
    color: #000000;
    border-color: #fee900;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(254, 233, 0, 0.25);
}

/* ─── Hero Heading ─── */
.legal-hero {
    margin-bottom: 28px;
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: #fee900;
    background: rgba(254, 233, 0, 0.1);
    border: 1px solid rgba(254, 233, 0, 0.25);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.legal-main-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.legal-effective-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #a4a4b0;
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ─── Legal Document Body & Sections ─── */
.legal-content-card {
    background: #141418;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 32px 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    margin-bottom: 30px;
}

.legal-section-block {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-section-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #fee900;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-section-block p {
    font-size: 14.5px;
    color: #d8d8de;
    margin-bottom: 12px;
    line-height: 1.75;
}

.legal-section-block p:last-child {
    margin-bottom: 0;
}

.legal-section-block p a {
    color: #fee900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-section-block p a:hover {
    color: #ffffff;
}

.legal-section-list {
    margin: 12px 0 16px 0;
    padding-left: 0;
    list-style: none;
}

.legal-section-list li {
    position: relative;
    padding-left: 22px;
    font-size: 14.5px;
    color: #d1d1d8;
    margin-bottom: 8px;
    line-height: 1.7;
}

.legal-section-list li::before {
    content: '•';
    position: absolute;
    left: 6px;
    color: #fee900;
    font-weight: 800;
    font-size: 16px;
}

/* ─── Contact Info Cards Grid ─── */
.legal-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin: 24px 0 28px 0;
}

.legal-contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(254, 233, 0, 0.2);
    border-radius: 12px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

.legal-contact-card:hover {
    background: rgba(254, 233, 0, 0.08);
    border-color: #fee900;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.legal-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(254, 233, 0, 0.12);
    color: #fee900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 8px;
}

.legal-contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8f8f99;
    font-weight: 600;
}

.legal-contact-value {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    word-break: break-all;
}

.legal-contact-card:hover .legal-contact-value {
    color: #fee900;
}

/* ─── Action Buttons ─── */
.legal-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.legal-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.legal-cta-btn-primary {
    background: #fee900;
    color: #000000;
    box-shadow: 0 4px 18px rgba(254, 233, 0, 0.3);
}

.legal-cta-btn-primary:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(255, 255, 255, 0.35);
}

.legal-cta-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.legal-cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fee900;
    color: #fee900;
    transform: translateY(-2px);
}

/* ─── Bottom Footer ─── */
.legal-page-footer {
    background: #09090b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 20px;
    text-align: center;
    font-size: 13px;
    color: #7b7b85;
    margin-top: auto;
}

.legal-page-footer a {
    color: #0A6DFF;
    text-decoration: none;
    font-weight: 600;
}

.legal-page-footer a:hover {
    text-decoration: underline;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .legal-content-card {
        padding: 24px 20px;
    }
    .legal-main-title {
        font-size: 26px;
    }
    .legal-nav-header {
        padding: 12px 16px;
    }
    .legal-logo-img {
        height: 32px;
    }
    .legal-contact-grid {
        grid-template-columns: 1fr;
    }
}
