:root {
    --bg-color: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-color); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }

/* Ambient Background Glow */
.ambient { position: fixed; border-radius: 50%; filter: blur(100px); z-index: -1; opacity: 0.4; }
.ambient-one { top: -10%; left: -10%; width: 500px; height: 500px; background: #3b82f6; }
.ambient-two { bottom: -10%; right: -10%; width: 600px; height: 600px; background: #8b5cf6; }

.site { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-main); }
.brand-mark { background: var(--primary); padding: 5px 12px; border-radius: 8px; font-weight: 700; font-size: 1.2rem; }
.brand b { font-family: 'Poppins', sans-serif; font-size: 1.2rem; display: block; }
.brand small { color: var(--text-muted); font-size: 0.8rem; }
.nav-links a { color: var(--text-muted); text-decoration: none; margin-left: 20px; transition: 0.3s; }
.nav-links a:hover { color: var(--text-main); }
.nav-portal { background: rgba(255,255,255,0.05); padding: 8px 15px; border-radius: 20px; border: 1px solid var(--border); }

/* Hero Section */
.hero { padding: 80px 0; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); padding: 5px 15px; border-radius: 30px; font-size: 0.9rem; margin-bottom: 20px; }
.live-dot { width: 8px; height: 8px; background: #10b981; border-radius: 50%; display: inline-block; box-shadow: 0 0 10px #10b981; }
.hero h1 { font-family: 'Poppins', sans-serif; font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; }
.hero h1 em { color: transparent; background-clip: text; -webkit-background-clip: text; background-image: linear-gradient(to right, #60a5fa, #a78bfa); font-style: normal; }
.hero p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto 30px; }
.cta { background: var(--primary); color: #fff; text-decoration: none; padding: 12px 30px; border-radius: 8px; font-weight: 600; display: inline-block; margin-right: 15px; transition: 0.3s; }
.cta:hover { background: var(--primary-hover); }

/* Cards & Forms */
.section-heading { margin: 60px 0 30px; }
.section-kicker { color: var(--primary); font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; }
.section-heading h2 { font-family: 'Poppins', sans-serif; font-size: 2rem; margin-top: 5px; }

.card { background: var(--card-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--border); border-radius: 16px; padding: 30px; box-shadow: var(--glass-shadow); margin-bottom: 40px; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.field label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.95rem; }
.field small { color: var(--text-muted); font-weight: normal; }
select, input { width: 100%; background: rgba(15, 23, 42, 0.8); border: 1px solid var(--border); color: var(--text-main); padding: 12px 15px; border-radius: 8px; font-size: 1rem; outline: none; transition: 0.3s; font-family: 'Inter', sans-serif; }
select:focus, input:focus { border-color: var(--primary); }
select:disabled { opacity: 0.5; cursor: not-allowed; }

/* Download Section */
.download-card { display: flex; flex-direction: column; gap: 20px; }
.selected-file { display: flex; align-items: center; gap: 15px; background: rgba(0,0,0,0.2); padding: 15px; border-radius: 8px; border: 1px dashed var(--border); }
.file-icon { font-size: 2rem; color: var(--primary); }
.badge { background: rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 20px; font-size: 0.8rem; margin-left: auto; }
.download-controls { display: flex; gap: 20px; align-items: flex-end; }
.download-controls .field { flex-grow: 1; }
button.primary { background: var(--primary); color: #fff; border: none; padding: 12px 30px; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: 0.3s; height: 48px; }
button.primary:disabled { background: #334155; color: #94a3b8; cursor: not-allowed; }
button.primary:not(:disabled):hover { background: var(--primary-hover); }
.hidden { display: none !important; }
.progress { margin-top: 15px; color: #10b981; font-weight: 500; text-align: center; }

@media(max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .download-controls { flex-direction: column; align-items: stretch; }
    button.primary { width: 100%; }
}
