@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
}

:root {
    --bg-1: #07111f;
    --bg-2: #0b1f36;
    --bg-3: #102c4c;
    --surface: rgba(255,255,255,0.08);
    --surface-2: rgba(255,255,255,0.05);
    --border: rgba(255,255,255,0.12);
    --text: #ffffff;
    --muted: rgba(255,255,255,0.74);
    --primary: #2563eb;
    --secondary: #7c3aed;
    --success: #16a34a;
    --danger: #ef4444;
    --warning: #f59e0b;
    --shadow: 0 24px 60px rgba(0,0,0,0.28);
    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --container: 1240px;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(37,99,235,0.18), transparent 24%),
        radial-gradient(circle at bottom right, rgba(124,58,237,0.14), transparent 22%),
        linear-gradient(135deg, var(--bg-1), var(--bg-2), var(--bg-3));
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-title {
    font-size: 18px;
    font-weight: 800;
}

.card-title {
    font-size: 20px;
    font-weight: 800;
}

.card-title-sm {
    font-size: 16px;
    font-weight: 700;
}

.body-text {
    font-size: 14px;
    line-height: 1.9;
    color: var(--muted);
}

.label-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
}

.sub-text {
    font-size: 11px;
    line-height: 1.7;
    color: rgba(255,255,255,0.62);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 18px;
}

.lang-hidden {
    display: none !important;
}

.glass-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7,17,31,0.74);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
}

.topbar-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

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

.brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.brand-text h2 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
}

.brand-text p {
    margin: 4px 0 0;
    font-size: 11px;
    color: var(--muted);
    line-height: 1.7;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.lang-switch {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
}

.lang-btn {
    min-width: 92px;
    height: 40px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    border: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 16px 28px rgba(37,99,235,0.24);
}

.btn-secondary {
    color: #fff;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
}

.btn-success {
    color: #fff;
    background: linear-gradient(135deg, #15803d, #22c55e);
    box-shadow: 0 16px 28px rgba(34,197,94,0.24);
}

.section {
    padding: 64px 0;
}

.hero {
    padding: 70px 0 34px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 24px;
    align-items: stretch;
}

.hero-left,
.hero-right,
.form-card,
.login-left,
.login-right {
    padding: 34px;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.08;
    margin: 0;
}

.hero-title span.highlight {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.95;
    color: var(--muted);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-badge {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #dbeafe;
    font-size: 12px;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.info-stack,
.feature-grid,
.contact-grid {
    display: grid;
    gap: 18px;
}

.info-stack {
    grid-template-columns: 1fr;
}

.info-card,
.feature-card,
.contact-card {
    padding: 22px;
    border-radius: 22px;
    background: var(--surface-2);
    border: 1px solid rgba(255,255,255,0.08);
}

.info-card strong,
.feature-card h3,
.contact-card h3 {
    display: block;
    margin: 0 0 8px;
}

.info-card strong {
    font-size: 16px;
    font-weight: 700;
}

.info-card span,
.feature-card p,
.contact-card p {
    font-size: 14px;
    line-height: 1.85;
    color: var(--muted);
}

.section-head {
    text-align: center;
    margin-bottom: 28px;
}

.section-head h2 {
    font-size: 34px;
    font-weight: 800;
}

.section-head p {
    margin: 12px auto 0;
    max-width: 760px;
    font-size: 15px;
    line-height: 1.9;
    color: var(--muted);
}

.feature-grid {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 800;
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37,99,235,0.95), rgba(124,58,237,0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-grid {
    grid-template-columns: 1fr 1fr;
}

.contact-card h3 {
    font-size: 22px;
    font-weight: 800;
}

.contact-lines {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.contact-line {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 14px;
}

.contact-line span {
    color: var(--muted);
    margin-right: 8px;
}

.footer {
    padding: 24px 0 36px;
    text-align: center;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.form-card h2,
.login-title h2 {
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 10px;
}

.form-card p,
.login-title p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.85;
    color: var(--muted);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.field-group.full {
    grid-column: 1 / -1;
}

.field-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
}

.field-group small {
    display: block;
    margin-top: -2px;
    margin-bottom: 10px;
    font-size: 11px;
    color: rgba(255,255,255,0.62);
    line-height: 1.7;
}

.form-control {
    width: 100%;
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: #fff;
    padding: 0 16px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: .2s ease;
}

.form-control::placeholder {
    color: rgba(255,255,255,0.45);
}

.form-control:focus {
    border-color: rgba(96,165,250,0.7);
    box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
    background: rgba(255,255,255,0.09);
}

textarea.form-control {
    min-height: 110px;
    padding: 14px 16px;
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.msg {
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.7;
}

.msg-error {
    background: rgba(239,68,68,0.14);
    border: 1px solid rgba(239,68,68,0.25);
    color: #fecaca;
}

.msg-success {
    background: rgba(34,197,94,0.14);
    border: 1px solid rgba(34,197,94,0.25);
    color: #bbf7d0;
}

.login-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: stretch;
}

.login-title {
    text-align: center;
    margin-bottom: 22px;
}

.secure-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(56,189,248,0.10);
    border: 1px solid rgba(56,189,248,0.16);
    color: #c8ecff;
    font-size: 12px;
    font-weight: 700;
}

.input-wrap {
    position: relative;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #cbd5e1;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 8px 0 20px;
}

.remember-box {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
}

.forgot-link {
    color: #60a5fa;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .hero-grid,
    .login-grid,
    .feature-grid,
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 860px) {
    .topbar-inner {
        min-height: auto;
        padding: 14px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-actions {
        width: 100%;
    }

    .hero-grid,
    .login-grid,
    .feature-grid,
    .contact-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero-left,
    .hero-right,
    .form-card,
    .login-left,
    .login-right {
        padding: 22px;
    }

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

    .section-head h2 {
        font-size: 28px;
    }

    .form-card h2,
    .login-title h2 {
        font-size: 26px;
    }

    .btn,
    .lang-btn {
        min-width: unset;
    }
}