:root {
    --bg-dark: hsl(240, 10%, 4.5%);
    --card-bg: rgba(15, 15, 23, 0.55);
    --card-border: rgba(255, 255, 255, 0.06);
    --text-primary: hsl(240, 5%, 96%);
    --text-secondary: hsl(240, 4%, 70%);
    --text-muted: hsl(240, 4%, 46%);
    
    --accent-purple: hsl(263, 85%, 60%);
    --accent-cyan: hsl(190, 95%, 48%);
    --accent-green: hsl(142, 70%, 45%);
    --accent-yellow: hsl(45, 90%, 48%);
    --accent-red: hsl(0, 75%, 52%);
    --accent-glow: hsla(263, 85%, 60%, 0.15);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --mouse-x: 50%;
    --mouse-y: 50%;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Background grid overlay */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    pointer-events: none;
    z-index: 1;
}

/* Mouse-tracking ambient glow */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y),
        var(--accent-glow) 0%,
        transparent 80%
    );
    pointer-events: none;
    z-index: 2;
    transition: background 0.1s ease;
}

/* Additional static glows for depth */
.ambient-glow::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.ambient-glow::before {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Header */
.header {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.logo-icon {
    font-size: 1.5rem;
    animation: sparkle 3s ease-in-out infinite;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.logo-text span {
    color: #ffffff;
}

/* Language selector */
.lang-selector-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 9999px;
    padding: 0.25rem;
    display: flex;
    gap: 0.125rem;
    backdrop-filter: blur(10px);
}

.lang-btn {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-secondary);
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.lang-btn.active {
    color: var(--bg-dark);
    background: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Main Container & Card */
.main-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    z-index: 10;
    position: relative;
}

.coming-soon-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    max-width: 680px;
    width: 100%;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Status Badge */
.status-badge {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.25px;
    color: var(--accent-purple);
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-purple);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px var(--accent-purple);
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: inherit;
    top: 0;
    left: 0;
    transform: scale(1);
    animation: pulse 1.8s ease-in-out infinite;
}

/* Main Titles */
.main-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #ffffff 30%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-title span {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 540px;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Console Box (Shell Simulator) */
.console-box {
    width: 100%;
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    text-align: left;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.console-header {
    background: rgba(20, 20, 30, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.console-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.console-dot.red { background-color: var(--accent-red); }
.console-dot.yellow { background-color: var(--accent-yellow); }
.console-dot.green { background-color: var(--accent-green); }

.console-title {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.console-body {
    padding: 1.25rem 1.5rem;
    font-family: monospace;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status-icon {
    margin-right: 0.75rem;
    font-weight: bold;
}

.status-name {
    flex: 1;
    color: var(--text-secondary);
}

.status-pct {
    font-weight: 600;
}

/* Styles for different steps status */
.status-row.done {
    color: var(--accent-green);
}
.status-row.done .status-name {
    color: var(--text-secondary);
    text-decoration: line-through;
    opacity: 0.6;
}
.status-row.done .status-pct {
    color: var(--accent-green);
    opacity: 0.8;
}

.status-row.active {
    color: var(--accent-cyan);
}
.status-row.active .status-name {
    color: var(--text-primary);
}
.status-row.active .status-pct {
    color: var(--accent-cyan);
    animation: blink 1.5s infinite;
}

.status-row.pending {
    color: var(--text-muted);
}
.status-row.pending .status-pct {
    font-style: italic;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    width: 100%;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-body);
}

.btn-icon {
    width: 1.2rem;
    height: 1.2rem;
    transition: transform 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple) 0%, #7c3aed 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5);
    background: linear-gradient(135deg, #9061f9 0%, #6d28d9 100%);
}

.btn-primary:hover .btn-icon {
    transform: scale(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.btn-secondary:hover .btn-icon {
    transform: translateX(3px);
}

/* Footer */
.footer {
    width: 100%;
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    z-index: 10;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.5);
    }
    70% {
        transform: scale(1.5);
        box-shadow: 0 0 0 8px rgba(139, 92, 246, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0);
    }
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.15) rotate(15deg); opacity: 0.9; }
}

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

@keyframes blink {
    50% { opacity: 0.4; }
}

/* Media Queries */
@media (max-width: 640px) {
    .header {
        padding: 1.5rem 1rem;
    }
    
    .coming-soon-card {
        padding: 2.25rem 1.5rem;
        border-radius: 18px;
    }
    
    .main-title {
        font-size: 2.25rem;
    }
    
    .description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .console-body {
        padding: 1rem;
        font-size: 0.8rem;
    }
}
