/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    background: #0a0a0f;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

/* ===== PARTICLE CANVAS ===== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== CONTAINER ===== */
.container {
    position: relative;
    z-index: 1;
    max-width: 820px;
    width: 100%;
    text-align: center;
    padding: 30px 20px;
    animation: fadeInUp 1s ease-out;
}

/* ===== BRAND ===== */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 48px;
    background: rgba(255, 255, 255, 0.04);
    padding: 10px 24px 10px 18px;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.brand-icon {
    font-size: 1.6rem;
    color: #6c5ce7;
    display: flex;
    align-items: center;
}

.brand-name {
    color: #ffffff;
}

.brand-name span {
    color: #6c5ce7;
}

/* ===== HERO ===== */
.hero {
    margin-bottom: 48px;
}

.badge {
    display: inline-block;
    background: rgba(108, 92, 231, 0.15);
    color: #a29bfe;
    padding: 6px 18px;
    border-radius: 60px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.badge i {
    margin-right: 6px;
    font-size: 0.7rem;
}

.title {
    font-size: clamp(2.5rem, 8vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1.5px;
}

.gradient-text {
    background: linear-gradient(135deg, #6c5ce7, #fd79a8, #fdcb6e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255, 255, 255, 0.6);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}

/* ===== COUNTDOWN ===== */
.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 560px;
    margin: 0 auto 48px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 16px 8px;
    transition: all 0.3s ease;
}

.countdown-item:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
}

.countdown-number {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    display: block;
    color: #ffffff;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}

.countdown-number.days-color {
    color: #6c5ce7;
}
.countdown-number.hours-color {
    color: #fd79a8;
}
.countdown-number.minutes-color {
    color: #fdcb6e;
}
.countdown-number.seconds-color {
    color: #00cec9;
}

.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 600;
    margin-top: 4px;
    display: block;
}

/* ===== SUBSCRIBE ===== */
.subscribe {
    max-width: 520px;
    margin: 0 auto 40px;
}

.subscribe-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
    font-weight: 400;
}

.subscribe-text i {
    color: #6c5ce7;
    margin-right: 6px;
}

.subscribe-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 60px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.subscribe-form:focus-within {
    border-color: rgba(108, 92, 231, 0.4);
    box-shadow: 0 0 30px rgba(108, 92, 231, 0.08);
}

.subscribe-input {
    flex: 1;
    min-width: 180px;
    background: transparent;
    border: none;
    padding: 14px 20px;
    font-size: 0.95rem;
    color: #ffffff;
    outline: none;
    font-family: inherit;
}

.subscribe-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.subscribe-btn {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    border: none;
    padding: 14px 28px;
    border-radius: 60px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    white-space: nowrap;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.3);
}

.subscribe-btn:active {
    transform: translateY(0);
}

.subscribe-btn i {
    transition: transform 0.3s ease;
}

.subscribe-btn:hover i {
    transform: translateX(4px);
}

.subscribe-message {
    margin-top: 12px;
    font-size: 0.85rem;
    min-height: 24px;
    transition: all 0.3s ease;
}

.subscribe-message.success {
    color: #00cec9;
}
.subscribe-message.error {
    color: #fd79a8;
}

/* ===== SOCIALS ===== */
.socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: rgba(108, 92, 231, 0.15);
    color: #a29bfe;
    border-color: rgba(108, 92, 231, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.15);
}

/* ===== FOOTER ===== */
.footer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 0.5px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.countdown-item {
    animation: fadeInUp 0.8s ease-out both;
}
.countdown-item:nth-child(1) {
    animation-delay: 0.1s;
}
.countdown-item:nth-child(2) {
    animation-delay: 0.2s;
}
.countdown-item:nth-child(3) {
    animation-delay: 0.3s;
}
.countdown-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .countdown {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .countdown-item {
        padding: 12px 4px;
        border-radius: 12px;
    }

    .countdown-number {
        font-size: 1.6rem;
    }

    .subscribe-form {
        border-radius: 16px;
        padding: 12px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.03);
    }

    .subscribe-input {
        min-width: unset;
        text-align: center;
        padding: 12px 16px;
    }

    .subscribe-btn {
        justify-content: center;
        padding: 14px;
        border-radius: 12px;
        width: 100%;
    }

    .brand {
        font-size: 1.3rem;
        padding: 8px 16px 8px 12px;
        gap: 8px;
    }

    .brand-icon {
        font-size: 1.2rem;
    }

    .social-link {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    .title {
        font-size: 2rem;
    }

    .badge {
        font-size: 0.65rem;
        padding: 4px 14px;
    }
}

@media (max-width: 400px) {
    .countdown {
        gap: 6px;
    }
    .countdown-item {
        padding: 8px 2px;
    }
    .countdown-number {
        font-size: 1.3rem;
    }
    .countdown-label {
        font-size: 0.55rem;
    }
}
