/* ══════════════════════════════════════════════
   FREE TRIAL POPUP
══════════════════════════════════════════════ */

#ftTab {
    white-space: nowrap;
}

/* ── Sticky tab on right edge ── */
#ftTab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
    background: linear-gradient(180deg, #F5A623 0%, #c47508 100%);
    color: #06090F;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .4px;
    border: none;
    border-radius: 12px 0 0 12px;
    cursor: pointer;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 32px;
    height: 148px;
    padding: 12px 0;
    transition: width .25s ease, box-shadow .25s ease, opacity .3s ease;
    box-shadow: -3px 0 18px rgba(245, 166, 35, .4);
    animation: ftTabPulse 2.8s ease-in-out infinite;
    will-change: transform;
}

#ftTab:hover {
    width: 36px;
    box-shadow: -5px 0 28px rgba(245, 166, 35, .6);
}

#ftTab.ft-hidden {
    opacity: 0;
    pointer-events: none;
}

#ftTab .ft-tab-star {
    font-size: 12px;
}


#ftTab .ft-tab-badge {
    display: inline-block;
    background: rgba(6, 9, 15, .2);
    writing-mode: horizontal-tb;
    /* FIX */
    border-radius: 4px;
    font-size: 9px;
    padding: 2px 0;
    writing-mode: vertical-rl;
    letter-spacing: .3px;
}

@keyframes ftTabPulse {

    0%,
    100% {
        box-shadow: -3px 0 18px rgba(245, 166, 35, .4);
    }

    50% {
        box-shadow: -3px 0 32px rgba(245, 166, 35, .7);
    }
}

#ftTab.open {
    animation: none;
}

/* ── Popup panel ── */
#ftPanel {
    position: fixed;
    right: -400px !important;
    left: auto !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    z-index: 9999;
    width: 350px;
    max-width: calc(100vw - 24px);
    transition: right .42s cubic-bezier(.16, 1, .3, 1);
    will-change: right;
    pointer-events: none;
}

#ftPanel.open {
    right: 12px !important;
    left: auto !important;
    top: 50% !important;
    bottom: auto !important;
    pointer-events: all;
}

/* ── Card shell ── */
.ft-card {
    background: #0f1629;
    border: 1px solid rgba(245, 166, 35, .28);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .7), 0 0 0 1px rgba(245, 166, 35, .06), 0 0 40px rgba(245, 166, 35, .08);
}

/* ── Header ── */
.ft-head {
    position: relative;
    padding: 22px 20px 18px;
    background: linear-gradient(135deg, #F5A623 0%, #c47508 100%);
    overflow: hidden;
}

.ft-head::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    pointer-events: none;
}

.ft-head::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    pointer-events: none;
}

.ft-head-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.ft-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(6, 9, 15, .18);
    color: #06090F;
    font-family: 'Outfit', sans-serif;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 99px;
    margin-bottom: 9px;
}

.ft-head h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: #06090F;
    line-height: 1.2;
    letter-spacing: -.4px;
    margin: 0;
}

.ft-head-sub {
    font-size: 12px;
    color: rgba(6, 9, 15, .65);
    margin-top: 5px;
    line-height: 1.45;
    position: relative;
    z-index: 1;
}

.ft-x {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: rgba(6, 9, 15, .2);
    border: none;
    color: #06090F;
    font-size: 15px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background .2s;
    flex-shrink: 0;
    line-height: 1;
}

.ft-x:hover {
    background: rgba(6, 9, 15, .38);
}

/* ── Body ── */
.ft-body {
    padding: 18px 20px 20px;
}

/* ── Perks list ── */
.ft-perks {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 16px;
}

.ft-perk {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.ft-perk-ic {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 9px;
    background: rgba(245, 166, 35, .1);
    border: 1px solid rgba(245, 166, 35, .22);
    display: grid;
    place-items: center;
    font-size: 15px;
    flex-shrink: 0;
}

.ft-perk-title {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #EEF1F6;
    line-height: 1.3;
    margin-bottom: 1px;
}

.ft-perk-desc {
    font-size: 11.5px;
    color: #5b6b8a;
    line-height: 1.4;
}

/* ── Divider ── */
.ft-hr {
    height: 1px;
    background: rgba(255, 255, 255, .06);
    margin: 14px 0;
}

/* ── Offer box ── */
.ft-offer {
    display: flex;
    align-items: center;
    gap: 13px;
    background: rgba(245, 166, 35, .07);
    border: 1px solid rgba(245, 166, 35, .2);
    border-radius: 13px;
    padding: 13px 14px;
    margin-bottom: 16px;
}

.ft-offer-em {
    font-size: 28px;
    flex-shrink: 0;
}

.ft-offer-title {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #F5A623;
    line-height: 1.25;
    margin-bottom: 3px;
}

.ft-offer-desc {
    font-size: 11px;
    color: #5b6b8a;
    line-height: 1.4;
}

/* ── CTA button ── */
.ft-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #F5A623, #e0900d);
    color: #06090F;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 800;
    padding: 14px 20px;
    border-radius: 13px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s cubic-bezier(.16, 1, .3, 1);
    box-shadow: 0 4px 22px rgba(245, 166, 35, .32);
    letter-spacing: -.1px;
    position: relative;
    overflow: hidden;
}

.ft-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .15) 0%, transparent 60%);
    pointer-events: none;
}

.ft-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 166, 35, .5);
    color: #06090F;
}

.ft-cta i {
    font-size: 17px;
}

/* ── Fine print ── */
.ft-note {
    text-align: center;
    font-size: 11px;
    color: #3d4f6f;
    margin-top: 10px;
    line-height: 1.5;
}

.ft-note a {
    color: #5b6b8a;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ft-tab-timer {
  display: inline-block;
  background: rgba(6,9,15,.22);
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 0;
  writing-mode: vertical-rl;
  letter-spacing: .5px;
  color: #06090F;
}

.ft-timer-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6,9,15,.18);
  border: 1px solid rgba(6,9,15,.15);
  border-radius: 11px;
  padding: 10px 16px;
  margin-bottom: 14px;
}

.ft-timer-label {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(6,9,15,.65);
}

.ft-timer-digits {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #06090F;
  letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 560px) {
  #ftTab {
    right: 0;
    top: 50%;
    width: 32px;
    height: 138px;
    padding: 10px 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    z-index: 9997;
  }
  #ftPanel {
    top: auto !important;
    right: 10px !important;
    left: 10px !important;
    bottom: -720px !important;
    width: auto;
    max-width: calc(100vw - 20px);
    transform: none !important;
    transition: bottom .42s cubic-bezier(.16, 1, .3, 1);
  }
  #ftPanel.open { right: 10px !important; left: 10px !important; top: auto !important; bottom: 10px !important; }
  .ft-head { padding: 18px 18px 15px; }
  .ft-head h3 { font-size: 17px; }
  .ft-body { padding: 15px 18px 17px; }
}
/* Persistent five-day offer countdown */
.ft-countdown { display:grid; grid-template-columns:1fr auto 1fr auto 1fr auto 1fr; align-items:center; gap:6px; margin:0 0 15px; padding:11px 10px; border:1px solid rgba(245,166,35,.3); border-radius:12px; background:rgba(245,166,35,.08); }
.ft-countdown>div { text-align:center; min-width:0; }
.ft-countdown strong { display:block; color:#f5a623; font-family:'Outfit',sans-serif; font-size:20px; font-weight:800; line-height:1; font-variant-numeric:tabular-nums; }
.ft-countdown span { display:block; margin-top:4px; color:#7485a5; font-size:8px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; }
.ft-countdown>b { color:#f5a623; font-size:16px; transform:translateY(-6px); }
@media(max-width:380px) { .ft-countdown { gap:4px; padding-inline:7px; } .ft-countdown strong { font-size:18px; } .ft-countdown span { font-size:7px; } }
