/* LANDING PAGE STYLES */

body {
    background: #0f172a;
    overflow-x: hidden; /* Чтобы блюр не растягивал страницу */
}

/* --- BACKGROUND FX --- */
.background-glows {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
}

.glow-blob {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: blobFloat 10s infinite alternate;
}

.blob-1 {
    top: -200px; left: -200px;
    background: radial-gradient(circle, #3b82f6 0%, rgba(0,0,0,0) 70%);
}

.blob-2 {
    bottom: -200px; right: -200px;
    background: radial-gradient(circle, #8b5cf6 0%, rgba(0,0,0,0) 70%);
    animation-delay: -5s;
}

@keyframes blobFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* --- LAYOUT --- */
.landing-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

/* Responsive: На телефоне колонка, на ПК ряд */
@media (max-width: 900px) {
    .landing-container { flex-direction: column; padding-top: 60px; gap: 40px; }
    .landing-info { text-align: center; }
    .features-list { align-items: center; text-align: left; } /* Фичи всё равно лучше выровнять */
}

/* --- LEFT SIDE: INFO --- */
.landing-info {
    flex: 1;
    color: white;
    z-index: 1;
}

.brand-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(to right, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

@media (max-width: 900px) {
    h1 { font-size: 2.5rem; }
    .hero-desc { margin: 0 auto 40px auto; }
}

/* FEATURES */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.03);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
    max-width: 400px;
}

.feature-item:hover {
    background: rgba(255,255,255,0.07);
    transform: translateX(10px);
}

.feature-item i {
    font-size: 1.8rem;
    color: #3b82f6;
}

.feature-item div {
    display: flex; flex-direction: column;
}

.feature-item strong { font-size: 1rem; color: white; }
.feature-item span { font-size: 0.85rem; color: #64748b; }

/* --- RIGHT SIDE: FORM --- */
.landing-form-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    width: 100%;
}

.glass-panel {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 24px;
    width: 100%;
    max-width: 400px;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-header { text-align: center; margin-bottom: 30px; }
.login-header h2 { font-size: 1.8rem; margin-bottom: 5px; color: white; }
.login-header p { color: #64748b; }

/* REUSING INPUT STYLES FROM style.css BUT TWEAKED */
.input-group { position: relative; margin-bottom: 20px; }
.input-group i { 
    position: absolute; left: 16px; top: 50%; 
    transform: translateY(-50%); color: #64748b; font-size: 1.3rem; 
}
.input-group input {
    width: 100%; padding: 16px 16px 16px 50px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid #334155;
    border-radius: 14px;
    color: white; font-size: 1rem;
    outline: none; transition: 0.3s;
}
.input-group input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

button {
    width: 100%; padding: 16px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white; font-weight: 600; font-size: 1rem;
    border: none; border-radius: 14px;
    cursor: pointer; transition: 0.3s;
    position: relative; overflow: hidden;
}
button:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3); }
button:disabled { opacity: 0.7; cursor: not-allowed; }

.login-footer {
    margin-top: 25px; text-align: center;
    font-size: 0.8rem; color: #475569;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

/* ANIMATIONS */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.shake { animation: shake 0.5s; }
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

.loader {
    width: 20px; height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s infinite linear;
    margin: 0 auto;
    display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }