:root {
    --bg-color: #0f0f13;
    --bg-secondary: #16161c;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent-primary: #00f3ff;
    --accent-secondary: #bd00ff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow: 0 0 20px rgba(0, 243, 255, 0.3);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.text-gradient {
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.highlight {
    color: var(--accent-primary);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(15, 15, 19, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 5px auto;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(189, 0, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
    color: var(--accent-primary);
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #000;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 243, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--text-secondary);
}

/* Hero Visual (Abstract App UI) */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.app-window {
    width: 400px;
    height: 300px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: rgba(20, 20, 25, 0.9);
}

.window-header {
    height: 30px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red { background: #ff5f57; }
.yellow { background: #febc2e; }
.green { background: #28c840; }

.window-body {
    flex: 1;
    display: flex;
}

.sidebar {
    width: 80px;
    border-right: 1px solid var(--glass-border);
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skeleton-line {
    height: 6px;
    background: var(--glass-border);
    border-radius: 3px;
}
.w-80 { width: 80%; }
.w-60 { width: 60%; }
.w-70 { width: 70%; }
.w-50 { width: 50%; }

.main-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.status-card {
    background: var(--glass-bg);
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #28c840;
    border-radius: 50%;
    box-shadow: 0 0 10px #28c840;
}

.status-indicator.active {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

.chart-area {
    flex: 1;
    background: var(--glass-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.activity-chart {
    width: 100%;
    height: 100%;
}

.glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.2) 0%, rgba(0, 0, 0, 0) 60%);
    filter: blur(40px);
    z-index: 1;
}

/* Sections General */
.section {
    padding: 80px 0;
}

.alt-bg {
    background: var(--bg-secondary);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    transition: var(--transition);
}

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

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

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

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

/* Downloads Section */
.download-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
    color: var(--text-primary);
}

.tab-btn.active {
    border-bottom-color: var(--accent-primary);
}

.tab-pane {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: grid;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
}

.os-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.download-card h3 {
    margin-bottom: 10px;
}

.download-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 25px;
    flex: 1;
}

.btn-download {
    background: var(--text-primary);
    color: #000;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: var(--transition);
    width: 100%;
}

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

.btn-sm {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    font-size: 0.85rem;
    margin: 0 5px;
}

.btn-sm:hover {
    background: var(--glass-bg);
    border-color: var(--text-primary);
}

.link-sm {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: underline;
}

.install-cmd {
    background: #000;
    padding: 10px;
    border-radius: 4px;
    font-family: monospace;
    color: var(--accent-primary);
    font-size: 0.9rem;
    border: 1px solid var(--glass-border);
}

.download-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 40px;
    opacity: 0.7;
}

/* Timeline / Changelog */
.timeline {
    max-width: 800px;
    margin: 0 auto 40px;
    border-left: 2px solid var(--glass-border);
    padding-left: 30px;
    position: relative;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

.timeline-date {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent-primary);
}

.timeline-content ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-secondary);
}

.center-btn {
    text-align: center;
}

/* Docs Grid */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.doc-card h3 {
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.doc-card ol {
    padding-left: 20px;
    color: var(--text-secondary);
}

.doc-card li {
    margin-bottom: 10px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h4 {
    color: var(--text-primary);
    margin-bottom: 5px;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #16161c;
        padding: 20px;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

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

    .hero p {
        margin: 0 auto 30px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .app-window {
        width: 100%;
        max-width: 350px;
    }
}

/* Logo Image */
.nav-logo {
    height: 32px;
    width: auto;
    vertical-align: middle;
    margin-right: 8px;
}

/* Documentation Page Layout */
.docs-container {
    display: flex;
    padding-top: 100px; /* Offset for fixed navbar */
    padding-bottom: 60px;
    gap: 40px;
    min-height: 80vh;
}

.docs-sidebar {
    width: 250px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    height: fit-content;
    border-right: 1px solid var(--glass-border);
    padding-right: 20px;
}

.sidebar-group {
    margin-bottom: 30px;
}

.sidebar-group h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.sidebar-group ul li {
    margin-bottom: 10px;
}

.sidebar-group a {
    color: var(--text-primary);
    opacity: 0.7;
    transition: var(--transition);
    display: block;
    padding: 5px 0;
}

.sidebar-group a:hover, .sidebar-group a.active {
    opacity: 1;
    color: var(--accent-primary);
    padding-left: 5px;
}

.docs-content {
    flex: 1;
    max-width: 800px;
}

.docs-content section {
    margin-bottom: 60px;
    scroll-margin-top: 100px;
}

.docs-content h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 15px;
}

.docs-content h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: var(--accent-primary);
}

.docs-content p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.docs-content ul, .docs-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-secondary);
}

.docs-content li {
    margin-bottom: 8px;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.alert.info {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.alert.warning {
    background: rgba(255, 188, 46, 0.1);
    border: 1px solid rgba(255, 188, 46, 0.2);
}

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

.alert p {
    margin: 0;
    color: var(--text-primary);
}

.code-block {
    background: #000;
    padding: 15px;
    border-radius: 8px;
    font-family: monospace;
    overflow-x: auto;
    border: 1px solid var(--glass-border);
    margin: 15px 0;
}

.steps-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
}

.steps-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 20px;
}

.steps-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    text-align: center;
    line-height: 25px;
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: bold;
}

.mode-card {
    background: var(--glass-bg);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 3px solid var(--accent-secondary);
}

.mode-card h4 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.docs-footer {
    margin-top: 80px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .docs-container {
        flex-direction: column;
    }
    
    .docs-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
}