:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --success: #10b981;
    --danger: #ef4444;
    --dark: #0f172a;
    --dark-secondary: #1e293b;
    --dark-tertiary: #334155;
    --light: #f8fafc;
    --light-secondary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-blue: linear-gradient(135deg, #667eea 0%, #06b6d4 100%);
    --gradient-purple: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    transition: transform 0.2s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 0.95rem;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--light-secondary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--border);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.hero-bg-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
}

.bot-showcase {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.showcase-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.showcase-card.card-admin {
    animation-delay: 0s;
}

.showcase-card.card-main {
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.card-icon {
    font-size: 1.5rem;
}

.card-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.card-content {
    padding: 1.5rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.menu-item {
    background: var(--light);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}

.menu-item:hover {
    background: var(--light-secondary);
    transform: translateX(5px);
}

.bot-message {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    max-width: 80%;
    font-size: 0.95rem;
}

.message.user {
    background: var(--light);
    align-self: flex-end;
    margin-left: auto;
}

.message.bot {
    background: var(--primary-light);
    color: white;
    align-self: flex-start;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.7; }
    30% { transform: translateY(-10px); opacity: 1; }
}

/* ===== SECTIONS ===== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== FEATURES ===== */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    background: var(--light);
}

.architecture {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.bot-block {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.bot-block.admin-bot {
    border-top: 4px solid var(--primary);
}

.bot-block.main-bot {
    border-top: 4px solid var(--secondary);
}

.bot-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.bot-block h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.bot-block p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.bot-block ul {
    list-style: none;
}

.bot-block li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 1.5rem;
}

.bot-block li:last-child {
    border-bottom: none;
}

.bot-block li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.bot-arrow {
    font-size: 3rem;
    color: var(--primary);
    font-weight: 700;
}

/* Setup Steps */
.steps-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step {
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.step h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== PRICING ===== */
.pricing {
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, #faf5ff 0%, #f3f4f6 100%);
}

.pricing-card.enterprise {
    border-color: var(--secondary);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-badge.popular {
    background: var(--gradient-primary);
}

.plan-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.plan-name {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.plan-price {
    margin-bottom: 2rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
}

.period {
    color: var(--text-secondary);
    font-size: 1rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.check {
    color: var(--success);
    font-weight: 800;
    font-size: 1.2rem;
}

.check.gray {
    color: var(--text-muted);
}

.payment-info {
    text-align: center;
    padding: 2rem;
    background: var(--light);
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== PROTECTION ===== */
.protection {
    background: var(--light);
}

.protection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.protection-item {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.protection-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.protection-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.protection-icon {
    font-size: 2rem;
}

.protection-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.protection-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.protection-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.detail-tag {
    background: var(--light);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== ADMIN PREVIEW ===== */
.admin-preview {
    background: white;
}

.admin-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.admin-menu {
    background: var(--light);
    border-radius: 20px;
    padding: 2.5rem;
}

.admin-menu h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.menu-category {
    margin-bottom: 2rem;
}

.menu-category h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.menu-category ul {
    list-style: none;
}

.menu-category li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.menu-category li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 1;
}

.feature-highlight {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.highlight-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.highlight-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== USE CASES ===== */
.use-cases {
    background: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.case-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--light);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.case-card:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.case-emoji {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.case-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== CTA ===== */
.cta {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-actions {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.cta-actions .btn-primary {
    background: white;
    color: var(--primary);
}

.cta-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.benefit {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-tertiary);
    color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-showcase {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .architecture {
        flex-direction: column;
    }
    
    .bot-arrow {
        transform: rotate(90deg);
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== UTILITIES ===== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ===== DOCUMENTATION PAGE ===== */

/* Docs Hero */
.docs-hero {
    position: relative;
    padding: 140px 0 60px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.docs-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.docs-hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.docs-hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Docs Layout */
.docs-layout {
    background: white;
    padding-bottom: 60px;
}

.docs-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    padding-top: 3rem;
}

/* Docs Sidebar */
.docs-sidebar {
    position: relative;
}

.docs-sidebar-inner {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 1rem;
    padding-bottom: 2rem;
}

.docs-sidebar-inner::-webkit-scrollbar {
    width: 4px;
}

.docs-sidebar-inner::-webkit-scrollbar-track {
    background: transparent;
}

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

.docs-nav-group {
    margin-bottom: 1.75rem;
}

.docs-nav-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 0.75rem;
    padding-left: 0.75rem;
}

.docs-nav-list {
    list-style: none;
}

.docs-nav-link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.docs-nav-link:hover {
    color: var(--primary);
    background: var(--light);
}

.docs-nav-link.active {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
    border-left-color: var(--primary);
    font-weight: 600;
}

/* Docs Main Content */
.docs-main {
    min-width: 0;
}

.docs-section {
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.docs-section:last-of-type {
    border-bottom: none;
}

.docs-section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.docs-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.docs-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.docs-text a:hover {
    text-decoration: underline;
}

.docs-text strong {
    color: var(--text-primary);
}

/* Docs Highlight Box */
.docs-highlight-box {
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.docs-highlight-box.warning {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.15);
}

.docs-highlight-box.tip {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.15);
}

.docs-highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.docs-highlight-box strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.docs-inline-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.docs-inline-list li {
    padding: 0.3rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.95rem;
}

.docs-inline-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.docs-ordered-list {
    margin: 0;
    padding: 0 0 0 1.25rem;
    color: var(--text-secondary);
}

.docs-ordered-list li {
    padding: 0.3rem 0;
    font-size: 0.95rem;
}

/* Docs Two Columns */
.docs-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

/* Docs Info Card */
.docs-info-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.docs-info-card:hover {
    box-shadow: var(--shadow-lg);
}

.docs-info-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    color: white;
}

.docs-info-card-header.admin {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.docs-info-card-header.worker {
    background: linear-gradient(135deg, var(--secondary) 0%, #7c3aed 100%);
}

.docs-info-card-icon {
    font-size: 1.5rem;
}

.docs-info-card-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.docs-info-card .docs-text {
    padding: 1.5rem 1.5rem 0;
    margin-bottom: 0.75rem;
}

.docs-feature-list {
    list-style: none;
    padding: 0 1.5rem 1.5rem;
    margin: 0;
}

.docs-feature-list li {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.docs-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* Docs Steps */
.docs-steps {
    margin-bottom: 1.5rem;
}

.docs-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.docs-step:hover {
    background: var(--light-secondary);
    transform: translateX(5px);
}

.docs-step-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
}

.docs-step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.docs-step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.docs-step-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.docs-step-content a:hover {
    text-decoration: underline;
}

/* Docs Feature Grid */
.docs-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.docs-feature-grid.two-col {
    grid-template-columns: repeat(2, 1fr);
}

.docs-feature-item {
    background: var(--light);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.docs-feature-item:hover {
    background: white;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.docs-feature-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.docs-feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Docs Modes Grid */
.docs-modes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.docs-mode-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.docs-mode-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.docs-mode-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.docs-mode-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.docs-mode-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Docs Params */
.docs-params {
    margin-bottom: 1.5rem;
}

.docs-param {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--light);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.docs-param-name {
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    min-width: 200px;
    font-size: 0.95rem;
}

.docs-param-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Docs Table */
.docs-table-wrapper {
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.docs-table {
    width: 100%;
    border-collapse: collapse;
}

.docs-table thead {
    background: var(--light);
}

.docs-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border);
}

.docs-table td {
    padding: 0.9rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.docs-table tr:last-child td {
    border-bottom: none;
}

.docs-table tr:hover td {
    background: rgba(99, 102, 241, 0.03);
}

.docs-table-highlight td {
    background: rgba(99, 102, 241, 0.06) !important;
}

.docs-table td strong {
    color: var(--text-primary);
}

/* Docs CTA */
.docs-cta {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    color: white;
    margin-top: 2rem;
}

.docs-cta h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.docs-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.docs-cta .btn-primary {
    background: white;
    color: var(--primary);
}

.docs-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
}

/* Docs Responsive */
@media (max-width: 1024px) {
    .docs-container {
        grid-template-columns: 240px 1fr;
        gap: 2.5rem;
    }

    .docs-modes-grid {
        grid-template-columns: 1fr;
    }

    .docs-two-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .docs-hero {
        padding: 110px 0 40px;
    }

    .docs-hero-title {
        font-size: 2rem;
    }

    .docs-container {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 0;
    }

    .docs-sidebar {
        border-bottom: 1px solid var(--border);
        padding: 1.5rem 0;
    }

    .docs-sidebar-inner {
        position: static;
        max-height: none;
        overflow: visible;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding-right: 0;
    }

    .docs-nav-group {
        margin-bottom: 0.75rem;
        width: 100%;
    }

    .docs-nav-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .docs-nav-link {
        padding: 0.35rem 0.65rem;
        font-size: 0.8rem;
        border-left: none;
        border-radius: 6px;
    }

    .docs-nav-link.active {
        border-left: none;
    }

    .docs-main {
        padding-top: 2rem;
    }

    .docs-section-title {
        font-size: 1.5rem;
    }

    .docs-feature-grid,
    .docs-feature-grid.two-col {
        grid-template-columns: 1fr;
    }

    .docs-param {
        flex-direction: column;
        gap: 0.25rem;
    }

    .docs-param-name {
        min-width: auto;
    }

    .docs-step {
        flex-direction: column;
        gap: 1rem;
    }

    .docs-cta {
        padding: 2rem 1.5rem;
    }

    .docs-cta h3 {
        font-size: 1.5rem;
    }
}
