/* ============================================================
   101 Series — Batch 3 Features CSS v3.0
   Mega Menu · Smart Search · Testimonials · Accordion · Video
   ============================================================ */

/* ══════════════════════════════════════════
   11. MEGA MENU UPGRADE
══════════════════════════════════════════ */
.ct-mega-menu,
.sub-menu {
    background: rgba(10,15,26,0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(201,168,76,0.12) !important;
    border-radius: 16px !important;
    box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.06) !important;
    padding: 8px !important;
    min-width: 220px !important;
}
.sub-menu .menu-item a,
.ct-mega-menu a {
    color: rgba(255,255,255,0.7) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: background 0.2s ease, color 0.2s ease !important;
    text-decoration: none !important;
}
.sub-menu .menu-item a:hover,
.ct-mega-menu a:hover {
    background: rgba(201,168,76,0.1) !important;
    color: #C9A84C !important;
}
.sub-menu .menu-item a::before {
    content: '›';
    color: rgba(201,168,76,0.4);
    font-size: 16px;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}
.sub-menu .menu-item a:hover::before {
    color: #C9A84C;
    transform: translateX(3px);
}
/* Divider between nav items in submenu */
.sub-menu .menu-item:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
}
/* Glow on active nav item */
.current-menu-item > .ct-menu-link,
.current-menu-ancestor > .ct-menu-link {
    color: #C9A84C !important;
}

/* ══════════════════════════════════════════
   12. SMART SEARCH OVERLAY
══════════════════════════════════════════ */
#s101-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5,8,16,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: clamp(60px, 10vh, 120px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
#s101-search-overlay.s101-search-open {
    opacity: 1;
    pointer-events: all;
}
.s101-search-box {
    width: min(680px, 94vw);
    background: rgba(13,27,42,0.98);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,168,76,0.06);
    transform: translateY(-20px) scale(0.97);
    transition: transform 0.25s cubic-bezier(0.22,1,0.36,1);
}
#s101-search-overlay.s101-search-open .s101-search-box {
    transform: translateY(0) scale(1);
}
.s101-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.s101-search-label {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.5px;
}
#s101-search-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 18px;
    cursor: pointer;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}
#s101-search-close:hover { background: rgba(255,255,255,0.08); color: #fff; }
#s101-search-input {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    padding: 20px 24px;
    font-family: inherit;
    box-sizing: border-box;
}
#s101-search-input::placeholder { color: rgba(255,255,255,0.2); }
.s101-search-shortcuts {
    padding: 0 20px 14px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.s101-shortcut { font-size: 12px; color: rgba(255,255,255,0.3); }
.s101-qs {
    color: rgba(201,168,76,0.7) !important;
    text-decoration: none !important;
    font-weight: 700;
    transition: color 0.2s ease;
}
.s101-qs:hover { color: #C9A84C !important; }
#s101-search-results {
    border-top: 1px solid rgba(255,255,255,0.06);
    max-height: 380px;
    overflow-y: auto;
}
.s101-sr-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.15s ease;
    cursor: pointer;
}
.s101-sr-item:hover, .s101-sr-item.s101-sr-active {
    background: rgba(201,168,76,0.08);
}
.s101-sr-img {
    width: 44px; height: 56px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.05);
}
.s101-sr-img-placeholder {
    width: 44px; height: 56px;
    background: linear-gradient(135deg, rgba(201,168,76,0.2), rgba(201,168,76,0.05));
    border-radius: 6px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.s101-sr-info { flex: 1; min-width: 0; }
.s101-sr-title {
    font-size: 14px; font-weight: 700;
    color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 3px;
}
.s101-sr-cat { font-size: 11px; color: rgba(255,255,255,0.35); }
.s101-sr-price { font-size: 14px; font-weight: 800; color: #C9A84C; white-space: nowrap; }
.s101-sr-empty {
    padding: 32px 20px;
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 14px;
}
.s101-sr-loading {
    padding: 24px 20px;
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 13px;
}
.s101-search-footer {
    padding: 10px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    gap: 16px;
}
.s101-search-footer span {
    font-size: 11px;
    color: rgba(255,255,255,0.2);
    font-weight: 600;
}

/* ══════════════════════════════════════════
   13. TESTIMONIALS
══════════════════════════════════════════ */
#s101-testimonials {
    background: #f8f5ec;
    padding: 80px 24px;
    overflow: hidden;
}
.s101-test-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.s101-test-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.06);
}
.s101-test-title {
    font-size: clamp(26px, 4vw, 48px) !important;
    font-weight: 900 !important;
    color: #0D1B2A !important;
    letter-spacing: -1px !important;
    margin: 0 0 12px !important;
    line-height: 1.15 !important;
}
.s101-test-sub {
    font-size: 16px; color: #888;
    margin: 0 auto 48px; max-width: 480px;
}
.s101-test-track-wrap {
    overflow: hidden;
    position: relative;
}
.s101-test-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
    will-change: transform;
}
.s101-test-card {
    min-width: min(420px, 88vw);
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    text-align: left;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.05);
    flex-shrink: 0;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.s101-test-card:hover {
    box-shadow: 0 12px 48px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}
.s101-test-stars {
    color: #F59E0B; font-size: 18px;
    margin-bottom: 14px; letter-spacing: 2px;
}
.s101-test-card-title {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #0D1B2A !important;
    margin: 0 0 12px !important;
}
.s101-test-text {
    font-size: 14px; color: #555;
    line-height: 1.75; margin: 0 0 20px;
}
.s101-test-meta {
    display: flex; align-items: center; gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.s101-test-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0D1B2A, #1a3a5c);
    color: #C9A84C;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 900; flex-shrink: 0;
}
.s101-test-name { font-size: 14px; font-weight: 800; color: #0D1B2A; }
.s101-test-loc { font-size: 11px; color: #999; margin-top: 2px; }
.s101-test-dots {
    display: flex; justify-content: center;
    gap: 8px; margin: 28px 0 16px;
}
.s101-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(0,0,0,0.15); border: none;
    cursor: pointer; transition: all 0.3s ease;
    padding: 0;
}
.s101-dot-on {
    background: #C9A84C;
    width: 24px; border-radius: 4px;
    box-shadow: 0 0 8px rgba(201,168,76,0.5);
}
.s101-test-nav {
    display: flex; justify-content: center;
    gap: 12px; margin-bottom: 32px;
}
.s101-test-prev, .s101-test-next {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #fff; color: #0D1B2A;
    border: 1.5px solid rgba(0,0,0,0.12);
    font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s ease; font-family: inherit;
}
.s101-test-prev:hover, .s101-test-next:hover {
    background: #C9A84C; color: #0D1B2A;
    border-color: #C9A84C;
    box-shadow: 0 0 16px rgba(201,168,76,0.4);
}
.s101-test-aggregate {
    display: flex; align-items: center;
    justify-content: center; gap: 10px;
    flex-wrap: wrap;
}
.s101-agg-stars { color: #F59E0B; font-size: 20px; }
.s101-agg-score { font-size: 22px; font-weight: 900; color: #0D1B2A; }
.s101-agg-count { font-size: 13px; color: #888; }

/* ══════════════════════════════════════════
   14. INSIDE THE BOOK ACCORDION
══════════════════════════════════════════ */
#s101-inside-book {
    background: #0D1B2A;
    padding: 64px 24px;
    position: relative;
    overflow: hidden;
}
#s101-inside-book::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: 48px 48px;
    pointer-events: none;
}
.s101-inside-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative; z-index: 1;
    text-align: center;
}
.s101-inside-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-inside-title {
    font-size: clamp(24px, 3.5vw, 42px) !important;
    font-weight: 900 !important; color: #fff !important;
    margin: 0 0 12px !important;
}
.s101-inside-sub {
    font-size: 15px; color: rgba(255,255,255,0.5);
    margin: 0 auto 40px; max-width: 560px;
}
.s101-inside-sub strong { color: rgba(255,255,255,0.8); }
.s101-accordion { text-align: left; }
.s101-acc-item {
    border: 1px solid rgba(201,168,76,0.1);
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}
.s101-acc-item.s101-acc-open {
    border-color: rgba(201,168,76,0.35);
    box-shadow: 0 0 20px rgba(201,168,76,0.08);
}
.s101-acc-head {
    width: 100%; background: none; border: none;
    display: flex; align-items: center; gap: 12px;
    padding: 18px 20px; cursor: pointer;
    font-family: inherit; text-align: left;
    transition: background 0.2s ease;
}
.s101-acc-head:hover { background: rgba(201,168,76,0.04); }
.s101-acc-num {
    font-size: 11px; font-weight: 800;
    color: #C9A84C; letter-spacing: 1px;
    white-space: nowrap; flex-shrink: 0;
    min-width: 90px;
}
.s101-acc-title {
    font-size: 15px; font-weight: 700;
    color: #fff; flex: 1;
}
.s101-acc-arrow {
    color: rgba(201,168,76,0.5);
    font-size: 22px; flex-shrink: 0;
    transition: transform 0.3s ease;
    line-height: 1;
}
.s101-acc-open .s101-acc-arrow {
    transform: rotate(90deg);
    color: #C9A84C;
}
.s101-acc-body {
    padding: 0 20px 20px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.s101-acc-body p {
    font-size: 14px; color: rgba(255,255,255,0.55);
    line-height: 1.75; margin: 14px 0 12px;
}
.s101-acc-tags {
    display: flex; gap: 8px; flex-wrap: wrap;
}
.s101-acc-tag {
    font-size: 11px; font-weight: 700;
    color: rgba(201,168,76,0.7);
    background: rgba(201,168,76,0.08);
    border: 1px solid rgba(201,168,76,0.15);
    padding: 4px 12px; border-radius: 999px;
}
.s101-inside-cta {
    margin-top: 28px;
    padding: 16px 20px;
    background: rgba(201,168,76,0.06);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 10px;
    text-align: center;
}
.s101-inside-note {
    font-size: 13px; color: rgba(255,255,255,0.45); margin: 0;
}

/* ══════════════════════════════════════════
   15. VIDEO / BOOK TRAILER SECTION
   (injected by JS after stat bar on homepage)
══════════════════════════════════════════ */
#s101-video-section {
    background: linear-gradient(180deg, #060b14 0%, #0D1B2A 100%);
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
#s101-video-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.s101-video-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative; z-index: 1;
}
.s101-video-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-video-title {
    font-size: clamp(26px, 4vw, 50px) !important;
    font-weight: 900 !important; color: #fff !important;
    letter-spacing: -1px !important;
    margin: 0 0 16px !important; line-height: 1.1 !important;
}
.s101-video-sub {
    font-size: 16px; color: rgba(255,255,255,0.5);
    margin: 0 auto 40px; max-width: 500px;
}
.s101-video-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0; overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(201,168,76,0.2);
    box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.06);
}
.s101-video-frame iframe {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    border: none; border-radius: 20px;
}
/* Play button overlay (before video loads) */
.s101-video-play-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(201,168,76,0.2);
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.s101-video-thumb {
    width: 100%; display: block;
    border-radius: 20px;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: linear-gradient(135deg, #0D1B2A, #1a2f45);
}
.s101-video-play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 72px; height: 72px;
    background: rgba(201,168,76,0.9);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: #0D1B2A;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 30px rgba(201,168,76,0.4);
}
.s101-video-play-wrap:hover .s101-video-play-btn {
    transform: translate(-50%,-50%) scale(1.12);
    background: #C9A84C;
    box-shadow: 0 0 50px rgba(201,168,76,0.7);
}
.s101-video-stats {
    display: flex; justify-content: center;
    gap: 32px; margin-top: 32px; flex-wrap: wrap;
}
.s101-video-stat {
    text-align: center;
}
.s101-video-stat-num {
    font-size: 28px; font-weight: 900; color: #C9A84C;
    display: block; line-height: 1;
}
.s101-video-stat-label {
    font-size: 12px; color: rgba(255,255,255,0.4);
    font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; margin-top: 4px;
}
