/* --- Global Variables --- */
:root {
    --bg-dark: #050505;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --primary: #007aff; /* Apple Blue */
    --primary-glow: rgba(0, 122, 255, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body { background-color: var(--bg-dark); color: var(--text-main); overflow-x: hidden; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Splash Screen Animation --- */
#splash-screen {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: var(--bg-dark); z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.logo-container { text-align: center; }

.logo-icon {
    font-size: 3rem; font-weight: 900; color: transparent;
    -webkit-text-stroke: 1px var(--primary);
    margin-bottom: 10px; opacity: 0;
    animation: scaleIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.logo-text {
    font-size: 1.5rem; letter-spacing: 4px; color: var(--text-main); opacity: 0;
    animation: fadeUp 1s ease forwards 0.5s;
}

.loading-bar {
    width: 200px; height: 2px; background: var(--glass-border);
    margin: 20px auto 0; overflow: hidden; border-radius: 2px; opacity: 0;
    animation: fadeUp 0.5s ease forwards 1s;
}

.progress {
    width: 0; height: 100%; background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    animation: loadProgress 2s ease forwards 1s;
}

/* Animations */
@keyframes scaleIn { 0% { transform: scale(0.5); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes fadeUp { 0% { transform: translateY(20px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
@keyframes loadProgress { 0% { width: 0; } 100% { width: 100%; } }

.hidden { opacity: 0; visibility: hidden; }

/* --- Main Content & Hero --- */
#main-content { transition: opacity 1s ease; }
#main-content.visible { opacity: 1; visibility: visible; }

.hero-section { padding: 100px 0; min-height: 100vh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

.badge {
    display: inline-block; padding: 6px 16px; border-radius: 30px;
    border: 1px solid var(--primary); color: var(--primary);
    font-size: 0.85rem; font-weight: 600; margin-bottom: 20px;
}

.hero-text h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 20px; }
.highlight { background: linear-gradient(135deg, #007aff, #00d4ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-text p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 40px; line-height: 1.6; }

/* Lead Form (Glassmorphism) */
.glass-form {
    background: var(--glass-bg); backdrop-filter: blur(20px);
    padding: 30px; border-radius: 20px; border: 1px solid var(--glass-border);
}

.input-group { margin-bottom: 20px; }
.input-group input {
    width: 100%; padding: 16px 20px; background: rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border); border-radius: 12px;
    color: white; font-size: 1rem; outline: none; transition: 0.3s;
}
.input-group input:focus { border-color: var(--primary); box-shadow: 0 0 15px var(--primary-glow); }

.submit-btn {
    width: 100%; padding: 16px; background: var(--primary); color: white;
    border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 600;
    cursor: pointer; transition: 0.3s;
}
.submit-btn:hover { background: #0066cc; box-shadow: 0 10px 20px var(--primary-glow); transform: translateY(-2px); }

/* 3D Image Placeholder */
.image-placeholder {
    width: 100%; aspect-ratio: 4/3; background: linear-gradient(145deg, #111, #0a0a0a);
    border: 1px dashed #333; border-radius: 20px; display: flex;
    justify-content: center; align-items: center; color: var(--text-muted);
}

/* --- Features Section --- */
.features-section { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-title p { color: var(--text-muted); }

.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px;
}

.feature-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    padding: 30px 24px; border-radius: 20px; transition: 0.4s ease;
}
.feature-card:hover {
    transform: translateY(-10px); border-color: rgba(0, 122, 255, 0.3);
    background: rgba(255,255,255,0.05);
}
.feature-card .icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Scroll Reveal Classes */
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Mobile Responsive */
@media (max-width: 991px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } }
