/* Design tokens */
:root {
    /* Colors */
    /* --background: #F4FAF3; */
    --background: #F8FAF5;
    
    --surface: #FFFFFF;

    --primary: #6FAE75;
    --primary-dark: #4F8A54;

    --text-primary: #2F3E2F;
    --text-secondary: #6B7A6B;
    /* --text-secondary: #2f1706; */

    --success: #4CAF50;
    --warning: #F4B942;
    --error: #E57373;
    /* Typography */

    --font-family: "Poppins", sans-serif;

    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 2rem;

    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;

    /* Spacing */

    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    /* Border color */
    --border-color: #D6DFD6;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);

    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.4s ease;
}
/* css reset */
* {
    margin: 0;
    padding: 0;
    box-sizing:border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.5;
}

section.hidden{
    display: none;
}

.welcome {
    display: flex;
    min-height: 100vh;
    padding: var(--space-xl);
}

.welcome-content {
    flex:1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:flex-start;
    gap: var(--space-md);
}

.welcome-image {
    flex:1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.welcome-image img{
    max-width: 85%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.brand {
    display: flex;
    gap: var(--space-xs);
    align-items: center;    
}

.logo-img {
     width: 60px;
     height: auto;
}

.brand-name {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--primary);
}

.hero-title {
    color: var(--text-primary);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    max-width: 520px;
}

.hero-description {
    color: var(--text-secondary);
    font-size: var(--font-size-md);
    line-height: 1.5;
    max-width: 520px;
}

.feature-list{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    color: var(--text-secondary);
}

.feature-list li::before{
     content: "✓";
    color: var(--success);
    margin-right: var(--space-sm);
}

/* ===========================
   Mobile (768px and below)
=========================== */

@media (max-width:768px){

    section{
        padding:2rem 1.25rem;
    }

    .welcome,
    .onboarding{
        flex-direction:column;
        text-align:center;
        gap:2.5rem;
    }

    .welcome-content,
    .onboarding-content{
        order:2;
        width:100%;
        max-width:100%;
        align-items:center;
    }

    .welcome-image,
    .onboarding-image{
        order:1;
        width:100%;
        display:flex;
        justify-content:center;
    }

    .welcome-image img,
    .onboarding-image img{
        width:80%;
        max-width:320px;
        height:auto;
    }

    .brand{
        justify-content:center;
    }

    .hero-title{
        font-size:2rem;
        line-height:1.3;
    }

    .hero-description{
        font-size:1rem;
    }

    .feature-list{
        text-align:left;
        margin:auto;
    }

    .btn{
        width:100%;
    }

    input{
        width:100%;
    }

}