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

body {
    font-family: 'F37 Blanka', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Nav ─────────────────────────────────────────── */
.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.nav-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-cta {
    background: #001149;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s;
    font-family: inherit;
}

.nav-cta:hover {
    background: #002266;
}

/* ── Hero layout ─────────────────────────────────── */
.hero {
    flex: 1;
    background: #fafbff;
    padding: 60px 56px;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: 1130px;
    margin: 0 auto;
}

.hero-left {
    flex: 0 0 auto;
    width: 420px;
}

.hero-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.hero-gif {
    max-width: 100%;
    max-height: 520px;
    width: auto;
    height: auto;
    border-radius: 12px;
}

/* ── Form panels (form / success) ────────────────── */
.form-panel {
    display: none;
    width: 100%;
    max-width: 460px;
    animation: fadeUp 0.35s ease-out;
}

.form-panel.active {
    display: block;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Typography ──────────────────────────────────── */
h1 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #001149;
    line-height: 1.2;
    margin-bottom: 14px;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #001149;
    margin-bottom: 14px;
}

.subheader {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* ── Form card ───────────────────────────────────── */
.form-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
}

.field-group {
    margin-bottom: 20px;
}

.field-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.dropdown-select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #AAAAAB;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10L12 15L17 10H7Z' fill='%23AAAAAB'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 44px;
    color: #2d3748;
    font-family: inherit;
}

.dropdown-select:focus {
    outline: none;
    border-color: #001149;
    box-shadow: 0 0 0 3px rgba(0, 17, 73, 0.08);
}

.email-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #AAAAAB;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
    background: white;
    font-family: inherit;
    color: #2d3748;
}

.email-input:focus {
    outline: none;
    border-color: #001149;
    box-shadow: 0 0 0 3px rgba(0, 17, 73, 0.08);
}

.email-input::placeholder {
    color: #AAAAAB;
}

.email-input.invalid {
    border-color: #e53e3e;
    background-color: #fff5f5;
}

.consent-text {
    font-size: 0.78rem;
    color: #718096;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* ── Button ──────────────────────────────────────── */
.btn {
    display: block;
    width: 100%;
    background: #001149;
    color: white;
    border: none;
    padding: 15px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
    text-align: center;
    font-family: inherit;
}

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

.btn:disabled {
    background: #a0aec0;
    cursor: default;
    transform: none;
    pointer-events: none;
}

.btn.loading {
    background: #a0aec0;
    cursor: default;
    pointer-events: none;
}

/* ── Error banner ────────────────────────────────── */
.error-banner {
    margin-top: 14px;
    padding: 11px 14px;
    background: #fff5f5;
    border: 1px solid #f56565;
    border-radius: 8px;
    color: #c53030;
    font-size: 0.875rem;
    text-align: center;
}

/* ── Success panel ───────────────────────────────── */
.success-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* ── Sparkles ────────────────────────────────────── */
.sparkle {
    position: absolute;
}

/* Sizes */
.s-xs  { width: 14px;  height: 14px; }
.s-sm  { width: 22px;  height: 22px; }
.s-md  { width: 32px;  height: 32px; }
.s-lg  { width: 50px;  height: 50px; }
.s-xl  { width: 68px;  height: 68px; }

/* Colors */
.s-light { fill: rgba(180, 195, 235, 0.55); }
.s-dark  { fill: #001149; }

/* Float animations */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px)    rotate(0deg); }
    50%       { transform: translateY(-18px)  rotate(8deg); }
}
@keyframes float-mid {
    0%, 100% { transform: translateY(0px)    rotate(0deg); }
    50%       { transform: translateY(-12px)  rotate(-6deg); }
}
@keyframes float-fast {
    0%, 100% { transform: translateY(0px)    rotate(0deg); }
    50%       { transform: translateY(-22px)  rotate(12deg); }
}

.s-float-slow { animation: float-slow 6s ease-in-out infinite; }
.s-float-mid  { animation: float-mid  4.5s ease-in-out infinite 0.8s; }
.s-float-fast { animation: float-fast 3.5s ease-in-out infinite 1.5s; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
    .hero {
        padding: 40px 24px;
    }

    .hero-inner {
        flex-direction: column;
        gap: 32px;
    }

    .hero-left {
        width: 100%;
    }

    .hero-right {
        width: 100%;
    }

    .hero-gif {
        max-height: 300px;
        width: 100%;
        object-fit: contain;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
}
