:root {
    --accent: #1344ff;
    --muted: #9aa3b2;
    --card-bg: rgba(255, 255, 255, 0.98);
    font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    --soft-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

/* reset */
* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    background: radial-gradient(1200px 600px at 10% 10%, #f4f7ff 0%, transparent 20%),
        linear-gradient(90deg, #e7f0ff 0%, #d9f3ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    overflow: hidden;
}

.page-bg {
    width: 100%;
    max-width: 1200px;
}

.card {
    background: var(--card-bg);
    border-radius: 28px;
    padding: 56px 48px;
    box-shadow: var(--soft-shadow);
    position: relative;
    min-height: 540px;
    border: 6px solid rgba(255, 255, 255, 0.85);
    overflow: hidden;
}

/* header */
.card-header {
    position: absolute;
    top: -36px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 24px;
}

.logo {
    height: 36px;
    display: block;
    margin: auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.06));
}

/* hero */
.hero {
    text-align: center;
    padding-top: 40px;
    max-width: 920px;
    margin: 0 auto;
}

.emoji {
    font-size: 36px
}

.kicker {
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--muted);
    margin: 8px 0 4px;
    text-transform: uppercase;
    font-size: 12px
}

h1 {
    font-size: 48px;
    margin: 8px 0 12px;
    color: var(--accent);
    font-weight: 800;
    letter-spacing: -1px
}

.sub {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 28px
}

/* form */
.notify {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    margin-top: 12px
}

input[type="email"] {
    font-size: 16px;
    padding: 14px 18px;
    width: 320px;
    border-radius: 999px;
    border: 1px solid rgba(20, 20, 40, 0.04);
    outline: none;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.04);
    background: white;
}

.btn {
    background: linear-gradient(180deg, #0f1b41 0%, #1f2246 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 14px 30px rgba(16, 24, 40, 0.12);
}

.btn:hover {
    transform: translateY(-2px);
    transition: transform .15s ease
}

/* socials */
/* socials (fixed icons) */
.socials {
    margin-top: 40px;
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
}

.social {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1e1e1e;
    box-shadow: 0 6px 18px rgba(10, 10, 30, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.social svg {
    width: 26px;
    height: 26px;
    display: block;
}

.social:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.social[aria-label*="Instagram"]:hover {
    color: #e1306c;
    /* Instagram pink */
}

.social[aria-label*="LinkedIn"]:hover {
    color: #0a66c2;
    /* LinkedIn blue */
}

.social[aria-label*="X"]:hover {
    color: #000;
    /* X black */
}

/* decorative floats: create multiple shapes using css + radial gradients */
.float {
    position: absolute;
    pointer-events: none;
    opacity: 0.95;
    filter: drop-shadow(0 10px 30px rgba(10, 20, 40, 0.06));
    transform-origin: center;
}

/* define each float appearance & position */
.f1 {
    left: 36px;
    bottom: 38px;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd8a8, #ffd3a0);
    animation: floatY 7s ease-in-out infinite;
    animation-delay: 0s
}

.f2 {
    right: 40px;
    top: 56px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd8a8, #ffd3a0);
    animation: floatY 6.5s ease-in-out infinite;
    animation-delay: 1s
}

.f3 {
    left: 16%;
    top: 18%;
    width: 28px;
    height: 88px;
    background: linear-gradient(180deg, #ffe1a2, #ffbc6b);
    border-radius: 16px;
    transform: rotate(22deg);
    animation: floatRotate 10s linear infinite;
    animation-delay: 0.6s
}

.f4 {
    right: 14%;
    bottom: 22%;
    width: 96px;
    height: 36px;
    border-radius: 28px;
    background: linear-gradient(90deg, #ffd6a2, #ffd6d6);
    transform: rotate(-18deg);
    animation: floatX 9s ease-in-out infinite;
    animation-delay: 0.3s
}

.f5 {
    left: 50%;
    bottom: 10%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.06);
    transform: translateX(-50%);
    animation: pop 5s ease-in-out infinite;
    animation-delay: 1.2s
}

/* keyframes */
@keyframes floatY {
    0% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-18px)
    }

    100% {
        transform: translateY(0)
    }
}

@keyframes floatX {
    0% {
        transform: translateX(0) rotate(-18deg)
    }

    50% {
        transform: translateX(18px) rotate(-14deg)
    }

    100% {
        transform: translateX(0) rotate(-18deg)
    }
}

@keyframes floatRotate {
    0% {
        transform: rotate(0deg)
    }

    50% {
        transform: rotate(180deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

@keyframes pop {
    0% {
        transform: translateY(0) scale(1)
    }

    50% {
        transform: translateY(-10px) scale(1.15)
    }

    100% {
        transform: translateY(0) scale(1)
    }
}

/* responsive */
@media (max-width:920px) {
    body {
        padding: 24px
    }

    .card {
        padding: 36px 28px;
        border-radius: 20px;
        min-height: 520px
    }

    h1 {
        font-size: 40px
    }

    input[type="email"] {
        width: 240px
    }
}

@media (max-width:520px) {
    .card {
        padding: 26px 16px;
        min-height: 640px
    }

    h1 {
        font-size: 28px
    }

    .notify {
        flex-direction: column;
        gap: 10px
    }

    input[type="email"] {
        width: 220px
    }
}

/* reduced motion (accessibility) */
@media (prefers-reduced-motion: reduce) {

    .float,
    .social,
    .btn {
        animation: none !important;
        transition: none !important;
        transform: none !important
    }
}

/* visually hide helpers */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Toast styling */
.ve-toast {
    position: fixed;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    bottom: 24px;
    background: #111;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    opacity: 0;
    transition: all .22s ease;
    z-index: 9999;
    pointer-events: none;
    font-size: 14px;
}

.ve-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0)
}

.ve-toast.error {
    background: #b02a37
}

.ve-toast.success {
    background: #1f7a3a
}