/* ============================================================
   FTA Legal / Policy Pages — standalone stylesheet
   Used by static pages that do NOT depend on assets/app.js
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&display=swap");

:root {
    --fta-navy: #0e1030;
    --fta-navy-deep: #080a1f;
    --fta-indigo: #332dd4;
    --fta-violet: #6b12b9;
    --fta-blue: #006dce;
    --fta-cyan: #0c7bbd;
    --fta-teal: #00c9a7;
    --fta-gold: #ffb52e;
    --fta-text: #d8dce8;
    --fta-muted: #9aa2bf;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.fta-legal-body {
    background: var(--fta-navy);
    color: var(--fta-text);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.7;
    min-height: 100vh;
}

.fta-legal-wrap {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
}

.fta-legal-section ul{
    padding-left: 25px;
}
.fta-legal-section ol{
    padding-left: 25px;
}

.fta-legal-section a{
    color: #f0d7a1;
    text-decoration: none;
}


/* ---------- Hero Banner (photo + navy overlay) ----------
   Banner photo lives at images/legal-bg.jpg — if it is ever missing the
   navy gradient fallback keeps the same look. */
.fta-legal-banner {
    position: relative;
    padding: 96px 24px 72px;
    text-align: center;
    background:
        linear-gradient(rgb(10 14 46 / 53%), rgb(10 14 46 / 45%)), url(../images/legal-bg.jpg) center 30% / cover no-repeat, linear-gradient(115deg, #0e1030 0%, #170843 45%, #0d1241 100%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.25);
}

/* Per-page hero photos - each legal/policy page adds a modifier class on its
   .fta-legal-banner header so the banner shows that page's own image from the
   images/ folder (<page-name>-bg.jpg). Only background-image is swapped; the
   overlay gradient + center/cover positioning from the base rule are kept. */
.fta-legal-banner.fta-banner-privacy {
    background-image: linear-gradient(rgb(10 14 46 / 53%), rgb(10 14 46 / 45%)), url(../images/privacy-policy-bg.jpg), linear-gradient(115deg, #0e1030 0%, #170843 45%, #0d1241 100%);
}

.fta-legal-banner.fta-banner-terms {
    background-image: linear-gradient(rgb(10 14 46 / 53%), rgb(10 14 46 / 45%)), url(../images/terms-conditions-bg.jpg), linear-gradient(115deg, #0e1030 0%, #170843 45%, #0d1241 100%);
}

.fta-legal-banner.fta-banner-certificates {
    background-image: linear-gradient(rgb(10 14 46 / 53%), rgb(10 14 46 / 45%)), url(../images/legal-certificates-bg.jpg), linear-gradient(115deg, #0e1030 0%, #170843 45%, #0d1241 100%);
}

.fta-legal-banner.fta-banner-direct-seller {
    background-image: linear-gradient(rgb(10 14 46 / 53%), rgb(10 14 46 / 45%)), url(../images/direct-selling-policy-bg.jpg), linear-gradient(115deg, #0e1030 0%, #170843 45%, #0d1241 100%);
}

.fta-legal-banner.fta-banner-cancellation {
    background-image: linear-gradient(rgb(10 14 46 / 53%), rgb(10 14 46 / 45%)), url(../images/cancellation-policy-bg.jpg), linear-gradient(115deg, #0e1030 0%, #170843 45%, #0d1241 100%);
}

.fta-legal-banner.fta-banner-return-exchange {
    background-image: linear-gradient(rgb(10 14 46 / 53%), rgb(10 14 46 / 45%)), url(../images/return-xchangep-policy-bg.jpg), linear-gradient(115deg, #0e1030 0%, #170843 45%, #0d1241 100%);
}

.fta-legal-banner.fta-banner-grievance {
    background-image: linear-gradient(rgb(10 14 46 / 53%), rgb(10 14 46 / 45%)), url(../images/grievance-redressal-bg.jpg), linear-gradient(115deg, #0e1030 0%, #170843 45%, #0d1241 100%);
}

.fta-legal-banner.fta-banner-contact {
    background-image: linear-gradient(rgb(10 14 46 / 53%), rgb(10 14 46 / 45%)), url(../images/contact-us-bg.jpg), linear-gradient(115deg, #0e1030 0%, #170843 45%, #0d1241 100%);
}

/* subtle navy tint to unify any photo with the brand */
.fta-legal-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 16, 48, 0.35) 0%, rgba(8, 10, 31, 0.55) 100%);
    pointer-events: none;
}

.fta-legal-banner > * {
    position: relative;
    z-index: 1;
}

/* Badge / tagline / description / meta chips are no longer shown in
   the new hero design (kept in HTML for SEO, hidden visually). */
.fta-legal-badge,
.fta-legal-tagline,
.fta-legal-desc,
.fta-legal-meta {
    display: none;
}

html.fta-light img {
    filter: invert(1) hue-rotate(180deg) !important;
}

.fta-legal-title {
    color: #ffffff; 
    font-size: clamp(2.4rem, 6vw, 3.2rem);
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.15;
    margin: 0 auto;
    max-width: 900px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}

/* ---------- Breadcrumb pill (Home > Page) ----------
   Centered in normal flow, directly below the hero title. */
.fta-breadcrumb {
    display: flex;
    justify-content: center;
    margin: 26px auto 0;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.fta-breadcrumb-inner {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 34px;
    border-radius: 999px;
    background: rgba(16, 20, 52, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 36px rgba(8, 10, 31, 0.55);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
}

.fta-breadcrumb-inner a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.fta-breadcrumb-inner a:hover {
    color: var(--fta-gold);
}

.fta-breadcrumb-inner .fta-crumb-sep {
    color: var(--fta-gold);
    font-weight: 800;
}

/* ---------- Top bar above the hero (logo left, back right) ---------- */
.fta-legal-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 40px;
    background: var(--fta-navy-deep);
    border-bottom: 1px solid rgba(99, 102, 241, 0.18);
    box-shadow: 0 6px 22px rgba(8, 10, 31, 0.55);
}

.fta-legal-logo img {
    display: block;
    height: 46px;
    width: auto;
}

/* ---------- Back to Home (right side of top bar) ---------- */
.fta-legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 1px solid rgba(0, 201, 167, 0.45);
    border-radius: 999px;
    background: rgba(0, 201, 167, 0.08);
    color: var(--fta-teal);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.fta-legal-back:hover {
    background: rgba(0, 201, 167, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 201, 167, 0.25);
}

.fta-legal-back .fta-arrow {
    font-size: 1.1rem;
    line-height: 1;
}

/* ---------- Key Highlights ---------- */
.fta-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin: 32px 0 8px;
}

.fta-highlights li {
    list-style: none;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid rgba(0, 201, 167, 0.28);
    background: rgba(0, 201, 167, 0.06);
    color: var(--fta-text);
    font-size: 0.9rem;
    position: relative;
    padding-left: 42px;
}

.fta-highlights li::before {
    content: "★";
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--fta-gold);
}

/* ---------- Content Sections ---------- */
.fta-legal-content {
    margin: 36px 0 48px;
}

.fta-legal-section {
    padding: 28px 30px;
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 18px;
    background: rgba(13, 18, 65, 0.55);
    margin-bottom: 22px;
}

.fta-legal-section h2 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 14px;
    padding-left: 14px;
    border-left: 4px solid #d3b15d;
    line-height: 1.4;
}

.fta-legal-section p {
    color: var(--fta-text);
    font-size: 0.97rem;
    margin-bottom: 12px;
}

.fta-legal-section p:last-child {
    margin-bottom: 0;
}

.fta-takeaway {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 0 12px 12px 0;
    border-left: 4px solid var(--fta-gold);
    background: rgba(255, 181, 46, 0.08);
    color: var(--fta-gold);
    font-size: 0.88rem;
    font-weight: 600;
    font-style: italic;
}

/* ---------- Certificate Cards (Legal Certificates page) ---------- */
.fta-cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
    margin: 36px 0 48px;
}

.fta-cert-card {
    display: flex;
    flex-direction: column;
    padding: 26px 26px 22px;
    border-radius: 18px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    background: linear-gradient(160deg, rgba(23, 8, 67, 0.75), rgba(13, 18, 65, 0.75));
    box-shadow: 0 14px 34px rgba(8, 10, 31, 0.55);
}

.fta-cert-card h2 {
    color: #ffffff;
    font-size: 1.12rem;
    font-weight: 800;
    margin: 12px 0 6px;
    line-height: 1.35;
}

.fta-cert-category {
    color: var(--fta-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.fta-cert-number {
    display: inline-block;
    align-self: flex-start;
    margin: 10px 0 12px;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px dashed rgba(255, 181, 46, 0.55);
    background: rgba(255, 181, 46, 0.08);
    color: var(--fta-gold);
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.85rem;
    font-weight: 700;
}

.fta-cert-desc {
    color: var(--fta-text);
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.fta-cert-details {
    width: 100%;
    border-collapse: collapse;
    margin-top: auto;
    font-size: 0.82rem;
}

.fta-cert-details th {
    text-align: left;
    vertical-align: top;
    color: var(--fta-muted);
    font-weight: 600;
    padding: 7px 12px 7px 0;
    width: 42%;
    border-bottom: 1px solid rgba(99, 102, 241, 0.16);
}

.fta-cert-details td {
    color: var(--fta-text);
    font-weight: 600;
    padding: 7px 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.16);
}

.fta-cert-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.76rem;
    color: var(--fta-muted);
}

.fta-cert-meta strong {
    color: var(--fta-teal);
    font-weight: 700;
}

/* ---------- Contact Page (FTA desk cards + direct message form) ---------- */
.fta-cx-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 24px;
    align-items: stretch;
    margin: 40px 0 56px;
}

.fta-cx-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fta-cx-card {
    padding: 16px;
    border-radius: 24px;
    background: linear-gradient(135deg, #170843 0%, #0e1030 50%, #170843 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fta-cx-cardtop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.fta-cx-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #00c9a7;
}

.fta-cx-label svg {
    width: 16px;
    height: 16px;
    flex: none;
}

.fta-cx-label.fta-cx-pink {
    color: #f13cb8;
}

.fta-cx-label .fta-cx-blue {
    color: #006dce;
}

.fta-cx-copy {
    width: 30px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #d8dce8;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fta-cx-copy:hover {
    background: rgba(255, 255, 255, 0.1);
}

.fta-cx-copy svg {
    width: 14px;
    height: 14px;
}

.fta-cx-copy .fta-cx-ico-check {
    display: none;
    stroke: #38d39f;
}

.fta-cx-copy.is-copied .fta-cx-ico-check {
    display: block;
}

.fta-cx-copy.is-copied .fta-cx-ico-copy {
    display: none;
}

.fta-cx-big {
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fta-cx-big:hover {
    color: #00c9a7;
}

.fta-cx-mail {
    font-size: 14px;
    font-weight: 900;
    color: #ffffff;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.2s ease;
}

.fta-cx-mail:hover {
    color: #00c9a7;
}

.fta-cx-sub {
    font-size: 10px;
    color: rgba(216, 220, 232, 0.7);
}

.fta-cx-addr {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.65;
}

.fta-cx-ident {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    font-family: "Consolas", "Courier New", monospace;
    font-size: 10px;
    color: rgba(216, 220, 232, 0.7);
    line-height: 1.6;
}

.fta-cx-explore {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(23, 8, 67, 0.8);
    color: #00c9a7;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(0, 201, 167, 0.3);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.35);
    transition: background 0.2s ease;
}

.fta-cx-explore:hover {
    background: #200c46;
}

.fta-cx-explore svg {
    width: 16px;
    height: 16px;
}

/* ----- Form ----- */
.fta-cx-right {
    display: flex;
}

.fta-cx-form,
.fta-cx-done {
    flex: 1;
    padding: 32px;
    border-radius: 24px;
    background: rgba(23, 8, 67, 0.7);
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
}

.fta-cx-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* the form and the success card swap each other out via [hidden] */
.fta-cx-form[hidden],
.fta-cx-done[hidden] {
    display: none;
}

.fta-cx-formhead {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.fta-cx-formhead h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 900;
    color: #ffffff;
}

.fta-cx-formhead h2 svg {
    width: 16px;
    height: 16px;
    color: #00c9a7;
}

.fta-cx-formhead p {
    font-size: 12px;
    color: rgba(216, 220, 232, 0.7);
}

.fta-cx-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.fta-cx-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fta-cx-field label {
    font-size: 11px;
    font-weight: 700;
    color: #d8dce8;
}

.fta-cx-field input,
.fta-cx-field select,
.fta-cx-field textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    background: #0e1030;
    border: 1px solid rgba(99, 102, 241, 0.3);
    font-family: inherit;
    font-size: 12px;
    color: #ffffff;
    transition: border-color 0.2s ease;
}

.fta-cx-field textarea {
    resize: vertical;
    min-height: 84px;
    line-height: 1.6;
}

.fta-cx-field input::placeholder,
.fta-cx-field textarea::placeholder {
    color: rgba(216, 220, 232, 0.4);
}

.fta-cx-field input:focus,
.fta-cx-field select:focus,
.fta-cx-field textarea:focus {
    outline: none;
    border-color: #00c9a7;
}

.fta-cx-send {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(90deg, #6b12b9 0%, #332dd4 50%, #00c9a7 100%);
    color: #ffffff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(30, 27, 75, 0.5);
    transition: opacity 0.2s ease;
}

.fta-cx-send:hover {
    opacity: 0.95;
}

.fta-cx-send:disabled {
    opacity: 0.5;
    cursor: default;
}

.fta-cx-send svg {
    width: 16px;
    height: 16px;
}

/* ----- Success state ----- */
.fta-cx-done {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
}

.fta-cx-donetick {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00c9a7, #38d39f);
    color: #0e1030;
    box-shadow: 0 0 25px rgba(0, 201, 167, 0.3);
}

.fta-cx-donetick svg {
    width: 32px;
    height: 32px;
}

.fta-cx-doneref {
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(0, 201, 167, 0.2);
    border: 1px solid rgba(0, 201, 167, 0.4);
    color: #00c9a7;
    font-family: "Consolas", "Courier New", monospace;
    font-size: 12px;
    font-weight: 700;
}

.fta-cx-done h3 {
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
}

.fta-cx-done p {
    max-width: 380px;
    font-size: 12px;
    color: #d8dce8;
    line-height: 1.7;
}

.fta-cx-donemail {
    font-size: 12px;
    font-weight: 700;
    color: #00c9a7;
    text-decoration: underline;
}

.fta-cx-another {
    margin-top: 4px;
    padding: 10px 20px;
    border: 0;
    border-radius: 12px;
    background: #00c9a7;
    color: #0e1030;
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.fta-cx-another:hover {
    opacity: 0.95;
}

@media (max-width: 900px) {
    .fta-cx-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .fta-cx-row {
        grid-template-columns: 1fr;
    }

    .fta-cx-form,
    .fta-cx-done {
        padding: 24px;
    }
}

/* ---------- Footer ---------- */
.fta-legal-footer {
    border-top: 1px solid rgba(99, 102, 241, 0.25);
    background: var(--fta-navy-deep);
    padding: 30px 20px 36px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--fta-muted);
}

.fta-legal-footer .fta-footer-company {
    color: var(--fta-text);
    font-weight: 700;
    margin-bottom: 6px;
}

.fta-legal-footer a {
    color: var(--fta-teal);
    text-decoration: none;
}

.fta-legal-footer a:hover {
    text-decoration: underline;
}

/* ---------- Document Certificate Cards with Zoom ---------- */
.fta-doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin: 36px 0 48px;
}

.fta-doc-card {
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    background: linear-gradient(160deg, rgba(23, 8, 67, 0.8), rgba(13, 18, 65, 0.8));
    box-shadow: 0 16px 40px rgba(8, 10, 31, 0.6);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fta-doc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(8, 10, 31, 0.75), 0 0 30px rgba(0, 201, 167, 0.1);
}

.fta-doc-card-header {
    padding: 20px 22px 0;
}

.fta-doc-card-header .fta-cert-category {
    display: block;
    margin-bottom: 6px;
}

.fta-doc-card-header h2 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
}

.fta-doc-img-wrap {
    position: relative;
    margin: 16px 16px 0;
    border-radius: 12px;
    overflow: hidden;
    cursor: zoom-in;
    border: 1px solid rgba(99, 102, 241, 0.2);
    background: #0a0c24;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fta-doc-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.35s ease;
}

.fta-doc-img-wrap:hover img {
    transform: scale(1.05);
}

.fta-doc-img-wrap .fta-zoom-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 10, 31, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fta-doc-img-wrap:hover .fta-zoom-overlay {
    opacity: 1;
}

.fta-zoom-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 201, 167, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 201, 167, 0.4);
}

.fta-doc-card-footer {
    padding: 14px 22px 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
}
.fta-doc-card-footer .fta-cert-number {
    margin: 0;
    font-size: 0.78rem;
    padding: 4px 10px;
}

.fta-doc-card-footer .fta-doc-status {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--fta-teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---------- Lightbox / Modal ---------- */
.fta-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(4, 6, 20, 0.92);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 30px;
    animation: ftaFadeIn 0.25s ease;
}

.fta-lightbox.active {
    display: flex;
}

.fta-lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fta-lightbox-inner img {
    max-width: 90vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease;
}

.fta-lightbox-inner img.zoomed {
    transform: scale(1.8);
    cursor: zoom-out;
}

.fta-lightbox-caption {
    margin-top: 16px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}
.fta-light i

.fta-lightbox-close {
    position: absolute;
     top: 14px;
    right: 9px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.fta-lightbox-close:hover {
    background: rgba(255, 70, 70, 0.7);
    transform: rotate(90deg);
}

/* Prev / Next slide buttons */
.fta-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 1;
}

.fta-lb-prev {
    left: 22px;
}

.fta-lb-next {
    right: 22px;
}

.fta-lb-nav:hover {
    background: rgba(0, 229, 255, 0.35);
    border-color: rgba(0, 229, 255, 0.6);
}

.fta-lb-prev:hover {
    transform: translateY(-50%) translateX(-4px);
}

.fta-lb-next:hover {
    transform: translateY(-50%) translateX(4px);
}

.fta-lightbox-count {
    color: #00e5ff;
    font-weight: 800;
    margin-right: 4px;
}

.fta-lightbox-zoom-hint {
    color: var(--fta-muted);
    font-size: 0.75rem;
    margin-top: 8px;
    font-style: italic;
}

@keyframes ftaFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
    .fta-doc-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .fta-doc-card-header {
        padding: 16px 16px 0;
    }

    .fta-doc-card-footer {
        padding: 12px 16px 14px;
    }

    .fta-lightbox {
        padding: 16px;
    }

    .fta-lightbox-close {
        top: -12px;
        right: 0;
    }

    .fta-lb-nav {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .fta-lb-prev {
        left: 8px;
    }

    .fta-lb-next {
        right: 8px;
    }

    .fta-legal-banner {
        padding: 72px 18px 56px;
    }

    .fta-legal-section {
        padding: 20px 18px;
    }

    .fta-breadcrumb {
        margin-top: 20px;
    }

    .fta-breadcrumb-inner {
        padding: 10px 20px;
        font-size: 0.8rem;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .fta-legal-back {
        padding: 7px 14px;
        font-size: 0.7rem;
    }

    .fta-legal-nav {
        padding: 14px 18px;
    }

    .fta-legal-logo img {
        height: 32px;
    }
}

/* ---------- Site footer (shared with main app.js footer) ---------- */
.fta-site-footer {
    background: #0E1030;
    color: #D8DCE8;
    border-top: 1px solid rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.fta-site-footer .fta-sf-gradient-bar {
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, #6B12B9, #332DD4, #00C9A7, #F13CB8, #F3851D);
}

.fta-site-footer .fta-sf-glow {
    position: absolute;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    filter: blur(64px);
    pointer-events: none;
}

.fta-site-footer .fta-sf-glow-1 {
    top: 0;
    left: 0;
    background: rgba(107, 18, 185, 0.15);
}

.fta-site-footer .fta-sf-glow-2 {
    top: 50%;
    right: 0;
    background: rgba(0, 201, 167, 0.1);
}

.fta-site-footer .fta-sf-glow-3 {
    bottom: 0;
    left: 33%;
    background: rgba(241, 60, 184, 0.1);
}

.fta-site-footer .fta-sf-inner {
    width: calc(100% - 2cm);
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 16px;
    position: relative;
    z-index: 10;
}

.fta-site-footer .fta-sf-grid {
    display: grid;
    grid-template-columns: 5fr 2fr 2fr 3fr;
    gap: 40px;
    align-items: start;
}

.fta-site-footer .fta-sf-brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fta-site-footer .fta-sf-logo {
    max-width: 174px;
    height: auto;
}

.fta-site-footer .fta-sf-copy {
    font-size: 0.75rem;
    color: rgba(216, 220, 232, 0.8);
    line-height: 1.625;
    max-width: 28rem;
    font-weight: 500;
    margin: 0;
}

.fta-site-footer .fta-sf-disclaimer {
    color: #00C9A7;
    font-weight: 700;
    text-decoration: none;
}

.fta-site-footer .fta-sf-disclaimer:hover {
    color: #38D39F;
    text-decoration: underline;
}

.fta-site-footer .fta-sf-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.fta-site-footer .fta-sf-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 12px;
    background: rgba(23, 8, 67, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #fff;
    text-decoration: none;
    text-align: left;
    box-shadow: 0 10px 15px -3px rgba(30, 41, 59, 0.5);
    transition: background 0.2s ease;
}

.fta-site-footer .fta-sf-badge:hover {
    background: #200C46;
}

.fta-site-footer .fta-sf-badge-img {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.fta-site-footer .fta-sf-badge-img img {
    width: 150px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.2s ease;
}

.fta-site-footer .fta-sf-badge-img:hover img {
    transform: scale(1.03);
}

.fta-site-footer .fta-badge-light {
    display: none;
}

html.fta-light .fta-site-footer .fta-badge-dark {
    display: none;
}

html.fta-light .fta-site-footer .fta-badge-light {
    display: block;
}

.fta-site-footer .fta-sf-badge-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.fta-site-footer .fta-sf-badge-icon-sm {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.fta-site-footer .fta-sf-badge-text {
    display: flex;
    flex-direction: column;
}

.fta-site-footer .fta-sf-badge-small {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(216, 220, 232, 0.6);
    font-weight: 500;
    line-height: 1;
}

.fta-site-footer .fta-sf-badge-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-top: 2px;
}

.fta-site-footer .fta-sf-social {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 8px;
}

.fta-site-footer .fta-sf-social a {
    padding: 8px;
    border-radius: 12px;
    background: #170843;
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: inline-flex;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.fta-site-footer .fta-sf-social svg {
    width: 20px;
    height: 20px;
}

.fta-site-footer .fta-sf-social-telegram {
    color: #00C9A7;
}

.fta-site-footer .fta-sf-social-telegram:hover {
    color: #fff;
    border-color: #00C9A7;
}

.fta-site-footer .fta-sf-social-facebook {
    color: #006DCE;
}

.fta-site-footer .fta-sf-social-facebook:hover {
    color: #fff;
    border-color: #006DCE;
}

.fta-site-footer .fta-sf-social-instagram {
    color: #F13CB8;
}

.fta-site-footer .fta-sf-social-instagram:hover {
    color: #fff;
    border-color: #F13CB8;
}

.fta-site-footer .fta-sf-social-tiktok {
    color: #38D39F;
}

.fta-site-footer .fta-sf-social-tiktok:hover {
    color: #fff;
    border-color: #38D39F;
}

.fta-site-footer .fta-sf-social-youtube {
    color: #FF4B3E;
}

.fta-site-footer .fta-sf-social-youtube:hover {
    color: #fff;
    border-color: #FF4B3E;
}

.fta-site-footer .fta-sf-links {
    display: flex;
    flex-direction: column;
}

.fta-site-footer .fta-sf-link {
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    padding: 12px 0;
}

.fta-site-footer .fta-sf-link a {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    display: block;
}

.fta-site-footer .fta-sf-link a:hover {
    opacity: 0.7;
}

.fta-site-footer .fta-sf-news {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fta-site-footer .fta-sf-news-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.025em;
    margin: 0;
}

.fta-site-footer .fta-sf-news-desc {
    font-size: 0.875rem;
    color: #D8DCE8;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

.fta-site-footer .fta-sf-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 8px;
}

.fta-site-footer .fta-sf-input {
    width: 100%;
    background: rgba(23, 8, 67, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.875rem;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

.fta-site-footer .fta-sf-input::placeholder {
    color: rgba(216, 220, 232, 0.5);
}

.fta-site-footer .fta-sf-input:focus {
    outline: none;
    border-color: #00C9A7;
    box-shadow: 0 0 0 2px #6B12B9;
}

.fta-site-footer .fta-sf-btn {
    width: auto;
    align-self: flex-start;
    padding: 10px 28px;
    border-radius: 9999px;
    border: none;
    background: linear-gradient(90deg, #6B12B9, #332DD4, #00C9A7);
    color: #fff;
    font-weight: 900;
    font-size: 0.875rem;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(49, 46, 129, 0.5);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.fta-site-footer .fta-sf-btn:hover {
    opacity: 0.95;
    transform: scale(1.05);
}

.fta-site-footer .fta-sf-success {
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #38D39F;
    font-weight: 700;
    padding-top: 4px;
}

.fta-site-footer .fta-sf-success svg {
    width: 16px;
    height: 16px;
}

.fta-site-footer .fta-sf-corporate {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.75rem;
    color: rgba(216, 220, 232, 0.7);
    font-weight: 500;
    line-height: 1.625;
}

.fta-site-footer .fta-sf-corp-company {
    color: #fff;
    font-weight: 700;
}

.fta-site-footer .fta-sf-corporate a {
    color: #00C9A7;
    text-decoration: none;
}

.fta-site-footer .fta-sf-corporate a:hover {
    text-decoration: underline;
}

@media (max-width: 1023px) {
    .fta-site-footer .fta-sf-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fta-site-footer .fta-sf-brand {
        grid-column: 1 / -1;
    }

    .fta-site-footer .fta-sf-news {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .fta-site-footer .fta-sf-grid {
        grid-template-columns: 1fr;
    }

    .fta-site-footer .fta-sf-inner {
        width: calc(100% - 32px);
        padding: 40px 0;
    }
}
