:root {
    --bg-color: #080b11;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --accent-glow: rgba(99, 102, 241, 0.15);
    --accent-linear: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Animated Ambient Backgrounds --- */
.glow-bg {
    position: fixed;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.08) 0%, transparent 45%);
    z-index: 1;
    animation: pulseBackground 12s ease-in-out infinite alternate;
}

.interactive-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

@keyframes pulseBackground {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.05) rotate(3deg); }
}

/* --- Layout Container --- */
.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    padding: 40px 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

/* --- Header / Logo --- */
.header {
    animation: fadeIn 1.2s ease forwards;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.logo .accent {
    background: var(--accent-linear);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Main Content Section --- */
.content {
    max-width: 750px;
    margin: 40px 0;
}

.title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.reveal-text {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    animation: revealUp 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    transform: translateY(100%);
}

.reveal-text.delay-1 {
    animation-delay: 0.2s;
}

.gradient-text {
    background: var(--accent-linear);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes revealUp {
    to { transform: translateY(0); }
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.6s;
}

/* --- Glassmorphic Countdown --- */
.countdown-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 56px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.8s;
}

.countdown-box {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 24px 16px;
    border-radius: 16px;
    min-width: 100px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.countdown-box:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.4);
}

.countdown-box .number {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.countdown-box .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* --- Interactive Notification Form --- */
.notify-form {
    max-width: 480px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

.input-group {
    display: flex;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 6px;
    border-radius: 30px;
    backdrop-filter: blur(12px);
    transition: focus-within 0.3s, border-color 0.3s;
}

.input-group:focus-within {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.notify-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0 20px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
}

.notify-form input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.notify-form button {
    background: var(--accent-linear);
    color: #fff;
    border: none;
    outline: none;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s, transform 0.2s;
}

.notify-form button:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.notify-form button:active {
    transform: scale(0.98);
}

.arrow-icon {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.notify-form button:hover .arrow-icon {
    transform: translateX(4px);
}

.form-message {
    font-size: 0.85rem;
    margin-top: 12px;
    min-height: 18px;
    transition: color 0.3s;
}

/* --- Footer --- */
.footer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.25);
    animation: fadeIn 1.5s ease forwards 1.2s;
    opacity: 0;
}

/* --- Core Helper Animations --- */
@keyframes fadeIn {
    to { opacity: 1; }
}

/* --- Responsive Adjustments --- */
@media (max-width: 480px) {
    .countdown-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 12px;
    }

    .notify-form input {
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        padding: 16px 20px;
        border-radius: 30px;
        width: 100%;
    }

    .notify-form button {
        width: 100%;
        justify-content: center;
        padding: 16px;
    }
}