*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green: #2a6b4a;
    --green-dark: #1e5038;
    --green-mid: #357a57;
    --green-light: #3d8f64;
    --black: #111111;
    --gray: #6b7280;
    --border: #d1d5db;
    --bg: #ffffff;
}

body {
    font-family: "Barlow", sans-serif;
    background: var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ─── NAVBAR ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    position: relative;
}

.nav-bg {
    position: absolute;
    inset: 0;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.nav-accent {
    display: none;
}

.nav-wave {
    display: none;
}

.nav-content {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 40px 14px 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-right: 48px;
}

.nav-logo img {
    height: 42px;
    width: 42px;
    object-fit: contain;
    border-radius: 50%;
}

.nav-logo-text {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 26px;
    font-weight: 900;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    flex: 1;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
    background: rgba(42, 107, 74, 0.08);
    color: var(--green);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.nav-hotline {
    font-size: 12px;
    color: var(--gray);
    white-space: nowrap;
    font-weight: 600;
}

.btn-nav-cta {
    background: var(--green);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 10px 24px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(42, 107, 74, 0.35);
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.btn-nav-cta:hover {
    background: var(--green-dark);
    box-shadow: 0 6px 20px rgba(42, 107, 74, 0.5);
    transform: translateY(-1px);
}

/* ─── LAYOUT ─── */
.layout {
    display: grid;
    grid-template-columns: 1.6fr 0.7fr;
    min-height: 100vh;
    background: #fff;
}

/* ─── LEFT PANEL ─── */
.left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 80px 60px 120px;
    background: #fff;
}

.logo-container {
    margin-bottom: 32px;
    text-align: center;
}

.logo-container img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(42, 107, 74, 0.15));
}

.form-wrapper {
    width: 100%;
    max-width: 680px;
}

.headline {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 12px;
    text-align: center;
}

.subheadline {
    font-size: 17px;
    font-weight: 500;
    color: var(--gray);
    margin-bottom: 40px;
    text-align: center;
}

.tagline {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 32px;
}

/* Auth Navigation */
.auth-nav {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.auth-nav p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 0;
}

.auth-nav a {
    color: var(--green);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.auth-nav a:hover {
    border-bottom-color: var(--green);
}

/* Forgot Password Link */
.forgot-password {
    text-align: right;
    margin-top: -10px;
    margin-bottom: 20px;
}

.forgot-password a {
    font-size: 14px;
    color: var(--green);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.forgot-password a:hover {
    border-bottom-color: var(--green);
}

.form-group {
    margin-bottom: 18px;
}

.row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.row-2 > div {
    display: flex;
    flex-direction: column;
}

select,
input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 15px 24px;
    font-family: "Barlow", sans-serif;
    font-size: 15px;
    color: var(--black);
    background: #fafbfb;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

select:focus,
input:focus {
    border-color: var(--green);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(42, 107, 74, 0.08);
}

::placeholder {
    color: #9ca3af;
}

.signin-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
    margin: 24px 0 12px;
}

.domain-row {
    display: flex;
    align-items: center;
}

.domain-row input {
    border-radius: 8px 0 0 8px;
    border-right: none;
    flex: 1;
}

.domain-suffix {
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
    background: #f3f4f6;
    border: 1.5px solid #e5e7eb;
    border-left: none;
    border-radius: 0 8px 8px 0;
    white-space: nowrap;
}

.domain-row input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(42, 107, 74, 0.08);
    position: relative;
    z-index: 1;
}

.agree-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 24px;
}

.agree-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--green);
    cursor: pointer;
    border-radius: 4px;
}

.agree-row label {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
    cursor: pointer;
}

.agree-row a {
    color: var(--green);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.agree-row a:hover {
    border-bottom-color: var(--green);
}

.btn-unlock {
    width: 100%;
    min-width: 280px;
    background: var(--green);
    color: #fff;
    font-family: "Barlow", sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 17px 48px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(42, 107, 74, 0.3);
}

.btn-unlock:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 107, 74, 0.4);
}

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

.error {
    color: #dc2626;
    font-size: 13px;
    margin: 6px 0 0 0;
    font-weight: 500;
}

.form-group:has(.error) {
    margin-bottom: 10px;
}

.error-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 500;
}

/* ─── RIGHT PANEL ─── */
.right {
    background: linear-gradient(135deg, #1e5038 0%, #2a6b4a 50%, #357a57 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.right::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.right-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 100%;
}

.right-logo {
    width: 130px;
    height: 130px;
    object-fit: contain;
    margin: 0 auto 24px;
    filter: brightness(0) invert(1) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
}

.right h2 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    line-height: 1.1;
}

.right p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 12px;
}

.right-features {
    margin-top: 28px;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #fff;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon::before {
    content: '✓';
    font-size: 14px;
    font-weight: bold;
}

.feature-item span {
    font-size: 14px;
    font-weight: 500;
}

/* ─── MOBILE ─── */
@media (max-width: 900px) {
    .layout {
        grid-template-columns: 1fr;
    }
    
    .right {
        display: none;
    }
    
    .left {
        padding: 40px 24px;
        min-height: 100vh;
    }
    
    .form-wrapper {
        max-width: 100%;
    }
    
    .logo-container img {
        width: 70px;
        height: 70px;
    }
    
    .headline {
        font-size: 32px;
    }
    
    .subheadline {
        font-size: 15px;
        margin-bottom: 32px;
    }
    
    .row-2 {
        gap: 12px;
    }
    
    select,
    input[type="text"],
    input[type="email"],
    input[type="password"] {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .btn-unlock {
        min-width: auto;
        padding: 16px 40px;
        font-size: 14px;
    }
    
    .nav-accent {
        display: none;
    }
    .nav-content {
        padding: 14px 20px;
    }
    .nav-hotline {
        display: none;
    }
    .nav-links {
        display: none;
    }
    .nav-logo-text {
        font-size: 22px;
    }
}

/* ─── TABLET ─── */
@media (max-width: 1200px) and (min-width: 901px) {
    .layout {
        grid-template-columns: 1.3fr 0.7fr;
    }
    
    .left {
        padding: 60px 60px 60px 80px;
    }
    
    .right {
        padding: 60px 30px;
    }
    
    .right-logo {
        width: 110px;
        height: 110px;
    }
    
    .right h2 {
        font-size: 28px;
    }
    
    .right p {
        font-size: 13px;
    }
    
    .feature-item span {
        font-size: 13px;
    }
}

/* ─── SMALL MOBILE ─── */
@media (max-width: 480px) {
    .left {
        padding: 30px 20px;
    }
    
    .headline {
        font-size: 28px;
    }
    
    .subheadline {
        font-size: 14px;
        margin-bottom: 28px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .agree-row label {
        font-size: 12px;
    }
    
    .auth-nav {
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .auth-nav p {
        font-size: 13px;
    }
}
