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

:root {
    color-scheme: dark;
    --bg: #07111a;
    --bg-soft: #0c1824;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-strong: rgba(255, 255, 255, 0.16);
    --border: rgba(255, 255, 255, 0.14);
    --text: #f4fbff;
    --muted: rgba(234, 245, 255, 0.64);
    --accent: #7be7ff;
    --accent-2: #9cc8ff;
    --danger: #ff9cab;
    --success: #9dffd0;
    --font-head: 'Sora', 'Segoe UI', sans-serif;
    --font-body: 'Manrope', 'Segoe UI', sans-serif;
    --content: min(980px, calc(100vw - 32px));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(123, 231, 255, 0.18), transparent 28%),
        radial-gradient(circle at bottom right, rgba(156, 200, 255, 0.12), transparent 24%),
        linear-gradient(160deg, #06101a 0%, #091522 48%, #07111a 100%);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06), transparent 18%),
        radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.04), transparent 16%);
}

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.page-wrap {
    width: var(--content);
    margin: 0 auto;
    padding: 16px 0 32px;
}

.glass-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-label::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 14px rgba(123, 231, 255, 0.7);
}

.primary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: 0.2s ease;
}

.primary-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(214, 238, 255, 0.92));
    color: #08111a;
    font-weight: 800;
}

.ghost-btn {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
    font-weight: 700;
}

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

.input-shell {
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.07);
}

.input-shell input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
}

.input-shell input::placeholder {
    color: var(--muted);
}

.status-message {
    min-height: 20px;
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

.status-message.is-error {
    color: var(--danger);
}

.status-message.is-success {
    color: var(--success);
}

.status-message.is-loading {
    color: var(--accent);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 720px) {
    .page-wrap {
        width: min(100vw - 20px, 980px);
        padding: 10px 0 20px;
    }
}
