:root[data-theme="light"] {
    --primary: #0057b8;
    --primary-light: #f0f4fa;
    --secondary: #4d94ff;
    --dark: #0a0a0a;
    --light: #ffffff;
    --accent: #f72585;
    --bg-color: #f8fafc;
    --text-color: #1a1a1a;
    --text-gray: #2d3748;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --card-shadow: rgba(0, 0, 0, 0.1);
    --footer-bg: #f1f3f6;
    --header-bg: #ffffff;
    --gradient-start: #f0f4fa;
    --gradient-end: #f8fafc;
}

:root[data-theme="dark"] {
  --primary: #00eaff;
  --primary-light: rgba(0, 234, 255, 0.08);
  --secondary: #4d94ff;
  --dark: #0a0a0a;
  --light: #ffffff;
  --accent: #f72585;
  --bg-color: #10141a;
  --text-color: #e6e6e6;
  --text-gray: #b0b8c1;
  --card-bg: #181c23;
  --card-border: #23272f;
  --card-shadow: 0 2px 16px rgba(0,0,0,0.5);
  --footer-bg: rgba(16, 20, 26, 0.95);
  --header-bg: rgba(16, 20, 26, 0.95);
  --gradient-start: #181c23;
  --gradient-end: #10141a;
}

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

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 2px 10px var(--card-shadow);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    width: 100%;
    padding: 0 2rem;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

[data-theme="light"] .logo {
    color: #000000;
    background: none;
    -webkit-text-fill-color: #000000;
}

[data-theme="dark"] .logo {
  background: linear-gradient(45deg, #e6faff, #b3eaff 60%, #00eaff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 2px 16px rgba(255,255,255,0.35),
    0 0 2px #fff;
}

nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 160px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    transition: background 0.3s ease;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary), #4d94ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Documentation Layout */
.docs-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
}

.docs-nav h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.docs-nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.docs-nav li {
    margin-bottom: 0;
}

.docs-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.docs-nav a:hover {
    color: var(--primary);
}

/* Content */
.content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
}

.doc-section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.doc-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.doc-section h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text-color);
}

.doc-section p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-list li {
    background: var(--primary-light);
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature-list li:hover {
    transform: translateY(-5px);
}

.feature-list h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.installation-steps ol,
.usage-guide ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.installation-steps li,
.usage-guide li {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

/* Download Section */
.download-section {
    text-align: center;
    padding: 2rem;
    background: var(--primary-light);
    border-radius: 8px;
    margin-top: 2rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    background: var(--secondary);
}

.download-icon {
    font-size: 1.2rem;
}

.version {
    margin-top: 1rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    position: relative;
    width: 100%;
    padding: 1.5rem 2rem;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.8));
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
    margin-top: auto;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 400;
}

.footer-text strong {
    color: var(--primary);
    font-weight: 500;
}

/* Theme Toggle */
.theme-toggle-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.theme-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--light);
    opacity: 0.7;
    transition: all 0.3s ease;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.theme-btn.active {
    opacity: 1;
    color: var(--primary);
}

.theme-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    color: var(--light);
}

[data-theme="light"] .theme-btn svg {
    color: #0057b8;
}

[data-theme="light"] .footer-text {
    color: #1a1a1a;
}

[data-theme="light"] .footer-text strong {
    color: var(--primary);
}

[data-theme="light"] .footer {
    background: linear-gradient(to top, #ffffff 95%, #f8fafc 100%);
    border-top: 1px solid #e2e8f0;
}

.resources-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 2rem;
  width: 100%;
}

.nav-home-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 2px 8px rgba(0, 87, 184, 0.08);
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  color: var(--primary);
  text-decoration: none;
  border: none;
  outline: none;
}

.nav-home-icon:hover, .nav-home-icon:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 87, 184, 0.15);
  transform: translateY(-2px) scale(1.05);
}

.nav-home-icon svg {
  display: block;
  width: 28px;
  height: 28px;
  stroke: currentColor;
}

[data-theme="dark"] .hero h1 {
  background: linear-gradient(45deg, #e6faff, #b3eaff 60%, #00eaff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 2px 16px rgba(255,255,255,0.35),
    0 0 2px #fff;
}

[data-theme="dark"] .download-btn {
  background: #00b8d9;
  color: #fff;
  border: 1.5px solid #4d94ff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  text-shadow: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
[data-theme="dark"] .download-btn:hover {
  background: #00b8d9;
  border-color: #4d94ff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 16px rgba(0,0,0,0.28);
}

/* Responsive Design */
@media (max-width: 768px) {
    .docs-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
} 