﻿:root {
    --ink: #101828;
    --muted: #667085;
    --accent: #1d4ed8;
    --accent-2: #60a5fa;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --line: rgba(16, 24, 40, 0.12);
    --shadow: 0 30px 70px rgba(16, 24, 40, 0.18);
}

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

html,
body {
    height: 100%;
}

body {
    font-family: "Manrope", "Space Grotesk", sans-serif;
    color: var(--ink);
    background: #0b1026;
    overflow-x: hidden;
}

.page-glow {
    position: fixed;
    inset: 0;
    background: radial-gradient(900px 500px at 10% 10%, rgba(29, 78, 216, 0.3), transparent 65%),
        radial-gradient(800px 500px at 90% 20%, rgba(96, 165, 250, 0.3), transparent 70%),
        linear-gradient(120deg, rgba(12, 16, 40, 0.96), rgba(17, 24, 64, 0.98));
    z-index: -2;
}

.page-glow::after {
    content: "";
    position: absolute;
    inset: 15% 10% auto 10%;
    height: 220px;
    background: repeating-linear-gradient(
        100deg,
        rgba(255, 255, 255, 0.08) 0,
        rgba(255, 255, 255, 0.08) 1px,
        transparent 1px,
        transparent 12px
    );
    opacity: 0.3;
}

.page {
    min-height: 100vh;
}

.shell {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 36px 24px 60px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--surface);
    padding: 8px;
    object-fit: contain;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.brand-kicker {
    font-size: 12px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.brand-title {
    font-size: 22px;
    color: #f8fafc;
    margin-top: 4px;
}

.lang-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.lang-btn {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover,
.lang-btn.is-active {
    background: var(--accent);
    border-color: transparent;
    color: #111827;
}

.card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
}

.hero {
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    padding: 28px;
    backdrop-filter: blur(16px);
    color: #f8fafc;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow);
}

.hero-kicker {
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.hero-title {
    font-size: 36px;
    line-height: 1.1;
    margin-top: 12px;
}

.hero-text {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 12px;
}

.hero-stats {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.stat-value {
    font-size: 15px;
}

.form-card {
    background: var(--surface);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-header h3 {
    font-size: 22px;
}

.form-header p {
    color: var(--muted);
    margin-top: 8px;
    font-size: 14px;
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.field-label {
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.wrap-input100 {
    border: none;
    background: transparent;
    width: 100%;
}

.input100 {
    width: 100%;
    height: 52px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    padding: 0 16px;
    font-size: 16px;
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input100:focus {
    border-color: rgba(29, 78, 216, 0.7);
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.2);
}

.input100::placeholder {
    color: rgba(102, 112, 133, 0.8);
}

.form-actions {
    display: grid;
    gap: 12px;
}

.login100-form-btn {
    width: 100%;
    height: 54px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    box-shadow: 0 18px 40px rgba(29, 78, 216, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: none;
}

.login100-form-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 48px rgba(29, 78, 216, 0.4);
}

.form-note {
    font-size: 12px;
    color: var(--muted);
}

.validate-input {
    position: relative;
}

.alert-validate::before {
    content: attr(data-validate);
    position: absolute;
    z-index: 100;
    max-width: 70%;
    background-color: #fff;
    border: 1px solid #c80000;
    border-radius: 8px;
    padding: 6px 12px;
    top: 50%;
    transform: translateY(-50%);
    right: 12px;
    pointer-events: none;
    color: #c80000;
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s;
}

.alert-validate::after {
    content: "!";
    font-family: "Space Mono", monospace;
    display: block;
    position: absolute;
    z-index: 110;
    color: #c80000;
    font-size: 16px;
    top: 50%;
    transform: translateY(-50%);
    right: 18px;
}

.alert-validate:hover::before {
    visibility: visible;
    opacity: 1;
}

[dir="rtl"] .topbar,
[dir="rtl"] .card-grid {
    direction: rtl;
}

[dir="rtl"] .brand {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero,
[dir="rtl"] .form-card {
    text-align: right;
}

[dir="rtl"] .input100 {
    text-align: right;
}

[dir="rtl"] .lang-switch {
    justify-content: flex-start;
}

@media (max-width: 980px) {
    .card-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        display: none;
    }
}

@media (max-width: 640px) {
    .shell {
        padding: 24px 16px 48px;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-title {
        font-size: 20px;
    }

    .hero-title {
        font-size: 28px;
    }
}
