:root {
    --primary: #EC4899;
    --primary-gradient: linear-gradient(135deg, #EC4899 0%, #F472B6 50%, #FBCFE8 100%);
    --secondary: #2D3436;
    --bg-light: #FDF2F8;
    --card-bg: rgba(255, 255, 255, 0.9);
    --text-main: #2D3436;
    --text-muted: #636E72;
    --border-color: #F1F2F6;
    --shadow: 0 15px 35px rgba(236, 72, 153, 0.10), 0 5px 15px rgba(0, 0, 0, 0.05);
    --border-radius: 28px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Background Elements */
.bg-circles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: #EC4899;
    top: -50px;
    right: -50px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: #FBCFE8;
    bottom: -100px;
    left: -100px;
}

/* Container */
.container {
    width: 100%;
    max-width: 500px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.5);
    min-height: 520px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden; /* To clip banner corners */
}

/* Banner */
.banner {
    width: calc(100% + 64px);
    margin: -32px -32px 30px -32px;
    border-bottom: 1px solid var(--border-color);
}

.banner img {
    width: 100%;
    display: block;
    height: auto;
    max-height: 250px;
    object-fit: cover;
}

/* Header & Progress */
#quiz-header {
    margin-bottom: 24px;
}

.progress-container {
    width: 100%;
    height: 6px;
    background: #F1F2F6;
    border-radius: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary-gradient);
    width: 0%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
}

/* Typography */
h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--secondary);
    line-height: 1.2;
    text-align: center;
}

h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
    text-align: center;
}

/* Content */
.page {
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

ul {
    margin-bottom: 24px;
    list-style: none;
}

ul li {
    margin-bottom: 12px;
    padding-left: 32px;
    position: relative;
    font-size: 15px;
}

ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EC4899' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* Video */
.video-container {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background: #000;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Trust row (intro) */
.trust-row {
    display: flex;
    gap: 8px;
    margin: 8px 0 24px;
    padding: 16px 12px;
    background: #FDF2F8;
    border: 1px solid #FBCFE8;
    border-radius: 16px;
}
.trust-item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.trust-item strong {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}
.trust-item span {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.block-heading {
    text-align: left !important;
    margin-top: 20px;
    font-size: 17px !important;
}

/* OR divider */
.or-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 12px;
    color: var(--text-muted);
    font-size: 13px;
}
.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-secondary {
    background: #fff;
    color: var(--text-main);
    border: 2px solid var(--border-color);
}
.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.30);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.40);
}

.btn-primary:active {
    transform: translateY(0);
}

.start-btn {
    animation: pulse 2s infinite;
    margin-top: 20px;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 8px 20px rgba(236, 72, 153, 0.30); }
    50% { transform: scale(1.02); box-shadow: 0 12px 30px rgba(236, 72, 153, 0.45); }
    100% { transform: scale(1); box-shadow: 0 8px 20px rgba(236, 72, 153, 0.30); }
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-muted);
}

.btn-icon:hover {
    background: #F8F9FA;
    border-color: #CBD5E0;
    color: var(--text-main);
}

.btn-icon svg {
    width: 24px;
    height: 24px;
}

/* Quiz Options */
.option-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 18px 20px;
    margin-bottom: 12px;
    border-radius: 16px;
    background: white;
    border: 2px solid var(--border-color);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.option-btn:hover {
    border-color: var(--primary);
    background: #FDF2F8;
}

.option-btn.active {
    border-color: var(--primary);
    background: #FFE4F1;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.10);
}

/* Form Inputs */
input[type="text"],
input[type="tel"],
input[type="number"],
input[type="email"] {
    width: 100%;
    padding: 18px 20px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    background: white;
    font-family: inherit;
    font-size: 16px;
    color: var(--text-main);
    transition: all 0.2s;
    margin-bottom: 5px;
}


input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.input-container {
    position: relative;
    margin-bottom: 20px;
}

.error-msg {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

input.error-border {
    border-color: var(--primary);
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.15);
}

.phone-input-group {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.prefix {
    background: #F1F2F6;
    border-radius: 16px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 16px;
    border: 2px solid transparent;
}

/* Controls */
.controls {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.controls .btn-primary {
    flex: 1;
}

/* Footer / Policy */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox-container input {
    margin-top: 3px;
    accent-color: var(--primary);
}

.checkbox-container a {
    color: var(--primary);
    text-decoration: underline;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    body { padding: 12px; }
    .container {
        padding: 20px;
        min-height: auto;
        border-radius: 20px;
    }
    .banner {
        width: calc(100% + 40px);
        margin: -20px -20px 20px -20px;
    }
    h1 { font-size: 22px; }
    h2 { font-size: 19px; }
    .btn { padding: 14px 20px; font-size: 15px; }
    .trust-item strong { font-size: 17px; }
    .trust-item span { font-size: 10px; }
    .option-btn { padding: 16px; font-size: 14px; }
}

/* ============ pinkledger-inspired additions ============ */

/* Day-in-life numbered steps */
.day-steps {
    display: flex; flex-direction: column; gap: 16px;
    margin: 20px 0 8px;
}
.day-step {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 14px 16px; background: #fff;
    border: 1px solid var(--border-color); border-radius: 16px;
    box-shadow: 0 2px 6px rgba(236, 72, 153, 0.04);
}
.day-step-num {
    flex-shrink: 0;
    width: 32px; height: 32px;
    background: var(--primary-gradient);
    color: #fff; font-weight: 800; font-size: 15px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.30);
}
.day-step-body { flex: 1; min-width: 0; }
.day-step-title {
    font-weight: 700; font-size: 15px; color: var(--text-main);
    margin-bottom: 4px; line-height: 1.3;
}
.day-step-text {
    font-size: 13.5px; color: var(--text-muted); line-height: 1.5;
}

/* Income tiers — 3 columns */
.income-tiers {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
    margin: 20px 0 8px;
}
.tier {
    background: #fff; border: 1px solid var(--border-color);
    border-radius: 16px; padding: 16px 8px; text-align: center;
    transition: all 0.2s;
}
.tier-amount {
    font-size: 16px; font-weight: 800; color: var(--text-main);
    letter-spacing: -0.3px; line-height: 1.15; margin-bottom: 6px;
}
.tier-label {
    font-size: 10.5px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.4px; font-weight: 600;
}
.tier-highlight {
    background: var(--primary-gradient); color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(236, 72, 153, 0.30);
    transform: scale(1.05);
}
.tier-highlight .tier-amount { color: #fff; }
.tier-highlight .tier-label { color: rgba(255,255,255,0.85); }

@media (max-width: 480px) {
    .income-tiers { gap: 8px; }
    .tier { padding: 14px 4px; }
    .tier-amount { font-size: 14px; }
    .tier-label { font-size: 9.5px; }
}

/* Success page + income predictor */
.success-page {
    text-align: center; padding: 12px 0 8px;
}
.success-check {
    width: 64px; height: 64px; margin: 0 auto 16px;
    background: var(--primary-gradient); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 38px; font-weight: 800;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.35);
}
.success-page h1 { margin-bottom: 12px; }
.predictor {
    margin-top: 24px;
    background: linear-gradient(160deg, #FFF0F7 0%, #FBE7F2 100%);
    border: 1px solid #FBCFE8;
    border-radius: 18px;
    padding: 22px 20px;
}
.predictor-label {
    font-size: 11px; font-weight: 700; color: var(--primary);
    text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px;
}
.predictor-value {
    font-size: 34px; font-weight: 800; color: var(--text-main);
    letter-spacing: -1px; line-height: 1.05; margin-bottom: 10px;
}
.predictor-note {
    font-size: 13px; color: var(--text-muted); line-height: 1.55;
}

/* Anonymity guarantee footer (global, every page) */
.anon-footer {
    position: fixed; bottom: 12px; left: 50%; transform: translateX(-50%);
    font-size: 11px; color: var(--text-muted);
    background: rgba(255,255,255,0.85); backdrop-filter: blur(8px);
    padding: 6px 14px; border-radius: 100px;
    border: 1px solid rgba(251, 207, 232, 0.6);
    z-index: 10; white-space: nowrap;
    font-weight: 600;
}
.anon-footer::before {
    content: '🔒'; margin-right: 6px;
}
@media (max-width: 480px) {
    .anon-footer { font-size: 10px; padding: 5px 12px; bottom: 8px; }
}
