/* GLOBAL RESET */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* BODY */
body {
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #222;
    text-align: center;
}

/* HEADER */
.header {
    padding: 40px 0 10px;
}

.header img {
    width: 400px;
    height: auto;
}

.logo {
    width: 160px;
}

/* HERO */
.hero {
    margin-bottom: 18px;
    position: relative;
    padding: 40px 0 40px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,77,166,0.15) 0%, rgba(255,77,166,0) 70%);
    z-index: -1;
}

.hero h1 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 12px;
}

.hero p {
    font-size: 20px;
    opacity: 0.75;
    margin-bottom: 24px;
}

.promo {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

/* SIGNUP */
.signup-container {
    position: relative;
    display: inline-block;
    margin-top: 30px;
    overflow: visible; /* FIXED */
}

.signup-container::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(255,77,166,0.25) 0%, rgba(255,77,166,0) 70%);
    filter: blur(20px);
    z-index: -1;
}

#signup-form {
    display: flex;
    gap: 10px;
    justify-content: center;
}

#signup-form input {
    padding: 12px;
    width: 260px;
    border-radius: 8px;
    border: 2px solid #ff4da6;
    font-size: 1rem;
}

#signup-form button {
    background: #ff4da6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#signup-form button:hover {
    background: #ff2c8f;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255,77,166,0.4);
}

/* BURST */
#burst {
    position: relative;
    width: 0;
    height: 0;
}

#burst span {
    position: absolute;
    font-size: 24px;
    animation: burst-move 0.6s ease-out forwards;
    pointer-events: none;
    opacity: 0;
}


@keyframes burst-move {
    from {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    to {
        transform: translate(var(--x), var(--y)) scale(0.2);
        opacity: 0;
    }
}



/* AVATARS */
.avatars {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 350px;
    pointer-events: none;
    overflow: visible; /* FIXED — allows avatar explosion */
}


.avatar {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #ff4da6;
    box-shadow: 0 0 10px rgba(255,77,166,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    animation: floatAvatar 6s ease-in-out infinite;
}

@keyframes floatAvatar {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* EMOJI FIELD */
.emoji-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -9999;
}

.emoji {
    position: absolute;
    font-size: 26px;
    opacity: 0.32;
    filter: blur(0.4px);
    animation: drift2 18s ease-in-out infinite;
}

@keyframes drift2 {
    0% { transform: translate(0,0); }
    50% { transform: translate(var(--dx), var(--dy)); }
    100% { transform: translate(0,0); }
}

/* TRUST BADGE */
.trust-badge {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0.7;
    filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.12));
    width: 220px;
    z-index: 9999;
    pointer-events: none;
}

/* FEATURES */
.features {
    text-align: center;
    padding: 80px 20px;
}

.feature-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.feature {
    max-width: 240px;
}

.feature .icon {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}

/* APP PREVIEW */
.app-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 100px 20px;
}

.phone img {
    width: 280px;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    z-index: 9999;
}

.preview-text {
    max-width: 420px;
}

.preview-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.preview-text p {
    font-size: 18px;
    opacity: 0.75;
}

/* FAQ */
.faq {
    padding: 80px 20px;
    max-width: 700px;
    margin: 0 auto;
}

.faq h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 40px;
}

.faq-item {
    margin-bottom: 28px;
}

.faq-item h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.75;
}

/* HOW IT WORKS */
.how-it-works {
    padding: 80px 20px;
    text-align: center;
}

.how-it-works h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.step {
    max-width: 240px;
}

.step-number {
    display: inline-block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f97316;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    line-height: 48px;
    margin-bottom: 12px;
}

.step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.75;
}

/* TESTIMONIALS */
.testimonials {
    padding: 80px 20px;
    text-align: center;
}

.testimonials h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
}

.testimonial-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.testimonial {
    max-width: 280px;
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.quote {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
}

.author {
    font-size: 14px;
    opacity: 0.6;
}

/* EARLY ACCESS */
.early-access {
    padding: 80px 20px;
    text-align: center;
}

.early-access h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
}

.ea-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.ea-item {
    max-width: 260px;
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.ea-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ea-item p {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.75;
}

/* FINAL CTA */
.final-cta {
    text-align: center;
    padding: 100px 20px;
    background: #fff;
}

.final-cta h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 20px;
}

.final-cta p {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.75;
    max-width: 600px;
    margin: 0 auto 30px;
}

.final-cta .cta-button {
    display: inline-block;
    background: #f97316;
    color: #fff;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.final-cta .cta-button:hover {
    opacity: 0.9;
}

/* FOOTER */
.footer {
    background: #f8f8f8;
    padding: 40px 20px;
    margin-top: 80px;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.footer-brand p {
    font-size: 15px;
    opacity: 0.7;
    margin-bottom: 20px;
}

.footer-links a {
    margin: 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-copy p {
    font-size: 14px;
    opacity: 0.6;
    margin-top: 12px;
}

/* MOBILE */
@media (max-width: 600px) {

    html, body {
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    #signup-form input {
        padding: 12px;
        width: 240px;
        border-radius: 8px;
        border: 2px solid #ff4da6;
        font-size: 1rem;
    }


    .emoji-field {
        display: none !important;
    }

    .trust-badge {
        height: auto;
        width: 100px;
        top: 10px;
        left: 10px;
    }

    .steps,
    .testimonial-grid,
    .ea-grid,
    .feature-grid {
        flex-direction: column !important;
        gap: 24px !important;
        width: 100% !important;
        align-items: center !important;
    }

    .steps > *,
    .testimonial-grid > *,
    .ea-grid > *,
    .feature-grid > * {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px !important;
        margin: 0 auto !important;
    }

    h2 {
        font-size: 24px !important;
        text-align: center !important;
    }

    .final-cta {
        padding: 40px 16px !important;
    }

    .final-cta h2 {
        font-size: 22px !important;
    }

    .final-cta p {
        font-size: 14px !important;
        margin-bottom: 20px !important;
        opacity: 0.8 !important;
    }

    .final-cta .cta-button {
        width: 100% !important;
        padding: 10px 14px !important;
        font-size: 15px !important;
        border-radius: 8px !important;
    }

    .footer {
        padding: 30px 16px !important;
    }

    .footer-links a {
        display: block !important;
        margin: 10px 0 !important;
    }
}
