/* Design System Variables */
:root {
    /* Colors */
    --color-black: #111827;
    --color-white: #FFFFFF;
    --color-gray-200: #EDEDED;
    --color-gray-400: #B0B0B0;
    --color-primary: var(--color-teal-medium);

    /* Typography */
    --font-family: 'Plus Jakarta Sans', sans-serif;
    --font-size-h3: 26px;
    --font-size-text-s: 14px;
    --line-height-h3: 34px;
    --line-height-text-s: 18px;
}

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

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* Onboarding Container */
.onboarding-container {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

/* Illustration Section */
.illustration-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    margin-bottom: 60px;
}

.illustration-container {
    width: 100%;
    max-width: 400px;
}

.illustration-bg {
    position: absolute;
    inset: 8.02% 11.49% 17.94% 8.44%;
    background: var(--color-gray-200);
    border-radius: 8px;
}

.wallet-illustration {
    position: absolute;
    inset: 32.49% 30.18% 10.38% 12.43%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Content Section */
.content-section {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
}

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

.content-title {
    font-family: var(--font-family);
    font-size: var(--font-size-h3);
    font-weight: 800;
    color: var(--text-on-surface);
    line-height: var(--line-height-h3);
}

.content-subtitle {
    font-family: var(--font-family);
    font-size: var(--font-size-text-s);
    font-weight: 400;
    color: var(--text-on-surface-variant);
    line-height: var(--line-height-text-s);
}

/* Bottom Section */
.bottom-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Progress Indicator */
.progress-indicator {
    display: flex;
    gap: 8px;
    align-items: center;
}

.progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-gray-200);
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: var(--progress-fill);
    width: 42px;
    border-radius: 5px;
}

/* Next Button */
.btn-next {
    background: var(--button-primary-bg);
    border: none;
    border-radius: 12px;
    padding: 16px 14px;
    font-family: var(--font-family);
    font-size: var(--font-size-text-s);
    font-weight: 700;
    color: var(--button-primary-text);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 152px;
    height: 50px;
}

.btn-next:hover {
    background: var(--button-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(117, 81, 220, 0.3);
}

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

/* Home Indicator - Hidden for web view */
.home-indicator {
    display: none;
}

.home-indicator-bar {
    display: none;
}

/* Responsive Design */

/* Desktop and Large Screens (1200px and up) */
@media (min-width: 1200px) {
    .onboarding-container {
        padding: 80px 60px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .illustration-section {
        max-width: 600px;
        margin-bottom: 80px;
    }

    .content-title {
        font-size: 42px;
        line-height: 52px;
    }

    .content-subtitle {
        font-size: 18px;
        line-height: 26px;
    }

    .content-section {
        max-width: 600px;
        gap: 60px;
    }

    .btn-next {
        width: 200px;
        height: 60px;
        font-size: 16px;
        padding: 20px 18px;
    }

    .progress-dot {
        width: 14px;
        height: 14px;
    }

    .progress-dot.active {
        width: 56px;
    }
}

/* Medium Desktop and Tablets (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .onboarding-container {
        padding: 60px 40px;
    }

    .illustration-section {
        max-width: 500px;
        margin-bottom: 60px;
    }

    .content-title {
        font-size: 32px;
        line-height: 40px;
    }

    .content-subtitle {
        font-size: 16px;
        line-height: 22px;
    }

    .content-section {
        gap: 50px;
    }

    .btn-next {
        width: 180px;
        height: 55px;
        font-size: 15px;
    }

    .progress-dot {
        width: 12px;
        height: 12px;
    }

    .progress-dot.active {
        width: 48px;
    }
}

/* Small Mobile (max 767px) */
@media (max-width: 767px) {
    .onboarding-container {
        padding: 40px 20px;
    }

    .illustration-section {
        margin-bottom: 40px;
    }

    .content-section {
        gap: 30px;
    }
}

/* Very Small Mobile (max 480px) */
@media (max-width: 480px) {
    .onboarding-container {
        padding: 30px 16px;
    }

    .content-title {
        font-size: 22px;
        line-height: 28px;
    }

    .content-subtitle {
        font-size: 13px;
        line-height: 17px;
    }

    .btn-next {
        width: 140px;
        height: 45px;
        font-size: 13px;
        padding: 14px 12px;
    }

    .progress-dot {
        width: 8px;
        height: 8px;
    }

    .progress-dot.active {
        width: 36px;
    }
}

/* Focus States for Accessibility */
.btn-next:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Loading States */
.btn-next:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-next:disabled:hover {
    transform: none;
    box-shadow: none;
}
