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

body {
    font-family: 'Fredoka', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(135deg, #fff1eb 0%, #ace0f9 50%, #fff1eb 100%);
    min-height: 100vh;
    position: relative;
}

/* Container and Layout */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
    position: relative;
}

/* Main Card */
.main-card {
    background: linear-gradient(145deg, #e7daf1 0%, #e9f1fb 50%, #eae6ff 100%);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 80px 70px;
    max-width: 80%;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1);
    border: 20px solid #ffffff;
    position: relative;
    z-index: 10;
}

/* Logo Section */
.logo-section {
    margin-bottom: 40px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #374151;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 400;
    font-size: 36px;
    letter-spacing: -0.02em;
}

.logo i {
    font-size: 30px;
}

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

.emoji {
    font-size: 80px;
    margin-bottom: 20px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.subtitle {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.main-title {
    font-size: 48px;
    font-weight: 300;
    color: #374151;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.description {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Countdown Section */
.countdown-section {
    margin-bottom: 50px;
}

.countdown-section h3 {
    font-size: 20px;
    color: #374151;
    margin-bottom: 30px;
    font-weight: 400;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-unit .number {
    font-size: 36px;
    font-weight: 300;
    color: #374151;
    display: block;
    line-height: 1;
    margin-bottom: 8px;
    min-width: 60px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    padding: 12px 8px;
}

.time-unit .label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Email Signup Section */
.signup-section {
    margin-bottom: 40px;
}

.email-form {
    margin-bottom: 12px;
}

.input-group {
    display: flex;
    align-items: center;
    background: rgba(79, 70, 229, 0.08);
    border-radius: 60px;
    padding: 6px;
    max-width: 480px;
    margin: 0 auto;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: #374151;
    background: rgba(79, 70, 229, 0.12);
}

.input-row {
    display: flex;
    align-items: center;
    flex: 1;
}

.input-row i {
    color: #6b7280;
    margin-left: 20px;
    margin-right: 16px;
    font-size: 16px;
}

.input-row input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Fredoka', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    color: #374151;
    padding: 16px 8px;
}

.input-row input::placeholder {
    color: #9ca3af;
}

.input-group button {
    background: #374151;
    color: white;
    border: none;
    padding: 16px 28px;
    border-radius: 50px;
    font-family: 'Fredoka', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.form-note {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Social Section */
.social-section {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(107, 114, 128, 0.1);
    border-radius: 50%;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
}

.social-link:hover {
    background: #374151;
    color: white;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    border-top: 1px solid rgba(107, 114, 128, 0.2);
    padding-top: 30px;
}

.footer p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 4px;
}

.footer p:last-child {
    margin-bottom: 0;
    font-weight: 500;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.element-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 10%;
    background: rgba(172, 224, 249, 0.4);
    animation: float 6s ease-in-out infinite;
}

.element-2 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 15%;
    background: rgba(255, 241, 235, 0.6);
    animation: float 4s ease-in-out infinite reverse;
}

.element-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    background: rgba(172, 224, 249, 0.3);
    animation: float 5s ease-in-out infinite;
}

.element-4 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    right: 10%;
    background: rgba(255, 241, 235, 0.5);
    animation: float 7s ease-in-out infinite reverse;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    margin: 50% auto;
    padding: 40px;
    border-radius: 24px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: translateY(-50%);
    animation: modalSlideIn 0.3s ease;
}

.modal-header {
    margin-bottom: 20px;
}

.modal-emoji {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.modal-header h3 {
    font-size: 24px;
    color: #374151;
    margin-bottom: 0;
    font-weight: 600;
}

.modal-content p {
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.modal-close {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #4338ca;
    transform: translateY(-1px);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px 10px;
    }
    
    .main-card {
        padding: 40px 30px;
        margin: 10px;
        border-radius: 24px;
        max-width: 90%;
        border: 5px solid #ffffff;
    }
    
    .main-title {
        font-size: 36px;
    }
    
    .emoji {
        font-size: 60px;
    }
    
    .countdown {
        gap: 20px;
    }
    
    .time-unit .number {
        font-size: 28px;
        min-width: 50px;
        padding: 10px 6px;
    }
    
    .input-group {
        flex-direction: column;
        padding: 0;
        gap: 16px;
        background: transparent;
        border: none;
        border-radius: 0;
        max-width: 100%;
    }
    
    .input-row {
        display: flex;
        align-items: center;
        background: rgba(79, 70, 229, 0.08);
        border-radius: 50px;
        padding: 4px 20px 4px 20px;
        border: 2px solid transparent;
        transition: all 0.3s ease;
        width: 100%;
    }
    
    .input-row:focus-within {
        border-color: #374151;
        background: rgba(255, 255, 255, 1);
    }
    
    .input-row i {
        color: #6b7280;
        margin-right: 12px;
        font-size: 16px;
    }
    
    .input-group input {
        flex: 1;
        border: none;
        outline: none;
        background: transparent;
        font-size: 16px;
        color: #374151;
        padding: 16px 8px;
        text-align: left;
    }
    
    .input-group button {
        width: 100%;
        padding: 16px;
        font-size: 16px;
        min-height: 50px;
        border-radius: 50px;
        margin-top: 4px;
    }
    
    .floating-element {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px 5px;
    }
    
    .main-card {
        padding: 30px 20px;
        margin: 5px;
        max-width: 90%;
        border: 5px solid #ffffff;
    }
    
    .main-title {
        font-size: 28px;
    }
    
    .countdown {
        gap: 15px;
    }
    
    .countdown-section {
        margin-bottom: 40px;
    }
    
    .countdown-section h3 {
        font-size: 18px;
        margin-bottom: 25px;
    }
    
    .time-unit .number {
        font-size: 24px;
        min-width: 45px;
        padding: 8px 4px;
    }
    
    .input-group {
        padding: 0;
        gap: 14px;
        background: transparent;
        border: none;
        border-radius: 0;
        max-width: 100%;
    }
    
    .input-row {
        padding: 3px 16px 3px 16px;
        width: 100%;
    }
    
    .input-row i {
        margin-right: 10px;
    }
    
    .input-row input {
        padding: 14px 6px;
        font-size: 16px;
    }
    
    .input-group button {
        padding: 14px;
        min-height: 48px;
        font-size: 16px;
    }
    
    .modal-content {
        margin: 40% auto;
        padding: 30px 20px;
    }
} 