:root {
    --bg-dark: #030712;
    --bg-card: #111827;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --accent: #3b82f6;
    --accent-vibrant: #6366f1;
    --accent-pink: #ec4899;
    --border: #1e293b;
    --success: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 10%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

nav .logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
}

nav .logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li { margin-left: 2.5rem; }

nav ul li a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    transition: 0.3s;
    font-size: 0.95rem;
}

nav ul li a:hover { color: var(--accent); }

/* Hero Section */
.hero {
    text-align: center;
    padding: 10rem 10% 8rem 10%;
    background: radial-gradient(circle at center, #1e293b 0%, #030712 100%);
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.4s;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn:hover {
    background: var(--accent-vibrant);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

/* Features Grid */
.container { padding: 6rem 10%; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: 0.3s;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--accent);
    font-size: 1.5rem;
}

.card p { color: var(--text-dim); }

/* Footer */
footer {
    text-align: center;
    padding: 5rem 10%;
    background: #000;
    border-top: 1px solid var(--border);
}

.footer-studio {
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-copy {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--accent);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.85rem;
}

/* Documentation Layout */
.docs-wrapper {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 5%;
}

.docs-sidebar {
    width: 280px;
    position: sticky;
    top: 100px;
    height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 2rem;
    border-right: 1px solid var(--border);
}

.docs-sidebar h4 {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.docs-sidebar ul {
    list-style: none;
}

.docs-sidebar ul li a {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.2s;
}

.docs-sidebar ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.docs-main {
    flex: 1;
    padding-left: 4rem;
    max-width: 900px;
}

.docs-section {
    margin-bottom: 5rem;
}

.docs-section h1 { font-size: 3rem; margin-bottom: 1rem; color: #fff; }
.docs-section h2 { font-size: 2rem; margin-top: 3rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; }
.docs-section h3 { font-size: 1.3rem; margin-top: 2rem; color: var(--accent); }

.docs-section p {
    margin-bottom: 1.2rem;
    color: var(--text-dim);
    font-size: 1.1rem;
}

/* Unity-style Code Blocks */
code {
    background: #000;
    color: #f1c40f;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    font-size: 0.9rem;
}

.code-block {
    background: #000;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    margin: 1.5rem 0;
    overflow-x: auto;
}

/* Info Box */
.info-box {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--accent);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.privacy-content section {
    margin-bottom: 2.5rem;
}
.privacy-content h2 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}
.privacy-content h3 {
    color: var(--accent);
    margin-top: 1.5rem;
    font-size: 1.2rem;
}

/* Sleek Scrollbar for Sidebar */
.docs-sidebar::-webkit-scrollbar {
    width: 5px; /* Patli scrollbar */
}

.docs-sidebar::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

.docs-sidebar::-webkit-scrollbar-thumb {
    background: var(--accent); 
    border-radius: 10px;
}

.docs-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--accent-vibrant);
}

/* Sidebar Alignment */
.docs-sidebar {
    width: 280px;
    position: sticky;
    top: 100px;
    height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 1.5rem;
    padding-left: 0.5rem; /* Thori si space left se */
    border-right: 1px solid var(--border);
    direction: ltr; /* Standard scroll direction */
}

/* Container fix to ensure extreme left alignment */
.docs-wrapper {
    display: flex;
    max-width: 100%; /* Poori screen use karega */
    margin: 0; 
    padding: 2rem 2% 2rem 2%; /* Margin khatam, padding kam */
}