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

:root {
    --primary-color: #0066cc;
    --secondary-color: #00d4ff;
    --accent-color: #ff6b35;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f5f7fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text-dark);
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite;
}

.bubble-1 {
    width: 100px;
    height: 100px;
    background: white;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 150px;
    height: 150px;
    background: white;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.bubble-3 {
    width: 80px;
    height: 80px;
    background: white;
    bottom: 10%;
    left: 50%;
    animation-delay: 4s;
}

.bubble-4 {
    width: 120px;
    height: 120px;
    background: white;
    top: 30%;
    right: 30%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-30px) translateX(30px);
        opacity: 0.2;
    }
}

/* Container */
.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* Header */
.header {
    width: 100%;
    padding: 30px 0;
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 50px;
    height: 50px;
    color: var(--secondary-color);
    filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.3));
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: slideUp 0.8s ease-out;
    backdrop-filter: blur(10px);
}

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

/* Title */
.title {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    animation: fadeInScale 0.8s ease-out 0.2s both;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Icon Container */
.icon-container {
    margin: 30px 0;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.construction-icon {
    position: relative;
    width: 120px;
    height: 80px;
    animation: swing 2s ease-in-out infinite;
}

.crane {
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 80"><rect x="40" y="50" width="40" height="30" fill="%230066cc" stroke="%23000" stroke-width="2"/><rect x="50" y="20" width="20" height="30" fill="%23666" stroke="%23000" stroke-width="2"/><circle cx="55" cy="25" r="3" fill="%23333"/><line x1="60" y1="20" x2="100" y2="10" stroke="%23ff6b35" stroke-width="3"/><circle cx="100" cy="10" r="4" fill="%23ff6b35"/><circle cx="50" cy="65" r="5" fill="%23333"/><circle cx="70" cy="65" r="5" fill="%23333"/></svg>') no-repeat center;
    background-size: contain;
}

@keyframes swing {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

/* Subtitle */
.subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin: 20px 0 30px;
    line-height: 1.6;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

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

/* Status Box */
.status-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #e0e6f0 100%);
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
    animation: slideInLeft 0.8s ease-out 0.6s both;
}

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

.status-text {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.6;
}

.highlight {
    color: var(--accent-color);
    font-weight: 600;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.feature-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    animation: slideUp 0.8s ease-out 0.7s both;
}

.feature-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.2);
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-weight: bold;
}

.feature-item:hover .feature-icon {
    color: white;
}

.feature-item p {
    font-size: 14px;
    font-weight: 600;
}

/* Newsletter Section */
.newsletter-section {
    margin: 40px 0;
    animation: slideUp 0.8s ease-out 0.8s both;
}

.newsletter-text {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.email-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.submit-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-message {
    font-size: 13px;
    min-height: 20px;
    color: var(--text-light);
}

.form-message.success {
    color: #27ae60;
    font-weight: 600;
}

.form-message.error {
    color: #e74c3c;
    font-weight: 600;
}

/* Progress Indicator */
.progress-indicator {
    margin: 40px 0 0;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    animation: slideUp 0.8s ease-out 0.9s both;
}

.progress-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 10px;
    animation: fillProgress 2s ease-out forwards;
    width: 0;
}

@keyframes fillProgress {
    from {
        width: 0;
    }
    to {
        width: 75%;
    }
}

.progress-text {
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
}

/* Footer */
.footer {
    width: 100%;
    padding: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 50px;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info p {
    margin: 8px 0;
    font-size: 14px;
}

.contact-info a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    text-decoration: underline;
}

.footer-text {
    font-size: 12px;
    opacity: 0.8;
    margin: 15px 0;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 30px 20px;
    }

    .title {
        font-size: 36px;
    }

    .subtitle {
        font-size: 16px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .submit-btn {
        width: 100%;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .content-wrapper {
        padding: 20px 15px;
        border-radius: 15px;
    }

    .title {
        font-size: 28px;
    }

    .subtitle {
        font-size: 14px;
    }

    .status-box {
        padding: 15px;
    }

    .footer {
        padding: 20px 10px;
    }

    .logo {
        flex-direction: column;
        gap: 8px;
    }

    .logo-text {
        font-size: 16px;
    }
}

/* Loading animation for button */
.submit-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn.loading::after {
    content: '';
    animation: dots 1.4s infinite;
}
