/* WineWarden Gaming Website Styles - Blue Gamer Theme */
:root {
    /* Clean Blue Backgrounds */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #334155;
    --bg-terminal: #1e293b;

    /* Vibrant Blue Accents */
    --accent-cyan: #38bdf8;
    --accent-blue: #3b82f6;
    --accent-green: #22d3ee;
    --accent-yellow: #fbbf24;
    --accent-red: #f87171;
    --accent-purple: #a78bfa;

    /* Clean Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    --font-mono: 'JetBrains Mono', monospace;
    --font-sans: 'Inter', sans-serif;

    --shadow-glow: 0 0 20px rgba(56, 189, 248, 0.3);
    --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.4);
}

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

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.nav-brand i {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

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

.nav-menu a:hover {
    color: var(--accent-cyan);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent-cyan);
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-nav {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--accent-cyan);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: var(--accent-cyan) !important;
}

.btn-nav:hover {
    background: var(--accent-cyan);
    color: var(--bg-primary) !important;
}

.btn-nav::after {
    display: none !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 70px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.6;
    pointer-events: none;
}

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

/* Glitch Effect */
.glitch-wrapper {
    margin-bottom: 1.5rem;
}

.glitch {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    color: var(--text-primary);
    text-shadow:
        0 0 10px rgba(56, 189, 248, 0.6),
        0 0 20px rgba(59, 130, 246, 0.4);
    animation: glitch-skew 3s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-anim-1 2s infinite;
    color: var(--accent-cyan);
    z-index: -1;
}

.glitch::after {
    animation: glitch-anim-2 2s infinite;
    color: var(--accent-purple);
    z-index: -2;
}

@keyframes glitch-anim-1 {
    0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
    20% { clip-path: inset(20% 0 60% 0); transform: translate(-2px, 2px); }
    40% { clip-path: inset(40% 0 40% 0); transform: translate(2px, -2px); }
    60% { clip-path: inset(60% 0 20% 0); transform: translate(-2px, 0); }
    80% { clip-path: inset(80% 0 0% 0); transform: translate(2px, 2px); }
}

@keyframes glitch-anim-2 {
    0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
    20% { clip-path: inset(60% 0 20% 0); transform: translate(2px, -2px); }
    40% { clip-path: inset(40% 0 40% 0); transform: translate(-2px, 2px); }
    60% { clip-path: inset(20% 0 60% 0); transform: translate(2px, 0); }
    80% { clip-path: inset(0% 0 80% 0); transform: translate(-2px, -2px); }
}

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

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.badge {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-mono);
}

.btn-primary {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

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

.btn-secondary {
    background: transparent;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-secondary:hover {
    background: rgba(0, 240, 255, 0.1);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-green);
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Gaming Culture Section */
.gaming-culture {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.culture-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.culture-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.culture-icon {
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.culture-card h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

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

/* Features Section */
.features {
    padding: 6rem 0;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.feature-card.featured {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.2);
}

.feature-badge {
    position: absolute;
    top: -10px;
    right: 1rem;
    background: var(--accent-yellow);
    color: var(--bg-primary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

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

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

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

.feature-list li {
    padding: 0.25rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.feature-list li::before {
    content: '>';
    color: var(--accent-cyan);
    margin-right: 0.5rem;
}

/* TUI Showcase */
.tui-showcase {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.tui-demo {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.terminal-window {
    background: var(--bg-terminal);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close { background: #ff5f56; }
.btn-minimize { background: #ffbd2e; }
.btn-maximize { background: #27c93f; }

.terminal-title {
    flex: 1;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.tui-screen {
    background: var(--bg-primary);
    border-radius: 4px;
    overflow: hidden;
}

.tui-tabs {
    display: flex;
    background: var(--bg-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab {
    padding: 0.5rem 1rem;
    color: var(--text-muted);
    cursor: pointer;
}

.tab.active {
    background: var(--bg-card);
    color: var(--accent-cyan);
    border-top: 2px solid var(--accent-cyan);
}

.tui-content {
    padding: 1rem;
}

.tui-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.tui-stat {
    background: var(--bg-secondary);
    padding: 0.75rem;
    border-radius: 4px;
    text-align: center;
}

.tui-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.tui-value {
    font-size: 1rem;
    font-weight: 700;
}

.tier-yellow {
    color: var(--accent-yellow);
}

.tui-gauge {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.gauge-label {
    margin-bottom: 0.5rem;
}

.gauge-bar {
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.gauge-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
    transition: width 0.5s ease;
}

.tui-events {
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
}

.event-row {
    display: grid;
    grid-template-columns: 80px 60px 1fr;
    gap: 1rem;
    padding: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
}

.event-row:last-child {
    border-bottom: none;
}

.event-time {
    color: var(--text-muted);
}

.event-type {
    color: var(--accent-cyan);
}

.event-target {
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-row.denied .event-type {
    color: var(--accent-red);
}

.tui-footer {
    background: var(--bg-secondary);
    padding: 0.5rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tui-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tui-feature {
    text-align: center;
}

.tui-feature i {
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.tui-feature h4 {
    margin-bottom: 0.5rem;
}

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

/* Install Section */
.install {
    padding: 6rem 0;
}

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

.install-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    position: relative;
}

.install-step {
    position: absolute;
    top: -15px;
    left: 1rem;
    background: var(--accent-cyan);
    color: var(--bg-primary);
    font-family: var(--font-mono);
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

.install-card h3 {
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.code-block {
    position: relative;
    background: var(--bg-terminal);
    border-radius: 4px;
    overflow: hidden;
}

.code-block pre {
    padding: 1rem;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.code-block code {
    color: var(--accent-green);
}

.copy-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.3s;
}

.copy-btn:hover {
    color: var(--accent-cyan);
}

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

.note {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 1rem;
    border-radius: 8px;
}

.note i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

.note code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 0.9em;
}

/* Community Section */
.community {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.community-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.community-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    min-width: 250px;
    transition: all 0.3s ease;
}

.community-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.community-card i {
    font-size: 3rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.community-card h3 {
    margin-bottom: 0.5rem;
}

.community-card p {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    padding: 3rem 0;
    background: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-copyright i {
    color: var(--accent-red);
}

/* Nav Toggle Button */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--accent-cyan);
    font-size: 1.25rem;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--accent-cyan);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(56, 189, 248, 0.2);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu a::after {
        display: none;
    }

    .btn-nav {
        text-align: center;
        margin-top: 0.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .tui-demo {
        grid-template-columns: 1fr;
    }
    
    .tui-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .install-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Features Carousel */
.features-carousel {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    padding: 1rem 0;
}

.carousel-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    max-width: 380px;
    min-width: 280px;
    background: var(--bg-card);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .carousel-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 640px) {
    .carousel-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.carousel-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.carousel-card.featured {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.carousel-badge {
    position: absolute;
    top: -10px;
    right: 1rem;
    background: var(--accent-yellow);
    color: var(--bg-primary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.carousel-icon {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.carousel-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.carousel-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.carousel-card ul {
    list-style: none;
}

.carousel-card li {
    padding: 0.25rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.carousel-card li::before {
    content: '>';
    color: var(--accent-cyan);
    margin-right: 0.5rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--accent-cyan);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    box-shadow: var(--shadow-glow);
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Docs Hero */
.docs-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    text-align: center;
}

.docs-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.docs-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
}

.docs-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.docs-hero p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.docs-search {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.docs-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.docs-search input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: var(--bg-card);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.docs-search input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.docs-search input::placeholder {
    color: var(--text-muted);
}

/* Quick Links Section */
.docs-quick-links {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.quick-link-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--bg-card);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.quick-link-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.quick-link-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.quick-link-icon.blue {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-cyan);
}

.quick-link-icon.purple {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-purple);
}

.quick-link-icon.green {
    background: rgba(34, 211, 238, 0.1);
    color: var(--accent-green);
}

.quick-link-icon.orange {
    background: rgba(251, 191, 36, 0.1);
    color: var(--accent-yellow);
}

.quick-link-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.quick-link-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.quick-link-arrow {
    margin-left: auto;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.quick-link-card:hover .quick-link-arrow {
    transform: translateX(5px);
    color: var(--accent-cyan);
}

/* Main Docs Layout */
.docs-main {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.docs-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
}

/* Sidebar */
.docs-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.docs-nav {
    background: var(--bg-card);
    border: 1px solid rgba(56, 189, 248, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
}

.docs-nav h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin: 1.5rem 0 0.75rem;
}

.docs-nav h4:first-child {
    margin-top: 0;
}

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

.docs-nav li {
    margin-bottom: 0.25rem;
}

.docs-nav-link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.docs-nav-link:hover {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-cyan);
}

.docs-nav-link.active {
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-cyan);
    font-weight: 500;
}

/* Content Area */
.docs-content-area {
    min-width: 0;
}

/* Article Cards */
.doc-article {
    background: var(--bg-card);
    border: 1px solid rgba(56, 189, 248, 0.1);
    border-radius: 16px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.doc-article-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.05) 0%, transparent 100%);
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.doc-article-icon {
    width: 60px;
    height: 60px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

.doc-article-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.doc-article-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.doc-article-body {
    padding: 2rem;
}

.doc-article-body h3 {
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
    color: var(--accent-cyan);
}

.doc-article-body h3:first-child {
    margin-top: 0;
}

.doc-article-body p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.doc-article-body ul {
    list-style: none;
    margin: 1rem 0;
}

.doc-article-body li {
    padding: 0.35rem 0;
    color: var(--text-secondary);
}

/* Info Box */
.info-box {
    display: flex;
    gap: 1rem;
    background: rgba(56, 189, 248, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 10px;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.info-box i {
    font-size: 1.25rem;
    color: var(--accent-cyan);
    margin-top: 0.25rem;
}

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

.info-box ul {
    margin: 0;
}

.info-box li {
    padding: 0.25rem 0;
}

/* Improved Code Block */
.code-block {
    background: var(--bg-terminal);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 10px;
    overflow: hidden;
    margin: 1.5rem 0;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(56, 189, 248, 0.05);
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.code-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.code-block pre {
    padding: 1.25rem;
    overflow-x: auto;
    margin: 0;
}

.code-block code {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent-green);
    line-height: 1.6;
}

.inline-code {
    background: rgba(56, 189, 248, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: var(--accent-cyan);
}

.copy-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.copy-btn:hover {
    color: var(--accent-cyan);
}

/* Steps */
.steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.step-content p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.step-content code {
    background: rgba(56, 189, 248, 0.1);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent-cyan);
}

/* Config Options */
.config-options {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(56, 189, 248, 0.1);
}

.option-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.option-card {
    background: rgba(56, 189, 248, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.1);
    border-radius: 8px;
    padding: 1rem;
}

.option-card code {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent-cyan);
}

.option-card p {
    margin: 0.5rem 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.badge, .badge-green, .badge-yellow, .badge-red {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-cyan);
}

.badge-green {
    background: rgba(34, 211, 238, 0.1);
    color: var(--accent-green);
}

.badge-yellow {
    background: rgba(251, 191, 36, 0.1);
    color: var(--accent-yellow);
}

.badge-red {
    background: rgba(248, 113, 113, 0.1);
    color: var(--accent-red);
}

/* Integration Method */
.integration-method {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.integration-method:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.integration-method h3 {
    margin-top: 0;
}

/* Security Features Grid */
.security-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.security-feature-card {
    background: rgba(56, 189, 248, 0.03);
    border: 1px solid rgba(56, 189, 248, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.security-feature-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
}

.security-icon {
    width: 45px;
    height: 45px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.security-feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

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

.security-feature-card ul {
    margin: 0;
}

.security-feature-card li {
    font-size: 0.9rem;
}

/* CTA Modern */
.docs-cta-modern {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    margin-top: 3rem;
}

.docs-cta-modern i {
    font-size: 3rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.docs-cta-modern h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.docs-cta-modern p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.docs-cta-modern .btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.5;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 200px;
    text-align: center;
}

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

    .docs-sidebar {
        position: static;
        order: -1;
    }

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

    .docs-nav h4 {
        width: 100%;
        margin: 0;
    }

    .docs-nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

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

@media (max-width: 640px) {
    .docs-hero {
        padding: 6rem 0 3rem;
    }

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

    .doc-article-header {
        flex-direction: column;
        text-align: center;
    }

    .doc-article-body {
        padding: 1.5rem;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .quick-link-card {
        flex-direction: column;
        text-align: center;
    }

    .quick-link-arrow {
        display: none;
    }
}
