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

:root {
    --bg: #050508;
    --card-bg: rgba(255,255,255,0.03);
    --green: #00D26A;
    --green-dim: rgba(0,210,106,0.15);
    --green-glow: rgba(0,210,106,0.4);
    --text: #ffffff;
    --text-muted: rgba(255,255,255,0.5);
    --glass: rgba(255,255,255,0.05);
    --glass-border: rgba(255,255,255,0.08);
    --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

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

/* ===== GRID BACKGROUND ===== */
.grid-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
}

/* ===== FLOATING ORBS ===== */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}
.orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
    top: -10%; right: -10%;
    animation-delay: 0s;
}
.orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0,150,255,0.15) 0%, transparent 70%);
    bottom: -5%; left: -5%;
    animation-delay: -7s;
}
.orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
    top: 40%; left: 50%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 30px) scale(1.02); }
}

/* ===== CONTAINER ===== */
.container {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 60px 24px;
    max-width: 720px;
    width: 100%;
}

/* ===== LOGO ===== */
.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeInDown 1s ease forwards 0.2s;
}
.logo-icon {
    width: 48px; height: 48px;
    background: var(--green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px var(--green-glow);
    animation: logoPulse 3s ease-in-out infinite;
}
.logo-icon span {
    font-size: 24px;
    font-weight: 900;
    color: #000;
    line-height: 1;
}
.logo-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 20px var(--green-dim); }
    50% { box-shadow: 0 0 40px var(--green-glow), 0 0 80px rgba(0,210,106,0.15); }
}

/* ===== BADGE ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--green-dim);
    border: 1px solid rgba(0,210,106,0.25);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeInDown 1s ease forwards 0.4s;
}
.badge-dot {
    width: 8px; height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ===== HERO TEXT ===== */
.hero-title {
    font-size: clamp(36px, 7vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}
.hero-title .line {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}
.line-1 { animation-delay: 0.6s; }
.line-2 { animation-delay: 0.8s; }
.line-3 { animation-delay: 1.0s; }

.gradient-text {
    background: linear-gradient(135deg, var(--green), #00f0ff, var(--green));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease forwards 1.0s, gradientShift 4s ease-in-out infinite 1.0s;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== HERO DESC ===== */
.hero-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 48px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1.2s;
}

/* ===== COUNTDOWN ===== */
.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1.4s;
}
.countdown-item { text-align: center; }
.countdown-glass {
    width: 80px; height: 90px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.countdown-glass::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.countdown-glass:hover {
    border-color: var(--green);
    box-shadow: 0 0 20px var(--green-dim);
    transform: translateY(-4px);
}
.countdown-number {
    font-size: 36px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.countdown-label {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}
.countdown-separator {
    font-size: 28px;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 24px;
    animation: blink 1.5s ease-in-out infinite;
}

/* ===== NOTIFY FORM ===== */
.notify-section {
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1.6s;
}
.notify-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.notify-form {
    display: flex;
    gap: 10px;
    max-width: 460px;
    margin: 0 auto;
}
.input-wrapper {
    flex: 1;
    position: relative;
}
.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px; height: 18px;
    color: var(--text-muted);
    pointer-events: none;
}
.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.input-wrapper input::placeholder { color: var(--text-muted); }
.input-wrapper input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green-dim);
}

.notify-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--green);
    color: #000;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.notify-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 ease;
}
.notify-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--green-glow); }
.notify-btn:hover::before { left: 100%; }
.notify-btn:active { transform: translateY(0); }

.success-message {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 20px;
    background: var(--green-dim);
    border: 1px solid rgba(0,210,106,0.25);
    border-radius: 12px;
    color: var(--green);
    font-size: 14px;
    font-weight: 500;
    animation: fadeInUp 0.5s ease forwards;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}
.success-message.show { display: flex; }

/* ===== SOCIAL LINKS ===== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1.8s;
}
.social-link {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.social-link:hover {
    color: var(--green);
    border-color: var(--green);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--green-dim);
}

/* ===== CONTACT INFO ===== */
.contact-info {
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 2.0s;
}
.contact-info a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}
.contact-info a:hover { color: var(--green); }
.contact-info .divider { margin: 0 12px; }

/* ===== PROGRESS BAR ===== */
.progress-bar {
    position: fixed;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: rgba(255,255,255,0.05);
    z-index: 100;
}
.progress-fill {
    height: 100%;
    width: 68%;
    background: linear-gradient(90deg, var(--green), #00f0ff);
    border-radius: 0 3px 3px 0;
    position: relative;
    animation: progressGlow 2s ease-in-out infinite;
}
.progress-fill::after {
    content: '';
    position: absolute;
    right: 0; top: -2px;
    width: 6px; height: 7px;
    border-radius: 50%;
    background: #00f0ff;
    box-shadow: 0 0 10px #00f0ff;
}

@keyframes progressGlow {
    0%, 100% { box-shadow: 0 0 10px var(--green-dim); }
    50% { box-shadow: 0 0 20px var(--green-glow); }
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .container { padding: 40px 20px; }
    .countdown { gap: 8px; }
    .countdown-glass { width: 65px; height: 75px; }
    .countdown-number { font-size: 28px; }
    .notify-form { flex-direction: column; }
    .notify-btn { justify-content: center; }
    .hero-title { letter-spacing: -1px; }
    .contact-info .divider { display: none; }
    .contact-info a { display: block; margin: 4px 0; }
}
