/* 
 * Magic Contact - Premium Design System (Glassmorphism)
 */

:root {
    --primary: #5142f5;
    --primary-dark: #3a2ed1;
    --bg-dark: #07070a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    --text-white: #ffffff;
    --text-muted: #dfdfdf; /* Light silver for readability */
    --success: #00ff88;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* Premium background with refined overlay */
    background: linear-gradient(rgba(7, 7, 10, 0.75), rgba(7, 7, 10, 0.9)), url('../img/office_bg.png') no-repeat center center fixed;
    background-size: cover;
    /* Global Text Shadow for legibility on Glass */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

h1, h2, h3, h4, .fw-premium {
    font-family: 'Outfit', sans-serif;
    color: #ffffff !important;
}

.text-muted, .text-light, p, .lead, footer p, footer a {
    color: var(--text-muted) !important;
    opacity: 1 !important;
}

.text-white {
    color: #ffffff !important;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

/* Form Controls */
.form-control {
    color: #ffffff !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    box-shadow: none;
    border-color: var(--primary);
}

.btn-premium {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(81, 66, 245, 0.3);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(81, 66, 245, 0.5);
    color: #ffffff !important;
    filter: brightness(1.1);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    background: transparent;
    color: #ffffff !important;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar-custom {
    padding: 20px 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-custom.scrolled {
    background: rgba(10, 10, 16, 0.9);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

.navbar-brand, .navbar-nav .nav-link {
    color: #ffffff !important;
}

a {
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover {
    color: #ffffff;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Feature Cards */
.feature-card {
    padding: 40px;
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(81, 66, 245, 0.4);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(81, 66, 245, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 24px;
}

/* Dashboard Specific */
.dashboard-container {
    padding-top: 100px;
}

.contact-card {
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero {
        padding-top: 140px;
    }
}
