:root {
    --bg: #0b1020;
    --card: #0f1730;
    --muted: #9aa4b2;
    --text: #e8edf4;
    --primary: #2f73ff;
    --primary-600: #2a66e3;
    --accent: #ffd166;
    --success: #19c37d;
    --danger: #ef4444;
    --ring: rgba(47, 115, 255, 0.35);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(1200px 600px at 10% -10%, #2f73ff26, transparent 60%),
        radial-gradient(1000px 500px at 90% 0%, #ffd16626, transparent 50%),
        var(--bg);
}

/* Layout */
.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.small {
    font-size: .875rem;
}

.muted {
    color: var(--muted);
}

.row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(10px);
    background: linear-gradient(to bottom, #0a0e1cd9, rgba(10, 14, 28, 0.6));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.brand-logo {
    width: 40px;
    height: 40px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    letter-spacing: .4px;
}

.brand-text span {
    font-size: .85rem;
    color: var(--muted);
}

.nav {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav a {
    color: var(--text);
    text-decoration: none;
    opacity: .9;
}

.nav a:hover {
    opacity: 1;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    margin: 7px 0;
}

/* Hero */
.hero {
    position: relative;
    padding: 72px 0 34px;
    overflow: clip;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 28px;
}

.hero-bg {
    position: absolute;
    inset: -40px -20px auto;
    height: 360px;
    z-index: -1;
    background:
        radial-gradient(600px 200px at 20% 10%, rgba(47, 115, 255, 0.22), transparent 60%),
        radial-gradient(500px 200px at 80% 0%, rgba(255, 209, 102, 0.2), transparent 60%);
    filter: blur(10px);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--accent);
    font-weight: 700;
    font-size: .8rem;
}

.hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    margin: 8px 0 10px;
    line-height: 1.08;
}

.hero h1 .accent {
    color: var(--accent);
    text-shadow: 0 2px 12px rgba(255, 209, 102, .3);
}

.hero p {
    color: #cdd6e5;
    margin: 0 0 16px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.glass {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
    border-radius: 16px;
}

.hero-card {
    padding: 20px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.stat-value {
    font-weight: 800;
    font-size: 22px;
}

.stat-label {
    color: var(--muted);
    font-size: .9rem;
}

.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 12px 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 6px 16px rgba(47, 115, 255, 0.35);
}

.btn-primary:hover {
    background: var(--primary-600);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.16);
    color: var(--text);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.12);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.24);
}

/* Features */
.features {
    padding: 24px 0 8px;
}

.features h2 {
    margin: 0 0 16px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.06);
    margin-bottom: 8px;
    font-size: 20px;
}

/* Form Section */
.form-section {
    padding: 24px 0 72px;
}

.form-subtitle {
    color: var(--muted);
    margin-top: -8px;
}

.card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.span-2 {
    grid-column: span 2;
}

label {
    font-weight: 600;
    font-size: .95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text);
    border-radius: 10px;
    padding: 12px 12px;
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: #9fafc9;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--ring);
}

small.error {
    color: var(--danger);
    display: none;
}

.hint {
    color: var(--muted);
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox input {
    margin-top: 3px;
}

.dropzone {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    border: 2px dashed rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
}

.dropzone.focus,
.dropzone.dragover {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--ring);
}

.dz-icon {
    font-size: 26px;
}

.dz-text {
    color: #d8e2f3;
}

.dz-text .link {
    color: var(--accent);
    text-decoration: underline;
    cursor: pointer;
}

.dz-hint {
    color: var(--muted);
    font-size: .9rem;
    margin-top: 4px;
}

.dropzone input[type=file] {
    display: none;
}

.file-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.file-item {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.file-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.file-thumb img,
.file-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.file-name {
    font-weight: 600;
    font-size: .95rem;
}

.file-size {
    color: var(--muted);
    font-size: .85rem;
}

.file-remove {
    background: transparent;
    color: #cfd7e8;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    padding: 6px 10px;
    cursor: pointer;
}

.file-remove:hover {
    border-color: rgba(255, 255, 255, 0.28);
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.alert {
    margin-top: 12px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
}

.alert.success {
    border-color: rgba(25, 195, 125, 0.4);
    background: rgba(25, 195, 125, 0.08);
}

.alert.error {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.08);
}

/* Footer */
.site-footer {
    padding: 24px 0 54px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 14px;
    align-items: center;
}

.footer-brand {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-brand img {
    width: 40px;
    height: 40px;
}

.footer-links {
    display: flex;
    gap: 12px;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    opacity: .85;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-copy {
    grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .nav {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
    }
}