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

:root {
    --primary: #1a73e8;
    --primary-dark: #0d47a1;
    --primary-light: #64b5f6;
    --accent: #00c853;
    --accent-light: #69f0ae;
    --dark: #0c1e35;
    --dark-blue: #0f2942;
    --light: #f7faff;
    --gray-light: #e9ecef;
    --gray: #6c757d;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-md: 1.125rem;
    --text-lg: 1.25rem;
    --text-xl: 1.5rem;
    --text-2xl: 1.875rem;
    --text-3xl: 2.25rem;
    --text-4xl: 3rem;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes rotateIn {
    from { transform: rotate(-10deg) scale(0.8); opacity: 0; }
    to { transform: rotate(0) scale(1); opacity: 1; }
}

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes rotate3d {
    0% { transform: perspective(1000px) rotateY(0); }
    100% { transform: perspective(1000px) rotateY(360deg); }
}

@keyframes progressFill {
    0% { width: 0; }
    100% { width: 65%; }
}

@keyframes numberCount {
    0% { content: "0%"; }
    100% { content: "65%"; }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--light);
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--dark);
    position: relative;
}

.page-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-4);
}

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--dark) 100%);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    z-index: 0;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJhIiB4PSIwIiB5PSIwIj48ZmVUdXJidWxlbmNlIGJhc2VGcmVxdWVuY3k9Ii43NSIgc3RpdGNoVGlsZXM9InN0aXRjaCIgdHlwZT0iZnJhY3RhbE5vaXNlIi8+PGZlQ29sb3JNYXRyaXggdHlwZT0ic2F0dXJhdGUiIHZhbHVlcz0iMCIvPjwvZmlsdGVyPjxwYXRoIGQ9Ik0wIDBoMzAwdjMwMEgweiIgZmlsdGVyPSJ1cmwoI2EpIiBvcGFjaXR5PSIuMDUiLz48L3N2Zz4=');
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 1200px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-xl), 0 0 20px rgba(26, 115, 232, 0.2);
    padding: var(--space-12);
    margin: var(--space-8) auto;
    position: relative;
    overflow: hidden;
    animation: fadeSlideUp 1s ease-out forwards;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

header {
    text-align: center;
    margin-bottom: var(--space-16);
    position: relative;
}

.logo-container {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-8);
    animation: float 4s ease-in-out infinite;
}

h1 {
    font-size: var(--text-4xl);
    font-weight: 700;
    margin-bottom: var(--space-6);
    background: linear-gradient(135deg, var(--light) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeSlideUp 0.8s 0.2s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
    position: relative;
    text-align: center;
}

.subtitle {
    font-size: var(--text-lg);
    color: var(--gray-light);
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeSlideUp 0.8s 0.4s ease-out forwards;
}

.cursor {
    margin-left: 5px;
    animation: blinkCursor 0.8s infinite;
}

main {
    color: var(--light);
}

.status-card {
    display: flex;
    align-items: center;
    background: rgba(26, 115, 232, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    margin-bottom: var(--space-12);
    box-shadow: var(--shadow-md);
    opacity: 0;
    animation: fadeSlideUp 0.8s 0.6s ease-out forwards;
    flex-direction: column;
    text-align: center;
}

.status-icon {
    font-size: var(--text-3xl);
    color: var(--primary);
    margin-bottom: var(--space-4);
    animation: pulse 2s infinite;
}

.status-message h2 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
    font-weight: 600;
    text-align: center;
}

.status-title {
    text-align: center;
    width: 100%;
}

.progress-container {
    width: 100%;
    margin-top: var(--space-4);
    padding: 0 var(--space-4);
    box-sizing: border-box;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-full);
    width: 0;
    animation: progressFill 2s 1s ease-out forwards;
}

.progress-text {
    font-size: var(--text-sm);
    color: var(--gray-light);
    text-align: right;
}

.message-container {
    margin-bottom: var(--space-12);
    opacity: 0;
    animation: fadeSlideUp 0.8s 0.8s ease-out forwards;
}

.thank-you {
    font-size: var(--text-lg);
    line-height: 1.6;
    margin-bottom: var(--space-8);
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    text-align: center;
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: var(--text-2xl);
    color: var(--primary);
    margin-bottom: var(--space-4);
    height: 60px;
    width: 60px;
    line-height: 60px;
    border-radius: 50%;
    background: rgba(26, 115, 232, 0.1);
    margin: 0 auto var(--space-4);
}

.feature-item h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
    font-weight: 600;
}

.feature-item p {
    color: var(--gray-light);
    font-size: var(--text-sm);
    line-height: 1.5;
}

#main-footer,
footer {
    margin-top: 4rem !important;
    padding-top: 2rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    width: 100% !important;
    text-align: center !important;
    position: relative;
    z-index: 5;
    opacity: 0;
    animation: fadeSlideUp 0.8s 1.4s ease-out forwards;
}

#footer-content,
.footer-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    color: #6c757d !important;
    padding: 0 1rem !important;
    gap: var(--space-2);
}

#footer-content p,
.footer-content p {
    color: #6c757d !important;
    font-size: 0.875rem !important;
    margin-bottom: 0.5rem !important;
    opacity: 0.8;
}

.footer-links {
    display: flex !important;
    gap: 1.5rem !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 0.5rem !important;
}

.footer-links a {
    color: #6c757d !important;
    font-size: 0.875rem !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    padding: 0 var(--space-2);
}

.footer-links a:hover {
    color: #64b5f6 !important;
    text-decoration: underline !important;
    opacity: 1;
}

@media (max-width: 992px) {
    .container {
        padding: var(--space-8);
    }
    
    h1 {
        font-size: var(--text-3xl);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: var(--space-6);
    }
    
    .status-card {
        flex-direction: column;
        text-align: center;
    }
    
    .status-icon {
        margin-right: 0;
        margin-bottom: var(--space-4);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: var(--text-2xl);
    }
    
    .subtitle {
        font-size: var(--text-base);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}