:root {
    --bg-color: #000212;
    /* Deepest Navy/Black */
    --text-primary: #edeeef;
    --text-secondary: #8a8f98;
    --accent-color: #5e6ad2;
    /* Professional Blue/Indigo */
    --accent-glow: rgba(94, 106, 210, 0.5);
    --grid-color: rgba(255, 255, 255, 0.05);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background System */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    z-index: -1;
}

.spotlight {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top, rgba(94, 106, 210, 0.15), transparent 60%);
    z-index: -2;
    filter: blur(60px);
}

/* Main Content */
.main-container {
    text-align: center;
    z-index: 1;
    padding: 2rem;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* Typography */
.brand-title {
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.2;
    padding-bottom: 0.1em;
    /* Premium Metallic Gradient */
    background: linear-gradient(135deg,
            #ffffff 0%,
            #e2e8f0 50%,
            #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    /* Subtle Glow for depth */
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.1));
}

.brand-highlight {
    font-weight: 200;
    font-style: italic;
    display: inline-block;
    padding-right: 0.15em;
    background: linear-gradient(135deg,
            #fff 0%,
            var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Personal Link */
.personal-link {
    font-size: 0.75rem;
    /* Smaller size */
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 300;
    /* Thinner font */
    letter-spacing: 0.2em;
    /* Wide spacing for elegance */
    text-transform: uppercase;
    /* Premium look */
    transition: all 0.3s ease;
    opacity: 0.5;
    /* Very subtle */
    position: relative;
    margin-top: 1rem;
}

.personal-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 50%;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.personal-link:hover {
    color: var(--text-primary);
    opacity: 1;
    letter-spacing: 0.25em;
    /* Slight expansion on hover */
}

.personal-link:hover::after {
    width: 30px;
    /* Small elegant line instead of full width */
}

/* Cyber Badges Container */
.cyber-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

/* Cyber Badge */
.cyber-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(94, 106, 210, 0.1);
    border: 1px solid rgba(94, 106, 210, 0.3);
    border-radius: 4px;
}

.badge-icon {
    color: var(--accent-color);
    font-size: 0.5rem;
    animation: pulse 2s infinite;
}

.badge-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--accent-color);
}

/* Terminal Container */
.terminal-container {
    width: 100%;
    max-width: 500px;
    background: rgba(0, 2, 18, 0.8);
    border: 1px solid rgba(94, 106, 210, 0.2);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 
        0 0 40px rgba(94, 106, 210, 0.1),
        inset 0 0 60px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(94, 106, 210, 0.1);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(94, 106, 210, 0.5);
}

.terminal-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.terminal-body {
    padding: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.terminal-line.output {
    opacity: 0;
    animation: fadeInLine 0.5s forwards;
}

.terminal-line.output:nth-child(2) { animation-delay: 1.5s; }
.terminal-line.output:nth-child(3) { animation-delay: 2.5s; }
.terminal-line.output:nth-child(4) { animation-delay: 3.5s; }

.prompt {
    color: var(--accent-color);
    font-weight: 500;
}

.command {
    color: var(--text-primary);
}

.cursor {
    color: var(--accent-color);
    animation: blink 1s infinite;
}

.output-text {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.terminal-line.highlight .output-text {
    color: var(--accent-color);
}

.date-highlight {
    color: #27ca40;
    font-weight: 500;
}

/* Progress Section */
.progress-section {
    width: 100%;
    max-width: 500px;
    margin-bottom: 2rem;
}

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

.progress-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
}

.progress-percent {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-color);
}

.progress-bar {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, 
        var(--accent-color) 0%, 
        #818cf8 50%,
        var(--accent-color) 100%);
    background-size: 200% 100%;
    border-radius: 3px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: shimmer 2s infinite linear;
}

.progress-glow {
    position: absolute;
    top: -2px;
    left: 0;
    height: 10px;
    width: 0%;
    background: var(--accent-glow);
    filter: blur(8px);
    border-radius: 3px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 0.75rem;
}

.stat {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.stat-value {
    color: var(--text-primary);
}

.stat-divider {
    color: rgba(255, 255, 255, 0.1);
}

/* Cyber Particles */
.cyber-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite linear;
}

/* Animations */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

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

@keyframes fadeInLine {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 0.7; transform: translateX(0); }
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .brand-title {
        font-size: 3rem;
    }
    
    .terminal-container {
        max-width: 100%;
    }
    
    .progress-section {
        max-width: 100%;
    }
    
    .terminal-body {
        font-size: 0.7rem;
    }
}