/* --- THEME & COLOR PALETTE (CSS VARIABLES) --- */
:root {
    --ps-blue: #0065CB;
    --ps-dark-blue: #003087;
    --ps-light-blue: #0072E3;
    --orange-accent: #FF9F4A;
    --main-dark-bg: #000000;
    --main-card-bg: #ffffff;
    --main-text-dark: #1d1d1f;
    --main-text-light: #e4e6eb;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --success-green: #2a9a47;
}

/* --- GLOBAL RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

body {
    background-color: var(--main-dark-bg);
    color: var(--main-text-dark);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- DYNAMIC PARTICLE BACKGROUND ANIMATION --- */
.bubble-background {
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.bubble {
    position: absolute;
    bottom: -150px;
    background-color: rgba(0, 101, 203, 0.08);
    border-radius: 50%;
    animation: fizz 25s linear infinite;
    opacity: 0;
}

@keyframes fizz {
    0% {
        transform: translateY(0) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1.5);
        opacity: 0;
    }
}

.bubble:nth-child(1) { width: 35px; height: 35px; left: 10%; animation-duration: 18s; animation-delay: 0s; }
.bubble:nth-child(2) { width: 25px; height: 25px; left: 20%; animation-duration: 12s; animation-delay: 2s; }
.bubble:nth-child(3) { width: 55px; height: 55px; left: 35%; animation-duration: 22s; animation-delay: 4s; }
.bubble:nth-child(4) { width: 70px; height: 70px; left: 50%; animation-duration: 15s; animation-delay: 0s; }
.bubble:nth-child(5) { width: 40px; height: 40px; left: 55%; animation-duration: 20s; animation-delay: 1s; }
.bubble:nth-child(6) { width: 50px; height: 50px; left: 65%; animation-duration: 16s; animation-delay: 4s; }
.bubble:nth-child(7) { width: 30px; height: 30px; left: 80%; animation-duration: 13s; animation-delay: 2s; }
.bubble:nth-child(8) { width: 65px; height: 65px; left: 90%; animation-duration: 25s; animation-delay: 5s; }

/* --- CORE LAYOUT & TYPOGRAPHY --- */
.screen {
    max-width: 600px;
    min-height: 100vh;
    margin: 0 auto;
    background: var(--main-card-bg);
    box-shadow: 0 10px 40px rgba(0, 101, 203, 0.2);
    display: flex;
    flex-direction: column;
}

.wrapper {
    padding: 30px 20px;
    max-width: 100%;
    margin: 0 auto;
    flex-grow: 1;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--main-text-dark);
    line-height: 1.2;
}

h1 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.intro-txt, p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #1d1d1f;
    line-height: 1.5;
}

/* --- HEADER & TIMER STYLES --- */
.header {
    padding: 15px 20px;
    background: var(--main-card-bg);
    color: var(--main-text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    color: var(--ps-blue);
}

.logo span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--ps-blue);
}

.faq-trigger {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--ps-blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    color: var(--ps-blue);
    font-weight: bold;
}

.faq-trigger:hover {
    background: var(--ps-blue);
    color: white;
    transform: scale(1.1);
}

.timer-top {
    display: none;
    text-align: center;
    background: var(--ps-blue);
    color: #fff;
    padding: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 500;
}

.top-timer {
    font-weight: 900;
}

/* --- ELIGIBILITY BOX --- */
.eligibility-box {
    background: #f8f9fa;
    border-left: 4px solid var(--ps-blue);
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
}

.eligibility-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--main-text-dark);
}

.eligibility-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eligibility-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.5;
}

.eligibility-list .bullet {
    color: var(--ps-blue);
    font-size: 1.5rem;
    margin-right: 12px;
    line-height: 1;
    flex-shrink: 0;
}

.eligibility-list span:last-child {
    flex: 1;
}

/* --- STEP 1: INTRODUCTION --- */
.intro-img {
    max-width: 100%;
    margin: 30px auto;
    position: relative;
    text-align: center;
}

.intro-img img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.price-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--orange-accent);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(255, 159, 74, 0.4);
    border: 4px solid white;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.price-label {
    font-size: 14px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.price-value {
    font-size: 28px;
    font-weight: 900;
    color: white;
    line-height: 1;
}

/* --- ACTION BUTTONS --- */
.started {
    padding: 20px 0;
    margin-top: 20px;
}

.started button {
    cursor: pointer;
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #FF9F4A 0%, #FF8533 100%);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    border: none;
    border-radius: 50px;
    padding: 16px 20px;
    box-shadow: 0 5px 15px rgba(255, 159, 74, 0.4);
    transition: all 0.3s ease;
}

.started button.fixed-bottom {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    width: calc(100% - 40px);
    z-index: 1000;
}

.started button:hover {
    background: linear-gradient(135deg, #FFB366 0%, #FF9F4A 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 159, 74, 0.5);
}

/* --- STEP 2: SURVEY QUESTIONS --- */
.step2 {
    display: none;
}

.question-number {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ccc;
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 20px;
}

.question-number span {
    color: var(--ps-blue);
}

.question h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.question p {
    color: #666;
    margin-bottom: 2rem;
    text-align: center;
}

.question button {
    display: block;
    width: 100%;
    background: #fff;
    border: 3px solid var(--ps-blue);
    color: var(--ps-blue);
    padding: 15px 20px;
    margin-bottom: 15px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 101, 203, 0.15);
    transition: all 0.2s ease;
}

.question button:hover {
    background: var(--ps-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 101, 203, 0.3);
}

/* --- COMMENTS SECTION STYLES --- */
.comments {
    margin-top: 50px;
}

.others-say {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 2px solid var(--ps-blue);
    padding-bottom: 10px;
}

.sorting-box {
    padding: 8px 0;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(0, 101, 203, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sorting-box > p {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

.inner-sorting-box {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort {
    position: relative;
}

.sort > button {
    cursor: pointer;
    color: var(--main-text-dark);
    background: transparent;
    border: 1px solid var(--ps-blue);
    border-radius: 6px;
    padding: 4px 8px;
    font-weight: 700;
}

.dropdown-sort {
    display: none;
    z-index: 50;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 5px;
    background: var(--main-card-bg);
    border: 1px solid var(--ps-blue);
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 101, 203, 0.2);
    min-width: 150px;
}

.dropdown-sort button {
    background: transparent;
    border: none;
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 12px;
    cursor: pointer;
}

.dropdown-sort button:hover,
.dropdown-sort button.selected {
    background-color: rgba(0, 101, 203, 0.1);
}

.add-comment {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.avatar-placeholder {
    width: 40px;
    height: 40px;
    background: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: bold;
    flex-shrink: 0;
}

.comment-input {
    flex: 1;
    padding: 10px;
    border: 2px solid rgba(0, 101, 203, 0.3);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.5);
}

.comment-input:focus {
    outline: none;
    border-color: var(--ps-blue);
    background: #fff;
}

.post-button {
    padding: 10px 15px;
    background: var(--ps-blue);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s ease;
}

.post-button:hover {
    background: var(--ps-dark-blue);
}

.comment {
    display: flex;
    gap: 15px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fafafa;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.comment-author {
    font-weight: bold;
    color: var(--ps-blue);
}

.comment-date {
    color: #999;
    font-size: 0.85rem;
}

.comment-text {
    margin-bottom: 10px;
    line-height: 1.5;
}

.comment-image {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 10px;
}

.comment-actions {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #666;
}

.comment-action {
    cursor: pointer;
}

.comment-action:hover {
    color: var(--ps-blue);
}

.load-more {
    background: var(--ps-blue);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 12px 16px;
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 20px;
    transition: background-color 0.2s;
}

.load-more:hover {
    background-color: var(--ps-dark-blue);
}

/* --- FAQ MODAL --- */
.faq-modal {
    
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.faq-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f0f0f0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #333;
}

.faq-close:hover {
    background: var(--ps-blue);
    color: white;
    transform: rotate(90deg);
}

.faq-content h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #1d1d1f;
}

.faq-item {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--ps-blue);
}

.faq-item.active {
    border-color: var(--ps-blue);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--ps-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: white;
}

.faq-question:hover {
    background: #f5f5f7;
}

.faq-item.active .faq-question {
    background: #f5f5f7;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
    color: #555;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 20px 20px 20px;
}

.faq-question::after {
    content: "+";
    font-size: 28px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

/* --- FOOTER STYLES --- */
.footer {
    text-align: center;
    padding: 30px 20px;
    background: var(--main-dark-bg);
    color: #ccc;
    margin-top: 40px;
    border-top: 4px solid var(--ps-blue);
}

.footer-links {
    margin: 16px 0 24px;
}

.footer-links a {
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.trade-names,
.disclaimer-box p {
    font-size: 0.75rem;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto 20px;
    color: #aaa;
}

.disclaimer-box p a {
    color: #fff;
    font-weight: 700;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media screen and (max-width: 768px) {
    .wrapper {
        padding: 20px 15px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .price-badge {
        width: 90px;
        height: 90px;
        right: 10px;
        top: 10px;
    }

    .price-label {
        font-size: 12px;
    }

    .price-value {
        font-size: 24px;
    }

    .eligibility-box {
        padding: 15px;
    }

    .question h3 {
        font-size: 1.3rem;
    }

    .faq-content {
        padding: 30px 20px;
    }

    .comment {
        flex-direction: column;
    }

    .footer-links a {
        display: block;
        margin: 10px 0;
    }
}