:root {
    --bg-color: #f4f6fc;
    --card-bg: rgba(255, 255, 255, 0.85);
    --card-border: rgba(112, 96, 240, 0.15);
    --text-main: #110e20;
    --text-muted: #5e5780;
    --primary-1: #7060f0;
    --primary-2: #5a4acb;
    --primary-3: #9a88f5;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}

/* Background animated shapes */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    animation: float 20s infinite ease-in-out alternate;
    opacity: 0.5;
}

.bg-shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(112, 96, 240, 0.25), transparent 70%);
    top: -10%;
    left: -10%;
}

.bg-shape-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(154, 136, 245, 0.25), transparent 70%);
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10%, 15%) scale(1.1); }
    100% { transform: translate(-5%, 10%) scale(0.9); }
}

/* Glassmorphism Card */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(112, 96, 240, 0.15);
    max-width: 800px;
    width: 100%;
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.text-light-50 {
    color: var(--text-muted);
}

/* Text Gradients */
.title-gradient {
    background: linear-gradient(135deg, #110e20 0%, #5e5780 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.text-primary-gradient {
    background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Countdown */
.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    width: 80px;
    height: 90px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.time-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary-1);
    box-shadow: 0 10px 20px -10px rgba(112, 96, 240, 0.2);
}

.time-val {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    margin-bottom: 4px;
    background: linear-gradient(to right, var(--primary-2), var(--primary-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.time-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Form */
.subscribe-form {
    max-width: 500px;
    position: relative;
}

.glass-input {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.glass-input:focus {
    background: #ffffff;
    border-color: var(--primary-1);
    box-shadow: 0 0 0 4px rgba(112, 96, 240, 0.1);
    color: var(--text-main);
    outline: none;
}

.glass-input::placeholder {
    color: var(--text-muted);
}

.btn-gradient {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    z-index: 2;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, var(--primary-2), var(--primary-3));
    transform: scale(1.05);
    box-shadow: 0 10px 20px -10px var(--primary-2);
    color: white;
}

/* Social Icons */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(112, 96, 240, 0.08);
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.social-icon:hover {
    background: var(--primary-1);
    color: #fff;
    transform: translateY(-5px);
    border-color: var(--primary-1);
    box-shadow: 0 10px 20px -10px rgba(112, 96, 240, 0.4);
}

@media (max-width: 576px) {
    .glass-card {
        padding: 2rem !important;
    }
    
    .countdown-wrapper {
        gap: 0.75rem !important;
    }
    
    .time-box {
        width: 65px;
        height: 75px;
    }
    
    .time-val {
        font-size: 1.5rem;
    }
    
    .time-label {
        font-size: 0.6rem;
    }
    
    .btn-gradient {
        position: static;
        width: 100%;
        margin-top: 1rem;
        padding: 0.75rem !important;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .glass-input {
        border-radius: 12px;
    }
    
    .btn-gradient {
        border-radius: 12px;
    }
}
