@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-main: #020617;
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --input-bg: rgba(15, 23, 42, 0.8);
    --input-border: rgba(51, 65, 85, 0.8);
    --input-text: #f8fafc;
    --card-hover: rgba(30, 41, 59, 0.8);
    --icon-wrap: rgba(37, 99, 235, 0.1);
}

body.light-theme {
    --bg-main: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.1);
    --text-main: #0f172a;
    --text-muted: #475569;
    --input-bg: #f1f5f9;
    --input-border: #cbd5e1;
    --input-text: #0f172a;
    --card-hover: #ffffff;
    --icon-wrap: #eff6ff;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    overflow-x: hidden;
    transition: background-color 0.4s ease;
}

.auto-text { color: var(--text-main); transition: color 0.4s ease; }
.auto-text-muted { color: var(--text-muted); transition: color 0.4s ease; }

.bg-glow-1 {
    position: absolute; top: -10%; left: -10%; width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none; z-index: 0;
    animation: float 20s infinite ease-in-out alternate;
}
.bg-glow-2 {
    position: absolute; bottom: -10%; right: -10%; width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.5) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none; z-index: 0;
    animation: float 25s infinite ease-in-out alternate-reverse;
}

body.light-theme .bg-glow-1 { background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%); }
body.light-theme .bg-glow-2 { background: radial-gradient(circle, rgba(226, 232, 240, 0.8) 0%, transparent 70%); }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.cyber-line {
    position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
    background: linear-gradient(90deg, transparent, rgba(37,99,235,0.5), transparent);
}

.feature-card { transition: all 0.3s ease; }
.feature-card:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}
.feature-icon-wrapper {
    background: var(--icon-wrap);
    color: #3b82f6;
    transition: all 0.3s ease;
}
.feature-card:hover .feature-icon-wrapper {
    background: #2563eb;
    color: white;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.input-field {
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--input-text);
    transition: all 0.3s ease;
}
.input-field:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    background: var(--input-bg);
}

.cyber-btn {
    background: #2563eb;
    color: white;
    transition: 0.3s;
}
.cyber-btn:hover {
    background: #1d4ed8;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}