@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #0b0f19;
    --card-bg: #1a1e2f;
    --primary: #5c55ff;
    --text-main: #ffffff;
    --text-muted: #8b8e9d;
    --font-family: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* To simulate mobile view on desktop too */
    margin: 0;
}

.mobile-container {
    width: 100%;
    max-width: 414px;
    min-height: 100vh;
    margin: 0 auto;
    max-height: 896px;
    position: relative;
    background-color: var(--bg-color);
    color: var(--text-main);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Splash Screen (Image 1) */
.splash-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.logo-circle {
    width: 160px;
    height: 160px;
    background-color: var(--card-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.logo-circle img {
    width: auto;
    height: 40px;
}

.logo-text {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.logo-icon {
    color: var(--primary);
    font-size: 36px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

/* Onboarding Screens (Image 2, 3, 4) */
.onboarding-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.skip-btn {
    position: absolute;
    top: 40px;
    right: 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    z-index: 10;
}

.onboarding-image-area {
    flex: 1;
    background-color: var(--card-bg);
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 50px;
}

.onboarding-image-area img {
    width: 80%;
    max-height: 300px;
    object-fit: contain;
}

.onboarding-content {
    flex: 0.8;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.onboarding-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.onboarding-content p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 40px;
}

.progress-btn-container {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

/* Circular Progress pseudo-element */
.progress-btn-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    /* Add dynamic border via JS or specific classes */
}

.pb-step-1::before {
    border-top-color: var(--primary);
    border-right-color: var(--primary);
    transform: rotate(-45deg);
}

.pb-step-2::before {
    border-top-color: var(--primary);
    border-right-color: var(--primary);
    border-bottom-color: var(--primary);
    transform: rotate(-45deg);
}

.pb-step-3::before {
    border-color: var(--primary);
}

.next-btn {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 24px;
    transition: transform 0.2s ease;
}

.next-btn:active {
    transform: scale(0.95);
}

.dots-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot {
    width: 6px;
    height: 6px;
    background-color: var(--card-bg);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dot.active {
    width: 12px;
    height: 12px;
    background-color: var(--primary);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    /* Diamond shape */
    border-radius: 0;
}

/* Let's Get Started Screen (Image 5) */
.header-area {
    background-color: var(--card-bg);
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    height: 35vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.get-started-content {
    flex: 1;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.get-started-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.get-started-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 40px;
}

.btn {
    width: 100%;
    padding: 18px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    margin-bottom: 15px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-secondary {
    background-color: var(--card-bg);
    color: white;
}

.divider {
    width: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--card-bg);
}

.divider::before {
    margin-right: 15px;
}

.divider::after {
    margin-left: 15px;
}

.social-login {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    /* Assuming white circles with icons */
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--bg-color);
    font-size: 18px;
}

.social-btn.facebook {
    background-color: #1877F2;
    color: white;
}

.social-btn.google {
    background-color: white;
    color: red;
}

/* Need actual Google G icon or SVGs */
.social-btn.apple {
    background-color: white;
    color: black;
}