@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    /* Genius Cloud Theme Colors */
    --glass-bg: rgba(8, 15, 30, 0.75); /* Dark Blue-Black Tint */
    --glass-border: rgba(255, 255, 255, 0.1); 
    --glass-blur: 20px; 
    
    /* Logo Colors */
    --primary-color: #00d4ff; /* "GENIUS" Cyan Color */
    --secondary-color: #0056b3; /* "CLOUD" Dark Blue */
    --text-color: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    /* Blue Tech Background to match your Logo */
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2000&auto=format&fit=crop') no-repeat center center/cover;
    background-attachment: fixed;
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Dark Overlay */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 5, 15, 0.6); /* Darker blue overlay */
    z-index: -1;
    pointer-events: none;
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050a15;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.preloader-logo {
    width: 150px;
    animation: pulse 2s infinite;
}

/* --- Navbar --- */
.navbar {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* --- Glass Container (Main Panel) --- */
.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8); /* Deeper shadow */
    border-radius: 24px;
    padding: 50px;
    color: white;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Add a glowing orb effect behind the glass */
.glass-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

/* --- Inputs --- */
.form-control {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    padding: 15px;
    border-radius: 12px;
}
.form-control::placeholder { color: rgba(255, 255, 255, 0.5); }
.form-control:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2) !important;
}

/* --- Buttons (The "Genius" Gradient) --- */
.btn-gloss {
    background: linear-gradient(135deg, #00d4ff 0%, #0056b3 100%); /* Cyan to Blue */
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-gloss:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.4); /* Cyan Glow */
    color: white;
    background: linear-gradient(135deg, #2ce0ff 0%, #0069d9 100%);
}

/* --- Cards --- */
.inner-glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px;
    height: 100%;
    transition: 0.3s;
}
.inner-glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.3); /* Cyan border on hover */
}

/* --- Text Highlights --- */
/* Note: We keep the class name .text-orange so you don't have to edit PHP files, 
   but we change the color to your Blue/Cyan */
.text-orange {
    color: var(--primary-color) !important;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.card-icon {
    /* Updates the circle icons background */
    background: rgba(0, 212, 255, 0.1) !important;
    color: var(--primary-color) !important;
}

/* Social Buttons */
.btn-social {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: 0.3s;
}
.btn-social:hover { background: rgba(255, 255, 255, 0.15); color: white; }

/* Helpers */
.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.divider {
    display: flex; align-items: center; color: rgba(255,255,255,0.3); margin: 20px 0;
}
.divider::before, .divider::after {
    content: ""; flex: 1; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.divider span { padding: 0 10px; font-size: 0.8rem; text-transform: uppercase; }

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}


/* --- Sci-Fi Preloader Styles --- */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #02050a; /* Deep Space Black */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader-container {
    position: relative;
    width: 320px; /* Slightly bigger than logo */
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The Logo Image */
.preloader-logo {
    width: 250px;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6));
    animation: hologram-flicker 2s infinite alternate;
}

/* Rotating Tech Ring */
.tech-ring {
    position: absolute;
    width: 300px; height: 300px;
    border: 2px dashed rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    border-top-color: #00d4ff;
    border-bottom-color: #00d4ff;
    animation: spin-ring 4s linear infinite;
}

.tech-ring::before {
    content: ''; position: absolute; top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50%;
}

/* Scanning Line (The "Robot" Laser) */
.scanner-line {
    position: absolute;
    width: 100%;
    height: 4px;
    background: #00d4ff;
    box-shadow: 0 0 20px #00d4ff, 0 0 40px #0056b3;
    top: 0;
    left: 0;
    animation: scan-down 2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    opacity: 0.8;
}

/* Loading Text */
.loading-text {
    margin-top: 30px;
    font-family: 'Courier New', monospace;
    color: #00d4ff;
    font-size: 1.2rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    animation: pulse-text 1s infinite;
}

/* --- Animations --- */
@keyframes spin-ring {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes scan-down {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

@keyframes hologram-flicker {
    0% { opacity: 1; filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6)); }
    50% { opacity: 0.8; filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.2)); }
    100% { opacity: 1; filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8)); }
}

@keyframes pulse-text {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}