﻿/* Modern CSS Variables */
:root {
    --primary-color: #27a9e1;
    --primary-hover: #1e8bc3;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --dark-color: #2c3e50;
    --light-bg: #f8f9fa;
    --border-color: #e5e5e5;
    --text-primary: #333;
    --text-secondary: #666;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.full-post {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif
}

.support-info {
    background: linear-gradient(135deg,var(--primary-color) 0%,#1e8bc3 100%);
    color: #fff;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: var(--shadow-md)
}

    .support-info strong {
        font-size: 16px;
        font-weight: 600
    }

.support-info-caption {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px
}

    .support-info-caption i {
        font-size: 18px
    }

.search-bar-container {
    margin-bottom: 32px;
    position: relative
}

#searchInput {
    width: 100%;
    padding: 16px 120px 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit
}

    #searchInput:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 4px rgba(39,169,225,.1)
    }

#searchButton {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 24px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition)
}

    #searchButton:hover {
        background: var(--primary-hover)
    }

h1 {
    font-family: 'Montserrat',sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 24px 0;
    line-height: 1.3
}

h2 {
    font-family: 'Montserrat',sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--dark-color);
    margin: 32px 0 16px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary-color)
}

h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-color);
    margin: 24px 0 12px
}

.metadata-section {
    background: var(--light-bg);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    border-left: 4px solid var(--primary-color)
}

    .metadata-section p {
        margin: 10px 0;
        font-size: 15px
    }

.clt {
    font-weight: 600;
    color: var(--text-primary);
    display: inline-block;
    min-width: 140px
}

.countdown-timer {
    background: linear-gradient(135deg,#ff6b6b 0%,#ee5a6f 100%);
    color: #fff;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    margin: 24px 0;
    text-align: center;
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite
}

@keyframes pulse {
    0%,100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.02)
    }
}

.countdown-timer p {
    margin: 0;
    font-size: 16px;
    font-weight: 600
}

#timer {
    font-size: 24px;
    font-weight: 700;
    display: inline-block;
    margin-left: 8px
}

.purchase-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0
}

.btn1, .btn2 {
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm)
}

.btn1 {
    background: var(--primary-color);
    color: #fff
}

    .btn1:hover {
        background: var(--primary-hover);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md)
    }

.btn2 {
    background: #25d366;
    color: #fff
}

    .btn2:hover {
        background: #20ba5a;
        transform: translateY(-2px);
        box-shadow: var(--shadow-md)
    }

.btn, .btnBlue, .btnOrange, .btnRed, .btnGreen {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition)
}

.btnBlue {
    background: var(--primary-color);
    color: #fff
}

.btnOrange {
    background: #ff9800;
    color: #fff
}

.btnRed {
    background: var(--danger-color);
    color: #fff
}

.btnGreen {
    background: var(--success-color);
    color: #fff
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
    gap: 16px;
    margin: 24px 0
}

.stats-item {
    background: var(--light-bg);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent
}

    .stats-item:hover {
        border-color: var(--primary-color);
        transform: translateY(-4px);
        box-shadow: var(--shadow-md)
    }

    .stats-item i {
        font-size: 28px;
        color: var(--primary-color);
        margin-bottom: 8px
    }

.stats-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 8px 0
}

.stats-text {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500
}

.resource-links {
    background: var(--light-bg);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px
}

    .resource-links a {
        color: var(--primary-color);
        font-weight: 600;
        text-decoration: none;
        transition: var(--transition)
    }

        .resource-links a:hover {
            color: var(--primary-hover);
            text-decoration: underline
        }

.val-message {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin: 20px 0;
    border-left: 4px solid
}

.val-success {
    background: #d4edda;
    border-color: var(--success-color);
    color: #155724
}

    .val-success a {
        color: #155724;
        font-weight: 600;
        text-decoration: underline
    }

.pSlider, .holds-the-iframe {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin: 24px 0
}

.upsell-banner {
    background: linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 32px 0;
    text-align: center;
    box-shadow: var(--shadow-md)
}

    .upsell-banner h2 {
        color: var(--primary-color);
        border: none;
        margin-top: 0
    }

.social {
    display: flex;
    gap: 12px;
    margin: 24px 0;
    justify-content: center
}

    .social a {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition)
    }

        .social a:hover {
            transform: scale(1.1);
            box-shadow: var(--shadow-md)
        }

.recommendation-widget, .more-resources {
    background: #fff;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin: 32px 0
}

.item-list {
    list-style: none;
    padding: 0;
    margin: 0
}

    .item-list li {
        padding: 20px;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        margin-bottom: 16px;
        transition: var(--transition)
    }

        .item-list li:hover {
            box-shadow: var(--shadow-md);
            transform: translateX(4px)
        }

    .item-list a {
        color: var(--dark-color);
        text-decoration: none;
        font-weight: 600;
        font-size: 16px;
        display: block;
        margin-bottom: 8px
    }

        .item-list a:hover {
            color: var(--primary-color)
        }

.qa {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 12px 0
}

.review-section {
    background: var(--light-bg);
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    margin: 40px 0
}

.carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto
}

.carousel-inner {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md)
}

.carousel-item {
    display: none;
    background: #fff;
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md)
}

    .carousel-item.active {
        display: block
    }

    .carousel-item h3 {
        color: var(--primary-color);
        margin-top: 0
    }

.person-name {
    font-weight: 600;
    color: var(--dark-color);
    margin: 12px 0
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition);
    z-index: 10
}

    .carousel-control:hover {
        background: var(--primary-hover);
        transform: translateY(-50%) scale(1.1)
    }

    .carousel-control.prev {
        left: -20px
    }

    .carousel-control.next {
        right: -20px
    }

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: var(--transition)
}

    .indicator.active, .indicator:hover {
        background: var(--primary-color)
    }

#right-bar {
    position: sticky;
    top: 20px
}

.rightbar-container {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm)
}

    .rightbar-container ul {
        padding-left: 0
    }

    .rightbar-container li {
        margin-bottom: 12px;
        line-height: 1.5
    }

    .rightbar-container a {
        color: var(--text-primary);
        text-decoration: none;
        transition: var(--transition)
    }

        .rightbar-container a:hover {
            color: var(--primary-color)
        }

.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px;
    box-shadow: 0 -4px 12px rgba(0,0,0,.15);
    display: none;
    justify-content: center;
    gap: 12px;
    z-index: 1000;
    animation: slideUp .3s ease
}

@keyframes slideUp {
    from {
        transform: translateY(100%)
    }

    to {
        transform: translateY(0)
    }
}

.sticky-cta.visible {
    display: flex
}

@media (max-width:768px) {
    .full-post {
        padding: 12px
    }

    h1 {
        font-size: 24px
    }

    h2 {
        font-size: 20px
    }

    .support-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px
    }

    #searchInput {
        padding: 14px 16px;
        padding-right: 100px
    }

    #searchButton {
        padding: 8px 16px;
        font-size: 14px
    }

    .purchase-options {
        flex-direction: column
    }

    .btn1, .btn2 {
        width: 100%;
        justify-content: center
    }

    .stats-container {
        grid-template-columns: 1fr
    }

    .carousel-control {
        width: 32px;
        height: 32px;
        font-size: 16px
    }

        .carousel-control.prev {
            left: -10px
        }

        .carousel-control.next {
            right: -10px
        }

    .sticky-cta {
        flex-direction: column
    }

        .sticky-cta .btn1, .sticky-cta .btn2 {
            width: 100%
        }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0
    }

    100% {
        background-position: 1000px 0
    }
}

.loading {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right,#f6f7f8 0%,#edeef1 20%,#f6f7f8 40%,#f6f7f8 100%);
    background-size: 1000px 100%
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0
}

*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px
}
/* ===== Preview slider & iframe – proportional images ===== */

/* Slider container */
.pSlider {
    max-width: 900px;
    margin: 24px auto;
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* Clean up UL / LI from LightSlider */
.pSlider #imageGallery {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pSlider #imageGallery li {
    margin: 0;
    padding: 0;
}

/* Make preview images proportional (no stretching) */
.pSlider #imageGallery img {
    display: block;
    width: 100%;
    height: auto;              /* keep original aspect ratio */
    object-fit: contain;       /* ensure whole page is visible */
    border-radius: var(--radius-sm);
    background: #f1f5f9;       /* subtle background behind white pages */
}

/* Let LightSlider height follow the image */
.pSlider .lSSlideOuter,
.pSlider .lSSlideWrapper,
.pSlider .lslide {
    height: auto !important;
}

/* Optional: nicer thumbs in the gallery strip if you use gallery mode */
.pSlider .lSPager.lSGallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

/* Match iframe container styling to slider box */
.holds-the-iframe {
    max-width: 900px;
    margin: 24px auto;
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
