:root {
    --bg: #050505;
    --accent: #1a73e8; /* High-end Electric Blue */
    --accent-glow: rgba(26, 115, 232, 0.4);
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-dim: #888;
    --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Base Container */
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 2rem; 
}

/* --- Navigation --- */
.glass-nav {
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 100;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
}

.nav-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-width: 1200px; 
    margin: 0 auto;    
    padding: 0 2rem;   
}

.brand { 
    font-weight: 900; 
    letter-spacing: -0.5px; 
    font-size: 1.1rem; 
}

.brand span { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a { 
    color: var(--text-dim); 
    text-decoration: none; 
    margin-left: 2.5rem; 
    font-size: 0.85rem; 
    font-weight: 500;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}

.nav-links a:hover { color: var(--accent); }

/* Social Icon Styling */
.social-icon {
    display: flex;
    align-items: center;
    color: var(--text-dim) !important; /* Force override for nav-links color */
}

.social-icon:hover {
    color: var(--accent) !important;
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero { padding-top: 160px; padding-bottom: 80px; }

.hero-grid { 
    display: grid; 
    grid-template-columns: 1fr 1.2fr; 
    gap: 5rem; 
    align-items: center; 
}

.kicker { 
    color: var(--accent); 
    font-family: var(--font-mono); 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 4px; 
    margin-bottom: 1rem;
    display: block;
}

h1 { 
    font-size: clamp(2.5rem, 5vw, 4.5rem); 
    font-weight: 900; 
    margin: 1rem 0; 
    line-height: 1; 
    letter-spacing: -2px;
}

.accent { color: var(--accent); }

p { 
    color: var(--text-dim); 
    font-size: 1.15rem; 
    margin-bottom: 2.5rem; 
    max-width: 480px; 
}

/* --- Hero Actions & Download --- */
.hero-actions { 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 1.5rem; 
    width: 100%;
}

.download-wrapper {
    width: 100%;
    max-width: 350px;
}

.primary-btn { 
    background: var(--accent); 
    color: #fff; 
    padding: 1.1rem 2.2rem; 
    text-decoration: none; 
    font-weight: 700; 
    border-radius: 6px; 
    transition: 0.3s;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.primary-btn:hover { 
    box-shadow: 0 10px 30px var(--accent-glow); 
    transform: translateY(-3px); 
}

/* Progress Bar */
.download-bar-container {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 1.2rem;
    border-radius: 8px;
    width: 100%;
    margin-top: 0.5rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.progress-track {
    width: 100%;
    height: 4px;
    background: #111;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
    transition: width 0.3s ease;
}

#statusText { color: var(--accent); font-weight: bold; }

/* Developer Meta Styling */
.dev-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dev-tag { 
    font-family: var(--font-mono); 
    font-size: 0.7rem; 
    color: var(--text-dim); 
    text-transform: uppercase;
}

.fb-link-text {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--accent);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: 0.3s;
}

.fb-link-text:hover {
    opacity: 1;
    text-decoration: underline;
}

/* --- Previews --- */
.preview-container { position: relative; width: 100%; }

.desktop-mockup {
    background: #0a0a0a; 
    border: 1px solid var(--border); 
    border-radius: 12px;
    height: 380px; 
    width: 100%; 
    overflow: hidden; 
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

.window-controls { 
    background: #111; padding: 14px; 
    display: flex; gap: 8px; 
    border-bottom: 1px solid var(--border);
}

.window-controls span { width: 10px; height: 10px; border-radius: 50%; background: #222; }

.terminal-body { 
    padding: 24px; 
    font-family: var(--font-mono); 
    font-size: 0.9rem; 
    color: #cecece; 
    line-height: 1.7;
}

.mobile-mockup {
    position: absolute; 
    bottom: -60px; right: -20px;
    width: 220px; height: 440px; 
    background: #000; border: 8px solid #1a1a1a;
    border-radius: 36px; 
    box-shadow: 0 25px 50px rgba(0,0,0,0.9);
    display: flex; flex-direction: column; overflow: hidden;
}

.mobile-screen { flex: 1; position: relative; background: #000; overflow: hidden; }

.ui-logo { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }

/* --- Features & Tech Sections --- */
.features-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    max-width: 1200px; 
    margin: 4rem auto; 
    gap: 2rem; 
    padding: 0 2rem;
}

.feature-card { background: var(--glass); padding: 3rem 2rem; border: 1px solid var(--border); border-radius: 12px; transition: 0.3s; }
.feature-card:hover { border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.05); }

.tech-specs { padding: 60px 0; border-top: 1px solid var(--border); }
.specs-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; }

.requirements-block { background: var(--glass); border: 1px solid var(--border); padding: 3rem 1.5rem; border-radius: 12px; margin-bottom: 60px; text-align: center; }
.req-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.5rem; margin-top: 2rem; }

/* --- Tablet & Medium Screen Comfort (601px - 1024px) --- */
@media (max-width: 1024px) {
    .hero-grid { gap: 2rem; }
    .mobile-mockup { width: 180px; height: 360px; bottom: -30px; right: -10px; }
}

/* --- Mobile Comfort Layout (Up to 600px) --- */
@media (max-width: 600px) {
    .hero { padding-top: 120px; padding-bottom: 40px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero-text { display: flex; flex-direction: column; align-items: center; }
    
    p { margin: 0 auto 2rem; font-size: 1rem; width: 100%; }
    
    .hero-actions { align-items: center; }
    .download-wrapper { max-width: 100%; }

    .desktop-mockup { display: none; }
    .preview-container { display: flex; justify-content: center; position: static; padding-top: 20px; }
    .mobile-mockup { 
        position: relative; 
        right: 0; 
        bottom: 0; 
        width: 240px; 
        height: 480px; 
        margin: 0 auto; 
    }

    .nav-content { justify-content: center; position: relative; }
    .nav-links { position: absolute; right: 2rem; }
    .nav-links a:not(.social-icon) { display: none; } /* Comfort mode: only show FB icon */

    .tech-specs { padding: 40px 0; }
    .specs-header h2 { font-size: 1.8rem; }
}
