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

:root {
    --primary-color: #00d4ff;
    --secondary-color: #0099ff;
    --accent-color: #ff6b35;
    --text-color: #ffffff;
    --text-secondary: #b8c5d6;
    --bg-dark: #0a0a0a;
    --bg-overlay: rgba(10, 10, 10, 0.92);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --glow: 0 0 20px rgba(0, 212, 255, 0.3);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ====================================
   Background
   ==================================== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('background.jpeg') no-repeat center center;
    background-size: cover;
    z-index: -2;
    filter: brightness(0.4) blur(0px);
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.03) 0%, 
        rgba(10, 10, 10, 0.95) 50%,
        rgba(255, 107, 53, 0.03) 100%);
    z-index: -1;
    animation: gradientShift 15s ease infinite;
}

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

/* ====================================
   Particles Animation
   ==================================== */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.3;
    animation: float 20s infinite;
    box-shadow: 0 0 10px var(--primary-color);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* ====================================
   Language Toggle
   ==================================== */
.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    animation: fadeInDown 1s ease;
}

.lang-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

.lang-icon {
    font-size: 16px;
}

/* ====================================
   Main Container
   ==================================== */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ====================================
   Logo
   ==================================== */
.logo-container {
    margin-bottom: 30px;
    animation: fadeInScale 1.2s ease;
}

.logo {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 212, 255, 0.3));
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 10px 30px rgba(0, 212, 255, 0.3));
    }
    50% {
        transform: scale(1.03);
        filter: drop-shadow(0 15px 40px rgba(0, 212, 255, 0.5));
    }
}

/* ====================================
   Construction Icon
   ==================================== */
.construction-icon {
    font-size: 60px;
    color: var(--accent-color);
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

.construction-icon i {
    filter: drop-shadow(0 5px 15px rgba(255, 107, 53, 0.5));
}

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

/* ====================================
   Content
   ==================================== */
.content {
    text-align: center;
    max-width: 900px;
    margin-bottom: 50px;
}

.title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease 0.3s both;
    line-height: 1.2;
}

.description,
.description-2 {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.5s both;
}

.description-2 {
    animation-delay: 0.7s;
    font-weight: 500;
}

.cta {
    margin: 40px 0;
    animation: fadeInUp 1s ease 0.9s both;
}

.cta-text {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* ====================================
   Progress Bar
   ==================================== */
.progress-container {
    margin: 40px 0;
    animation: fadeInUp 1s ease 1.1s both;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    width: 0%;
    transition: width 0.5s ease;
    box-shadow: 0 0 15px var(--primary-color);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 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%);
    }
}

.progress-text {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}

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

/* ====================================
   Feature Cards
   ==================================== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 50px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease both;
}

.feature-card:nth-child(1) { animation-delay: 1.2s; }
.feature-card:nth-child(2) { animation-delay: 1.3s; }
.feature-card:nth-child(3) { animation-delay: 1.4s; }
.feature-card:nth-child(4) { animation-delay: 1.5s; }

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: var(--glow);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

/* ====================================
   Social Links
   ==================================== */
.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 1.6s both;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 20px;
    transition: var(--transition);
    text-decoration: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: var(--glow);
}

/* ====================================
   Footer
   ==================================== */
.footer {
    margin-top: auto;
    padding: 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    animation: fadeIn 1s ease 1.8s both;
}

/* ====================================
   Animations
   ==================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

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

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 768px) {
    .container {
        padding: 30px 15px;
    }
    
    .logo {
        max-width: 200px;
    }
    
    .construction-icon {
        font-size: 45px;
    }
    
    .title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .description,
    .description-2 {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
    
    .features {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .feature-icon {
        font-size: 30px;
    }
    
    .feature-title {
        font-size: 16px;
    }
    
    .language-toggle {
        top: 15px;
        right: 15px;
    }
    
    .lang-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 160px;
    }
    
    .features {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* ====================================
   Print Styles
   ==================================== */
@media print {
    body::before,
    .background-overlay,
    #particles-container,
    .language-toggle {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* ====================================
   Accessibility
   ==================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --card-bg: rgba(255, 255, 255, 0.15);
        --card-border: rgba(255, 255, 255, 0.3);
    }
}

/* Focus styles for keyboard navigation */
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
