/* ============================================================
   101 Series — Batch 5 Features CSS v5.0
   ============================================================ */

/* ══════════════════════════════════════════
   21. ANNOUNCEMENT BAR
══════════════════════════════════════════ */
#s101-announcement-bar {
    background: linear-gradient(90deg, #0D1B2A 0%, #1a3a5c 50%, #0D1B2A 100%);
    border-bottom: 1px solid rgba(201,168,76,0.2);
    padding: 10px 16px;
    position: relative;
    z-index: 1001;
}
.s101-ann-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center;
    justify-content: center; gap: 10px;
    position: relative;
}
.s101-ann-icon { font-size: 16px; }
.s101-ann-text {
    font-size: 13px; font-weight: 600;
    color: rgba(255,255,255,0.85); text-align: center;
}
.s101-ann-text strong { color: #fff; }
.s101-ann-link {
    color: #C9A84C !important; font-weight: 800;
    text-decoration: none; margin-left: 6px;
    transition: opacity 0.2s;
}
.s101-ann-link:hover { opacity: 0.8; }
.s101-ann-close {
    position: absolute; right: 0;
    background: none; border: none;
    color: rgba(255,255,255,0.4); font-size: 14px;
    cursor: pointer; padding: 4px 8px;
    transition: color 0.2s ease;
    line-height: 1;
}
.s101-ann-close:hover { color: #fff; }

/* ══════════════════════════════════════════
   22. URGENCY BAR
══════════════════════════════════════════ */
.s101-urgency-bar {
    display: flex; align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; gap: 8px;
    background: linear-gradient(135deg, rgba(239,68,68,0.08), rgba(249,115,22,0.08));
    border: 1px solid rgba(239,68,68,0.2);
    border-radius: 10px; padding: 10px 16px;
    margin-bottom: 16px;
}
.s101-urgency-viewers {
    display: flex; align-items: center;
    gap: 8px; font-size: 13px;
    color: #555; font-weight: 600;
}
.s101-urgency-dot {
    width: 8px; height: 8px;
    background: #22c55e; border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
    animation: s101pulse 2s infinite;
    flex-shrink: 0;
}
.s101-urgency-stock {
    font-size: 12px; font-weight: 700;
    color: #ef4444;
}

/* ══════════════════════════════════════════
   23. COMPARISON TABLE
══════════════════════════════════════════ */
#s101-comparison {
    background: #0a0f1a;
    padding: 80px 24px;
    position: relative; overflow: hidden;
}
#s101-comparison::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}
.s101-comp-inner {
    max-width: 900px; margin: 0 auto;
    position: relative; z-index: 1; text-align: center;
}
.s101-comp-badge {
    display: inline-block;
    font-size: 10px; font-weight: 800;
    letter-spacing: 3px; color: #C9A84C;
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 999px; padding: 6px 20px;
    margin-bottom: 20px; background: rgba(201,168,76,0.08);
}
.s101-comp-title {
    font-size: clamp(26px, 4vw, 48px) !important;
    font-weight: 900 !important; color: #fff !important;
    letter-spacing: -1px !important;
    margin: 0 0 12px !important; line-height: 1.1 !important;
}
.s101-comp-sub { font-size: 16px; color: rgba(255,255,255,0.5); margin: 0 auto 40px; }
.s101-comp-table-wrap { overflow-x: auto; border-radius: 16px; }
.s101-comp-table {
    width: 100%; border-collapse: collapse;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(201,168,76,0.1);
    border-radius: 16px; overflow: hidden;
}
.s101-comp-table th {
    padding: 16px 20px;
    font-size: 13px; font-weight: 800;
    text-align: center; color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    white-space: nowrap;
}
.s101-comp-table th.s101-comp-feature-col { text-align: left; }
.s101-comp-table th.s101-comp-us {
    background: rgba(201,168,76,0.08);
    color: #C9A84C;
    border-left: 1px solid rgba(201,168,76,0.2);
    border-right: 1px solid rgba(201,168,76,0.2);
}
.s101-comp-table th.s101-comp-us span { font-size: 16px; }
.s101-comp-table td {
    padding: 14px 20px;
    font-size: 13px; color: rgba(255,255,255,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    text-align: center;
}
.s101-comp-table td:first-child { text-align: left; font-weight: 600; color: rgba(255,255,255,0.8); }
.s101-comp-table td.s101-comp-us {
    background: rgba(201,168,76,0.05);
    border-left: 1px solid rgba(201,168,76,0.15);
    border-right: 1px solid rgba(201,168,76,0.15);
}
.s101-comp-table tr:last-child td { border-bottom: none; }
.s101-comp-table tr:hover td { background: rgba(255,255,255,0.02); }
.s101-comp-table tr:hover td.s101-comp-us { background: rgba(201,168,76,0.08); }
.s101-yes { color: #22c55e !important; font-weight: 800 !important; }
.s101-no { color: rgba(255,255,255,0.3) !important; }
.s101-partial { color: #f59e0b !important; }

/* ══════════════════════════════════════════
   24. AUTHOR BIO
══════════════════════════════════════════ */
#s101-author-bio {
    background: linear-gradient(135deg, #0D1B2A, #0a1628);
    padding: 48px 24px;
}
.s101-author-inner {
    max-width: 900px; margin: 0 auto;
    display: flex; gap: 32px; align-items: flex-start;
    flex-wrap: wrap;
}
.s101-author-avatar { flex-shrink: 0; }
.s101-author-avatar-inner {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C9A84C, #e0c060);
    color: #0D1B2A;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 900;
    box-shadow: 0 0 24px rgba(201,168,76,0.3);
}
.s101-author-content { flex: 1; min-width: 240px; }
.s101-author-badge {
    font-size: 10px; font-weight: 800;
    letter-spacing: 2px; color: #C9A84C;
    margin-bottom: 8px;
}
.s101-author-name {
    font-size: 22px !important; font-weight: 900 !important;
    color: #fff !important; margin: 0 0 12px !important;
}
.s101-author-bio-text {
    font-size: 14px; color: rgba(255,255,255,0.6);
    line-height: 1.8; margin: 0 0 20px;
}
.s101-author-stats {
    display: flex; gap: 24px; flex-wrap: wrap;
}
.s101-author-stat { text-align: center; }
.s101-author-stat-num {
    display: block; font-size: 22px; font-weight: 900;
    color: #C9A84C; line-height: 1;
}
.s101-author-stat-label {
    font-size: 11px; color: rgba(255,255,255,0.4);
    font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; margin-top: 4px;
}

/* ══════════════════════════════════════════
   25. EMAIL POPUP
══════════════════════════════════════════ */
#s101-email-popup {
    position: fixed; inset: 0;
    z-index: 99998;
    display: flex; align-items: center;
    justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.35s ease;
}
#s101-email-popup.s101-popup-open {
    opacity: 1; pointer-events: all;
}
.s101-popup-overlay {
    position: absolute; inset: 0;
    background: rgba(5,8,16,0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.s101-popup-box {
    position: relative; z-index: 1;
    background: #fff;
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 480px; width: 90%;
    text-align: center;
    box-shadow: 0 32px 80px rgba(0,0,0,0.35);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
#s101-email-popup.s101-popup-open .s101-popup-box {
    transform: scale(1) translateY(0);
}
.s101-popup-close {
    position: absolute; top: 16px; right: 16px;
    background: rgba(0,0,0,0.06); border: none;
    width: 32px; height: 32px; border-radius: 50%;
    font-size: 14px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s ease; color: #666;
}
.s101-popup-close:hover { background: rgba(0,0,0,0.12); }
.s101-popup-icon { font-size: 40px; margin-bottom: 16px; display: block; }
.s101-popup-title {
    font-size: 24px !important; font-weight: 900 !important;
    color: #0D1B2A !important; margin: 0 0 10px !important;
}
.s101-popup-sub { font-size: 14px; color: #666; line-height: 1.6; margin: 0 0 24px; }
.s101-popup-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
#s101-popup-email {
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 10px; padding: 14px 16px;
    font-size: 15px; font-family: inherit;
    outline: none; transition: border-color 0.2s ease;
    color: #0D1B2A;
}
#s101-popup-email:focus { border-color: #C9A84C; }
.s101-popup-btn {
    background: linear-gradient(135deg, #C9A84C, #e0c060);
    color: #0D1B2A; border: none;
    padding: 14px; border-radius: 10px;
    font-size: 15px; font-weight: 900;
    cursor: pointer; font-family: inherit;
    transition: all 0.2s ease;
    box-shadow: 0 0 20px rgba(201,168,76,0.3);
}
.s101-popup-btn:hover { box-shadow: 0 0 32px rgba(201,168,76,0.5); transform: translateY(-1px); }
.s101-popup-note { font-size: 11px; color: #aaa; margin: 0 0 16px; }
.s101-popup-badges {
    display: flex; gap: 12px; justify-content: center;
    flex-wrap: wrap;
}
.s101-popup-badges span {
    font-size: 11px; font-weight: 700; color: #666;
    background: #f8f5ec; padding: 4px 10px; border-radius: 999px;
}

/* ══════════════════════════════════════════
   26. SOCIAL SHARE SIDEBAR
══════════════════════════════════════════ */
#s101-social-share {
    position: fixed;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 888;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
#s101-social-share.s101-share-show { opacity: 1; }
.s101-share-label {
    font-size: 10px; font-weight: 800;
    color: rgba(0,0,0,0.3); letter-spacing: 2px;
    writing-mode: vertical-rl;
    text-transform: uppercase; margin-bottom: 4px;
}
.s101-share-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid rgba(0,0,0,0.1);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; color: #0D1B2A;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
    cursor: pointer; font-size: 14px;
}
.s101-share-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.s101-share-wa:hover { background: #25D366; color: #fff; border-color: #25D366; }
.s101-share-tw:hover { background: #000; color: #fff; border-color: #000; }
.s101-share-li:hover { background: #0077b5; color: #fff; border-color: #0077b5; }
.s101-share-copy:hover { background: #C9A84C; color: #fff; border-color: #C9A84C; }
@media (max-width: 1024px) { #s101-social-share { display: none; } }

/* ══════════════════════════════════════════
   27. RECENTLY VIEWED
══════════════════════════════════════════ */
#s101-recently-viewed {
    background: #f8f5ec;
    padding: 32px 24px;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.s101-rv-title {
    font-size: 16px !important; font-weight: 800 !important;
    color: #0D1B2A !important; margin: 0 0 16px !important;
}
.s101-rv-track {
    display: flex; gap: 12px;
    overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.s101-rv-track::-webkit-scrollbar { display: none; }
.s101-rv-card {
    flex-shrink: 0; width: 110px;
    text-decoration: none;
    transition: transform 0.25s ease;
}
.s101-rv-card:hover { transform: translateY(-3px); }
.s101-rv-img {
    width: 110px; height: 140px;
    object-fit: cover; border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: block; margin-bottom: 8px;
}
.s101-rv-name {
    font-size: 11px; font-weight: 700;
    color: #0D1B2A; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

/* ══════════════════════════════════════════
   28. VALUE CALCULATOR
══════════════════════════════════════════ */
#s101-value-calc {
    background: #f8f5ec;
    padding: 48px 24px;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.s101-calc-inner {
    max-width: 640px; margin: 0 auto; text-align: center;
}
.s101-calc-badge {
    display: inline-block;
    font-size: 10px; font-weight: 800;
    letter-spacing: 3px; color: #C9A84C;
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 999px; padding: 6px 20px;
    margin-bottom: 16px; background: rgba(201,168,76,0.08);
}
.s101-calc-title {
    font-size: 22px !important; font-weight: 900 !important;
    color: #0D1B2A !important; margin: 0 0 8px !important;
}
.s101-calc-sub { font-size: 14px; color: #888; margin: 0 auto 28px; }
.s101-calc-slider-wrap { margin-bottom: 28px; text-align: left; }
.s101-calc-label {
    font-size: 13px; font-weight: 700; color: #555;
    display: block; margin-bottom: 12px;
}
.s101-calc-range {
    width: 100%; height: 6px;
    -webkit-appearance: none; appearance: none;
    background: linear-gradient(90deg, #C9A84C 0%, #C9A84C 20%, rgba(0,0,0,0.1) 20%);
    border-radius: 3px; outline: none; cursor: pointer;
}
.s101-calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C9A84C, #e0c060);
    cursor: pointer;
    box-shadow: 0 0 12px rgba(201,168,76,0.5);
    border: 2px solid #fff;
}
.s101-calc-range-labels {
    display: flex; justify-content: space-between;
    font-size: 11px; color: #aaa; margin-top: 6px;
}
.s101-calc-result {
    display: flex; align-items: center;
    justify-content: center; gap: 16px;
    background: #0D1B2A; border-radius: 16px;
    padding: 28px 24px; flex-wrap: wrap;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    margin-bottom: 16px;
}
.s101-calc-col { text-align: center; }
.s101-calc-num {
    font-size: 28px; font-weight: 900;
    color: #fff; line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
.s101-calc-highlight .s101-calc-num { color: #C9A84C; font-size: 36px; }
.s101-calc-label-sm {
    font-size: 11px; color: rgba(255,255,255,0.4);
    font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; margin-top: 6px;
}
.s101-calc-divider {
    font-size: 24px; color: rgba(255,255,255,0.2);
    font-weight: 300;
}
.s101-calc-note {
    font-size: 13px; color: #888; font-style: italic;
    margin: 0;
}

/* ══════════════════════════════════════════
   29. MILESTONE BAR
══════════════════════════════════════════ */
#s101-milestone-bar {
    background: #0D1B2A;
    padding: 36px 24px;
    border-top: 1px solid rgba(201,168,76,0.1);
}
.s101-mile-inner { max-width: 900px; margin: 0 auto; }
.s101-mile-head {
    display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap;
    gap: 8px; margin-bottom: 20px;
}
.s101-mile-title { font-size: 15px; font-weight: 800; color: #fff; }
.s101-mile-sub { font-size: 12px; color: rgba(255,255,255,0.4); }
.s101-mile-track {
    height: 8px; background: rgba(255,255,255,0.08);
    border-radius: 4px; position: relative; margin-bottom: 24px;
}
.s101-mile-fill {
    height: 100%; border-radius: 4px;
    background: linear-gradient(90deg, #C9A84C, #e0c060);
    box-shadow: 0 0 12px rgba(201,168,76,0.5);
    transition: width 1.5s cubic-bezier(0.22,1,0.36,1);
}
.s101-mile-marker {
    position: absolute; top: -6px;
    transform: translateX(-50%);
}
.s101-mile-marker-dot {
    width: 20px; height: 20px; border-radius: 50%;
    background: #C9A84C; border: 3px solid #0D1B2A;
    box-shadow: 0 0 10px rgba(201,168,76,0.6);
}
.s101-mile-marker-dot.s101-mile-future {
    background: rgba(255,255,255,0.15);
    box-shadow: none; border-color: rgba(255,255,255,0.2);
}
.s101-mile-marker-label {
    font-size: 10px; font-weight: 800;
    color: #C9A84C; white-space: nowrap;
    margin-top: 6px; text-align: center;
    transform: translateX(-50%); position: relative; left: 50%;
}
.s101-mile-marker-label.s101-mile-future-label { color: rgba(255,255,255,0.3); }
.s101-mile-stats {
    display: flex; gap: 24px; flex-wrap: wrap;
    justify-content: center;
}
.s101-mile-stats span {
    font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 600;
}
.s101-mile-stats strong { color: #C9A84C; }
