/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #1a1a1a;
    color: #ffffff;
    line-height: 1.5;
}

/* Container */
.container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: #1a1a1a;
    overflow: hidden;
}

/* Header */
.header {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
}


/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    padding: 0 10px;
    overflow-y: auto;
    min-height: 0;
}

/* Hero Section */
.hero-section {
    margin-bottom: 25px;
}

.title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #dc2626;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 10px;
}

.description {
    font-size: 1rem;
    color: #cccccc;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Newsletter Section */
.newsletter-section {
    background: #2a2a2a;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #404040;
    margin-bottom: 20px;
    width: 100%;
    max-width: 450px;
}

.newsletter-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 5px;
}

.newsletter-section p {
    color: #cccccc;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.newsletter-form {
    width: 100%;
}

.input-group {
    display: flex;
    gap: 8px;
    width: 100%;
}

.input-group input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #404040;
    border-radius: 6px;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: #dc2626;
    background: #222222;
}

.input-group input::placeholder {
    color: #888888;
}

.input-group button {
    padding: 12px 20px;
    background: #dc2626;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.input-group button:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}

/* Progress Section */
.progress-section {
    background: #2a2a2a;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid #404040;
    margin-bottom: 20px;
    width: 100%;
    max-width: 450px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #ffffff;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #404040;
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #dc2626;
    border-radius: 6px;
    width: 85%;
    animation: progress 2s ease-in-out;
}

@keyframes progress {
    from {
        width: 0%;
    }
    to {
        width: 85%;
    }
}


/* Footer */
.footer {
    text-align: center;
    color: #888888;
    font-size: 0.8rem;
    margin-top: 10px;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .title {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .description {
        font-size: 0.95rem;
    }
    
    .newsletter-section,
    .progress-section {
        padding: 18px 15px;
        max-width: 100%;
    }
    
    .input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .input-group button {
        justify-content: center;
    }
    
}

@media (max-width: 480px) {
    .title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .newsletter-section,
    .progress-section {
        padding: 15px 12px;
    }
    
    .newsletter-section h3 {
        font-size: 1.1rem;
    }
    
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section,
.newsletter-section,
.progress-section {
    animation: fadeInUp 0.5s ease-out forwards;
}

.hero-section {
    animation-delay: 0.1s;
}

.newsletter-section {
    animation-delay: 0.2s;
}

.progress-section {
    animation-delay: 0.3s;
}

/* Loading state */
.loading {
    opacity: 0;
    animation: fadeIn 0.6s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}