:root {
    --bg: #020617;
    --bg-alt: #020617;
    --card-bg: rgba(15, 23, 42, 0.9);
    --accent: #0ea5e9;
    --accent-soft: rgba(56, 189, 248, 0.15);
    --accent-strong: #06b6d4;
    --text-main: #e5e7eb;
    --text-muted: #94a3b8;
    --danger: #ef4444;
    --success: #22c55e;
    --border: rgba(148, 163, 184, 0.2);
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.9);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top, #0b1120 0, #020617 45%, #000 100%);
    color: var(--text-main);
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

/* NAVBAR */

.navbar {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.3), transparent);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.navbar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #38bdf8, #0ea5e9 45%, #0369a1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.6);
    font-weight: 700;
    color: #e0f2fe;
    font-size: 17px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: 600;
    letter-spacing: 0.06em;
    font-size: 15px;
    text-transform: uppercase;
}

.brand-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
    color: var(--text-muted);
}

.nav-links a {
    padding: 6px 8px;
    border-radius: 999px;
    transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover {
    color: #e0f2fe;
    background: rgba(15, 23, 42, 0.9);
}

.nav-pill {
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-strong), #38bdf8);
    color: #0b1120;
    font-weight: 600;
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4), 0 10px 30px rgba(8, 47, 73, 0.75);
}

/* LAYOUT */

.page {
    flex: 1;
}

.hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 26px;
        padding-bottom: 60px;
    }
}

/* BADGE + HERO TEXT */

.badge-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 4px 9px 4px 4px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.4);
    margin-bottom: 16px;
}

.badge-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #bbf7d0, #22c55e 50%, #166534 100%);
    box-shadow: 0 0 16px rgba(22, 163, 74, 0.7);
}

.badge-text {
    font-size: 12px;
    color: var(--text-muted);
}

.hero-title {
    font-size: clamp(32px, 4vw, 40px);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-gradient {
    background: linear-gradient(135deg, #38bdf8, #22c55e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 24px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 13px;
    color: var(--text-muted);
}

.meta-pill {
    padding: 4px 11px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.85);
}

.meta-highlight {
    color: #e0f2fe;
    font-weight: 500;
}

/* CARD / FORM */

.card {
    position: relative;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 55%),
        var(--card-bg);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: var(--shadow-soft);
    padding: 22px 22px 20px;
    overflow: hidden;
}

@media (max-width: 900px) {
    .card {
        margin-top: 10px;
    }
}

.card-glow {
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.1), transparent 60%),
        radial-gradient(circle at 120% 20%, rgba(45, 212, 191, 0.13), transparent 60%);
    opacity: 0.75;
    pointer-events: none;
}

.card-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
    z-index: 1;
}

.card-title-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-title {
    font-size: 17px;
    font-weight: 600;
}

.card-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

.status-pill {
    align-self: flex-start;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #bbf7d0, #22c55e 50%, #15803d 100%);
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.7);
}

form {
    position: relative;
    z-index: 1;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.form-row-inline {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 10px;
}

@media (max-width: 520px) {
    .form-row-inline {
        grid-template-columns: 1fr;
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-label {
    font-size: 13px;
    color: #cbd5f5;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.field-label span {
    font-size: 11px;
    color: var(--text-muted);
}

.input {
    border-radius: 12px;
    padding: 10px 11px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.input::placeholder {
    color: rgba(148, 163, 184, 0.65);
}

.input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.7);
    background: rgba(15, 23, 42, 1);
}

.submit-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.btn-primary {
    border-radius: 999px;
    border: none;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, var(--accent-strong), #38bdf8);
    color: #0b1120;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 14px 30px rgba(8, 47, 73, 0.85);
    transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
}

.btn-primary:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 16px 38px rgba(8, 47, 73, 0.9);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(8, 47, 73, 0.85);
}

.btn-primary[disabled] {
    opacity: 0.7;
    cursor: default;
    transform: none;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.9);
}

.btn-icon {
    width: 15px;
    height: 15px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.7);
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.small-note {
    font-size: 11px;
    color: var(--text-muted);
}

.status-message {
    margin-top: 10px;
    font-size: 13px;
    min-height: 18px;
}

.status-message span {
    padding: 5px 9px;
    border-radius: 999px;
    border: 1px solid transparent;
}

.status-success span {
    background: rgba(22, 163, 74, 0.15);
    border-color: rgba(34, 197, 94, 0.5);
    color: #bbf7d0;
}

.status-error span {
    background: rgba(248, 113, 113, 0.1);
    border-color: rgba(248, 113, 113, 0.6);
    color: #fecaca;
}

/* FEATURE STRIP + FOOTER */

.strip {
    border-top: 1px solid rgba(30, 64, 175, 0.6);
    border-bottom: 1px solid rgba(30, 64, 175, 0.6);
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.2), rgba(15, 23, 42, 0.95));
}

.strip-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.strip-pill {
    border-radius: 999px;
    border: 1px solid rgba(59, 130, 246, 0.6);
    padding: 6px 11px;
    background: rgba(15, 23, 42, 0.9);
    color: #dbeafe;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.strip-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #38bdf8;
}

footer {
    border-top: 1px solid rgba(30, 64, 175, 0.6);
    background: #020617;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 20px 26px;
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.footer-right {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-right a {
    color: #64748b;
}

.footer-right a:hover {
    color: #e5e7eb;
}
