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

:root {
    --bg-color: #0a0a0a;
    --surface-color: #1a1a1a;
    --surface-hover: #252525;
    --text-color: #e0e0e0;
    --text-dim: #999;
    --accent-color: #bb86fc;
    --accent-hover: #d4a7ff;
    --secondary-color: #03dac6;
    --highlight-color: #cf6679;
    --border-color: #333;
    --sidebar-width: 300px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Image Container */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.background-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.75) 100%);
    z-index: 1;
}

.background-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px);
}

/* Main Layout */
.layout {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Left Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    transition: transform 0.3s ease;
    z-index: 100;
}

.sidebar-header {
    padding: 30px 20px 20px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.sidebar-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.sidebar-header p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* Scale Categories */
.scale-categories {
    padding: 20px 0;
}

.scale-category {
    margin-bottom: 25px;
}

.category-title {
    padding: 10px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    border-bottom: 1px solid rgba(187, 134, 252, 0.2);
    margin-bottom: 5px;
}

.scale-list {
    list-style: none;
}

.scale-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    color: var(--text-color);
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
}

.scale-item:hover {
    background: var(--surface-hover);
    border-left-color: var(--accent-color);
    padding-left: 25px;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 60px 80px;
    position: relative;
}

/* Hero Section */
.hero {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 0;
}

.logo {
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(187, 134, 252, 0.3);
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-dim);
    margin-bottom: 30px;
    font-weight: 400;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Cards */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(187, 134, 252, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

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

/* Ad Placeholders */
.ad-banner {
    background: rgba(26, 26, 26, 0.6);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    margin: 60px auto;
    max-width: 728px;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.ad-sidebar {
    background: rgba(26, 26, 26, 0.6);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    margin: 40px auto;
    max-width: 300px;
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 101;
    background: var(--accent-color);
    border: none;
    color: #000;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(187, 134, 252, 0.4);
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 968px) {
    .main-content {
        margin-left: 0;
        padding: 40px 40px;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .logo {
        font-size: 3rem;
        margin-top: 40px;
    }

    .hero {
        padding: 30px 0;
    }

    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .main-content {
        padding: 30px 20px;
    }

    .logo {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .description {
        font-size: 1rem;
    }
}

/* Custom Scrollbar */
.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}
