:root {
    --color-bg: #0e0e11;
    --color-surface: rgba(26, 26, 32, 0.75);
    --color-primary: #0078D4;
    --color-primary-glow: rgba(0, 120, 212, 0.35);
    --color-secondary: #00e5ff;
    --color-success: #10B981;
    --color-text: #ffffff;
    --color-text-muted: #a3a3a3;
    
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-top: rgba(255, 255, 255, 0.14);
    --reveal-color: rgba(255, 255, 255, 0.05);
    
    --primary-gradient: linear-gradient(135deg, var(--color-primary) 0%, #2f8ee0 100%);
}

:root[data-theme="light"] {
    --color-bg: #f3f3f3;
    --color-surface: rgba(255, 255, 255, 0.85);
    --color-primary: #0067C0;
    --color-primary-glow: rgba(0, 103, 192, 0.2);
    --color-secondary: #00b4d8;
    --color-success: #059669;
    --color-text: #18181b;
    --color-text-muted: #616161;
    
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-border-top: rgba(255, 255, 255, 0.9);
    --reveal-color: rgba(0, 0, 0, 0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    font-family: 'Segoe UI Variable', 'Segoe UI', 'Inter', -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: var(--color-bg);
    background-image: radial-gradient(circle at 50% -20%, rgba(0, 120, 212, 0.12) 0%, transparent 60%);
    background-repeat: no-repeat;
    color: var(--color-text);
    transition: background-color 0.3s ease, color 0.3s ease;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
    font-family: 'Segoe UI Variable Display', 'Segoe UI', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
}

.gradient-text {
    background: linear-gradient(90deg, #ffffff 0%, #a3a3a3 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-accent {
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ========================================================================= */
/* 🪟 Official Microsoft Fluent 2 Acrylic & Mica Components                 */
/* ========================================================================= */

.bento-card, .glass-panel {
    background-color: var(--color-surface);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-border-top);
    border-radius: 20px;
    box-shadow: 0 8px 32px -4px rgba(0, 0, 0, 0.2), 0 0 1px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.bento-card:hover, .glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 24px -2px rgba(0, 0, 0, 0.28), 0 0 2px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

:root[data-theme="light"] .bento-card, :root[data-theme="light"] .glass-panel {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .bento-card:hover, :root[data-theme="light"] .glass-panel:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08), 0 0 2px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(0, 103, 192, 0.25);
}

.btn-solid {
    background-color: var(--color-primary);
    color: white;
    border: 1px solid transparent;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.15s ease;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.btn-solid:hover {
    background-color: #2f8ee0;
    color: white;
    box-shadow: 0 2px 8px var(--color-primary-glow);
}

.btn-solid:active {
    transform: scale(0.98);
    border-bottom-color: transparent;
}

.btn-outline {
    background-color: var(--glass-bg);
    color: var(--color-text);
    border: 1px solid var(--glass-border);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: all 0.15s ease;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.btn-outline:hover {
    background-color: var(--reveal-color);
    border-color: rgba(255, 255, 255, 0.14);
}

.btn-outline:active {
    transform: scale(0.98);
    background-color: rgba(0,0,0,0.05);
}

.reveal-blur {
    opacity: 1;
    transform: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: -1;
    animation: float 10s infinite alternate ease-in-out;
}

.orb-1 { width: 400px; height: 400px; background: var(--color-primary); top: 0%; left: -5%; }
.orb-2 { width: 300px; height: 300px; background: var(--color-secondary); bottom: 10%; right: 0%; animation-delay: -5s; }

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

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-text-muted); border-radius: 4px; opacity: 0.5; }
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined', sans-serif;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.feature-icon {
    font-size: 47px !important;
}

.glow-accent {
    position: absolute;
    top: -120px;
    right: -120px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px) !important;
    pointer-events: none;
    z-index: 0;
}

.glow-accent.purple {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
}

/* Direct Blur Rules for Ambient Glow Spheres */
.blur-\[120px\] { filter: blur(120px) !important; -webkit-filter: blur(120px) !important; }
.blur-\[100px\] { filter: blur(100px) !important; -webkit-filter: blur(100px) !important; }
.blur-\[80px\] { filter: blur(80px) !important; -webkit-filter: blur(80px) !important; }
.blur-\[60px\] { filter: blur(60px) !important; -webkit-filter: blur(60px) !important; }
.blur-3xl { filter: blur(64px) !important; -webkit-filter: blur(64px) !important; }
.blur-2xl { filter: blur(40px) !important; -webkit-filter: blur(40px) !important; }
.blur-xl { filter: blur(24px) !important; -webkit-filter: blur(24px) !important; }
.blur-lg { filter: blur(16px) !important; -webkit-filter: blur(16px) !important; }
.blur-md { filter: blur(12px) !important; -webkit-filter: blur(12px) !important; }
.blur-sm { filter: blur(4px) !important; -webkit-filter: blur(4px) !important; }
.blur { filter: blur(8px) !important; -webkit-filter: blur(8px) !important; }

.material-symbols-fill {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
}
