:root {
    --bg-dark: #00121a;
    --bg-light: rgba(255, 255, 255, 0.08);
    --accent: #59f8c0;
    --accent-2: #7ef9ff;
    --accent-3: #c2ff5b;
    --text-primary: #e8f7ff;
    --text-secondary: rgba(232, 247, 255, 0.78);
    --form-radius: 28px;
    --shadow: 0 20px 50px rgba(0, 242, 170, 0.18);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    padding-top: 3.6rem;
    padding-bottom: 1.8rem;
}

body::before,
body::after {
    content: "";
    position: absolute;
    inset: -30vh -30vw;
    z-index: -2;
    background: radial-gradient(circle at 15% 20%, rgba(90, 249, 192, 0.18), transparent 45%),
                radial-gradient(circle at 85% 30%, rgba(126, 249, 255, 0.18), transparent 52%),
                radial-gradient(circle at 20% 85%, rgba(194, 255, 91, 0.12), transparent 48%),
                radial-gradient(circle at 80% 80%, rgba(90, 249, 192, 0.12), transparent 55%);
    filter: blur(1px);
}

body::after {
    background: url('data:image/svg+xml,%3Csvg width="480" height="480" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 480 480" fill="none"%3E%3Cg opacity="0.11" stroke="%2359f8c0" stroke-width="2"%3E%3Cpath d="M179 71c11 11 0 34 11 45s34 0 45 11 0 34 11 45 34 0 45 11 0 34 11 45"/%3E%3Cpath d="M23 159c11 11 0 34 11 45s34 0 45 11 0 34 11 45 34 0 45 11 0 34 11 45"/%3E%3Cpath d="M323 279c11 11 0 34 11 45s34 0 45 11 0 34 11 45 34 0 45 11 0 34 11 45"/%3E%3Cpath d="M179 279c11 11 0 34 11 45s34 0 45 11 0 34 11 45 34 0 45 11 0 34 11 45"/%3E%3C/g%3E%3C/svg%3E');
    background-size: 420px 420px;
    opacity: 0.5;
    mix-blend-mode: screen;
}

main {
    width: min(90%, 960px);
    margin: 0 auto;
    padding: 1.5rem 1.1rem 2rem;
    text-align: center;
}

.halo {
    position: absolute;
    top: -35vh;
    left: 50%;
    width: 120vh;
    height: 120vh;
    background: radial-gradient(circle, rgba(126, 249, 255, 0.25) 0%, rgba(0, 18, 26, 0) 65%);
    transform: translateX(-50%);
    z-index: -1;
}

h1 {
    font-size: clamp(2.8rem, 7vw, 4.6rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.subtitle {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.9rem;
}

.message-card {
    margin: 0.2rem auto 0;
    padding: 2rem 1.9rem;
    background: linear-gradient(135deg, rgba(89, 248, 192, 0.16), rgba(0, 18, 26, 0.22));
    border-radius: 34px;
    border: 1px solid rgba(126, 249, 255, 0.28);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    max-width: 560px;
    width: min(90%, 560px);
}

.message-card p {
    font-size: clamp(1rem, 3.2vw, 1.25rem);
    color: rgba(232, 247, 255, 0.82);
    line-height: 1.7;
}

.message-card p + p {
    margin-top: 1.1rem;
}

.feedback {
    margin: 1.3rem auto 0.4rem;
    padding: 1rem 1.2rem;
    border-radius: 26px;
    max-width: 420px;
    width: min(90%, 420px);
    border: 1px solid rgba(126, 249, 255, 0.24);
    background: linear-gradient(135deg, rgba(126, 249, 255, 0.16), rgba(0, 18, 26, 0.18));
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
    text-align: left;
}

.feedback h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.feedback p {
    font-size: 0.92rem;
    color: rgba(232, 247, 255, 0.78);
    line-height: 1.45;
}

.feedback.success { border-color: rgba(89, 248, 192, 0.5); }
.feedback.error { border-color: rgba(255, 138, 128, 0.55); }
.feedback.info { border-color: rgba(126, 249, 255, 0.45); }

form {
    display: grid;
    gap: 0.8rem;
    margin: 0.3rem auto 0;
    padding: 1.15rem 1.45rem;
    border-radius: var(--form-radius);
    border: 1px solid rgba(126, 249, 255, 0.22);
    background: var(--bg-light);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    max-width: 420px;
    width: min(90%, 420px);
}

@media (max-width: 480px) {
    body {
        padding-top: 3rem;
        padding-bottom: 1.4rem;
    }

    main {
        padding: 1.2rem 1rem 1.6rem;
    }

    .message-card {
        padding: 1.7rem 1.5rem;
    }

    form {
        padding: 1.05rem 1.35rem;
    }
}

label {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(232, 247, 255, 0.65);
}

input[type="email"] {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: none;
    border-radius: 999px;
    font-size: 0.98rem;
    color: var(--bg-dark);
    background: linear-gradient(135deg, #ffffff, #e8fff8);
    outline: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

input[type="email"]:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(89, 248, 192, 0.32);
}

button {
    cursor: pointer;
    padding: 0.9rem 1.1rem;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1.02rem;
    letter-spacing: 0.02em;
    color: var(--bg-dark);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 18px 32px rgba(126, 249, 255, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 22px 38px rgba(126, 249, 255, 0.4);
}

.micro-motifs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.motif {
    position: absolute;
    width: clamp(70px, 18vw, 160px);
    aspect-ratio: 1;
    border-radius: 46% 54% 55% 45% / 47% 44% 56% 53%;
    background: linear-gradient(135deg, rgba(126, 249, 255, 0.55), rgba(89, 248, 192, 0.22));
    filter: blur(0.5px);
    animation: float 16s ease-in-out infinite;
    opacity: 0.22;
}

.motif::after {
    content: "";
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    border: 2px dashed rgba(0, 18, 26, 0.12);
}

.motif:nth-child(1) { top: 10%; left: 12%; animation-delay: -2s; }
.motif:nth-child(2) { top: 68%; left: 8%; animation-delay: -5s; }
.motif:nth-child(3) { top: 20%; right: 15%; animation-delay: -11s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-12px) rotate(3deg) scale(1.02); }
}
