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

body, html {
    width: 100%;
    height: 100%;
}

.page-bg {
    background-color: #0B0C10;
    color: #EDF5E1;
    font-family: 'Host Grotesk', 'Share Tech Mono', ui-monospace, monospace;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

.header-bg {
    background-color: transparent;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.logo-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.brand-text {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #ffffff;
}

.main-hero-grid {
    flex: 1 1 0%;
    max-width: 90%;
    width: 100%;
    margin: auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 5;
}

.hero-left-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4rem;
}

.hero-title-text {
    font-size: 3rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
    font-weight: 400;
    color: #ffffff;
    text-transform: none;
}

.btn-primary {
    border: 2px solid #66FCF1;
    color: #ffffff;
    background-color: transparent;
    border-radius: 0;
    font-family: inherit;
    font-size: 1rem;
    letter-spacing: 0.1em;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(102, 252, 241, 0.3);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
}

.btn-primary:hover {
    background-color: rgba(102, 252, 241, 0.1);
    box-shadow: 0 0 20px #66FCF1;
}

.hero-start-btn {
    padding: 0.75rem 3rem;
    font-size: 1.1rem;
}

.hero-right-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #11121B;
    border: none;
}

.lang-container {
    position: relative;
    width: 50px;
    height: 50px;
    background-color: #11121B;
    border: 2px solid #66FCF1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(102, 252, 241, 0.5);
    transition: all 0.2s ease;
}

.lang-container:hover {
    box-shadow: 0 0 25px rgba(102, 252, 241, 0.8);
}

.globe-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lang-select-hidden {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
}

.bg-squares {
    position: absolute;
    background-color: rgba(217, 217, 217, 0.08);
    pointer-events: none;
    z-index: 1;
}

.bg-sq-1 { width: 135px; height: 135px; top: 10%; left: 2%; transform: rotate(15deg); }
.bg-sq-2 { width: 135px; height: 135px; bottom: 10%; left: 8%; transform: rotate(-10deg); }
.bg-sq-3 { width: 135px; height: 135px; top: 5%; right: 5%; transform: rotate(35deg); }
.bg-sq-4 { width: 135px; height: 135px; bottom: 15%; right: 2%; transform: rotate(20deg); }

.auth-panel-layout {
    background-color: #11121B;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.auth-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
}

.auth-label {
    display: block;
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 0.08em;
}

.input-field-auth {
    width: 100%;
    padding: 1rem;
    background-color: #D1D3DE;
    border: none;
    border-radius: 0;
    color: #0B0C10;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s;
}

.input-field-auth:focus {
    background-color: #E5E7EB;
    box-shadow: 0 0 10px rgba(102, 252, 241, 0.4);
}

.auth-link-secondary {
    color: #66FCF1;
    font-size: 0.85rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s;
}

.auth-link-secondary:hover {
    text-shadow: 0 0 5px #66FCF1;
}

.auth-text-muted {
    color: #94a3b8;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-link-primary {
    color: #66FCF1;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-link-primary:hover {
    text-shadow: 0 0 8px #66FCF1;
}

.profile-container {
    width: 50px;
    height: 50px;
    background-color: #11121B;
    border: 2px solid #66FCF1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(102, 252, 241, 0.5);
    transition: all 0.2s ease;
}

.profile-container:hover {
    box-shadow: 0 0 25px rgba(102, 252, 241, 0.8);
}

.btn-ai-layout {
    background-color: #66FCF1;
    color: #0B0C10;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0 15px rgba(102, 252, 241, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn-ai-layout:hover {
    background-color: #EDF5E1;
    box-shadow: 0 0 25px rgba(102, 252, 241, 0.8);
}

.input-field {
    width: 100%;
    padding: 0.75rem;
    background-color: #0B0C10;
    border: 1px solid rgba(102, 252, 241, 0.4);
    color: #66FCF1;
    font-family: inherit;
    outline: none;
}

.input-field:focus {
    border-color: #66FCF1;
    box-shadow: 0 0 12px #66FCF1;
}

.code-textarea {
    width: 100%;
    padding: 1.25rem;
    background-color: #0B0C10;
    border: 2px solid #66FCF1;
    color: #66FCF1;
    font-family: 'Courier New', monospace;
    min-height: 250px;
    resize: none;
    outline: none;
}

.container-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    width: 100%;
    padding: 0 2rem;
    position: relative;
    z-index: 5;
}



.card-box {
    background-color: #11121B;
    border-radius: 0;
    padding: 2rem;
    flex: 1;
}

.results-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background-color: #0B0C10;
    border: 1px solid #66FCF1;
}

.progress-bar-fill {
    height: 100%;
    background-color: #66FCF1;
    transition: width 0.3s ease;
}

.report-line {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(102, 252, 241, 0.1);
}

.line-num {
    color: #66FCF1;
    font-weight: bold;
    min-width: 40px;
}

.metric-pill {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.pill-success {
    background-color: rgba(102, 252, 241, 0.2);
    color: #66FCF1;
}

.pill-error {
    background-color: rgba(255, 100, 100, 0.2);
    color: #ff6464;
}

.hint-box {
    background-color: rgba(17, 18, 27, 0.8);
    border: 1px solid rgba(102, 252, 241, 0.3);
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
    color: #EDF5E1;
    font-size: 0.9rem;
    line-height: 1.6;
}

.output-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #66FCF1;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn-nav {
    background-color: transparent;
    border: 1px solid #66FCF1;
    color: #66FCF1;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-nav:hover {
    background-color: rgba(102, 252, 241, 0.1);
}


