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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
    min-height: 100vh;
    color: #1e3a5f;
    overflow-x: hidden;
}

/* Floating clouds animation */
.clouds {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    animation: float 20s infinite ease-in-out;
}

.cloud:nth-child(1) {
    width: 100px;
    height: 40px;
    top: 10%;
    left: -100px;
    animation-duration: 25s;
}

.cloud:nth-child(2) {
    width: 150px;
    height: 50px;
    top: 30%;
    left: -150px;
    animation-duration: 30s;
    animation-delay: 5s;
}

.cloud:nth-child(3) {
    width: 120px;
    height: 45px;
    top: 60%;
    left: -120px;
    animation-duration: 28s;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(calc(100vw + 200px));
    }
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    padding: 40px 20px 20px;
}

.logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.logo-image {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2196f3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.2rem;
    color: #1e3a5f;
    opacity: 0.8;
    margin-bottom: 10px;
}

.description {
    font-size: 1rem;
    color: #1e3a5f;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.countdown {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    width: 100%;
    max-width: 600px;
}

.countdown h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #1e3a5f;
    font-size: 1.3rem;
}

.timer {
    display: flex;
    justify-content: space-around;
    gap: 15px;
}

.time-unit {
    text-align: center;
    flex: 1;
}

.time-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2196f3;
    display: block;
}

.time-label {
    font-size: 0.9rem;
    color: #1e3a5f;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.signup-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    margin-bottom: 30px;
}

.signup-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1e3a5f;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #1e3a5f;
    font-weight: 500;
}

input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e3f2fd;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f8fbff;
}

input:focus {
    outline: none;
    border-color: #2196f3;
    background: white;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #2196f3 0%, #1e88e5 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.progress-section {
    text-align: center;
    margin: 30px 0;
    width: 100%;
    max-width: 600px;
}

.progress-text {
    font-size: 1.1rem;
    color: #1e3a5f;
    margin-bottom: 15px;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2196f3 0%, #1e88e5 100%);
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.share-section {
    text-align: center;
    margin: 30px 0;
}

.share-section h3 {
    color: #1e3a5f;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-twitter {
    background: #1da1f2;
}

.share-facebook {
    background: #4267B2;
}

.share-linkedin {
    background: #0077b5;
}

.share-whatsapp {
    background: #25D366;
}

footer {
    text-align: center;
    padding: 30px 20px;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.success-message {
    display: none;
    background: #4caf50;
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-top: 20px;
    animation: slideIn 0.5s ease;
}

.success-message.show {
    display: block;
}

.error-message {
    display: none;
    background: #f44336;
    color: white;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    margin-top: 15px;
}

.error-message.show {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .signup-section {
        padding: 30px 20px;
    }

    .time-value {
        font-size: 2rem;
    }

    .timer {
        gap: 10px;
    }
}