:root {
    --bg-color: #050505;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-hover: rgba(255, 255, 255, 0.1);
    --accent-color: #7000ff;
    --accent-glow: rgba(112, 0, 255, 0.4);
    --text-main: #ffffff;
    --text-dim: #a1a1aa;
    --glass-border: rgba(255, 255, 255, 0.15);
    --nav-height: 80px;
}

[data-theme="light"] {
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --card-hover: #f1f5f9;
    --accent-color: #6366f1;
    --text-main: #0f172a;
    --text-dim: #64748b;
    --glass-border: #e2e8f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.glow-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 20%, #1a0033 0%, transparent 40%),
                radial-gradient(circle at 80% 80%, #001a33 0%, transparent 40%);
    z-index: -1; filter: blur(80px);
}
[data-theme="light"] .glow-bg { display: none; }

/* --- REFINED NAVIGATION --- */
.pathfinder-nav {
    position: sticky; top: 0; width: 100%; z-index: 1000;
    backdrop-filter: blur(20px); border-bottom: 1px solid var(--glass-border);
    padding: 0 5%; height: var(--nav-height); display: flex; 
    justify-content: space-between; align-items: center;
    background: rgba(5, 5, 5, 0.9); /* Solidified for intuition */
}

.nav-select {
    background: #111; /* Visible by default */
    color: var(--text-main);
    border: 1px solid var(--accent-color); /* Neon hint */
    padding: 10px 15px;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(112, 0, 255, 0.2);
}

[data-theme="light"] .nav-select { background: #fff; border: 1px solid #ddd; box-shadow: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem; padding: 2rem 0;
}

.news-card {
    background: var(--card-bg); border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px); padding: 2rem; border-radius: 28px;
    display: flex; flex-direction: column; transition: all 0.3s ease;
    text-decoration: none; color: inherit; height: 100%;
}
.news-card:hover { transform: translateY(-8px); border-color: var(--accent-color); background: var(--card-hover); }

.card-tag { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--accent-color); margin-bottom: 1rem; letter-spacing: 2px; }
.headline { font-size: 1.4rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.2; min-height: 3.4rem; }
.summary { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 2rem; flex-grow: 1; }

/* --- EMPOWERMENT SECTION --- */
.empower-section {
    background: linear-gradient(145deg, rgba(112, 0, 255, 0.08), transparent);
    border: 1px solid var(--accent-color); border-radius: 32px;
    padding: 4rem 2rem; text-align: center; margin: 4rem 0;
}

.inquiry-form { display: flex; flex-direction: column; gap: 1rem; max-width: 450px; margin: 2rem auto 0; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
    background: #111; border: 1px solid var(--glass-border);
    color: white; padding: 1.2rem; border-radius: 12px; font-family: inherit; width: 100%;
    outline: none;
}
.inquiry-form select { cursor: pointer; appearance: none; }

[data-theme="light"] .inquiry-form input, [data-theme="light"] .inquiry-form select, [data-theme="light"] .inquiry-form textarea {
    background: white; color: black; border: 1px solid #ddd;
}

.submit-btn {
    background: var(--accent-color); color: white; border: none; padding: 1.2rem;
    border-radius: 12px; font-weight: 800; cursor: pointer; transition: 0.3s;
    text-transform: uppercase; letter-spacing: 1px;
}
.submit-btn:hover { box-shadow: 0 0 25px var(--accent-glow); transform: translateY(-2px); }

.meter { width: 80px; height: 4px; background: #222; border-radius: 10px; overflow: hidden; }
.fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent-color), #00f2ff); transition: width 2s ease; }
.badge { display: inline-block; padding: 4px 12px; border: 1px solid var(--accent-color); border-radius: 100px; font-size: 0.7rem; font-weight: 700; color: var(--accent-color); margin-bottom: 1rem; }

/* Forces the logo in the nav bar to always stay visible on the dark background */
.nav-logo {
    color: #ffffff !important; 
    font-weight: 900;
    letter-spacing: -1px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.nav-logo span {
    color: #7000ff !important; /* This keeps 'TIDY' purple even in light mode */
}
