/* --- VARIABLES & RESET --- */
:root {
    --bg-dark: #0a0b10;
    --bg-gradient: radial-gradient(circle at center, #1a1f2e 0%, #0a0b10 100%);
    --accent: #64ffda; /* Tech Cyan */
    --text-main: #ffffff;
    --text-muted: #8892b0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-dark);
    background-image: var(--bg-gradient);
    color: var(--text-main);
    font-family: var(--font-main);
    height: 100vh;
    overflow: hidden; /* Prevent scrolling */
    position: relative;
}

/* --- PRELOADER --- */
.preloader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}

.loader-content {
    text-align: center;
    width: 300px;
}

.loader-text {
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.counter {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
}

.loader-line {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.loader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

/* --- CANVAS BACKGROUND --- */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* --- MAIN HERO SECTION --- */
.hero-section {
    position: relative;
    z-index: 10;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Hidden initially */
    transform: scale(0.95);
    transition: all 1s ease-out;
}

/* --- GLASS CARD DESIGN --- */
.glass-card {
    position: relative;
    width: 90%;
    max-width: 600px;
    padding: 3px; /* Creates the border gradient space */
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.card-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 22px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Glow effect behind the card */
.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--accent);
    filter: blur(100px);
    opacity: 0.15;
    z-index: -1;
}

/* Logo Styles */
.logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), #1d4ed8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: #000;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.4);
}

.company-name {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
}

.divider {
    height: 1px;
    width: 60px;
    background: rgba(255,255,255,0.2);
    margin: 0 auto 40px auto;
}

/* Typography */
.main-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.location-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.location-tag strong {
    color: var(--text-main);
}

.dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 2s infinite;
}

/* Footer */
footer {
    position: absolute;
    bottom: 30px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

/* Animations */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .main-title { font-size: 2.5rem; }
    .card-content { padding: 40px 20px; }
}