/* CSS Custom Properties for Theme Management */
:root {
    /* Adobe-inspired Color Palette */
    --primary-color: #ff3366;
    --primary-light: #ff5577;
    --dark-primary: #121212;
    --dark-secondary: #2c2c2c;
    --accent-gray: #888888;
    --light-gray: #cccccc;
    --off-white: #f5f5f5;
    
    /* Default Light Theme Variables */
    --bg-primary: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    --bg-secondary: rgba(255, 255, 255, 0.8);
    --text-primary: #121212;
    --text-secondary: #2c2c2c;
    --text-muted: #888888;
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-primary: rgba(0, 0, 0, 0.1);
    --shadow-secondary: rgba(0, 0, 0, 0.05);
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --bg-primary: linear-gradient(135deg, #121212 0%, #2c2c2c 100%);
    --bg-secondary: rgba(44, 44, 44, 0.8);
    --text-primary: #f5f5f5;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-primary: rgba(0, 0, 0, 0.3);
    --shadow-secondary: rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    transition: all 0.3s ease;
}

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

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color), var(--primary-light));
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary-light), var(--primary-color));
    top: 50%;
    right: -100px;
    animation-delay: 2s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--primary-color), transparent);
    bottom: -125px;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

/* Maintenance Animation Styles */
.maintenance-animation {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.maintenance-animation svg {
    filter: drop-shadow(0 10px 20px var(--shadow-primary));
}

/* SVG Animations */
.gear-rotation {
    transform-origin: 60px 60px;
    animation: rotate 4s linear infinite;
}

.floating-tools .tool-1 {
    animation: floatTool1 3s ease-in-out infinite;
}

.floating-tools .tool-2 {
    animation: floatTool2 3.5s ease-in-out infinite;
}

.floating-tools .tool-3 {
    animation: floatTool3 2.8s ease-in-out infinite;
}

.progress-dots circle {
    animation: pulse-dot 2s ease-in-out infinite;
}

.progress-dots circle:nth-child(1) { animation-delay: 0s; }
.progress-dots circle:nth-child(2) { animation-delay: 0.5s; }
.progress-dots circle:nth-child(3) { animation-delay: 1s; }
.progress-dots circle:nth-child(4) { animation-delay: 1.5s; }

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes floatTool1 {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-8px) translateX(3px); }
}

@keyframes floatTool2 {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-5px) scale(1.1); }
}

@keyframes floatTool3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(10deg); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

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

/* Container */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
}

.theme-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px var(--shadow-primary);
}

.theme-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--shadow-primary);
    background: var(--glass-border);
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    box-shadow: 
        0 20px 60px var(--shadow-primary),
        0 0 0 1px var(--glass-border);
    animation: slideUp 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

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

/* Brand Section */
.brand {
    text-align: center;
    margin-bottom: 2.5rem;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 51, 102, 0.3);
    animation: pulse 2s ease-in-out infinite;
    overflow: hidden;
}

.brand-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

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

.brand-name {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

/* Main Content */
.main-content {
    text-align: center;
}

.title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Progress Section */
.progress-section {
    margin-bottom: 3rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.progress-percentage {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.progress-bar {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 4px;
    width: 0%;
    transition: width 2s ease-out;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Features Section */
.features-section {
    margin-bottom: 3rem;
}

.features-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-secondary);
    background: var(--glass-border);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Contact Section */
.contact-section {
    margin-bottom: 2.5rem;
}

.contact-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.contact-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 51, 102, 0.3);
}

.contact-btn.secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border-color: var(--glass-border);
}

.contact-btn.secondary:hover {
    background: var(--glass-border);
    transform: translateY(-2px);
}

/* ETA Section */
.eta-section {
    padding: 1.5rem;
    background: var(--glass-bg);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.eta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.eta-content i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.eta-content strong {
    color: var(--text-primary);
}

/* Footer */
.footer {
    margin-top: 3rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .glass-card {
        padding: 2rem;
        margin: 1rem 0;
    }
    
    .brand-name {
        font-size: 2rem;
    }
    
    .title {
        font-size: 1.5rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .theme-toggle {
        top: 1rem;
        right: 1rem;
    }
    
    .theme-btn {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .glass-card {
        padding: 1.5rem;
    }
    
    .brand-name {
        font-size: 1.8rem;
    }
    
    .logo {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

