/* Modern CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4a6bff;
    --secondary-color: #6c5ce7;
    --accent-color: #00cec9;
    --text-color: #2d3436;
    --light-text: #636e72;
    --background: #f8f9fa;
    --white: #ffffff;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.content {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    max-width: 900px;
    width: 100%;
    animation: fadeIn 1s ease-in-out;
    backdrop-filter: blur(10px);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

h3 {
    color: var(--text-color);
    margin: 1rem 0 0.5rem;
    font-size: 1.4rem;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

/* Progress Bar */
.progress-container {
    margin: 2.5rem 0;
    padding: 0 1rem;
}

.progress-bar {
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 6px;
    position: relative;
    transition: width 1.5s ease-in-out;
    animation: progressAnimation 2s ease-in-out;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.progress-description {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-top: 1rem;
    font-style: italic;
}

/* Features Section */
.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 0;
}

.feature {
    flex: 1;
    min-width: 200px;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature p {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    margin: 3rem 0 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #eef1f5 100%);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cta-section h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--text-color);
}

.subscribe-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.subscribe-form input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.subscribe-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.subscribe-form button {
    padding: 0.8rem 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 107, 255, 0.3);
}

.subscribe-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 107, 255, 0.4);
}

/* Social Links */
.social-links {
    margin-top: 2rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    border-radius: 50%;
    margin: 0 0.5rem;
    color: #2c3e50;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
}

footer {
    text-align: center;
    padding: 1.5rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .time-block {
        min-width: 80px;
        padding: 1rem 0.5rem;
    }
    
    .time-block span:first-child {
        font-size: 2rem;
    }
    
    .description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .countdown {
        gap: 0.8rem;
    }
    
    .time-block {
        min-width: 70px;
    }
    
    .time-block span:first-child {
        font-size: 1.5rem;
    }
}
