/* Reset básico */
html, body {
    margin: 0px;
    padding: 0;
    box-sizing: border-box;
    background-color: #234fC2;
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* Sección HOME */
.home {
    width: 100%;
    max-width: 1010px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    background-color: #234fC2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header con logo, menú y contacto */
.home-header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: -1rem;
}



.Authory-icona-sense-ombra {
    width: 60px;
    height: auto;
}

.menu {
    background-color: #93b1ee;
    border-radius: 13px;
    padding: 0.5rem 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.menu div {
    color: #fbf2e3;
    font-size: 16px;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity 0.2s;
}

.menu div:hover {
    opacity: 0.8;
}

.contact {
    background-color: #d9d9d9;
    border-radius: 13px;
    padding: 0.5rem 1.5rem;
    font-style: normal;
}

.nav-5 {
    font-family: "Lexend", Helvetica;
    font-weight: 800;
    color: #234fc2;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.nav-5:hover {
    opacity: 0.8;
}

/* Contenido principal */
.home-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex: 1;
}

.home-left {
    flex: 1;
    max-width: 450px;
    margin-right: 1.75rem;
}

.text {
    font-family: "Lexend-Light", Helvetica;
    color: #ffffff;
    font-size: 2.30rem;
    line-height: 1.2;
    margin: 0;
    text-align: center;
    margin-top: -2rem;
}

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.Authory_logo_vertical {
    width: 200px;
    height: auto;
}

.button {
    background-color: #fbf2e3;
    border-radius: 40px;
    padding: 0.75rem 2rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.info {
    font-family: "Lexend-SemiBold", Helvetica;
    color: #234fc2;
    font-size: 16px;
    margin: 0;
    white-space: nowrap;
}

/* Sección HOW */
.how {
    width: 100%;
    min-height: 500px;
    background-color: #fbf2E3;
    padding: 3rem 1.5rem;
    display: flex;
    justify-content: center;
}

.how > * {
    max-width: 1010px;
    width: 100%;
}

/* Sección HOW */
.how {
    width: 100%;
    min-height: 100vh;
    background-color: #fbf2E3;
    padding: 4rem 1.5rem;
    display: flex;
    justify-content: center;
    
}

.how-content {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    color: #234fC2;
    font-family: "Lexend-ExtraLihgt", Helvetica; 
    font-size: 1.3rem;
    margin: 0;
}

/* Palabras destacadas en azul */
.highlight {
    font-weight: 600;
}

.highlight-bold {
    font-weight: 700;
}

.how-text-1 {
    text-align: center;
    max-width: 46%;
}

.how-text-2 {
    text-align: right;
    max-width: 40%;
    align-self: flex-end;
}

.how-text-3 {
    text-align: right;
    max-width: 55%;
    align-self: flex-end;
    margin-top: -2rem;
}

.how-logo {
    margin: 1rem 0;
    align-self: center;
    margin-top: 3.5rem;
}

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

.how-text-4 {
    align-self: center;
    text-align: center;
    max-width: 80%;
}

/* Sección VIEW */
.view {
    width: 100%;
   
    background-color: #234fC2;
    padding: 2rem 1.5rem 3rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.view-content {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Switch Student/Educator */
.view-switch {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #93b1ee;
    padding: 0.4rem 1.25rem 0.4rem 1.25rem;
    border-radius: 50px;
    align-self: flex-start;
    margin-left: 3rem;
    margin-top: 2rem;
}

.switch-option {
    font-family: 'Lexend', Helvetica;
    font-size: 1.25rem;
    color: rgba(251, 242, 227, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.switch-option.active {
    color: #fbf2e3;
    font-weight: 600;
}

.switch-text {
    color: #fbf2E3;
    font-size: 1.25rem;
}

.switch-option:hover {
    opacity: 0.8;
}

/* Toggle (la bola) */
.switch-toggle {
    width: 60px;
    height: 30px;
    background-color: #fbf2E3;
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.switch-toggle:hover {
    background-color: rgba(217, 217, 217, 0.5);
}

.switch-circle {
    width: 26px;
    height: 26px;
    background-color: #234fc2;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
}

.switch-toggle.educator-active .switch-circle {
    transform: translateX(30px);
}

/* Contenedor de imagen */
.view-image-container {
    width: 100%;
    max-width: 900px;
    border-radius: 0px;
    padding: 0;
    
}

.view-image {
    width: 100%;
    border-radius: 10px;
    display: block;
}


.form {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-color: #fbf2E3;
}

.form-container {
    background: linear-gradient(135deg, #2b5ce6 0%, #1e40af 100%);
    padding: 50px;
    border-radius: 30px;
    max-width: 850px;
    width: 100%;
    display: flex;
    gap: 60px;
    align-items: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-left {
    flex: 1;
    color: #fbf2e3;
    max-width: 18rem;
    text-align: center;
}

.form-left h2 {
    font-size: 3rem;
    font-weight: 600;
    line-height: 0.90;
    margin: 0;
    font-family: 'Lexend', Helvetica;
}

.form-left .highlight {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: white;
}

.form-right {
    flex: 1;
    position: relative;
}

.input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.form-right input[type="text"],
.form-right input[type="email"] {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: white;
    color: #2b5ce6;
    outline: none;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.form-right input[type="text"]:not(.input-group input),
.form-right input[type="email"] {
    margin-bottom: 20px;
}

.form-right input::placeholder {
    color: #2b5ce6;
    opacity: 0.7;
}

.form-right input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 25px 0;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    color: white;
    font-size: 0.95rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #ed513b;
}

.checkbox-group .policy-link {
    color: #fbf2e3;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.checkbox-group .policy-link:hover {
    opacity: 0.8;
}

.form-right button {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-right button:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.form-right button:active {
    transform: translateY(0);
}

/* Occupation fieldset */
.occupation {
    border: none;
    padding: 0;
    margin: 20px 0;
}

.occupation legend {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 12px;
    padding: 0;
}

.occupation label {
    display: inline-flex;
    align-items: center;
    color: white;
    font-size: 0.95rem;
    margin-right: 20px;
    margin-bottom: 10px;
    cursor: pointer;
}

.occupation input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #ed513b;
}

.occupation input[type="text"] {
    display: none;
    margin-top: 10px;
}

.occupation input[type="text"].show {
    display: block;
}
