/* Updated: 2025-10-10 20:26:18 - Currency symbols font-weight 100 */

/* Import base styles from original - this is a complete duplicate */
/* We can make sweeping changes here without affecting the original flow */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0FA47A;
    --primary-dark: #0C8A6D;
    --primary-hover: #0C8A6D;
    --primary-pressed: #0B6B53;
    --secondary: #12C293;
    --accent: #25D366;
    --text-dark: #0F172A;
    --text-medium: #334155;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --error: #ef4444;
    --success: #2CB67D;
    --button-border: #36857c;
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(to bottom right, #faf5ff, #eff6ff);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.onboarding-container {
    min-height: 100vh;
    position: relative;
    background: transparent;
    padding: 100px 20px 2rem 20px;
}

/* NEW: Progress Bar with Section Labels */
.progress-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 1.5rem;
    display: none; /* Hidden by default until user clicks Get Started */
}

.progress-bar-container.show {
    display: block;
}

.progress-bar-wrapper {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Back Button */
.back-button {
    position: absolute;
    left: 0;
    top: 0;
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.back-button:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.back-button svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 640px) {
    .back-button {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
        gap: 0.25rem;
    }
}

.progress-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-left: 100px; /* Make room for back button */
}

@media (max-width: 640px) {
    .progress-header {
        padding-left: 90px;
    }
}

.progress-step-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* NEW: Section labels */
.progress-section-label {
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 0.05em;
    display: none; /* Hidden to prevent overlap with back button */
}

.progress-step-text {
    font-size: 0.875rem;
    color: var(--text-medium);
    font-weight: 500;
}

.progress-step-number {
    color: var(--primary);
    font-weight: 600;
}

.progress-total {
    color: var(--text-light);
}

.progress-percentage {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.progress-bar {
    height: 6px;
    background: rgba(15, 164, 122, 0.1);
    border-radius: 100px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0FA47A 0%, #12C293 100%);
    width: 0%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Onboarding Steps */
.onboarding-step {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: none;
    opacity: 0;
    transition: all var(--transition-medium);
    padding: 0;
    min-height: calc(100vh - 140px);
}

.onboarding-step.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
    animation: fadeInUp 0.5s ease;
}

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

/* Welcome Screen */
.welcome-content {
    text-align: center;
    max-width: 100%;
    width: 100%;
    animation: fadeInUp 0.6s ease;
    padding: 40px 10px;
    margin: 0 auto;
}

.logo-section {
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.maya-avatar-large {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center center;
    border: 4px solid var(--white);
    box-shadow: 0 10px 30px rgba(15, 164, 122, 0.3);
    background: var(--white);
}

/* NEW: Sparkle effect for celebration */
/* Loading Ring Animation for Step 10 */
.loading-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
}

.loading-ring-bg {
    opacity: 0.2;
}

.loading-ring-progress {
    stroke-dasharray: 565.48; /* 2 * PI * 90 */
    stroke-dashoffset: 565.48;
    transform-origin: center;
    transform: rotate(-90deg);
    transition: stroke-dashoffset 3s ease-in-out;
}

.loading-ring-progress.animate {
    stroke-dashoffset: 0;
}

.encouragement-avatar {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.encouragement-avatar .maya-avatar-large {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); filter: brightness(1.1); }
}

.gradient-text {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0FA47A 0%, #12C293 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-weight: 400;
}

.features-list {
    margin-bottom: 2rem;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.feature-icon {
    font-size: 1.25rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 164, 122, 0.1);
    border-radius: 8px;
}

.feature-text {
    flex: 1;
    color: var(--text-dark);
}

/* NEW: Social Proof Section */
.social-proof {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(15, 164, 122, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(15, 164, 122, 0.1);
}

.social-proof-text {
    color: var(--text-medium);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Form Content */
.form-content {
    max-width: 100%;
    width: 100%;
    animation: fadeInUp 0.6s ease;
    padding: 20px 10px 40px;
    margin: 0 auto;
}

.chat-bubble-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

@media (min-width: 480px) {
    .chat-bubble-container {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
}

.form-chat {
    margin-bottom: 1rem;
}

@media (min-width: 480px) {
    .form-chat {
        margin-bottom: 1.5rem;
    }
}

.maya-avatar-chat {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

@media (min-width: 480px) {
    .maya-avatar-chat {
        width: 56px;
        height: 56px;
    }
}
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

/* NEW: Celebration animation for avatar */
.maya-avatar-chat.celebration {
    animation: celebrate 0.6s ease;
}

@keyframes celebrate {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-5deg) scale(1.1); }
    75% { transform: rotate(5deg) scale(1.1); }
}

.chat-bubble {
    background: var(--white);
    padding: 1rem;
    border-radius: 20px;
    border-top-left-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    flex: 1;
}

@media (min-width: 480px) {
    .chat-bubble {
        padding: 1.5rem;
    }
}

.chat-bubble::before {
    content: '';
    position: absolute;
    top: 10px;
    left: -8px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 0;
    border-color: transparent var(--white) transparent transparent;
}

.chat-bubble p {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
}

.chat-bubble p:last-child {
    margin-bottom: 0;
}

/* NEW: Chat hints */
.chat-hint {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

/* Input Groups */
.input-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--white);
    color: var(--text-dark);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 164, 122, 0.1);
}

.form-input.error {
    border-color: var(--error);
}

.input-error {
    display: block;
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
}

.input-error.show {
    opacity: 1;
    transform: translateY(0);
}

/* Phone Input (from original) */
.phone-input-wrapper {
    display: flex;
    align-items: stretch;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--white);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.phone-input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 164, 122, 0.1);
}

.country-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
    background: var(--bg-light);
    border-right: 1px solid var(--border-color);
    cursor: pointer;
    transition: background var(--transition-fast);
    min-width: 100px;
}

.country-selector:hover {
    background: #e5e7eb;
}

.flag-icon {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
}

#selectedCode {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.dropdown-arrow {
    transition: transform var(--transition-fast);
}

.country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    margin-top: 0.5rem;
    max-height: 300px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all var(--transition-fast);
    z-index: 100;
}

.country-dropdown.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.country-search {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    outline: none;
}

.country-list {
    max-height: 250px;
    overflow-y: auto;
}

.country-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background var(--transition-fast);
    font-size: 0.9rem;
}

.country-item:hover {
    background: var(--bg-light);
}

.phone-input {
    border: none;
    background: transparent;
    flex: 1;
    padding: 1rem 1.25rem;
    font-size: 1rem;
}

.phone-input:focus {
    outline: none;
}

/* Level Options */
.level-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.level-card {
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-medium);
    display: flex;
    align-items: center;
    background: var(--white);
}

.level-card:hover {
    border-color: var(--primary);
    background: var(--bg-light);
    transform: translateX(4px);
}

.level-card.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(15, 164, 122, 0.1) 0%, rgba(18, 194, 147, 0.1) 100%);
    transform: scale(1.02);
}

.level-icon {
    font-size: 32px;
    margin-right: 16px;
}

.level-name {
    font-size: 18px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.level-desc {
    font-size: 14px;
    color: var(--text-light);
}

/* NEW: Three-Button Group (X/🤔/✓) */
.three-button-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.three-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 12px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
    transition: all var(--transition-medium);
    min-height: 120px;
}

.three-button:hover {
    border-color: var(--primary);
    background: var(--bg-light);
    transform: translateY(-4px);
}

.three-button.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(15, 164, 122, 0.15) 0%, rgba(18, 194, 147, 0.15) 100%);
    transform: scale(1.05);
}

.button-icon {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
}

.button-text {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: var(--text-dark);
}

/* NEW: Encouragement Content */
.encouragement-content {
    text-align: center;
    max-width: 100%;
    width: 100%;
    animation: fadeInUp 0.6s ease;
    padding: 40px 10px;
    margin: 0 auto;
}

.encouragement-avatar {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.encouragement-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.encouragement-text {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* WhatsApp Messages Animation for Step 13 */
.whatsapp-messages-container {
    margin-bottom: 1rem;
    padding: 0.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    /* Reserve minimum height to prevent layout shift */
    min-height: 200px;
}

.whatsapp-message {
    display: flex;
    margin-bottom: 6px;
    opacity: 0;
    /* Remove translateY to prevent layout shift - use scale instead */
    transform: scale(0.95);
    transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

.whatsapp-message.animate {
    animation: slideInMessage 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInMessage {
    to {
        opacity: 1;
        /* Scale to normal size instead of translating */
        transform: scale(1);
    }
}

.whatsapp-message.left {
    justify-content: flex-start;
}

.whatsapp-message.right {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 12px;
    position: relative;
}

.whatsapp-message.left .message-bubble {
    background: #E8E8E8;
    border-bottom-left-radius: 4px;
}

.whatsapp-message.right .message-bubble {
    background: linear-gradient(135deg, #0FA47A 0%, #12C293 100%);
    border-bottom-right-radius: 4px;
}

.message-text {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-color);
}

.whatsapp-message.right .message-text {
    color: white;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    display: block;
    text-align: right;
    margin-top: 2px;
    font-weight: 500;
}

.whatsapp-message.right .message-time {
    color: rgba(255, 255, 255, 0.8);
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: #E8E8E8;
    border-radius: 12px;
    border-bottom-left-radius: 4px;
    width: fit-content;
    margin-bottom: 6px;
    opacity: 0;
    /* Use scale instead of affecting layout */
    transform: scale(0.95);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.typing-indicator.animate {
    animation: fadeIn 0.2s ease-out forwards;
}

.typing-indicator.fade-out {
    animation: fadeOut 0.15s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-8px);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Motivation Options */
.motivation-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.motivation-card {
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-medium);
    display: flex;
    align-items: center;
    background: var(--white);
}

.motivation-card:hover {
    border-color: var(--primary);
    background: var(--bg-light);
    transform: translateX(4px);
}

.motivation-card.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(15, 164, 122, 0.1) 0%, rgba(18, 194, 147, 0.1) 100%);
    transform: scale(1.02);
}

.motivation-icon {
    font-size: 32px;
    margin-right: 16px;
    flex-shrink: 0;
}

.motivation-content {
    display: flex;
    flex-direction: column;
}

.motivation-title {
    font-size: 18px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.motivation-desc {
    font-size: 14px;
    color: var(--text-light);
}

/* Time Options */
.time-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.time-card {
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-medium);
    display: flex;
    align-items: center;
    background: var(--white);
    position: relative;
}

.time-card:hover {
    border-color: var(--primary);
    background: var(--bg-light);
    transform: translateX(4px);
}

.time-card.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(15, 164, 122, 0.1) 0%, rgba(18, 194, 147, 0.1) 100%);
    transform: scale(1.02);
}

.time-card.recommended {
    border-color: var(--success);
}

.time-icon {
    font-size: 32px;
    margin-right: 16px;
}

.time-content {
    display: flex;
    flex-direction: column;
}

.time-title {
    font-size: 18px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.time-desc {
    font-size: 14px;
    color: var(--text-light);
}

.recommended-badge {
    position: absolute;
    top: -10px;
    right: 12px;
    background: var(--success);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Swipe Card System */
.swipe-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px 0;
}

.swipe-card-stack {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 30px;
}

.swipe-card {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    border: 3px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    transition: transform 0.1s ease-out;
    touch-action: none;
}

.swipe-card:active {
    cursor: grabbing;
}

.swipe-card .topic-icon {
    font-size: 80px;
    display: block;
    margin-bottom: 30px;
}

.swipe-card .topic-text {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    padding: 0 30px;
    color: var(--text-dark);
}

/* Stack effect - cards behind the top one */
.swipe-card:nth-child(1) {
    transform: rotate(0deg);
    z-index: 100;
}

.swipe-card:nth-child(2) {
    transform: scale(0.95) translateY(10px) rotate(-2deg);
    opacity: 0.95;
    z-index: 99;
}

.swipe-card:nth-child(3) {
    transform: scale(0.92) translateY(15px) rotate(2deg);
    opacity: 0.9;
    z-index: 98;
}

.swipe-card:nth-child(4) {
    transform: scale(0.89) translateY(20px) rotate(-1deg);
    opacity: 0.85;
    z-index: 97;
}

.swipe-card:nth-child(5) {
    transform: scale(0.86) translateY(25px) rotate(1.5deg);
    opacity: 0.8;
    z-index: 96;
}

.swipe-card:nth-child(n+6) {
    transform: scale(0.83) translateY(30px) rotate(-0.5deg);
    opacity: 0.75;
    z-index: 95;
}

/* Swipe indicators */
.swipe-card.swiping-right::after {
    content: '❤️';
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 100px;
    opacity: 0;
    animation: likeStamp 0.3s ease-out forwards;
    pointer-events: none;
}

.swipe-card.swiping-left::after {
    content: '✕';
    position: absolute;
    top: 40px;
    left: 40px;
    font-size: 100px;
    color: #ff4458;
    font-weight: bold;
    opacity: 0;
    animation: nopeStamp 0.3s ease-out forwards;
    pointer-events: none;
}

@keyframes likeStamp {
    to {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes nopeStamp {
    to {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Swipe action buttons */
.swipe-actions {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1001;
    pointer-events: none;
}

.swipe-actions > * {
    pointer-events: auto;
}

.swipe-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1000;
    pointer-events: auto;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

.swipe-button:active {
    transform: scale(0.9);
}

.swipe-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

@media (hover: none) {
    .swipe-button:hover {
        transform: scale(1);
    }
}

.swipe-button.swipe-nope {
    border: 3px solid #ff4458;
}

.swipe-button.swipe-nope svg {
    color: #ff4458;
}

.swipe-button.swipe-like {
    border: 3px solid var(--primary);
}

.swipe-button.swipe-like svg {
    color: var(--primary);
}

/* Progress counter */
.swipe-progress {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .swipe-card-stack {
        height: 350px;
    }
    
    .swipe-card .topic-icon {
        font-size: 60px;
        margin-bottom: 20px;
    }
    
    .swipe-card .topic-text {
        font-size: 20px;
        padding: 0 20px;
    }
    
    .swipe-actions {
        gap: 40px;
        padding: 20px 0;
    }
    
    .swipe-button {
        width: 60px;
        height: 60px;
        /* Ensure buttons are tappable on mobile */
        min-width: 60px;
        min-height: 60px;
    }
    
    .swipe-button svg {
        width: 28px;
        height: 28px;
    }
    
    /* Add visual feedback for mobile taps */
    .swipe-button:active {
        transform: scale(0.85);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    }
}

/* Old topic grid - keep for reference but hidden */
.topic-grid {
    display: none;
}

.topic-card {
    display: none;
}

.topic-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 6px;
}

@media (min-width: 480px) {
    .topic-icon {
        font-size: 32px;
        margin-bottom: 8px;
    }
}

.topic-text {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}

@media (min-width: 480px) {
    .topic-text {
        font-size: 13px;
        line-height: 1.3;
    }
}


/* Challenge Options */
.challenge-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.challenge-card {
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-medium);
    display: flex;
    align-items: center;
    background: var(--white);
}

.challenge-card:hover {
    border-color: var(--primary);
    background: var(--bg-light);
    transform: translateX(4px);
}

.challenge-card.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(15, 164, 122, 0.1) 0%, rgba(18, 194, 147, 0.1) 100%);
    transform: scale(1.02);
}

.challenge-icon {
    font-size: 32px;
    margin-right: 16px;
    flex-shrink: 0;
}

.challenge-content {
    display: flex;
    flex-direction: column;
}

.challenge-title {
    font-size: 18px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.challenge-desc {
    font-size: 14px;
    color: var(--text-light);
}

/* Pricing Plans */
.pricing-plans {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

@media (min-width: 600px) {
    .pricing-plans {
        grid-template-columns: repeat(2, 1fr);
    }
}

.plan-card {
    padding: 24px;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all var(--transition-medium);
    background: var(--white);
    position: relative;
}

.plan-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(15, 164, 122, 0.15);
}

.plan-card.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(15, 164, 122, 0.05) 0%, rgba(18, 194, 147, 0.05) 100%);
    transform: scale(1.02);
}

.plan-card.recommended {
    border-color: var(--success);
}

.plan-badge {
    position: absolute;
    top: -10px;
    right: 12px;
    background: var(--success);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.plan-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

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

.plan-name {
    font-size: 20px;
    font-weight: 700;
}

.plan-price {
    margin-bottom: 16px;
}

/* NEW: Deepstash-style pricing */
.plan-price-new {
    margin-bottom: 12px;
    text-align: left;
}

.trial-price-large {
    font-size: 37px;
    font-weight: 900;
    line-height: 1;
    color: var(--text-dark);
    letter-spacing: -2px;
}

.trial-period-text {
    font-size: 18px;
    color: var(--text-medium);
    font-weight: 500;
    margin-top: 4px;
}

.then-price-wrapper {
    margin-bottom: 20px;
}

.then-price-text {
    font-size: 16px;
    color: var(--text-medium);
    font-weight: 500;
}

.then-price-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.price-equivalent-new {
    font-size: 14px;
    color: var(--success);
    font-weight: 600;
    margin-top: 4px;
}

.price-per-day {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 300;
    margin-top: 12px;
    text-align: center;
}

.price-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
}

.price-period {
    font-size: 16px;
    color: var(--text-light);
}

.price-equivalent {
    display: block;
    font-size: 14px;
    color: var(--text-medium);
    margin-top: 4px;
}

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

.plan-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-dark);
}

/* Plan Select Button */
.plan-select-button {
    width: 100%;
    margin-top: 20px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-bottom: 3px solid #36857c;
    border-radius: 16px;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: linear-gradient(135deg, #0FA47A 0%, #12C293 100%);
    color: var(--white);
    box-shadow: 0 6px 15px rgba(15, 164, 122, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.plan-select-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 164, 122, 0.35);
}

.plan-select-button:active {
    transform: translateY(2px);
    border-bottom: 2px solid #36857c;
    box-shadow: 0 2px 8px rgba(15, 164, 122, 0.2);
}

/* WhatsApp icon alignment in buttons */
.plan-select-button .whatsapp-icon {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-right: 0;
}

/* Currency Selector */
.currency-selector-container {
    margin-bottom: 24px;
    text-align: center;
}


/* Currency Symbol Styling - Ultra specific to override parent bold */
.currency-symbol {
    display: inline-block !important;
    font-size: 0.9em !important;
    font-weight: 300 !important;
    opacity: 1 !important;
    vertical-align: baseline !important;
    line-height: 1 !important;
    margin-right: 0.1em !important;
}

/* Ensure price numbers maintain their styling */
.price-number {
    font-weight: inherit;
    font-size: inherit;
    line-height: 1;
}

/* Override any parent bold styling with maximum specificity */
.plan-card .trial-price-large .currency-symbol,
.plan-card .then-price-amount .currency-symbol,
.plan-card .price-equivalent-new .currency-symbol,
.plan-card .price-per-day .currency-symbol,
.pricing-plans .currency-symbol,
.plan-price-new .currency-symbol,
.then-price-wrapper .currency-symbol,
div .currency-symbol,
span .currency-symbol {
    font-weight: 300 !important;
    font-size: 0.9em !important;
    opacity: 1 !important;
    display: inline-block !important;
    line-height: 1 !important;
    margin-right: 0.1em !important;
}

/* Extra specific for trial price */
.trial-price-large .currency-symbol {
    font-weight: 300 !important;
    font-size: 0.9em !important;
}

/* Step 17 Refined Pricing Layout */
#step17 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#step17 .pricing-layout {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

#step17 .pricing-content {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#step17 .pricing-insight-chart {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto -8px;
}

#step17 .pricing-heading {
    font-size: 2.2rem;
    line-height: 1.1;
    color: #111827;
    margin: 0;
}

#step17 .pricing-subheading {
    margin: 0;
    color: #6b7280;
    font-size: 1.05rem;
}

#step17 .plan-card-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#step17 .plan-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 24px;
    padding: 20px 24px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
    outline: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

#step17 .plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

#step17 .plan-card:focus-visible {
    box-shadow: 0 0 0 4px rgba(15, 164, 122, 0.35);
}

#step17 .plan-card.selected {
    border-color: #0FA47A;
    background: #f1fdf7;
    box-shadow: 0 18px 40px rgba(15, 164, 122, 0.22);
}

#step17 .plan-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

#step17 .plan-radio-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

#step17 .plan-radio-indicator::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: transparent;
    transform: scale(0);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

#step17 .plan-card.selected .plan-radio-indicator {
    border-color: #0FA47A;
}

#step17 .plan-card.selected .plan-radio-indicator::after {
    background: #0FA47A;
    transform: scale(1);
}

#step17 .plan-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#step17 .plan-card-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

#step17 .plan-price-transition {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-weight: 600;
    color: #6b7280;
}

#step17 .plan-original-price {
    font-size: 0.95rem;
    color: #9ca3af;
    text-decoration: line-through;
    display: inline-flex;
    gap: 0;
    align-items: baseline;
}

#step17 .plan-price-arrow {
    font-size: 0.9rem;
    color: #cbd5f5;
}

#step17 .plan-current-price {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #6b7280;
}

#step17 .plan-subtext {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

#step17 .plan-trial-text {
    color: #0FA47A;
}

#step17 .plan-discount-text {
    color: #0C8A6D;
}

#step17 .plan-perday-box {
    background: linear-gradient(135deg, rgba(15, 164, 122, 0.1), rgba(18, 194, 147, 0.12));
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 110px;
}

#step17 .perday-original {
    font-size: 0.85rem;
    color: #6b7280;
    text-decoration: line-through;
    display: flex;
    align-items: baseline;
    gap: 0;
}

#step17 .perday-current {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0FA47A;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 0;
}

#step17 .perday-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #475569;
    text-transform: lowercase;
    letter-spacing: 0.02em;
}

#step17 .plan-original-price .currency-symbol,
#step17 .plan-original-price .price-number,
#step17 .perday-original .currency-symbol,
#step17 .perday-original .price-number {
    text-decoration: inherit;
    display: inline;
}

#step17 .plan-original-price .currency-symbol,
#step17 .plan-current-price .currency-symbol,
#step17 .perday-original .currency-symbol,
#step17 .perday-current .currency-symbol {
    font-size: inherit !important;
    margin-right: 0 !important;
}

#step17 .plan-popular-banner {
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 9px 18px;
    background: linear-gradient(135deg, #4e44ff 0%, #446bff 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    max-width: 200px;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 12px 24px rgba(68, 75, 255, 0.25);
}

#step17 .plan-card.selected .plan-popular-banner {
    display: flex;
}

#step17 .pricing-primary-cta {
    margin: 16px auto 0;
    align-self: center;
    background: linear-gradient(135deg, #0FA47A 0%, #12C293 100%);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 18px 48px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 18px 32px rgba(15, 164, 122, 0.28);
    border-bottom: 3px solid #36857c;
    width: 100%;
    max-width: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#step17 .pricing-primary-cta .cta-whatsapp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#step17 .pricing-primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 36px rgba(15, 164, 122, 0.35);
}

#step17 .pricing-primary-cta:active {
    transform: translateY(2px);
}

#step17 .pricing-trust-badge {
    width: 100%;
    max-width: 300px;
    margin: 12px auto 0;
    display: block;
}

#step17 .pricing-stripe-badge {
    display: block;
    width: 359px;
    max-width: 100%;
    margin: 16px auto 0;
}

#step17 .pricing-footnote {
    margin-top: -4px;
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
}

#step17 .inline-timer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 0 10px;
    margin-left: 8px;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.12);
    color: #4338ca;
    font-weight: 700;
}

#step17 .cta-savings-callout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

@media (min-width: 820px) {
    #step17 .plan-card-group {
        flex-direction: column;
    }

    #step17 .plan-card {
        flex: none;
    }
}

#step17 .currency-selector-container {
    margin: 12px 0 24px;
    display: flex;
    justify-content: center;
}

#step17 .currency-selector-container .currency-selector {
    max-width: 200px;
}

/* Fix icon alignment in data protection and risk-free boxes */
/* Data Protection Box */
.data-protection-box {
    background: linear-gradient(135deg, #FAF5FF 0%, #F3E8FF 100%);
    border: 2px solid #E9D5FF;
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.protection-icon {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 0;
    margin-top: 0;
}

.protection-icon svg {
    display: block;
    margin: 0;
    padding: 0;
}

.protection-content {
    flex: 1;
}

.protection-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.highlight-purple {
    color: #9333EA;
}

.protection-text {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
}

/* Risk-Free Box */
.risk-free-box {
    background: white;
    border: 2px solid #0FA47A;
    border-radius: 16px;
    padding: 20px;
    margin: 24px 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.risk-free-icon {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 0;
    margin-top: 0;
}

.risk-free-icon svg {
    display: block;
    margin: 0;
    padding: 0;
}
.risk-free-content {
    flex: 1;
}

.risk-free-title {
    font-size: 18px;
    font-weight: 700;
    color: #0FA47A;
    margin-bottom: 4px;
    line-height: 1.4;
}

.risk-free-subtext {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.5;
    margin: 0 0 8px 0;
    font-weight: 400;
}

.risk-free-text {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.5;
    margin: 0;
}

#step17 .pricing-ticker {
    margin: 20px auto 0;
    padding: 10px 0;
    overflow: hidden;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

#step17 .pricing-ticker-track {
    display: flex;
    gap: 32px;
    width: max-content;
    animation: ticker-scroll 22s linear infinite;
}

#step17 .pricing-ticker:hover .pricing-ticker-track {
    animation-play-state: paused;
}

#step17 .pricing-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #0f172a;
    white-space: nowrap;
}

#step17 .pricing-ticker-item .flag {
    font-size: 1.1rem;
}

#step17 .pricing-ticker-item .ticker-avatar {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #eef2ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 18px;
    margin-right: -6px;
}

#step17 .pricing-ticker-item .ticker-avatar::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #111827;
    display: block;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* Mobile responsiveness */
@media (max-width: 640px) {
    .price-banner {
        padding: 10px 16px;
    }
    
    .price-banner-text {
        font-size: 13px;
    }
    
    #priceCountdown {
        font-size: 14px;
    }
    
    .data-protection-box,
    .risk-free-box {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }
    
    .protection-icon svg,
    .risk-free-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .protection-title {
        font-size: 16px;
    }
    
    .risk-free-title {
        font-size: 15px;
    }
    
    .protection-text,
    .risk-free-text {
        font-size: 13px;
    }
}

/* Currency Selector */
.currency-selector {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    font-size: 14px;
    cursor: pointer;
}

/* Confirmation List */
.confirmation-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
}

.confirmation-list li {
    padding: 8px 0;
    font-size: 15px;
    color: var(--text-dark);
}

/* Buttons */
.cta-button {
    width: calc(100% - 20px);
    margin: 20px auto 0;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    outline: none;
}

.cta-button.primary {
    background: linear-gradient(135deg, #0FA47A 0%, #12C293 100%);
    color: var(--white);
    border-bottom: 3px solid #36857c;
    box-shadow: 0 6px 15px rgba(15, 164, 122, 0.25);
    border-radius: 16px;
    font-weight: 700;
}

.cta-button.primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #0FA47A 0%, #12C293 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 164, 122, 0.35);
}

.cta-button.primary:active:not(:disabled) {
    transform: translateY(2px);
    border-bottom: 2px solid #36857c;
    box-shadow: 0 2px 8px rgba(15, 164, 122, 0.2);
}

.cta-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.arrow-icon {
    transition: transform var(--transition-fast);
}

.cta-button:hover:not(:disabled) .arrow-icon {
    transform: translateX(4px);
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* User name display */
.user-name-display {
    font-weight: 600;
    color: var(--primary);
}

/* Mobile Optimizations */
@media (max-width: 480px) {
    .welcome-content {
        padding: 20px 10px 40px 10px;
    }
    
    .form-content {
        padding: 10px 10px 40px 10px;
    }
    
    .logo-section {
        margin-bottom: 1rem;
    }
    
    .level-card {
        padding: 14px 16px;
    }
    
    .level-icon {
        font-size: 28px;
        margin-right: 12px;
    }
    
    .level-name {
        font-size: 16px;
        margin-bottom: 2px;
    }
    
    .level-desc {
        font-size: 13px;
    }
    
    .gradient-text {
        font-size: 1.75rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .maya-avatar-large {
        width: 140px;
        height: 140px;
    }
    
    .encouragement-title {
        font-size: 1.5rem;
    }
    
    .chat-bubble {
        padding: 1.25rem;
    }
    
    .feature-item {
        font-size: 0.875rem;
    }
    
    .three-button-group {
        gap: 8px;
    }
    
    .three-button {
        padding: 16px 8px;
        min-height: 100px;
    }
    
    .button-icon {
        font-size: 32px;
    }
    
    .button-text {
        font-size: 12px;
    }
    
    /* Hide descriptive text on all selection cards */
    .motivation-desc,
    .time-desc,
    .challenge-desc,
    .level-desc {
        display: none !important;
    }
    
    /* Make selection cards smaller and more compact */
    .motivation-card,
    .time-card,
    .challenge-card {
        padding: 12px 14px;
        min-height: 60px;
    }
    
    .motivation-icon,
    .time-icon,
    .challenge-icon {
        font-size: 28px;
        margin-right: 12px;
    }
    
    .motivation-title,
    .time-title,
    .challenge-title {
        font-size: 15px;
        margin-bottom: 0;
    }
}

/* Mobile fix for inputs */
@media (max-width: 768px) {
    input[type="tel"],
    input[type="text"],
    input[type="email"] {
        font-size: 16px !important;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Account Creation Loader */
.account-creation-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 40px 20px;
}

.loader-content {
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.loader-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    position: relative;
}

.circular-loader {
    animation: rotate 2s linear infinite;
    height: 80px;
    width: 80px;
}

.loader-path {
    stroke: #0FA47A;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

.loader-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.loader-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.loader-steps {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.loader-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.loader-step.completed {
    opacity: 1;
    background: linear-gradient(135deg, rgba(15, 164, 122, 0.1) 0%, rgba(18, 194, 147, 0.1) 100%);
}

.loader-step .step-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.loader-step.completed .step-icon {
    background: #0FA47A;
    color: white;
}

.loader-step .step-text {
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.loader-step.completed .step-text {
    color: var(--text-dark);
    font-weight: 500;
}

/* Step 13 specific animations */
#step13Content {
    animation: fadeIn 0.5s ease-in;
}

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

/* Floating circle animation removed - replaced with loading ring */

/* Mobile Responsive Adjustments for WhatsApp Messages */
@media (max-width: 480px) {
    .whatsapp-messages-container {
        padding: 0.5rem;
    }
    
    .message-bubble {
        max-width: 85%;
        padding: 10px 14px;
    }
    
    .message-text {
        font-size: 0.9rem;
    }
    
    .message-time {
        font-size: 0.65rem;
    }
}

/* Benefits Section - Spanish Chat Branding */
.benefits-section {
    margin-top: 32px;
    padding: 28px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(15, 164, 122, 0.1);
}

.benefits-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 24px;
}

@media (max-width: 480px) {
    .benefits-title {
        font-size: 20px;
    }
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.5;
}

.benefit-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0;
}

/* FAQ Section - Matching Main Website Branding */
.faq-section {
    margin-top: 24px;
    padding: 28px;
    background: linear-gradient(to bottom right, #faf5ff, #eff6ff);
    border: 2px solid #e9d5ff;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.uk-founder-note {
    margin-top: 20px;
    padding: 22px;
    background: linear-gradient(to bottom right, #faf5ff, #eff6ff);
    border: 2px solid #e9d5ff;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: #1f2937;
}

.uk-founder-note .uk-flag {
    font-size: 24px;
    flex-shrink: 0;
}

.uk-founder-note strong {
    font-weight: 700;
    color: #0f172a;
}

.faq-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 24px;
}

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

.faq-item {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.faq-item[open] {
    background: #FAFAFA;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-arrow {
    width: 20px;
    height: 20px;
    color: var(--text-light);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item[open] .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    color: var(--text-medium);
    font-size: 15px;
    line-height: 1.6;
    animation: fadeIn 0.3s ease;
}

/* Special styling for discount code FAQ */
.faq-item.discount-highlight {
    border: 2px solid #FFC400;
    background: linear-gradient(135deg, #FFFBF0 0%, #FFF9E6 100%);
}

.faq-item.discount-highlight[open] {
    background: #FFFBF0;
    border-color: var(--primary);
}

.faq-item.discount-highlight .faq-answer strong {
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
}

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

/* Mobile responsive for new sections */
@media (max-width: 600px) {
    .benefits-section,
    .faq-section {
        padding: 20px;
        margin-top: 20px;
    }
    
    .benefits-title,
    .faq-title {
        font-size: 20px;
    }
    
    .benefit-item {
        font-size: 14px;
    }
    
    .benefit-icon {
        width: 20px;
        height: 20px;
    }
    
    .faq-question {
        font-size: 16px;
    }
    
    .faq-answer {
        font-size: 14px;
    }
}

/* Discount Code FAQ - Step 16 */
.discount-faq-step16 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.discount-faq-item {
    background: var(--white);
    border: 2px solid var(--saffron, #FFC400);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(255, 196, 0, 0.15);
    transition: all 0.3s ease;
}

.discount-faq-item[open] {
    background: #FFFBF0;
    border-color: var(--primary);
}

.discount-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    user-select: none;
}

.discount-faq-question::-webkit-details-marker {
    display: none;
}

.discount-faq-question:hover {
    color: var(--primary);
}

.discount-faq-item[open] .faq-arrow {
    transform: rotate(180deg);
}

.discount-faq-answer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.6;
    animation: fadeIn 0.3s ease;
}

.discount-faq-answer strong {
    color: var(--primary);
    font-weight: 700;
}

/* Discount Code Promo - Step 17 */
.discount-code-promo {
    margin-top: 8px;
    text-align: center;
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
}

.discount-code-promo strong {
    font-weight: 700;
    color: var(--primary);
}
