/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Background Animation */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    border-radius: 50%;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #48dbfb, #0abde3);
    border-radius: 20px;
    top: 60%;
    left: 80%;
    animation-delay: 1s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #ff9ff3, #f368e0);
    border-radius: 50%;
    top: 80%;
    left: 20%;
    animation-delay: 2s;
}

.shape-4 {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #54a0ff, #2e86de);
    border-radius: 15px;
    top: 10%;
    left: 70%;
    animation-delay: 3s;
}

.shape-5 {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #5f27cd, #341f97);
    border-radius: 50%;
    top: 40%;
    left: 5%;
    animation-delay: 4s;
}

.shape-6 {
    width: 90px;
    height: 90px;
    background: linear-gradient(45deg, #00d2d3, #54a0ff);
    border-radius: 25px;
    top: 30%;
    left: 85%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    33% { 
        transform: translateY(-20px) rotate(120deg); 
    }
    66% { 
        transform: translateY(10px) rotate(240deg); 
    }
}

/* Particles Animation */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: particle-float 8s linear infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 1s;
    animation-duration: 10s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 3s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 11s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 5s;
    animation-duration: 8s;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: 6s;
    animation-duration: 10s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: 7s;
    animation-duration: 9s;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Main Content */
.content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Logo Section */
.logo {
    margin-bottom: 30px;
    animation: slideInDown 1s ease-out;
}

.logo-icon {
    display: inline-block;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

/* Main Message */
.main-message {
    margin-bottom: 40px;
    animation: slideInUp 1s ease-out 0.3s both;
}

.title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
    line-height: 1.3;
}

.subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 40px;
    animation: slideInLeft 1s ease-out 0.6s both;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    border-radius: 10px;
    width: 0%;
    transition: width 0.05s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    font-weight: 600;
    color: #4f46e5;
    font-size: 1.1rem;
}

.progress-percentage {
    font-size: 1.3rem;
    font-weight: 700;
}

/* Construction Animation */
.construction-area {
    margin: 40px 0;
    position: relative;
    height: 100px;
    animation: slideInRight 1s ease-out 0.9s both;
}

.crane {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    animation: crane-sway 4s ease-in-out infinite;
}

.crane-base {
    width: 8px;
    height: 60px;
    background: #374151;
    margin: 0 auto;
    position: relative;
}

.crane-arm {
    width: 80px;
    height: 4px;
    background: #6b7280;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.crane-hook {
    width: 4px;
    height: 20px;
    background: #9ca3af;
    position: absolute;
    top: 14px;
    right: 0;
    border-radius: 2px;
    animation: hook-swing 3s ease-in-out infinite;
}

@keyframes crane-sway {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    50% { transform: translateX(-50%) rotate(2deg); }
}

@keyframes hook-swing {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
}

.building-blocks {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.block {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    animation: block-build 3s ease-in-out infinite;
}

.block-1 {
    background: #ef4444;
    animation-delay: 0s;
}

.block-2 {
    background: #3b82f6;
    animation-delay: 0.5s;
}

.block-3 {
    background: #10b981;
    animation-delay: 1s;
}

@keyframes block-build {
    0%, 80% { transform: translateY(0); }
    90% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
    animation: fadeIn 1s ease-out 1.2s both;
}

.feature {
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.7);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

.feature h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.feature p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Newsletter Section */
.newsletter {
    margin: 40px 0;
    animation: slideInUp 1s ease-out 1.5s both;
}

.newsletter h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 12px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.newsletter-form input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.newsletter-form button {
    padding: 12px 25px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
}

/* Social Links */
.social-links {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeIn 1s ease-out 1.8s both;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    background: #4f46e5;
    color: white;
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
}

/* Footer */
.footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-out 2.1s both;
}

.footer p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .content {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .logo-text {
        font-size: 2rem;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form input {
        min-width: 100%;
        margin-bottom: 10px;
    }
    
    .social-links {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.5rem;
    }
    
    .title {
        font-size: 1.5rem;
    }
    
    .content {
        padding: 20px 15px;
    }
}