/* ==================== NEW ONBOARDING DESIGN ==================== */

/* Wrapper - Full height, no overflow */
.onboarding-wrapper-new {
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Scrollable content area */
.onboarding-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Content padding - tight like screenshot */
.onboarding-content-new {
    padding: 16px 20px 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Brand Section */
.brand-section-new {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.logo-container-new {
    margin-bottom: 4px;
}

.logo-image-new {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    background: white;
    padding: 4px;
}

.logo-badge-new {
    background: rgba(31, 157, 124, 0.1);
    color: var(--accent-secondary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.brand-title-new {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1.1;
    margin: 0;
}

.brand-subtitle-new {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 300px;
    margin: 0;
}

/* Features Grid */
.features-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 440px;
}

.feature-card-new {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 14px;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.feature-icon-new {
    width: 44px;
    height: 44px;
    background: rgba(255, 106, 61, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-new .material-icons-round {
    font-size: 22px;
    color: var(--accent-primary);
}

.feature-card-new h3 {
    font-size: 0.8125rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.feature-card-new p {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    line-height: 1.3;
    margin: 0;
}

/* How It Works */
.how-it-works-new {
    width: 100%;
    max-width: 440px;
}

.section-title-new {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 12px;
}

.steps-container-new {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-item-new {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-number-new {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--accent-primary);
    opacity: 0.5;
    min-width: 30px;
    text-align: center;
}

.step-content-new {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.step-content-new .material-icons-round {
    font-size: 20px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.step-content-new h3 {
    font-size: 0.8125rem;
    font-weight: 700;
    margin: 0 0 2px;
}

.step-content-new p {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    line-height: 1.3;
    margin: 0;
}

/* Sticky CTA */
.cta-sticky-new {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-primary);
    padding: 14px 20px;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.04);
}

.btn-cta-new {
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(255, 106, 61, 0.3);
}

.btn-cta-new:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 106, 61, 0.4);
}

.btn-cta-new:active {
    transform: translateY(0);
}

.trust-badges-new {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.badge-new {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6875rem;
    color: var(--text-secondary);
}

.badge-new .material-icons-round {
    font-size: 14px;
    color: var(--accent-secondary);
}

.badge-divider-new {
    color: var(--text-muted);
    font-size: 0.625rem;
}

/* ==================== MOBILE RESPONSIVE ==================== */

/* Mobile Small (360px - 480px) */
@media (max-width: 480px) {
    .onboarding-content-new {
        padding: 14px 16px 120px;
        gap: 16px;
    }
    
    .logo-image-new {
        width: 72px;
        height: 72px;
    }
    
    .brand-title-new {
        font-size: 1.5rem;
    }
    
    .brand-subtitle-new {
        font-size: 0.8125rem;
    }
    
    .features-grid-new {
        gap: 8px;
    }
    
    .feature-card-new {
        padding: 14px 8px;
    }
    
    .feature-icon-new {
        width: 40px;
        height: 40px;
    }
    
    .feature-icon-new .material-icons-round {
        font-size: 20px;
    }
    
    .feature-card-new h3 {
        font-size: 0.75rem;
    }
    
    .feature-card-new p {
        font-size: 0.625rem;
    }
    
    .section-title-new {
        font-size: 0.9375rem;
    }
    
    .step-item-new {
        padding: 10px 12px;
    }
    
    .step-number-new {
        font-size: 1rem;
    }
    
    .step-content-new .material-icons-round {
        font-size: 18px;
    }
    
    .step-content-new h3 {
        font-size: 0.75rem;
    }
    
    .step-content-new p {
        font-size: 0.625rem;
    }
    
    .cta-sticky-new {
        padding: 12px 16px;
    }
    
    .btn-cta-new {
        padding: 14px 20px;
        font-size: 0.9375rem;
    }
}

/* Very Small Phones (320px - 360px) */
@media (max-width: 360px) {
    .onboarding-content-new {
        padding: 12px 14px 120px;
        gap: 14px;
    }
    
    .logo-image-new {
        width: 64px;
        height: 64px;
    }
    
    .brand-title-new {
        font-size: 1.375rem;
    }
    
    .features-grid-new {
        gap: 6px;
    }
    
    .feature-card-new {
        padding: 12px 6px;
    }
    
    .feature-card-new h3 {
        font-size: 0.6875rem;
    }
    
    .step-content-new h3 {
        font-size: 0.6875rem;
    }
    
    .step-content-new p {
        font-size: 0.5625rem;
    }
}

/* Extra Small (below 320px) */
@media (max-width: 320px) {
    .onboarding-content-new {
        padding: 10px 12px 120px;
    }
    
    .logo-image-new {
        width: 56px;
        height: 56px;
    }
    
    .brand-title-new {
        font-size: 1.25rem;
    }
    
    .feature-card-new {
        padding: 10px 4px;
    }
}
