/* UTF-8 without BOM -- Apple Premium Design System for SaaS */
:root {
    --apple-bg: #f5f5f7;
    --apple-card: rgba(255, 255, 255, 0.85);
    --apple-accent: #0071e3;
    --apple-text: #1d1d1f;
    --apple-sidebar: rgba(255, 255, 255, 0.7);
    --apple-border: rgba(0, 0, 0, 0.08);
}

body {
    background-color: var(--apple-bg);
    color: var(--apple-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Glassmorphism Sidebar */
.apple-sidebar {
    width: 260px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--apple-sidebar);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-right: 1px solid var(--apple-border);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.apple-sidebar .nav-link {
    color: #424245;
    padding: 12px 20px;
    margin: 4px 15px;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.2s;
}

.apple-sidebar .nav-link:hover, .apple-sidebar .nav-link.active {
    background-color: rgba(0, 113, 227, 0.1);
    color: var(--apple-accent);
}

/* Top Navigation Bar */
.apple-topnav {
    height: 60px;
    position: fixed;
    top: 0;
    right: 0;
    left: 260px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    border-bottom: 1px solid var(--apple-border);
    z-index: 999;
    transition: left 0.4s;
}

/* Content Area */
.apple-main {
    margin-left: 260px;
    padding: 90px 40px 40px;
    transition: margin-left 0.4s;
}

/* Premium Cards */
.apple-card {
    background: var(--apple-card);
    border-radius: 18px;
    border: 1px solid var(--apple-border);
    padding: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
}

.apple-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

/* Buttons Apple Style */
.btn-apple {
    background: var(--apple-accent);
    color: white;
    border-radius: 50px;
    padding: 8px 24px;
    font-weight: 600;
    border: none;
    transition: all 0.2s;
}

.btn-apple:hover {
    background: #0077ed;
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
    color: white;
}

/* Mobile Responsive Logic */
@media (max-width: 991px) {
    .apple-sidebar {
        left: -260px;
    }
    .apple-sidebar.active {
        left: 0;
        box-shadow: 20px 0 50px rgba(0,0,0,0.1);
    }
    .apple-topnav {
        left: 0;
    }
    .apple-main {
        margin-left: 0;
        padding: 80px 20px 20px;
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 24px;
}

@media (max-width: 991px) {
    .hamburger { display: block; }
}
