﻿:root {
    --xply-blue: #4ab1e2;
    --xply-green: #4cd4b0;
    --background: #ffffff;
    --muted: #a1a1aa;
    --border: #e0e0e0;
    --text: #1a1a1a;
    --hero-text: #1a1a1a;
    --hero-subtitle: #6b7280;
    --waitlist-bg: #f9f9f9;
    --input-bg: #ffffff;
    --input-border: #ccc;
    --input-text: #1a1a1a;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text);
    padding: 2rem;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text);
}

    .hero img {
        max-width: 440px;
        margin-bottom: 2rem;
        border-radius: 1rem;
    }

.hero-headline {
    font-size: 5.25rem;
    font-weight: 800;
    color: var(--hero-text);
}

.gradient-text {
    background: linear-gradient(90deg, #a086f7 0%, #4ab1e2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

#xply-logo {
    margin-bottom: 0.8rem;
    margin-top: 0.6rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 650px;
    color: var(--hero-subtitle);
    margin-bottom: 2rem;
    margin-top: 1.6rem;
}

.waitlist-box {
    background: var(--waitlist-bg);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 1.5rem;
    max-width: 520px;
    margin: 2rem auto;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

    .waitlist-box p {
        font-size: 1rem;
        margin-bottom: 1rem;
        color: var(--text);
    }

    .waitlist-box .timeline {
        font-size: 0.9rem;
        color: var(--muted);
        margin-top: 0.5rem;
        margin-bottom: 0;
        font-weight: 500;
        opacity: 0.8;
    }

    .waitlist-box .team-credibility {
        font-size: 0.85rem;
        color: var(--muted);
        margin-top: 1.5rem;
        margin-bottom: 0;
        font-weight: 400;
        opacity: 0.7;
        line-height: 1.4;
    }

    .waitlist-box form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        margin-top: 1.5rem;
    }

    .waitlist-box input[type="email"] {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        width: 100%;
        max-width: 340px;
        border: 2px solid var(--input-border);
        border-radius: 0.75rem;
        font-family: 'Inter', sans-serif;
        background: var(--input-bg);
        color: var(--input-text);
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .waitlist-box input[type="email"]:focus {
        outline: none;
        border-color: #4eb8f0;
        box-shadow: 0 0 0 4px rgba(78, 184, 240, 0.1);
    }

.get-started-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #4eb8f0 0%, #4286f5 100%);
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 4px 24px 0 rgba(66, 134, 245, 0.3);
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
    margin-top: 0.5rem;
    width: 100%;
    max-width: 340px;
    position: relative;
    overflow: hidden;
}

    .get-started-btn:hover,
    .get-started-btn:focus {
        background: linear-gradient(135deg, #4286f5 0%, #4eb8f0 100%);
        box-shadow: 0 6px 32px 0 rgba(66, 134, 245, 0.4);
        transform: translateY(-2px);
    }

    .get-started-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .get-started-btn:hover::before {
        left: 100%;
    }

footer {
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Mobile responsive styles */
@media (max-width: 600px) {
    .hero-headline {
        font-size: 3.2rem;
    }

    #xply-logo {
        width: 140px;
        height: 140px;
        margin-bottom: 0.8rem;
        margin-top: 0.6rem;
    }

    .hero p {
        font-size: 1rem;
        margin-top: 1.0rem;
    }
}

/* Dark theme */
body.dark-theme {
    --background: #181828;
    --text: #fff;
    --muted: #a1a1aa;
    --border: #232347;
    --hero-text: #fff;
    --hero-subtitle: #bcbcd0;
    --waitlist-bg: linear-gradient(135deg, rgba(49,54,100,0.93) 0%, rgba(31,31,54,0.84) 100%);
    --input-bg: #232347;
    --input-border: #444;
    --input-text: #fff;
}

body.dark-theme .waitlist-box {
    background: var(--waitlist-bg);
    backdrop-filter: blur(12px);
    border-radius: 1.2rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.22);
}

body.dark-theme #xply-text {
    fill: #fff !important;
}

/* Animations */
#xply-logo line {
    stroke-dasharray: 140;
    stroke-dashoffset: 140;
    animation: drawline 0.7s ease-out forwards;
}

#xply-logo #line-yellow {
    animation-delay: 0.2s;
}

#xply-logo #line-blue {
    animation-delay: 0.5s;
}

#xply-logo #line-green {
    animation-delay: 0.8s;
}

#xply-logo #line-red {
    animation-delay: 1.1s;
}

@keyframes drawline {
    to {
        stroke-dashoffset: 0;
    }
}

#xply-text {
    animation: textfadein 0.0s ease 0.0s forwards;
}

@keyframes textfadein {
    to {
        opacity: 1;
    }
}

.glow-dot {
    filter: none;
    transition: filter 0.2s;
}

#dot-yellow.glow {
    filter: url(#glow-yellow);
}

#dot-blue.glow {
    filter: url(#glow-blue);
}

#dot-green.glow {
    filter: url(#glow-green);
}

#dot-red.glow {
    filter: url(#glow-red);
}

/* FAQ section */
.faq-section {
    max-width: 480px;
    margin: 2.2rem auto 1.5rem auto;
    color: var(--muted);
}

.faq-question {
    font-size: 1.07rem;
    margin-bottom: 0.4rem;
    margin-top: 1.1rem;
    font-weight: 700;
    color: var(--hero-text);
}

.faq-answer {
    margin-top: 0;
    font-size: 1.02rem;
    color: var(--muted);
}

/* Feature section */
.feature-section {
    max-width: 700px;
    margin: 0 auto 1.2rem auto;
    text-align: center;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: var(--hero-text);
}

.feature-list {
    list-style: disc inside;
    text-align: left;
    max-width: 550px;
    margin: 1.2rem auto 1.8rem auto;
    color: var(--muted);
    font-size: 1.09rem;
    line-height: 1.65;
    padding-left: 1.1rem;
}