:root {
    --bg-color: #030305;
    --text-primary: #ffffff;
    --text-secondary: #8c8c9a;
    --accent-1: #4f46e5; /* Indigo */
    --accent-2: #c026d3; /* Fuchsia */
    --accent-3: #2563eb; /* Blue */
    --glass-bg: rgba(20, 20, 25, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    cursor: default;
}

/* Background Animations */
.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    opacity: 0.5;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.glow {
    position: absolute;
    filter: blur(90px);
    border-radius: 50%;
    opacity: 0.5;
    animation: drift 20s infinite ease-in-out alternate;
    z-index: 0;
}

.shape1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-1), transparent 70%);
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.shape2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--accent-2), transparent 70%);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.shape3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-3), transparent 70%);
    top: 30%;
    left: 40%;
    animation-delay: -10s;
    opacity: 0.3;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1.05); }
}

/* Glassmorphism Card */
.glass-card {
    position: relative;
    z-index: 2;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 60px 50px;
    max-width: 650px;
    width: 90%;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    transform: translateY(40px);
    opacity: 0;
    animation: revealCard 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.15), 0 0 30px rgba(192, 38, 211, 0.1);
}

@keyframes revealCard {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Icon */
.icon-container {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 30px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transform: rotate(-10deg);
    transition: all 0.5s ease;
}

.glass-card:hover .icon-container {
    transform: rotate(0deg) scale(1.05);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 40px rgba(192, 38, 211, 0.3);
    border-color: rgba(192, 38, 211, 0.4);
}

.wrench-icon {
    width: 36px;
    height: 36px;
    color: #fff;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.4));
}

/* Typography */
.title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.highlight {
    background: linear-gradient(135deg, #a855f7, #ec4899, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
    animation: gradientShift 8s ease infinite;
    background-size: 200% auto;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Progress Bar */
.progress-wrapper {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4f46e5, #c026d3, #2563eb);
    border-radius: 10px;
    animation: pseudoLoad 20s cubic-bezier(0.1, 0.7, 0.1, 1) forwards;
    position: relative;
    background-size: 200% 100%;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes pseudoLoad {
    0% { width: 0%; }
    20% { width: 30%; }
    50% { width: 65%; }
    80% { width: 85%; }
    100% { width: 89%; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Dynamic Status */
.status {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

#dynamic-status {
    color: var(--text-primary);
    font-weight: 600;
    margin-left: 5px;
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: inline-block;
}

.status-fade-out {
    opacity: 0;
    transform: translateY(-5px);
}

.status-fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Link */
.contact {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.contact a {
    color: #c026d3;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.contact a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: #c026d3;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.contact a:hover {
    color: #ec4899;
    text-shadow: 0 0 12px rgba(236, 72, 153, 0.5);
}

.contact a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
    background: #ec4899;
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    .glass-card {
        padding: 40px 25px;
    }
    .shape1 { width: 300px; height: 300px; }
    .shape2 { width: 250px; height: 250px; }
    .shape3 { width: 200px; height: 200px; }
}
