/* Onboarding Page Styles */
.onboarding-page {
    min-height: 100vh;
    background-color: #faf9f6;
    display: flex;
    flex-direction: column;
}

/* Onboarding Header */
.onboarding-header {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.onboarding-header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.onboarding-back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #000;
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    margin-left: -8px;
}

.onboarding-back-btn:hover {
    opacity: 0.7;
}

.back-icon {
    font-size: 20px;
    line-height: 1;
}

.onboarding-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.logo-icon-small {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.onboarding-logo .logo-text {
    font-size: 18px;
    font-weight: 500;
    color: #0066cc;
}

.onboarding-progress-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 200px;
}

.onboarding-progress-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e5e5e5;
    transition: all 0.3s ease;
}

.progress-dot.active {
    background-color: #0066cc;
    width: 10px;
    height: 10px;
}

.progress-dot.completed {
    background-color: #0066cc;
}

.progress-line {
    flex: 1;
    height: 2px;
    background-color: #e5e5e5;
    max-width: 30px;
}

.progress-dot.completed + .progress-line {
    background-color: #0066cc;
}

.onboarding-section-label {
    font-size: 12px;
    font-weight: 500;
    color: #0066cc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Main Content */
.onboarding-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.onboarding-screen {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    animation: fadeIn 0.3s ease;
}

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

.screen-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.screen-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    text-align: center;
    line-height: 1.3;
    margin: 0;
}

.screen-subtitle {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin: 0;
}

/* Email Screen */
.email-screen .input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 14px 16px;
    background-color: #fff;
}

.email-screen .input-icon {
    font-size: 20px;
}

.email-screen input[type=\"email\"] {
    flex: 1;
    border: none;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #444;
    line-height: 1.4;
}

.checkbox-row input[type=\"checkbox\"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.awards-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.award-card {
    background: #fff7e6;
    border: 1px solid #f2d48a;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    color: #c39200;
    font-weight: 700;
    line-height: 1.3;
}

/* Paywall Screen */
.paywall-screen {
    gap: 24px;
}

.paywall-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f7f7f7;
    border-radius: 12px;
    padding: 12px 14px;
    border: 1px solid #e5e5e5;
}

.paywall-discount {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.paywall-discount-label {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.paywall-countdown {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    letter-spacing: 0.5px;
}

.paywall-top-cta {
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer;
}

.plans-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-card {
    border: 2px solid #e5e5e5;
    border-radius: 14px;
    padding: 14px;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.plan-card.highlighted {
    background: #eaf2ff;
    border-color: #1b6cff;
}

.plan-card.selected {
    border-color: #1b6cff;
    box-shadow: 0 6px 16px rgba(27, 108, 255, 0.15);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 12px;
    background: #1b6cff;
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.plan-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.plan-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #bdbdbd;
    position: relative;
}

.plan-radio.checked {
    border-color: #1b6cff;
}

.plan-radio.checked::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    background: #1b6cff;
    border-radius: 50%;
}

.plan-duration {
    font-size: 20px;
    font-weight: 700;
    color: #111;
}

.plan-tag {
    margin: 8px 0;
    display: inline-block;
    padding: 6px 10px;
    background: #eef4ff;
    color: #1b6cff;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.plan-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    gap: 12px;
}

.plan-price-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.plan-strike {
    color: #a1a1a1;
    text-decoration: line-through;
    font-size: 16px;
}

.plan-price {
    font-size: 24px;
    font-weight: 700;
    color: #111;
}

.plan-perday {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.plan-perday-value {
    font-size: 28px;
    font-weight: 800;
    color: #111;
}

.plan-perday-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.paywall-secure {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    color: #1b6cff;
    font-weight: 600;
}

.secure-badge {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #e6f2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1b6cff;
    font-weight: 800;
}

.paywall-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 8px;
    align-items: center;
    justify-items: center;
}

.paywall-logo {
    width: 56px;
    height: 32px;
    background: #f7f7f7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    text-transform: capitalize;
}

.paywall-logo.paypal::after { content: 'PayPal'; }
.paywall-logo.apple-pay::after { content: ' Pay'; }
.paywall-logo.google-pay::after { content: 'G Pay'; }
.paywall-logo.visa::after { content: 'VISA'; }
.paywall-logo.mastercard::after { content: 'MC'; }
.paywall-logo.maestro::after { content: 'Maestro'; }
.paywall-logo.discover::after { content: 'Discover'; }
.paywall-logo.amex::after { content: 'Amex'; }

.paywall-disclaimer {
    font-size: 12px;
    color: #666;
    text-align: center;
    line-height: 1.4;
}

/* Welcome Screen */
.welcome-screen {
    text-align: center;
}

.welcome-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.welcome-title {
    font-size: 32px;
    font-weight: 700;
    color: #0066cc;
    margin: 0;
}

.welcome-subtitle {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.welcome-quote {
    background-color: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    position: relative;
    margin: 24px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.quote-mark {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 64px;
    color: #9b59b6;
    font-weight: 300;
    line-height: 1;
    font-family: serif;
}

.quote-text {
    font-size: 18px;
    color: #000;
    line-height: 1.5;
    margin-bottom: 16px;
    text-align: left;
}

.quote-attribution {
    font-size: 14px;
    color: #999;
    font-style: italic;
    text-align: left;
}

.mentions-section {
    margin-top: 32px;
}

.mentions-title {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.mentions-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.mention-logo {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    padding: 12px;
    background-color: #fff;
    border-radius: 8px;
    text-align: center;
}

/* Select Screens */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.options-container.multi-select {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.select-option {
    background-color: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    color: #000;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.select-option:hover {
    border-color: #0066cc;
}

.select-option.selected {
    border-color: #0066cc;
    background-color: #f0f7ff;
    color: #0066cc;
}

.select-option.multi-select {
    flex-direction: column;
    min-height: 80px;
}

.option-emoji {
    font-size: 24px;
}

.option-label {
    font-size: 14px;
    font-weight: 500;
}

.checkmark {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background-color: #0066cc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Emoji Scale Screen */
.emoji-scale-screen {
    gap: 24px;
}

.info-message {
    background-color: #e8f5e9;
    border-radius: 12px;
    padding: 16px;
    color: #2e7d32;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.emoji-scale-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.emoji-option {
    background-color: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.emoji-option:hover {
    border-color: #0066cc;
    transform: scale(1.05);
}

.emoji-option.selected {
    border-color: #0066cc;
    background-color: #f0f7ff;
    transform: scale(1.1);
}

.emoji-icon {
    font-size: 32px;
}

/* Community Screen */
.community-screen {
    text-align: center;
}

.community-map-container {
    margin: 32px 0;
    position: relative;
}

.community-map {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.world-map {
    width: 100%;
    height: auto;
    opacity: 0.3;
}

.user-location-bubble {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.bubble-icon {
    font-size: 20px;
}

.bubble-text {
    font-size: 14px;
    font-weight: 500;
    color: #0066cc;
}

/* Buttons */
.onboarding-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.onboarding-btn.btn-primary {
    background-color: #0066cc;
    color: #fff;
}

.onboarding-btn.btn-primary:hover:not(:disabled) {
    background-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.onboarding-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .onboarding-header-container {
        padding: 12px 16px;
    }

    .onboarding-main {
        padding: 24px 16px;
    }

    .screen-title {
        font-size: 24px;
    }

    .options-container.multi-select {
        grid-template-columns: repeat(2, 1fr);
    }

    .welcome-title {
        font-size: 28px;
    }

    .mentions-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .onboarding-progress-container {
        max-width: 150px;
    }

    .progress-line {
        max-width: 20px;
    }
}

@media (max-width: 480px) {
    .options-container.multi-select {
        grid-template-columns: 1fr;
    }

    .emoji-scale-container {
        gap: 8px;
    }

    .emoji-option {
        width: 50px;
        height: 50px;
    }

    .emoji-icon {
        font-size: 24px;
    }
}

