/* ==========================================
   SYSTEME.IO PREMIUM SQUEEZE CARD DESIGN SYSTEM
   ========================================== */

:root {
    --primary-bg: #090d16;
    --card-bg: rgba(22, 27, 34, 0.85);
    --border-glow: rgba(31, 111, 235, 0.15);
    --border-light: rgba(255, 255, 255, 0.06);
    --accent-blue: #1f6feb;
    --accent-blue-hover: #388bfd;
    --accent-green: #2ea043;
    --accent-green-glow: rgba(46, 160, 67, 0.3);
    --text-color: #f0f6fc;
    --text-muted: #8b949e;
    --accent-yellow: #f1c40f;
    --accent-red: #da3637;
    --shadow-io: 0 30px 70px rgba(0, 0, 0, 0.7);
}

/* --- RESET & BASIC PROPERTIES --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-color);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    padding-top: 40px;
}

/* --- GLOW BACKDROPS --- */
.glow-bg-primary {
    position: absolute;
    top: -10%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(31, 111, 235, 0.12) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.glow-bg-secondary {
    position: absolute;
    bottom: -10%;
    right: 20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

/* --- TOP VERIFIED SECURITY BAR --- */
.top-security-bar {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(13, 17, 23, 0.85);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-around;
    padding: 8px 12px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    flex-wrap: wrap;
    gap: 10px;
    z-index: 10;
}

@media (max-width: 640px) {
    .top-security-bar {
        display: none; /* Hide on small mobiles to maximize screen space */
    }
}

/* --- MAIN CONTAINER & SYSTEME.IO CARD --- */
.assessment-container {
    width: 92%;
    max-width: 580px;
    margin: 40px auto 30px;
    z-index: 5;
}

.squeeze-card {
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-io);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
}

/* Trust Badge */
.badge-trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(31, 111, 235, 0.1);
    border: 1px solid rgba(31, 111, 235, 0.2);
    color: var(--accent-blue-hover);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.green-dot {
    width: 8px;
    height: 8px;
    background: #39d353;
    border-radius: 50%;
    box-shadow: 0 0 8px #39d353;
}

/* Headline */
.main-headline {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #ffffff, #e0e6ed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.teaser-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 28px;
}

/* --- PROGRESS BAR SYSTEM --- */
.progress-bar-container {
    margin-bottom: 28px;
    text-align: left;
}

.progress-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 600;
}

.progress-bar-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue-hover));
    width: 0%;
    border-radius: 50px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- QUIZ INTERACTIVE INTERFACE --- */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.option-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    color: var(--text-color);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    font-family: inherit;
}

.option-btn:hover {
    background: rgba(31, 111, 235, 0.08);
    border-color: rgba(31, 111, 235, 0.3);
    transform: translateY(-2px);
}

.option-btn:active {
    transform: scale(0.99);
}

.opt-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
}

.option-btn.selected {
    background: rgba(31, 111, 235, 0.18);
    border-color: var(--accent-blue);
}

.option-btn.selected .opt-letter {
    background: var(--accent-blue);
    color: #fff;
}

/* --- TESTIMONIAL & TRUST FOOTER AREA --- */
.trust-footer-area {
    margin-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
}

.rating-stars {
    color: var(--accent-yellow);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.rating-details {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 20px;
}

.badges-row {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-icon {
    width: 20px;
    height: auto;
    filter: brightness(0.95);
}

.badge-emoji {
    font-size: 14px;
    line-height: 1;
}

.badge-item span {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

/* --- MODAL SYSTEM --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 13, 22, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    width: 90%;
    max-width: 440px;
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    box-shadow: var(--shadow-io);
    border-radius: 24px;
    padding: 36px 30px;
    text-align: center;
}

.modal-view {
    display: none;
    animation: slideInUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-view.active-view {
    display: block;
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.modal-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
}

/* Checklist loading animation */
.analysis-checklists {
    text-align: left;
    width: 100%;
    max-width: 280px;
    margin: 24px auto 0;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
}

.check-row.done {
    color: #39d353;
}

.check-row .bullet {
    width: 18px;
    text-align: center;
    font-weight: 800;
}

/* Spinner Loading Ring */
.loading-ring {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}
.loading-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    margin: 6px;
    border: 5px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: loadingRing 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-top-color: var(--accent-blue-hover);
}
.loading-ring div:nth-child(1) { animation-delay: -0.45s; }
.loading-ring div:nth-child(2) { animation-delay: -0.3s; }
.loading-ring div:nth-child(3) { animation-delay: -0.15s; }
@keyframes loadingRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- REVEAL SCREEN --- */
.award-icon {
    font-size: 56px;
    margin-bottom: 16px;
    display: block;
}

.flag-badge {
    display: inline-block;
    background: rgba(218, 54, 55, 0.1);
    border: 1px solid rgba(218, 54, 55, 0.2);
    color: #ff6b6b;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.highlight-report-card {
    background: linear-gradient(135deg, rgba(31, 111, 235, 0.08), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.highlight-report-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-blue-hover);
    margin-bottom: 8px;
}

.highlight-report-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.countdown-timer-box {
    background: rgba(241, 196, 15, 0.08);
    border: 1px dashed rgba(241, 196, 15, 0.3);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 24px;
    font-size: 13px;
    color: #ffe082;
}

.countdown-timer-box strong {
    font-family: monospace;
    font-size: 15px;
    color: var(--accent-yellow);
}

/* Systeme.io Master CTA Button */
.cta-pulse-button {
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--accent-green), #2ea043, #238636);
    color: #fff;
    font-family: inherit;
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 0 20px var(--accent-green-glow), 0 8px 25px rgba(0, 0, 0, 0.4);
    animation: ctaPulseAnim 2.2s infinite ease-in-out;
    transition: all 0.3s;
}

.cta-pulse-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 30px rgba(46, 160, 67, 0.5), 0 12px 30px rgba(0, 0, 0, 0.5);
}

.cta-pulse-button:active {
    transform: scale(0.98);
}

@keyframes ctaPulseAnim {
    0%, 100% { box-shadow: 0 0 20px var(--accent-green-glow), 0 8px 20px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 0 35px rgba(46, 160, 67, 0.6), 0 8px 20px rgba(0, 0, 0, 0.3); }
}

.secure-footer-notes {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 12px;
}

/* --- EDITORIAL TRUST SECTION (Auditor Gold) --- */
.compliant-editorial-section {
    width: 100%;
    max-width: 720px;
    margin: 30px auto 40px;
    padding: 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 30px;
}

.editorial-container {
    width: 100%;
}

.col-text h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-align: center;
}

.col-text p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.8;
    text-align: justify;
}

/* --- EDITORIAL FOOTER DISCLAIMER --- */
.squeeze-footer {
    width: 100%;
    background: rgba(13, 17, 23, 0.9);
    border-top: 1px solid var(--border-light);
    padding: 40px 20px;
    text-align: center;
    z-index: 10;
}

.squeeze-footer p {
    font-size: 11px;
    color: var(--text-muted);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.squeeze-footer a {
    color: var(--text-muted);
    text-decoration: underline;
}

.squeeze-footer a:hover {
    color: #fff;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 480px) {
    .squeeze-card { padding: 30px 20px; }
    .modal-card { padding: 24px 16px; }
    .main-headline { font-size: 22px; }
    .cta-pulse-button { font-size: 15px; padding: 16px 20px; }
}
