:root {
    --primary: #6366f1;
    --secondary: #a855f7;
    --accent: #22d3ee;
    --bg-dark: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Background Animations */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(80px);
}

.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    opacity: 0.4;
    animation: move 20s infinite alternate;
}

.blob-1 { background: var(--primary); top: -100px; left: -100px; }
.blob-2 { background: var(--secondary); bottom: -100px; right: -100px; animation-delay: -5s; }
.blob-3 { background: var(--accent); top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: -10s; }

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, 100px) scale(1.2); }
}

/* Layout Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    z-index: 1;
}

@media (max-width: 968px) {
    .container { grid-template-columns: 1fr; text-align: center; }
    .visual { order: -1; }
}

/* Content Styles */
.badge {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 100px;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientShift 5s ease infinite;
}

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

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

@media (max-width: 968px) { .subtitle { margin-left: auto; margin-right: auto; } }

/* Countdown */
.countdown { display: flex; gap: 20px; margin-bottom: 40px; }
@media (max-width: 968px) { .countdown { justify-content: center; } }

.time-box {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 15px;
    border-radius: 16px;
    min-width: 80px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-box span { font-size: 1.5rem; font-weight: 800; color: var(--text-main); }
.time-box label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* Progress Bar */
.progress-container { margin-bottom: 40px; max-width: 500px; }
@media (max-width: 968px) { .progress-container { margin-left: auto; margin-right: auto; } }

.progress-label { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; color: var(--text-muted); }
.progress-bar { height: 10px; background: var(--glass); border-radius: 100px; overflow: hidden; border: 1px solid var(--glass-border); }
.progress-fill {
    width: 85%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 100px;
    position: relative;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% { opacity: 0.8; box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    50% { opacity: 1; box-shadow: 0 0 20px 0 rgba(34, 211, 238, 0.4); }
    100% { opacity: 0.8; box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
}

/* Form */
.subscribe-form { display: flex; gap: 12px; max-width: 500px; margin-bottom: 40px; }
@media (max-width: 600px) { .subscribe-form { flex-direction: column; } }
@media (max-width: 968px) { .subscribe-form { margin-left: auto; margin-right: auto; } }

input[type="email"] {
    flex: 1;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 16px 24px;
    border-radius: 12px;
    color: white;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

input[type="email"]:focus { border-color: var(--primary); background: rgba(255, 255, 255, 0.05); }

button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover { background: var(--secondary); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3); }

/* Visual Section */
.visual { display: flex; justify-content: center; align-items: center; }
.image-wrapper { position: relative; width: 100%; max-width: 500px; display: flex; justify-content: center; }

/* Pure CSS Construction Scene */
.construction-scene {
    position: relative;
    width: 320px;
    height: 320px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.ground { position: absolute; bottom: 0; width: 100%; height: 40px; background: #1e293b; }

.crane { position: absolute; left: 20px; bottom: 40px; width: 100px; height: 200px; }
.crane-base { position: absolute; bottom: 0; left: 15px; width: 30px; height: 8px; background: #f59e0b; }
.crane-tower { position: absolute; bottom: 8px; left: 27px; width: 6px; height: 160px; background: #f59e0b; }
.crane-arm { position: absolute; top: 10px; left: -10px; width: 120px; height: 6px; background: #f59e0b; animation: swing 6s infinite ease-in-out; transform-origin: 40px center; }
.crane-line { position: absolute; top: 16px; left: 100px; width: 1px; height: 60px; background: #94a3b8; animation: lineExtend 6s infinite ease-in-out; }
.crane-hook { position: absolute; top: 76px; left: 95px; width: 12px; height: 12px; border: 2px solid #f59e0b; border-top: none; border-radius: 0 0 6px 6px; animation: hookMove 6s infinite ease-in-out; }

.house-build { position: absolute; right: 40px; bottom: 40px; width: 110px; height: 100px; }
.house-foundation { position: absolute; bottom: 0; width: 100%; height: 8px; background: #475569; }
.house-walls { position: absolute; bottom: 8px; left: 8px; width: 94px; height: 0; background: var(--primary); animation: growWalls 4s forwards 1s ease-out; }
.house-window { position: absolute; top: 25px; left: 25px; width: 15px; height: 15px; background: var(--accent); opacity: 0; animation: fadeIn 0.5s forwards 4s; }
.house-door { position: absolute; bottom: 8px; right: 25px; width: 15px; height: 30px; background: #1e293b; opacity: 0; animation: fadeIn 0.5s forwards 4.5s; }
.house-roof { position: absolute; top: -35px; left: 0; width: 0; height: 0; border-left: 55px solid transparent; border-right: 55px solid transparent; border-bottom: 35px solid var(--secondary); opacity: 0; transform: translateY(-40px); animation: roofSlide 1s forwards 5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }

.cloud { position: absolute; background: white; opacity: 0.1; border-radius: 50px; }
.cloud-1 { width: 60px; height: 20px; top: 30px; left: 30px; animation: floatCloud 20s infinite linear; }
.cloud-2 { width: 80px; height: 30px; top: 60px; right: 30px; animation: floatCloud 25s infinite linear reverse; }

@keyframes swing { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(10deg); } }
@keyframes lineExtend { 0%, 100% { height: 60px; transform: translateX(0); } 50% { height: 80px; transform: translateX(25px); } }
@keyframes hookMove { 0%, 100% { top: 76px; transform: translateX(0); } 50% { top: 96px; transform: translateX(25px); } }
@keyframes growWalls { to { height: 65px; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes roofSlide { to { opacity: 1; transform: translateY(0); } }
@keyframes floatCloud { from { transform: translateX(-50px); } to { transform: translateX(300px); } }

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

/* Socials */
.socials { display: flex; gap: 20px; }
@media (max-width: 968px) { .socials { justify-content: center; } }
.social-icon { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.3s ease; }
.social-icon:hover { color: var(--accent); }

/* Footer */
.footer { padding: 40px; text-align: center; color: var(--text-muted); font-size: 14px; }
