/* =================================================================
   HT MEDIA 509 — style.css
   Koulè: Wouj #FF3131, Ble #1E00EE, Blan
   Font: Inter (klè, modèn, lizib)
================================================================= */

:root {
    --brand-red:    #FF3131;
    --brand-red-d:  #d62121;
    --brand-blue:   #1E00EE;
    --brand-blue-d: #1500b8;
    --white:        #ffffff;
    --bg:           #fafbfd;
    --card:         #ffffff;
    --text:         #0f172a;
    --text-soft:    #64748b;
    --border:       #e2e8f0;
    --shadow-sm:    0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow:       0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-lg:    0 20px 50px rgba(15, 23, 42, 0.10);
    --radius:       12px;
    --radius-sm:    8px;
    --radius-lg:    18px;
}

* { box-sizing: border-box; }
html, body {
    margin: 0; padding: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}
img, svg { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
    font-family: inherit;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a { color: var(--brand-blue); text-decoration: none; transition: color .15s ease; }
a:hover { text-decoration: underline; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Header / Nav pwofesyonèl ---------- */
.site-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 50;
    width: 100%;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 68px; gap: 16px;
    min-width: 0;
}
.brand {
    display: flex; align-items: center; gap: 10px;
    color: var(--text); font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.01em;
    min-width: 0;
    flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand-logo { width: 38px; height: 38px; object-fit: contain; flex-shrink: 0; }
.brand-name {
    display: flex; align-items: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-name small { color: var(--text-soft); font-weight: 500; }

.site-nav {
    display: flex; align-items: center; gap: 4px;
    flex-wrap: wrap;
}
.site-nav > a {
    color: var(--text-soft); font-weight: 500; font-size: 14px;
    padding: 8px 14px; border-radius: 8px;
    transition: all .15s ease;
}
.site-nav > a.active {
    color: var(--brand-red);
    background: rgba(255, 49, 49, 0.08);
    font-weight: 600;
}
.site-nav > a:hover {
    text-decoration: none;
    color: var(--text);
    background: rgba(15, 23, 42, 0.04);
}
.site-nav .link-admin { color: var(--brand-blue); font-weight: 600; }

.nav-toggle {
    display: none; background: transparent; border: 0;
    width: 36px; height: 36px; cursor: pointer; padding: 8px;
    flex-direction: column; gap: 4px; align-items: center; justify-content: center;
}
.nav-toggle span {
    display: block; width: 20px; height: 2px;
    background: var(--text); border-radius: 99px;
    transition: transform .2s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-balance {
    background: linear-gradient(135deg, var(--brand-red), var(--brand-blue));
    color: #fff; padding: 7px 14px; border-radius: 99px; font-weight: 700;
    font-size: 13px; margin: 0 6px;
    box-shadow: 0 4px 12px rgba(30, 0, 238, 0.18);
}

.admin-header { border-bottom: 2px solid var(--brand-red); }

/* ---------- Main + footer ---------- */
.main-content { padding: 32px 0 80px; }

.site-footer {
    background: var(--white); border-top: 1px solid var(--border);
    padding: 28px 0; color: var(--text-soft); font-size: 14px;
    margin-top: 40px;
}
.footer-inner {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
    align-items: center;
}
.footer-brand { display: flex; flex-direction: column; gap: 2px; }
.footer-tagline { color: var(--text-soft); font-size: 13px; }
.footer-contact .footer-mail {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--brand-blue); font-weight: 600;
    padding: 6px 12px;
    background: rgba(30,0,238,0.06);
    border-radius: 99px;
    transition: background .15s ease;
}
.footer-contact .footer-mail:hover {
    background: rgba(30,0,238,0.12);
    text-decoration: none;
}
.footer-meta { color: var(--text-soft); font-size: 13px; }
@media (max-width: 600px) {
    .footer-inner { justify-content: center; text-align: center; }
    .footer-brand { align-items: center; }
}

/* ---------- Page titles ---------- */
.page-title { margin: 0 0 24px; font-size: 28px; }

/* ---------- Cards ---------- */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}
.card-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px; gap: 12px;
}
.card-head h2 { margin: 0; font-size: 18px; }

/* ============================================================
   HOMEPAGE — Eleman konvèsyon
============================================================ */

/* Live ticker */
.live-ticker {
    display: flex; align-items: center; gap: 12px;
    background: linear-gradient(135deg, #fff5f5, #f0f0ff);
    border: 1px solid var(--border);
    border-left: 4px solid var(--brand-red);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.lt-icon { font-size: 22px; flex-shrink: 0; animation: ltBell 2s ease-in-out infinite; }
@keyframes ltBell {
    0%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
}
.lt-content {
    flex: 1; font-size: 14px; color: var(--text);
    transition: opacity .3s ease;
}
.lt-pulse {
    width: 10px; height: 10px; border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
    animation: pulse 1.5s infinite;
    flex-shrink: 0;
}

/* Top services — grid otomatik */
.top-services { margin-bottom: 72px; }
.ts-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.ts-tag {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff; padding: 4px 10px; border-radius: 99px;
    font-size: 11px; font-weight: 700;
    margin-bottom: 12px;
    align-self: flex-start;
}
.ts-tag-blue {
    background: linear-gradient(135deg, var(--brand-blue), #6366f1);
}
.ts-cheap { border-top: 3px solid #10b981; }
.ts-best  { border-top: 3px solid var(--brand-blue); background: linear-gradient(180deg, rgba(30,0,238,0.02), #fff); }
.ts-name { font-size: 14px; line-height: 1.4; margin: 0 0 10px; flex: 1; }
.ts-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    transition: transform .15s ease, box-shadow .15s ease;
    display: flex; flex-direction: column;
}
.ts-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15,23,42,0.10);
    border-color: rgba(30,0,238,0.2);
}
.ts-badge {
    position: absolute; top: -10px; right: 12px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-blue));
    color: #fff; padding: 4px 10px; border-radius: 99px;
    font-size: 11px; font-weight: 700;
    box-shadow: 0 4px 12px rgba(255,49,49,0.25);
}
.ts-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ts-icon { width: 28px; height: 28px; }
.ts-icon-letter {
    width: 28px; height: 28px; border-radius: 8px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-blue));
    color: #fff; font-weight: 800; font-size: 11px;
    display: flex; align-items: center; justify-content: center;
}
.ts-platform { font-size: 12px; color: var(--text-soft); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.ts-name { font-size: 14px; line-height: 1.3; margin: 0 0 10px; flex: 1; }
.ts-meta {
    display: flex; gap: 12px; font-size: 12px;
    color: var(--text-soft); margin-bottom: 10px;
}
.ts-price-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 10px 0; margin-bottom: 12px;
    border-top: 1px dashed var(--border);
}
.ts-price-lbl { font-size: 12px; color: var(--text-soft); }
.ts-price {
    font-size: 22px; font-weight: 800; color: var(--brand-red);
    letter-spacing: -0.02em;
}
.ts-price small { font-size: 11px; color: var(--text-soft); font-weight: 500; }

/* Témoignages */
.testimonials { margin-bottom: 72px; }
.tm-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}
.tm-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    transition: transform .15s ease;
    position: relative;
}
.tm-card:hover { transform: translateY(-3px); }
.tm-card.tm-featured {
    background: linear-gradient(135deg, #fff, #faf5ff);
    border-color: rgba(30,0,238,0.2);
    box-shadow: 0 8px 20px rgba(30,0,238,0.06);
}
.tm-card.tm-featured::before {
    content: '⭐ Pi vize';
    position: absolute; top: -10px; left: 16px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-blue));
    color: #fff; font-size: 10px; font-weight: 700;
    padding: 3px 10px; border-radius: 99px;
    letter-spacing: .05em;
}
.tm-stars { font-size: 14px; margin-bottom: 10px; }
.tm-quote {
    font-size: 14px; line-height: 1.6; color: var(--text);
    font-style: italic; margin: 0 0 16px;
}
.tm-author { display: flex; align-items: center; gap: 12px; }
.tm-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-blue), #6366f1);
    color: #fff; font-weight: 800; font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.tm-name { font-weight: 600; font-size: 14px; }
.tm-role { font-size: 12px; color: var(--text-soft); }

/* FAQ */
.faq-section { margin-bottom: 72px; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
    background: #fff; border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .15s ease;
}
.faq-item[open] { border-color: rgba(30,0,238,0.3); box-shadow: 0 4px 12px rgba(15,23,42,0.06); }
.faq-item summary {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600; font-size: 15px;
    color: var(--text);
    display: flex; align-items: center;
    list-style: none;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    margin-left: auto;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--brand-blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 600;
    transition: background .15s ease;
}
.faq-item[open] summary::after {
    content: '−';
    background: var(--brand-blue);
    color: #fff;
}
.faq-item p {
    padding: 0 20px 20px;
    margin: 0;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.6;
}

/* Trust badges */
.trust-badges {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 24px;
    margin-bottom: 48px;
}
.tb-row {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 24px;
}
.tb-item { display: flex; align-items: center; gap: 12px; }
.tb-ico { font-size: 32px; flex-shrink: 0; }
.tb-title { font-weight: 700; font-size: 14px; color: var(--text); }
.tb-sub { font-size: 12px; color: var(--text-soft); margin-top: 2px; }

/* Sticky CTA (mobile) */
.sticky-cta {
    position: fixed;
    bottom: -100px; left: 16px; right: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 -8px 24px rgba(15,23,42,0.12);
    padding: 14px 18px;
    display: flex; align-items: center; gap: 14px;
    z-index: 40;
    transition: bottom .3s ease;
}
.sticky-cta.visible { bottom: 16px; }
.sticky-cta .sc-text { flex: 1; font-size: 14px; line-height: 1.3; }
.sticky-cta .sc-text small { color: var(--text-soft); font-size: 11px; }
.sticky-cta .btn { padding: 10px 18px; font-size: 14px; white-space: nowrap; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* Responsive konvèsyon */
@media (max-width: 768px) {
    .live-ticker { padding: 10px 12px; }
    .lt-content { font-size: 12px; }
    .tm-card { padding: 18px; }
    .tm-quote { font-size: 13px; }

    /* Top sèvis pi piti sou mobile — 2 pa ranje */
    .ts-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
    .ts-card { padding: 12px 10px; border-radius: 12px; }
    .ts-tag { font-size: 9.5px; padding: 3px 7px; margin-bottom: 8px; border-radius: 99px; }
    .ts-head { gap: 6px; margin-bottom: 8px; }
    .ts-icon { width: 22px; height: 22px; }
    .ts-platform { font-size: 9.5px; letter-spacing: .02em; line-height: 1.15; }
    .ts-name { font-size: 12px; line-height: 1.3; margin-bottom: 8px; }
    .ts-meta { font-size: 10.5px; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
    .ts-price-row { padding: 7px 0; margin-bottom: 8px; flex-wrap: wrap; gap: 4px; }
    .ts-price-lbl { font-size: 10px; }
    .ts-price { font-size: 16px; }
    .ts-price small { font-size: 9px; }
    .ts-card .btn { font-size: 11px; padding: 8px 8px; }
    .faq-item summary { padding: 14px 16px; font-size: 14px; }
    .faq-item p { padding: 0 16px 16px; font-size: 13px; }
    .tb-row { gap: 16px; }
    .tb-ico { font-size: 24px; }
    .top-services, .testimonials, .faq-section { margin-bottom: 48px; }
}

/* ==========================================
   PAJ AKÈY — HERO (Animasyon an wo, tèks sant)
========================================== */
.hero-pro {
    position: relative; overflow: hidden;
    background:
        radial-gradient(ellipse at 80% 0%, rgba(30, 0, 238, 0.10), transparent 50%),
        radial-gradient(ellipse at 20% 100%, rgba(255, 49, 49, 0.08), transparent 50%),
        #fff;
    border-radius: var(--radius-lg);
    padding: 48px 40px 56px;
    margin-bottom: 56px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

/* Animasyon an wo */
.hero-art-top {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 40px;
    perspective: 1200px;
    flex-wrap: nowrap;
}

.growth-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.04),
        0 10px 30px rgba(15, 23, 42, 0.08);
    z-index: 2;
    width: 240px;
    flex-shrink: 0;
    animation: cardFloat 5s ease-in-out infinite;
    transition: transform .3s ease;
    text-align: left;
}
.growth-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}
.growth-card-1 { animation-delay: 0s; transform: rotate(-3deg); }
.growth-card-2 { animation-delay: 1s; margin-bottom: 30px; transform: scale(1.05); z-index: 3; }
.growth-card-3 { animation-delay: 2s; transform: rotate(3deg); }

@keyframes cardFloat {
    0%, 100% { transform: rotate(var(--rot, 0deg)) translateY(0); }
    50%      { transform: rotate(var(--rot, 0deg)) translateY(-10px); }
}
.growth-card-1 { --rot: -3deg; }
.growth-card-2 { --rot: 0deg; }
.growth-card-3 { --rot: 3deg; }

.gc-head {
    display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
/* Avatar pwòp (Instagram = logo nou, FB/YT = ikòn) */
.gc-avatar {
    position: relative;
    width: 40px; height: 40px; flex-shrink: 0;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(15,23,42,0.12);
    overflow: visible;
    display: flex; align-items: center; justify-content: center;
}
.gc-avatar > img {
    width: 36px; height: 36px;
    border-radius: 50%;
    object-fit: cover;
}
/* Avatar Facebook */
.gc-avatar-fb {
    background: #1877F2;
    padding: 0;
}
.gc-avatar-fb > img { width: 22px; height: 22px; border-radius: 0; }
/* Avatar YouTube */
.gc-avatar-yt {
    background: #FF0000;
    padding: 0;
}
.gc-avatar-yt > img { width: 22px; height: 22px; border-radius: 0; }
/* Badge platfòm (sou Instagram avatar) */
.gc-badge {
    position: absolute;
    bottom: -2px; right: -4px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
}
.gc-badge img { width: 10px; height: 10px; }

.gc-meta { flex: 1; min-width: 0; }
.gc-name {
    font-weight: 600; font-size: 13px; color: var(--text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gc-lbl {
    font-size: 11px; color: var(--text-soft);
    font-weight: 500;
    white-space: nowrap;
}
.gc-trend {
    background: #ecfdf5; color: #047857;
    padding: 3px 8px; border-radius: 99px;
    font-size: 11px; font-weight: 700;
    flex-shrink: 0;
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: inline-flex; align-items: center; gap: 2px;
}
.gc-trend::before { content: '↑'; font-size: 10px; }
.gc-num {
    font-size: 26px; font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 8px;
}
.gc-spark {
    height: 32px;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 100%;
}
.gc-spark-blue {
    background-image:
        linear-gradient(to top, rgba(30, 0, 238, 0.15), transparent 70%),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 32' preserveAspectRatio='none'><path d='M0,28 L15,24 L30,22 L45,16 L60,12 L75,8 L90,6 L100,2 L100,32 L0,32 Z' fill='%231E00EE' opacity='0.1'/><polyline points='0,28 15,24 30,22 45,16 60,12 75,8 90,6 100,2' fill='none' stroke='%231E00EE' stroke-width='2'/></svg>");
}
.gc-spark-red {
    background-image:
        linear-gradient(to top, rgba(255, 49, 49, 0.15), transparent 70%),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 32' preserveAspectRatio='none'><path d='M0,26 L15,28 L30,20 L45,18 L60,10 L75,12 L90,4 L100,2 L100,32 L0,32 Z' fill='%23FF3131' opacity='0.1'/><polyline points='0,26 15,28 30,20 45,18 60,10 75,12 90,4 100,2' fill='none' stroke='%23FF3131' stroke-width='2'/></svg>");
}
.gc-spark-purple {
    background-image:
        linear-gradient(to top, rgba(124, 58, 237, 0.15), transparent 70%),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 32' preserveAspectRatio='none'><path d='M0,30 L15,26 L30,24 L45,20 L60,15 L75,10 L90,8 L100,4 L100,32 L0,32 Z' fill='%237c3aed' opacity='0.1'/><polyline points='0,30 15,26 30,24 45,20 60,15 75,10 90,8 100,4' fill='none' stroke='%237c3aed' stroke-width='2'/></svg>");
}
.gc-spark-pink {
    background-image:
        linear-gradient(to top, rgba(228, 64, 95, 0.15), transparent 70%),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 32' preserveAspectRatio='none'><path d='M0,28 L15,25 L30,22 L45,18 L60,14 L75,10 L90,7 L100,3 L100,32 L0,32 Z' fill='%23E4405F' opacity='0.12'/><polyline points='0,28 15,25 30,22 45,18 60,14 75,10 90,7 100,3' fill='none' stroke='%23E4405F' stroke-width='2'/></svg>");
}

/* Tèks hero — sant */
.hero-pro-inner {
    position: relative; z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(30, 0, 238, 0.08);
    color: var(--brand-blue);
    padding: 7px 16px; border-radius: 99px;
    font-size: 13px; font-weight: 600; margin-bottom: 22px;
    border: 1px solid rgba(30, 0, 238, 0.18);
}
.hero-title {
    font-size: 56px; line-height: 1.05; font-weight: 800;
    margin: 0 0 20px; letter-spacing: -0.03em;
    color: var(--text);
}
.hero-title .grad {
    background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
    font-size: 17px; line-height: 1.6; color: var(--text-soft);
    max-width: 600px; margin: 0 auto 28px;
}
.hero-actions {
    display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px;
    justify-content: center;
}
.hero-trust {
    display: flex; gap: 24px; flex-wrap: wrap;
    color: var(--text-soft); font-size: 14px; font-weight: 500;
    justify-content: center;
}
.trust-item { display: inline-flex; align-items: center; gap: 4px; }

/* Estatistik vivan */
.live-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
    margin-bottom: 72px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-blue));
    border-radius: var(--radius-lg); padding: 32px;
    box-shadow: 0 20px 50px rgba(30,0,238,0.18);
}
.live-stats-2 { grid-template-columns: repeat(2, 1fr); padding: 44px 32px; }
.live-stats-2 .ls-num { font-size: 56px; }
.live-stats-2 .ls-lbl { font-size: 14px; margin-top: 10px; }
.live-stat { text-align: center; color: #fff; }
.ls-num {
    font-size: 38px; font-weight: 800; line-height: 1;
    letter-spacing: -0.02em;
}
.ls-lbl {
    font-size: 13px; margin-top: 6px; opacity: 0.92;
    text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
}

/* Seksyon titre */
.section-title {
    font-size: 34px; text-align: center; margin: 0 0 10px;
    letter-spacing: -0.025em;
}
.section-sub {
    text-align: center; color: var(--text-soft);
    margin: 0 auto 36px; max-width: 560px; font-size: 16px;
}

/* Platfòm */
.platforms { margin-bottom: 72px; }
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}
.platform-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 16px 10px; text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    text-decoration: none; color: var(--text);
}
.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15,23,42,0.08);
    border-color: rgba(30, 0, 238, 0.2);
}
.platform-card img {
    width: 36px; height: 36px;
    transition: transform .2s ease;
}
.platform-card:hover img { transform: scale(1.1); }
.platform-card span { font-size: 14px; font-weight: 600; color: var(--text); }

/* Kijan li mache */
.how-it-works { margin-bottom: 72px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px; position: relative;
    transition: transform .15s ease, box-shadow .15s ease;
}
.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15,23,42,0.08);
}
.step-num {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-blue));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 19px; font-weight: 800; margin-bottom: 16px;
}
.step-card h3 { margin: 0 0 8px; font-size: 18px; }
.step-card p { margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.6; }

/* Poukisa nou */
.why-us { margin-bottom: 72px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px;
    transition: transform .15s ease, box-shadow .15s ease;
}
.why-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15,23,42,0.08);
}
.why-ico { font-size: 32px; margin-bottom: 10px; }
.why-card h3 { margin: 0 0 6px; font-size: 17px; }
.why-card p { margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.6; }

/* CTA final */
.final-cta {
    text-align: center; padding: 64px 32px;
    background: linear-gradient(135deg, rgba(255,49,49,0.06), rgba(30,0,238,0.06));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg); margin-bottom: 24px;
}
.final-cta h2 {
    font-size: 32px; margin: 0 0 12px; letter-spacing: -0.02em;
}
.final-cta p { color: var(--text-soft); margin: 0 0 24px; font-size: 16px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 18px; border-radius: 10px;
    font-weight: 600; font-size: 14px; cursor: pointer;
    border: 1px solid transparent;
    background: var(--brand-blue); color: #fff;
    transition: all .15s ease;
    line-height: 1.2;
    font-family: inherit;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand-red); color: #fff; }
.btn-primary:hover { background: var(--brand-red-d); box-shadow: 0 8px 20px rgba(255, 49, 49, 0.30); }
.btn-danger { background: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg); border-color: var(--text); }
.btn-light { background: #f1f5f9; color: var(--text); border: 1px solid var(--border); }
.btn-light:hover { background: #e2e8f0; }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 12px; }

/* ---------- Forms ---------- */
label {
    display: block; margin: 14px 0 6px;
    font-weight: 500; color: var(--text); font-size: 14px;
}
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="url"], input[type="search"], select, textarea {
    width: 100%;
    padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px;
    font-family: inherit; font-size: 15px; background: #fff;
    transition: border-color .12s ease, box-shadow .12s ease;
    color: var(--text);
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(30,0,238,0.12);
}
textarea { resize: vertical; min-height: 80px; }

.inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Toggle wè modpas (ikòn je) */
.pwd-wrap {
    position: relative;
    display: block;
    width: 100%;
}
.pwd-wrap input[type="password"],
.pwd-wrap input[type="text"] {
    padding-right: 44px;
}
.pwd-eye {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    width: 36px; height: 36px;
    color: var(--text-soft);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    transition: background .15s ease, color .15s ease;
    padding: 0;
}
.pwd-eye:hover { background: var(--bg); color: var(--brand-blue); }
.pwd-eye:focus { outline: none; color: var(--brand-blue); }
.inline-form input, .inline-form select { width: auto; flex: 1 1 140px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Auth (login/register) ---------- */
.auth-wrap { display: flex; justify-content: center; padding: 30px 0; }
.auth-card { max-width: 420px; width: 100%; }
.auth-foot { margin: 16px 0 0; text-align: center; color: var(--text-soft); font-size: 14px; }

/* ---------- Alerts ---------- */
.alert {
    padding: 12px 16px; border-radius: 10px; margin-bottom: 16px;
    border: 1px solid var(--border); font-size: 14px;
}
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.alert-error   { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.alert-warn    { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.alert-info    { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }

/* ---------- Stats grid (dashboard) ---------- */
.stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px; margin-bottom: 24px;
}
.stat-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm);
}
.stat-card .stat-label { color: var(--text-soft); font-size: 13px; margin-bottom: 6px; font-weight: 500; }
.stat-card .stat-value { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.stat-card.stat-primary {
    background: linear-gradient(135deg, var(--brand-red), var(--brand-blue));
    color: #fff; border-color: transparent;
}
.stat-primary .stat-label { color: rgba(255,255,255,0.85); }
.stat-primary .btn-light { background: rgba(255,255,255,0.18); color: #fff; border-color: transparent; margin-top: 8px; }
.stat-primary .btn-light:hover { background: rgba(255,255,255,0.28); }
.stat-card.stat-alert {
    border-color: var(--brand-red);
    background: linear-gradient(135deg, #fff, #fff5f5);
    box-shadow: 0 4px 12px rgba(255, 49, 49, 0.15);
}
.stat-card.stat-alert .stat-value { color: var(--brand-red); }
.stat-card.stat-alert::after {
    content: ''; position: absolute;
    top: 12px; right: 12px;
    width: 8px; height: 8px;
    background: var(--brand-red); border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 49, 49, 0.2);
    animation: pulse 1.5s infinite;
}
.stat-card { position: relative; }
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.4); opacity: 0.6; }
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.table {
    width: 100%; border-collapse: collapse; font-size: 14px;
}
.table th, .table td {
    padding: 12px 14px; border-bottom: 1px solid var(--border);
    text-align: left; vertical-align: middle;
}
.table th { background: #f8fafc; color: var(--text-soft); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.table tr:hover td { background: #fafbfd; }
.table .actions-cell { white-space: nowrap; }
.table .td-link { max-width: 180px; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Bar pwogrè pa kòmand ---------- */
.op-progress {
    position: relative;
    display: inline-block;
    min-width: 140px;
    height: 26px;
    background: #f1f5f9;
    border-radius: 99px;
    overflow: hidden;
    border: 1px solid var(--border);
    vertical-align: middle;
}
.op-bar-fill {
    position: absolute; left: 0; top: 0; bottom: 0;
    height: 100%;
    border-radius: 99px;
    transition: width .5s ease;
}
.op-label {
    position: relative;
    z-index: 2;
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 24px;
    padding: 0 10px;
    color: var(--text);
    white-space: nowrap;
}

.op-completed .op-bar-fill    { background: linear-gradient(90deg, #10b981, #059669); }
.op-completed .op-label       { color: #fff; }

.op-progress-blue .op-bar-fill { background: linear-gradient(90deg, #3b82f6, var(--brand-blue)); }
.op-progress-blue .op-label    { color: #1e3a8a; }

.op-partial .op-bar-fill      { background: linear-gradient(90deg, #fbbf24, #d97706); }
.op-partial .op-label         { color: #78350f; }

.op-canceled .op-bar-fill     { background: #fee2e2; }
.op-canceled .op-label        { color: #b91c1c; }
.op-canceled                  { background: #fef2f2; border-color: #fecaca; }

.op-pending .op-bar-fill      { background: #fef3c7; }
.op-pending .op-label         { color: #92400e; }
.op-pending                   { background: #fffbeb; border-color: #fde68a; }

/* ---------- Badges ---------- */
.badge {
    display: inline-block; padding: 4px 10px; border-radius: 99px;
    font-size: 12px; font-weight: 600;
    background: #f1f5f9; color: var(--text-soft);
}
.badge-pending   { background: #fef3c7; color: #92400e; }
.badge-completed { background: #d1fae5; color: #047857; }
.badge-progress  { background: #dbeafe; color: #1d4ed8; }
.badge-canceled  { background: #fee2e2; color: #b91c1c; }
.badge-refunded  { background: #ede9fe; color: #6d28d9; }

/* ---------- Svc info / order total ---------- */
.svc-info {
    display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
    margin-top: 8px; color: var(--text-soft); font-size: 13px;
}

/* Detay sèvis box (parsed nan non JAP la) */
.svc-desc-box {
    margin: 12px 0;
    padding: 14px;
    background: linear-gradient(135deg, rgba(30,0,238,0.04), rgba(255,49,49,0.03));
    border: 1px solid var(--border);
    border-left: 4px solid var(--brand-blue);
    border-radius: 10px;
}
.svc-desc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}
.svc-desc-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
}
.svc-desc-item .sd-label {
    display: block;
    font-size: 11px; color: var(--text-soft);
    text-transform: uppercase; letter-spacing: .04em;
    margin-bottom: 4px;
    font-weight: 600;
}
.svc-desc-item .sd-value {
    display: block;
    font-size: 14px; color: var(--text);
    font-weight: 600;
    word-break: break-word;
}
.svc-desc-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-blue));
    color: #fff;
    padding: 6px 12px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    grid-column: 1 / -1;
    justify-self: start;
}

/* Tan livrezon box */
.svc-time-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin: 12px 0;
    padding: 12px;
    background: linear-gradient(135deg, rgba(30,0,238,0.04), rgba(255,49,49,0.04));
    border: 1px solid var(--border);
    border-radius: 10px;
}
.svc-time-row {
    display: flex; align-items: center; gap: 10px;
}
.svc-time-ico { font-size: 22px; flex-shrink: 0; }
.svc-time-lbl {
    font-size: 11px; color: var(--text-soft);
    text-transform: uppercase; letter-spacing: .05em; font-weight: 600;
}
.svc-time-val { font-size: 14px; font-weight: 600; color: var(--text); }
.order-total {
    display: flex; justify-content: space-between; align-items: center;
    margin: 18px 0; padding: 16px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,49,49,0.06), rgba(30,0,238,0.06));
    border: 1px dashed var(--brand-blue);
    font-size: 17px;
}
.order-total strong { font-size: 22px; color: var(--brand-red); }

/* ---------- Filter bar ---------- */
.filter-bar { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.filter-bar input, .filter-bar select { flex: 1; min-width: 160px; }

.empty-state { text-align: center; color: var(--text-soft); padding: 32px; }

/* ---------- Phone input ak selèktè peyi ---------- */
.phone-input {
    position: relative;
    display: flex; gap: 8px;
    margin: 6px 0 2px;
}
.phone-country {
    display: flex; align-items: center; gap: 6px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0 14px;
    height: 44px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px; font-weight: 600;
    color: var(--text);
    transition: border-color .12s ease, box-shadow .12s ease;
    flex-shrink: 0;
}
.phone-country:hover {
    border-color: var(--brand-blue);
    background: var(--bg);
}
.phone-flag { font-size: 22px; line-height: 1; }
.phone-code { font-variant-numeric: tabular-nums; }
.phone-caret { font-size: 10px; color: var(--text-soft); }

.phone-input input[type="tel"] {
    flex: 1; min-width: 0;
    width: auto;
    margin: 0;
    height: 44px;
    padding-top: 0; padding-bottom: 0;
}

.phone-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    max-height: 280px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15,23,42,0.12);
    z-index: 30;
    overflow: hidden;
    display: flex; flex-direction: column;
}
.phone-dropdown[hidden] { display: none; }
.phone-search {
    width: 100% !important;
    border: 0 !important;
    border-bottom: 1px solid var(--border) !important;
    border-radius: 0 !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
}
.phone-search:focus { box-shadow: none !important; border-bottom-color: var(--brand-blue) !important; }
.phone-list {
    list-style: none;
    margin: 0; padding: 4px 0;
    overflow-y: auto;
    flex: 1;
}
.phone-list li {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background .12s ease;
}
.phone-list li:hover { background: var(--bg); }
.ph-li-flag { font-size: 20px; }
.ph-li-name { flex: 1; font-size: 14px; }
.ph-li-code { color: var(--text-soft); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Required / Optional markers ---------- */
.req { color: var(--brand-red); font-weight: 700; }
.opt { color: var(--text-soft); font-weight: 400; font-size: 12px; }

/* ---------- Bar pwogrè (admin external orders) ---------- */
.progress-card { border-left: 4px solid var(--brand-blue); }
.progress-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 8px;
}
.progress-stat {
    background: var(--bg);
    padding: 14px;
    border-radius: 10px;
    text-align: center;
}
.ps-label {
    font-size: 11px; color: var(--text-soft);
    text-transform: uppercase; letter-spacing: .05em; font-weight: 600;
    margin-bottom: 4px;
}
.ps-value {
    font-size: 26px; font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}
.progress-bar {
    background: #e5e7f0;
    height: 14px;
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}
.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
    border-radius: 99px;
    transition: width .5s ease;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.3);
}

/* ---------- Pay methods (depo) ---------- */
.pay-methods {
    display: grid; gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 12px;
}
.pay-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform .15s ease, box-shadow .15s ease;
}
.pay-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15,23,42,0.08);
}
.pay-head {
    display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.pay-logo {
    width: 40px; height: 40px; border-radius: 10px;
    color: #fff; font-weight: 800; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.pay-logo-img {
    width: 48px; height: 48px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(15,23,42,0.1);
}
.pay-title { font-size: 16px; font-weight: 700; color: var(--text); }
.pay-sub   { font-size: 12px; color: var(--text-soft); margin-top: 2px; }
.pay-num {
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px;
    background: var(--bg);
    border-radius: 10px;
    padding: 10px 12px;
}
.pay-num .mono { font-size: 15px; font-weight: 600; }
.pay-copy {
    background: var(--brand-blue);
    color: #fff;
    border: 0; border-radius: 8px;
    padding: 6px 14px; font-size: 12px; font-weight: 600;
    cursor: pointer;
    transition: background .15s ease;
    flex-shrink: 0;
}
.pay-copy:hover { background: var(--brand-blue-d); }
.pay-rows {
    display: grid; gap: 6px;
    font-size: 13px;
    background: var(--bg);
    padding: 10px 12px;
    border-radius: 10px;
}
.pay-rows > div {
    display: flex; justify-content: space-between; gap: 8px;
    padding: 4px 0;
    border-bottom: 1px dashed var(--border);
}
.pay-rows > div:last-child { border-bottom: none; }
.pay-rows span:first-child { color: var(--text-soft); }
.pay-rows strong, .pay-rows .mono { color: var(--text); font-weight: 600; }

.pay-note {
    background: #fef3c7;
    border: 1px solid #fde68a;
    color: #92400e;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 10px;
}
.pay-note strong { color: #78350f; }

/* ---------- Hello row + Balance card sou dashboard ---------- */
.hello-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; margin-bottom: 24px; flex-wrap: wrap;
}
.balance-card {
    background: linear-gradient(135deg, var(--brand-red), var(--brand-blue));
    color: #fff; padding: 18px 22px; border-radius: 14px;
    min-width: 220px;
    box-shadow: 0 12px 30px rgba(30, 0, 238, 0.18);
}
.balance-card .balance-lbl {
    font-size: 12px; opacity: 0.92;
    text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
    margin-bottom: 4px;
}
.balance-card .balance-val {
    font-size: 28px; font-weight: 800; letter-spacing: -0.02em;
    margin-bottom: 10px;
}
.balance-card .btn-light {
    background: rgba(255,255,255,0.2); color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.balance-card .btn-light:hover { background: rgba(255,255,255,0.3); }

@media (max-width: 600px) {
    .hello-row { flex-direction: column; align-items: stretch; }
    .balance-card { min-width: 0; }
}

/* ---------- Platfòm grid (paj nouvo kòmand) ---------- */
.pf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
    margin-top: 14px;
}
.pf-tile {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 14px;
    text-align: center;
    color: var(--text);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    cursor: pointer;
    text-decoration: none !important;
}
.pf-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(15,23,42,0.10);
    border-color: rgba(30, 0, 238, 0.3);
}
.pf-tile img {
    width: 42px; height: 42px;
    transition: transform .15s ease;
}
.pf-tile:hover img { transform: scale(1.1); }
.pf-tile-letter {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-blue));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 14px;
    text-transform: uppercase;
}
.pf-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}
.pf-count {
    font-size: 11px;
    color: var(--text-soft);
    background: var(--bg);
    padding: 2px 8px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.back-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    font-size: 18px; font-weight: 600;
    margin-right: 4px;
    transition: background .15s ease;
}
.back-link:hover { background: var(--border); text-decoration: none; }

@media (max-width: 480px) {
    .pf-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .pf-tile { padding: 16px 10px; }
    .pf-tile img, .pf-tile-letter { width: 36px; height: 36px; }
    .pf-name { font-size: 13px; }
    .pf-count { font-size: 10px; }
}

/* ---------- Dropzone / Upload zòn pwofesyonèl ---------- */
.upload-dropzone {
    position: relative;
    border: 2px dashed var(--border);
    border-radius: 14px;
    background: linear-gradient(135deg, #fafbff 0%, #f4f6fd 100%);
    padding: 28px 20px;
    margin: 6px 0 12px;
    cursor: pointer;
    transition: all .2s ease;
    text-align: center;
    overflow: hidden;
}
.upload-dropzone:hover {
    border-color: var(--brand-blue);
    background: linear-gradient(135deg, rgba(30,0,238,0.03), rgba(255,49,49,0.03));
}
.upload-dropzone.drag-over {
    border-color: var(--brand-red);
    border-style: solid;
    background: linear-gradient(135deg, rgba(255,49,49,0.06), rgba(30,0,238,0.06));
    transform: scale(1.01);
}
.upload-dropzone.has-file {
    border-style: solid;
    border-color: #10b981;
    background: #fff;
    padding: 12px;
    text-align: left;
}
.upload-dropzone input[type="file"] {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.upload-dropzone.has-file input[type="file"] {
    pointer-events: none;
}

.dz-empty {
    display: flex; flex-direction: column;
    align-items: center; gap: 8px;
}
.dz-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,49,49,0.12), rgba(30,0,238,0.12));
    color: var(--brand-blue);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 4px;
}
.dz-title {
    font-size: 15px; font-weight: 600; color: var(--text);
}
.grad-text {
    background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dz-sub {
    font-size: 12px; color: var(--text-soft);
}

.dz-preview {
    display: flex; align-items: center; gap: 12px;
}
.dz-preview img {
    width: 96px; height: 96px;
    object-fit: cover; border-radius: 10px;
    border: 1px solid var(--border);
    flex-shrink: 0;
}
.dz-preview-info {
    flex: 1; min-width: 0;
    display: flex; align-items: center; gap: 8px;
}
.dz-file-name {
    flex: 1; min-width: 0;
    font-size: 13px; color: var(--text);
    font-weight: 500;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dz-remove {
    background: #fee2e2; color: #b91c1c; border: 0;
    width: 32px; height: 32px; border-radius: 50%;
    font-size: 22px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background .15s ease;
    z-index: 3;
    position: relative;
}
.dz-remove:hover { background: #fecaca; }

@media (max-width: 480px) {
    .upload-dropzone { padding: 22px 14px; }
    .dz-icon { width: 52px; height: 52px; }
    .dz-icon svg { width: 36px; height: 36px; }
    .dz-title { font-size: 14px; }
    .dz-preview img { width: 72px; height: 72px; }
}
.cat-title { margin-top: 28px; padding-bottom: 8px; border-bottom: 2px solid var(--brand-red); color: var(--text); font-size: 17px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.paymeth-list { list-style: none; padding: 0; margin: 0; }
.paymeth-list li { padding: 10px 0; border-bottom: 1px solid var(--border); }

/* ---------- Mobile Cards (services + orders) ---------- */
.show-mobile { display: none !important; }
.hide-mobile { display: block; }

.svc-cards, .order-cards { gap: 12px; }
.hide-mobile.table-wrap { display: block; }
.svc-card, .order-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-sm);
}
.svc-card-head, .order-card-head {
    display: flex; justify-content: space-between; align-items: center;
    gap: 8px; margin-bottom: 8px;
}
.svc-card-id, .order-card-id {
    color: var(--text-soft); font-size: 12px; font-weight: 600;
}
.svc-card-price {
    font-size: 18px; font-weight: 800; color: var(--brand-red);
    letter-spacing: -0.01em;
}
.svc-card-price small { color: var(--text-soft); font-weight: 500; font-size: 12px; }
.svc-card-name, .order-card-name {
    font-weight: 600; font-size: 15px; margin-bottom: 8px;
    line-height: 1.3;
}
.svc-card-meta {
    display: flex; gap: 14px; flex-wrap: wrap;
    color: var(--text-soft); font-size: 13px; margin-bottom: 8px;
}
.svc-card-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.order-card-rows {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px;
    margin-bottom: 10px; font-size: 13px;
}
.order-card-rows > div {
    display: flex; justify-content: space-between; gap: 6px;
    border-bottom: 1px dashed var(--border); padding-bottom: 4px;
}
.order-card-rows span { color: var(--text-soft); }
.order-card-rows strong { color: var(--text); font-weight: 600; }
.order-card-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.order-card-actions form { flex: 1; min-width: 90px; }
.order-card-actions .btn { width: 100%; }

/* ============================================================
   RESPONSIVE — Tablèt
============================================================ */
@media (max-width: 1100px) and (min-width: 1025px) {
    .hero-pro { padding: 48px 36px; gap: 24px; }
    .hero-title { font-size: 42px; }
    .platforms-grid { grid-template-columns: repeat(4, 1fr); }
    .steps-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — Telefòn / mobil (≤ 1024px pou bay nav drawer pou tablèt tou)
============================================================ */
@media (max-width: 1024px) {
    .container { padding: 0 16px; }

    /* ----- NAV mobil — Drawer absolute relative to .site-header ----- */
    .header-inner {
        height: 60px;
        gap: 12px;
    }
    .brand {
        gap: 8px;
        min-width: 0;
        flex: 1 1 auto;
    }
    .brand-logo { width: 32px; height: 32px; flex-shrink: 0; }
    .brand-name {
        font-size: 15px;
        min-width: 0;
        max-width: 100%;
    }
    .nav-toggle {
        display: flex !important;
        width: 44px; height: 44px;
        flex-shrink: 0;
        padding: 12px;
    }

    /* Drawer absolute: parèt jis anba .header-inner */
    .site-nav {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: #fff !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        padding: 12px 16px 20px !important;
        flex-wrap: nowrap !important;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 24px rgba(15,23,42,0.10);
        z-index: 49;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    body.nav-open .site-nav { display: flex !important; }
    .site-nav > a {
        padding: 14px 16px !important;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 500;
        color: var(--text-soft);
        background: transparent;
        border-bottom: 1px solid var(--border);
        width: 100%;
        display: block;
    }
    .site-nav > a:last-of-type { border-bottom: none; }
    .site-nav > a.active {
        background: rgba(255, 49, 49, 0.08);
        color: var(--brand-red);
        border-bottom-color: transparent;
    }
    .site-nav > a.btn {
        padding: 14px 16px !important;
        font-size: 15px;
        justify-content: center;
        width: 100%;
        margin-top: 8px;
        border-bottom: 0;
        text-align: center;
    }
    .site-nav > a.btn-primary {
        background: var(--brand-red) !important; color: #fff !important;
    }
    .nav-balance {
        align-self: stretch;
        font-size: 14px;
        padding: 10px 16px;
        margin: 8px 0;
        text-align: center;
    }

    /* ----- HERO ----- */
    .hero-pro {
        padding: 28px 20px !important;
        border-radius: 18px !important;
        margin-bottom: 36px;
    }
    .hero-art-top {
        gap: 10px !important;
        margin-bottom: 28px !important;
        flex-wrap: wrap;
        justify-content: center;
    }
    .growth-card {
        width: 100% !important;
        max-width: 320px !important;
        animation: none !important;
        transform: none !important;
        padding: 14px 16px !important;
        margin: 0 !important;
    }
    .growth-card-2 { margin: 0 !important; transform: none !important; }
    .gc-num { font-size: 22px !important; }

    .hero-badge { font-size: 12px; padding: 6px 12px; margin-bottom: 16px; }
    .hero-title { font-size: 30px !important; line-height: 1.15; margin-bottom: 14px; }
    .hero-sub { font-size: 15px; margin-bottom: 20px; }
    .hero-actions { flex-direction: column; gap: 10px; margin-bottom: 18px; }
    .hero-actions .btn { width: 100%; padding: 14px 20px; }
    .hero-trust { gap: 12px; font-size: 13px; }

    /* ----- LIVE STATS ----- */
    .live-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important; padding: 24px 20px !important;
        border-radius: 16px;
        margin-bottom: 44px;
    }
    .ls-num { font-size: 28px !important; }
    .ls-lbl { font-size: 11px; letter-spacing: .05em; }
    .live-stats-2 { padding: 32px 20px !important; }
    .live-stats-2 .ls-num { font-size: 38px !important; }
    .live-stats-2 .ls-lbl { font-size: 12px; }

    /* ----- SECTIONS ----- */
    .section-title { font-size: 24px !important; }
    .section-sub { font-size: 14px; padding: 0 8px; margin-bottom: 24px; }

    .platforms-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 10px; }
    .platform-card { padding: 14px 10px; gap: 8px; }
    .platform-card img { width: 28px; height: 28px; }
    .platform-card span { font-size: 12px; }

    .steps-grid, .why-grid { grid-template-columns: 1fr !important; gap: 12px; }
    .step-card, .why-card { padding: 20px; }
    .step-num { width: 38px; height: 38px; font-size: 16px; border-radius: 10px; }
    .step-card h3, .why-card h3 { font-size: 16px; }

    .final-cta { padding: 40px 20px; border-radius: 16px; }
    .final-cta h2 { font-size: 22px !important; }
    .final-cta p { font-size: 14px; margin-bottom: 18px; }

    .how-it-works, .why-us, .platforms { margin-bottom: 44px !important; }

    /* ----- PAJ ENTÈN ----- */
    .page-title { font-size: 22px; margin-bottom: 18px; }
    .card { padding: 16px; border-radius: 12px; margin-bottom: 14px; }
    .card-head { flex-direction: column; align-items: stretch; gap: 8px; }
    .cat-title { font-size: 14px; }

    .table { font-size: 13px; }
    .table th, .table td { padding: 8px 6px; }

    .show-mobile { display: grid !important; }
    .svc-cards.show-mobile, .order-cards.show-mobile { display: grid !important; }
    .hide-mobile { display: none !important; }

    .filter-bar { flex-direction: column; }
    .filter-bar input, .filter-bar select, .filter-bar button { width: 100%; }

    .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-card { padding: 16px; }
    .stat-card .stat-value { font-size: 20px; }

    .order-total { font-size: 15px; padding: 14px; }
    .order-total strong { font-size: 19px; }

    .grid-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — Telefòn piti (≤ 480px)
============================================================ */
@media (max-width: 480px) {
    .container { padding: 0 12px; }

    .hero-pro { padding: 24px 16px !important; }
    .hero-badge { font-size: 11px; padding: 5px 10px; }
    .hero-title { font-size: 26px !important; }
    .hero-sub { font-size: 14px; }
    .hero-trust { gap: 8px; font-size: 12px; flex-direction: column; align-items: center; }
    .growth-card { max-width: 100% !important; padding: 12px 14px !important; }
    .gc-num { font-size: 20px !important; }
    .gc-platform { width: 24px; height: 24px; }

    .live-stats { padding: 20px 16px !important; gap: 8px !important; }
    .live-stats-2 .ls-num { font-size: 32px !important; }
    .ls-lbl { font-size: 10px; }

    .platforms-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .platform-card { padding: 16px 10px; }

    .section-title { font-size: 20px !important; }
    .final-cta { padding: 32px 16px; }
    .final-cta h2 { font-size: 20px !important; }

    .step-card, .why-card { padding: 16px; }
    .order-card-rows { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }

    .btn-lg { padding: 12px 18px; font-size: 15px; }
}

/* ===================== SÈVIS DISPONIB — ANIMASYON ===================== */
.service-types-anim {
    margin: 28px auto 36px;
    padding: 32px 20px;
    max-width: 1100px;
    text-align: center;
    background: linear-gradient(135deg, rgba(30, 0, 238, 0.04), rgba(255, 49, 49, 0.04));
    border-radius: 20px;
    border: 1px solid rgba(30, 0, 238, 0.08);
}

.sta-intro {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    font-size: clamp(18px, 2.4vw, 26px);
    font-weight: 800;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 24px;
}

.sta-pre { white-space: nowrap; }

.sta-rotator {
    display: inline-block;
    height: 1.4em;
    overflow: hidden;
    vertical-align: bottom;
    position: relative;
    min-width: 220px;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 25%, #000 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 25%, #000 75%, transparent 100%);
}

.sta-rotator .sta-word {
    display: block;
    height: 1.4em;
    line-height: 1.4em;
    font-weight: 900;
    background: linear-gradient(90deg, #FF3131, #1E00EE);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: staRotate 22.5s steps(15) infinite;
    white-space: nowrap;
}

@keyframes staRotate {
    0%, 6%   { transform: translateY(0); }
    6.66%, 13% { transform: translateY(-1.4em); }
    13.33%, 19.66% { transform: translateY(-2.8em); }
    20%, 26.33% { transform: translateY(-4.2em); }
    26.66%, 33% { transform: translateY(-5.6em); }
    33.33%, 39.66% { transform: translateY(-7em); }
    40%, 46.33% { transform: translateY(-8.4em); }
    46.66%, 53% { transform: translateY(-9.8em); }
    53.33%, 59.66% { transform: translateY(-11.2em); }
    60%, 66.33% { transform: translateY(-12.6em); }
    66.66%, 73% { transform: translateY(-14em); }
    73.33%, 79.66% { transform: translateY(-15.4em); }
    80%, 86.33% { transform: translateY(-16.8em); }
    86.66%, 93% { transform: translateY(-18.2em); }
    93.33%, 100% { transform: translateY(-19.6em); }
}

.sta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.sta-tag {
    display: inline-block;
    padding: 10px 16px;
    background: #fff;
    border: 1.5px solid rgba(30, 0, 238, 0.12);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    box-shadow: 0 2px 8px rgba(30, 0, 238, 0.06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    opacity: 0;
    animation: staFadeIn .6s ease forwards;
}

.sta-tag:nth-child(1)  { animation-delay: .05s; }
.sta-tag:nth-child(2)  { animation-delay: .12s; }
.sta-tag:nth-child(3)  { animation-delay: .19s; }
.sta-tag:nth-child(4)  { animation-delay: .26s; }
.sta-tag:nth-child(5)  { animation-delay: .33s; }
.sta-tag:nth-child(6)  { animation-delay: .40s; }
.sta-tag:nth-child(7)  { animation-delay: .47s; }
.sta-tag:nth-child(8)  { animation-delay: .54s; }
.sta-tag:nth-child(9)  { animation-delay: .61s; }
.sta-tag:nth-child(10) { animation-delay: .68s; }
.sta-tag:nth-child(11) { animation-delay: .75s; }
.sta-tag:nth-child(12) { animation-delay: .82s; }
.sta-tag:nth-child(13) { animation-delay: .89s; }
.sta-tag:nth-child(14) { animation-delay: .96s; }

.sta-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(30, 0, 238, 0.14);
    border-color: rgba(30, 0, 238, 0.3);
}

@keyframes staFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .service-types-anim {
        margin: 20px 12px 28px;
        padding: 24px 14px;
        border-radius: 16px;
    }
    .sta-intro { font-size: 16px; gap: 6px; margin-bottom: 18px; }
    .sta-rotator { min-width: 160px; }
    .sta-tag { padding: 8px 12px; font-size: 12px; }
    .sta-tags { gap: 7px; }
}

/* ===================== SEKIRITE / RASIRE KLIYAN ===================== */
.safety-section {
    margin: 0 auto 72px;
    max-width: 1100px;
    padding: 48px 32px;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(16,185,129,0.08), transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(30,0,238,0.06), transparent 50%),
        #fff;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 6px 28px rgba(15,23,42,0.04);
}

.safety-header { text-align: center; margin-bottom: 36px; }

.safety-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(16,185,129,0.25);
}

.safety-header h2 .grad {
    background: linear-gradient(90deg, #10b981, #059669);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.safety-header em {
    font-style: italic;
    color: var(--text-soft);
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.safety-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px 20px;
    text-align: left;
    transition: transform .2s ease, box-shadow .2s ease;
    border-top: 3px solid #10b981;
}

.safety-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(16,185,129,0.12);
}

.safety-ico {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 10px;
}

.safety-card h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 8px;
    line-height: 1.3;
}

.safety-card p {
    font-size: 13.5px;
    color: var(--text-soft);
    line-height: 1.55;
    margin: 0;
}

.safety-card code {
    background: rgba(30,0,238,0.06);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 11.5px;
    color: var(--brand-blue);
    font-family: monospace;
}

.safety-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-top: 8px;
}

.safety-pill {
    display: inline-block;
    padding: 8px 14px;
    background: rgba(16,185,129,0.08);
    color: #047857;
    border: 1.5px solid rgba(16,185,129,0.2);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 600px) {
    .safety-section {
        margin: 0 12px 48px;
        padding: 32px 18px;
        border-radius: 18px;
    }
    .safety-header { margin-bottom: 24px; }
    .safety-badge { font-size: 11.5px; padding: 6px 12px; margin-bottom: 10px; }
    .safety-header h2 { font-size: 22px !important; }
    .safety-header p { font-size: 13.5px; }
    .safety-grid { grid-template-columns: 1fr; gap: 12px; margin-bottom: 22px; }
    .safety-card { padding: 16px 14px; border-radius: 14px; }
    .safety-ico { font-size: 26px; margin-bottom: 6px; }
    .safety-card h3 { font-size: 14px; }
    .safety-card p { font-size: 12.5px; }
    .safety-foot { gap: 7px; }
    .safety-pill { font-size: 11.5px; padding: 6px 11px; }
}

/* ===================== MONETIZE KONT OU ===================== */
.monetize-section {
    margin: 0 auto 72px;
    max-width: 1100px;
    padding: 0;
}
.monetize-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: center;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(255,49,49,0.10), transparent 50%),
        radial-gradient(ellipse at 0% 100%, rgba(30,0,238,0.10), transparent 50%),
        linear-gradient(135deg, #fff, #fafbff);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 6px 28px rgba(15,23,42,0.05);
}
.monetize-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(245,158,11,0.3);
}
.monetize-left .grad {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.monetize-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}
.monetize-list li {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 13.5px;
    color: var(--text-soft);
    line-height: 1.5;
}
.monetize-list li:last-child { border-bottom: 0; }
.monetize-list li strong { color: var(--text); }
.mz-txt {
    flex: 1 1 200px;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.mz-pill {
    display: inline-block;
    padding: 3px 9px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-blue));
    color: #fff;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
    flex-shrink: 0;
    margin-top: 2px;
    white-space: nowrap;
}
.monetize-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}
.monetize-cta-wrap .btn { width: auto; }
.monetize-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.mz-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(15,23,42,0.04);
    transition: transform .2s ease, box-shadow .2s ease;
}
.mz-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(245,158,11,0.15);
}
.mz-stat-ico {
    font-size: 32px;
    line-height: 1;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(239,68,68,0.12));
    border-radius: 14px;
    flex-shrink: 0;
}
.mz-stat-num {
    font-size: 22px;
    font-weight: 900;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 2px;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.mz-stat-lbl {
    font-size: 12px;
    color: var(--text-soft);
    font-weight: 600;
}

@media (max-width: 860px) {
    .monetize-inner { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
    .monetize-right { flex-direction: row; flex-wrap: wrap; gap: 10px; }
    .mz-stat { flex: 1 1 calc(50% - 10px); min-width: 0; }
}

@media (max-width: 600px) {
    .monetize-section { margin: 0 12px 48px; }
    .monetize-inner { padding: 22px 18px; border-radius: 18px; }
    .monetize-badge { font-size: 11.5px; padding: 5px 11px; margin-bottom: 10px; }
    .monetize-left h2 { font-size: 22px !important; }
    .monetize-left p { font-size: 13.5px; }
    .monetize-list li { font-size: 12.5px; padding: 8px 0; gap: 8px; }
    .mz-pill { font-size: 9.5px; padding: 2px 7px; }
    .monetize-right { flex-direction: column; gap: 10px; }
    .mz-stat { padding: 14px; flex: 1 1 auto; }
    .mz-stat-ico { width: 44px; height: 44px; font-size: 26px; border-radius: 12px; }
    .mz-stat-num { font-size: 18px; }
    .mz-stat-lbl { font-size: 11.5px; }
}

/* ===================== PAJ ÈD / GID KONPLÈ ===================== */
.help-page { max-width: 1100px; margin: 0 auto 64px; }

.help-hero {
    text-align: center;
    padding: 40px 24px 36px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(30,0,238,0.08), transparent 60%),
        #fff;
    border-radius: 24px;
    border: 1px solid var(--border);
    margin-bottom: 32px;
}
.help-badge {
    display: inline-block;
    padding: 7px 15px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-blue));
    color: #fff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}
.help-hero h1 {
    font-size: clamp(24px, 4vw, 36px);
    margin: 0 0 12px;
    line-height: 1.2;
}
.help-hero p {
    font-size: 15px;
    color: var(--text-soft);
    max-width: 640px;
    margin: 0 auto 16px;
    line-height: 1.6;
}
.help-search-hint {
    display: inline-block;
    font-size: 13px;
    color: var(--brand-blue);
    font-weight: 600;
}

.help-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    align-items: start;
}

/* TOC sticky */
.help-toc {
    position: sticky;
    top: 90px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
}
.help-toc-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-soft);
    margin-bottom: 12px;
}
.help-toc nav { display: flex; flex-direction: column; gap: 2px; }
.help-toc a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--text);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.help-toc a:hover { background: rgba(30,0,238,0.04); }
.help-toc a.active {
    background: rgba(30,0,238,0.06);
    border-left-color: var(--brand-blue);
    color: var(--brand-blue);
    font-weight: 700;
}

/* Kontni */
.help-content { min-width: 0; }
.help-section { margin-bottom: 36px; scroll-margin-top: 90px; }
.help-h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    margin: 0 0 18px;
}
.help-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-blue));
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
}

.help-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
}
.help-item summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 48px 16px 18px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    position: relative;
    user-select: none;
}
.help-item summary::-webkit-details-marker { display: none; }
.help-item summary::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 400;
    color: var(--brand-blue);
    transition: transform .2s ease;
}
.help-item[open] summary::after { content: '−'; }
.help-item[open] summary { border-bottom: 1px solid var(--border); }
.help-body {
    padding: 16px 18px;
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.65;
}
.help-body p { margin: 0 0 10px; }
.help-body p:last-child { margin-bottom: 0; }
.help-body a { color: var(--brand-blue); font-weight: 600; }
.help-body code {
    background: rgba(30,0,238,0.06);
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 12.5px;
    color: var(--brand-blue);
    font-family: monospace;
    word-break: break-all;
}
.help-steps, .help-list { margin: 0 0 10px; padding-left: 22px; }
.help-steps li, .help-list li { margin-bottom: 8px; }
.help-steps li:last-child, .help-list li:last-child { margin-bottom: 0; }
.help-body strong { color: var(--text); }

.help-tip, .help-warn {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    line-height: 1.55;
}
.help-tip { background: rgba(30,0,238,0.05); border-left: 3px solid var(--brand-blue); }
.help-warn { background: rgba(245,158,11,0.08); border-left: 3px solid #f59e0b; }

/* Diksyonè */
.help-glossary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}
.gloss-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
}
.gloss-item strong {
    display: block;
    font-size: 14px;
    color: var(--brand-blue);
    margin-bottom: 4px;
}
.gloss-item span {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.5;
}

/* CTA */
.help-cta {
    text-align: center;
    padding: 36px 24px;
    background: linear-gradient(135deg, rgba(255,49,49,0.05), rgba(30,0,238,0.05));
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-top: 32px;
}
.help-cta h3 { font-size: 22px; margin: 0 0 8px; }
.help-cta p { color: var(--text-soft); margin: 0 0 18px; }
.help-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 860px) {
    .help-layout { grid-template-columns: 1fr; gap: 20px; }
    .help-toc { position: static; top: auto; }
    .help-toc nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
    .help-toc a { border-left: 0; padding: 7px 11px; font-size: 12.5px; background: rgba(30,0,238,0.04); border-radius: 999px; }
    .help-toc a.active { border-left: 0; }
}

@media (max-width: 600px) {
    .help-page { margin-bottom: 48px; }
    .help-hero { padding: 28px 18px 24px; border-radius: 18px; }
    .help-hero h1 { font-size: 22px; }
    .help-hero p { font-size: 13.5px; }
    .help-h2 { font-size: 18px; }
    .help-num { width: 28px; height: 28px; font-size: 14px; }
    .help-item summary { font-size: 14px; padding: 14px 42px 14px 14px; }
    .help-body { font-size: 13px; padding: 14px; }
    .gloss-item { padding: 12px 14px; }
    .help-cta h3 { font-size: 18px; }
    .help-cta-btns { flex-direction: column; }
    .help-cta-btns .btn { width: 100%; }
}

/* Lyen "gid konplè" anba FAQ sou paj akèy */
.faq-more {
    text-align: center;
    margin-top: 28px;
}
.faq-more p {
    font-size: 15px;
    color: var(--text-soft);
    margin: 0 0 14px;
}

/* Nòt sipò sou tablodbò */
.dash-support {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(37,211,102,0.08), rgba(30,0,238,0.05));
    border: 1px solid var(--border);
    border-radius: 14px;
    margin: 24px 0 8px;
}
.dash-support .ds-ico { font-size: 26px; line-height: 1; flex-shrink: 0; }
.dash-support .ds-text { font-size: 14px; color: var(--text-soft); line-height: 1.5; }
.dash-support .ds-text strong { color: var(--text); }
.dash-support .ds-text a { color: var(--brand-blue); font-weight: 700; }
@media (max-width: 600px) {
    .dash-support { padding: 14px; gap: 10px; }
    .dash-support .ds-ico { font-size: 22px; }
    .dash-support .ds-text { font-size: 13px; }
}

/* ===================== ADMIN ANALITIK ===================== */
.an-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

/* Bar chart 14 jou */
.an-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 200px;
    padding-top: 18px;
}
.an-bar-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    position: relative;
}
.an-bar {
    width: 100%;
    max-width: 42px;
    background: linear-gradient(180deg, var(--brand-blue), #6366f1);
    border-radius: 6px 6px 0 0;
    transition: opacity .2s ease;
    min-height: 3px;
}
.an-bar-wrap:hover .an-bar { opacity: .8; }
.an-bar-val {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-soft);
    margin-bottom: 4px;
}
.an-bar-lbl {
    font-size: 10px;
    color: var(--text-soft);
    margin-top: 6px;
    white-space: nowrap;
}

/* Lis ranje ak ti bar */
.an-list { display: flex; flex-direction: column; gap: 10px; }
.an-row {
    display: grid;
    grid-template-columns: 1fr 110px 56px;
    align-items: center;
    gap: 10px;
}
.an-row-label {
    font-size: 13px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.an-row-bar {
    background: #eef0f6;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}
.an-row-bar > div {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
    border-radius: 999px;
}
.an-row-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    text-align: right;
}

@media (max-width: 860px) {
    .an-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .an-chart { height: 150px; gap: 4px; }
    .an-bar-val { font-size: 9px; }
    .an-bar-lbl { font-size: 8px; }
    .an-row { grid-template-columns: 1fr 70px 44px; gap: 6px; }
    .an-row-label { font-size: 12px; }
}
