:root {
    --bg-dark: #0a0e17;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #e0e6ed;
    --text-muted: #94a3b8;
    --accent-cyan: #00f3ff;
    --accent-purple: #bc13fe;
    --gold-primary: #D4AF37;
    --gold-light: #F2D06B;
    --gold-dark: #AA8A2E;
    --accent-gradient: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    --gold-gradient: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main) !important;
    /* Force override Bootstrap */
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main) !important;
}

/* Override Bootstrap text-muted for dark mode */
.text-muted {
    color: var(--text-muted) !important;
}

/* --- UTILITIES --- */
.text-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-accent {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.btn-glow {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.btn-glow:hover {
    background: var(--gold-primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.section-padding {
    padding: 80px 0;
}

/* --- NAVBAR --- */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(10, 14, 23, 0.8);
    border-bottom: var(--glass-border);
    padding: 15px 0;
}

.navbar-brand.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-main);
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-primary) !important;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    /* Background color removed to show fixed canvas */
    overflow: hidden;
}

#hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Behind content, above body bg */
    opacity: 0.8;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 14, 23, 0.7), transparent);
    z-index: 1;
    pointer-events: none;
}

/* --- SERVICES (Cards) --- */
.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
    border-color: var(--accent-cyan);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-cyan);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- ABOUT (HPI) --- */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: var(--glass-border);
    border-radius: 20px;
    position: relative;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--accent-gradient);
    z-index: -1;
    border-radius: 22px;
    opacity: 0.3;
    filter: blur(10px);
}

/* --- FOOTER --- */
footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: var(--glass-border);
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    border: var(--glass-border);
    color: var(--text-main);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gold-primary);
    color: var(--bg-dark);
}

.hover-text-gold {
    transition: color 0.3s ease;
}

.hover-text-gold:hover {
    color: var(--gold-primary) !important;
}

/* Placeholder Color */
::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    opacity: 1;
    /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: rgba(255, 255, 255, 0.7) !important;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: rgba(255, 255, 255, 0.7) !important;
}