@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root{
    --primary-color: #4263EB;
    --text-primary: #1b1b1b;
    --text-secondary: #6b7280;
    --background-light: #f8f9ff;
    --border-color: #e5e7eb;
    --base-font-size: 15px;
}

*{
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
}

body{
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    line-height: 1.5;
    background-color: #fff;
    min-height: 100vh;
    font-size: var(--base-font-size);
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}

.nav-logo{
    display: flex;
    align-items: center;
}

.navbar .nav-logo a{
	margin-left: 2px;
}

.navbar .nav-logo i{
	padding-right: 2px;
	margin-right: 2px;
    font-size: 22px;
    color: lightgray;
    cursor: pointer;
}

.navbar .nav-logo i:hover{
    color: darkgray;
}
.navbar .nav-logo a:hover{
    color: darkgray;
    font-weight: bold;
}

.logo{
    width: 32px;
}

.nav-links{
    display: flex;
    gap: 2rem;
}

.nav-links a{
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover{
    color: var(--text-primary);
}

.nav-buttons{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-btn{
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
}

.try-btn{
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.try-btn:hover{
    opacity: 0.9;
}

.main-content{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.left-section{
    max-width: 560px;
}

h1{
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.subtitle{
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 3rem;
}

.form-container h2,
.right-section h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.form-row{
    display: flex;
    gap: 1rem;
}

.form-row .form-group{
    flex: 1 1 0;
    min-width: 0;
}

.form-group{
    margin-bottom: 1.5rem;
}

label{
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
}

input,
textarea,
select{
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.97rem;
    color: var(--text-primary);
    background-color: #fff;
    transition: all 0.2s ease;
}

select{
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

textarea{
    height: 120px;
    resize: vertical;
}

button{
    width: 100%;
    padding: 0.875rem 1.5rem;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.97rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

button:hover{
    opacity: 0.9;
}

.right-section{
    background-color: var(--background-light);
    padding: 1rem 2rem;
    border-radius: 16px;
}

.resource-card{
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.resource-card:hover{
    transform: translateY(-2px);
}

.resource-icon{
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-light);
    border-radius: 12px;
}

.resource-content h3{
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.resource-content p{
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.5;
}

#success-message{
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #10b981;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#success-message:not(.hidden){
    opacity: 1;
}

@media screen and (max-width: 1024px) {
    
    .main-content{
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .left-section{
        max-width: 100%;
    }

}

@media screen and (max-width: 768px) {
    
    .nav-links{
        display: none;
    }

    .main-content{
        padding: 2rem 1rem;
    }

    h1{
        font-size: 1.3rem;
    }

    .form-container h2,
    .right-section h2{
        font-size: 1rem;
    }

    .subtitle{
        font-size: 0.95rem;
    }

    input,
    textarea,
    select,
    button{
        font-size: 0.93rem;
    }

    .resource-content h3{
        font-size: 0.9rem;
    }

    .resource-content p{
        font-size: 0.78rem;
    }

}

@media screen and (max-width: 600px) {
    
    .form-row{
        flex-direction: column;
        gap: 0;
    }

}

@media screen and (max-width: 480px) {
    
    .nav-buttons{
        gap: 0.5rem;
    }

    .try-btn{
        padding: 0.5rem 0.75rem;
    }

}