/* Onboarding Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&display=swap');

:root {
    --primary-bg: #0f0518;
    --secondary-bg: #1e1233;
    --accent-purple: #7c3aed;
    --accent-glow: #a855f7;
    --accent-green: #10b981;
    --text-white: #ffffff;
    --text-gray: #a0aec0;
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-white);
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    direction: rtl;
}

/* Background Effects */
.bg-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, rgba(15, 5, 24, 0) 70%);
    filter: blur(80px);
    z-index: -1;
}

.onboarding-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.onboarding-card {
    background: rgba(30, 18, 51, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Steps Progress */
.steps-progress {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.step-dot {
    width: 30px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.step-dot.active {
    background: var(--accent-purple);
    width: 50px;
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Step Content */
.step-content {
    display: none;
    text-align: center;
}

.step-content.active {
    display: block;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.step-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 30px auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    display: block;
}

.step-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-description {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-skip {
    color: var(--text-gray);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.3s;
}

.btn-skip:hover {
    color: var(--text-white);
}

/* Icons */
.icon-gem {
    color: var(--accent-glow);
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .onboarding-card {
        padding: 30px 20px;
    }
    .step-title {
        font-size: 1.6rem;
    }
    .step-description {
        font-size: 1rem;
    }
    .step-image {
        max-width: 100%;
    }
}
