/* CheckLogs Landing - Futuristic Dark Design */

:root {
    /* Dark Theme Colors */
    --color-bg: #0a0e1a;
    --color-bg-secondary: #111827;
    --color-bg-tertiary: #1a1f35;
    --color-surface: #151b2e;
    --color-surface-elevated: #1e2642;
    --color-border: #2d3548;
    --color-border-strong: #3d4659;

    --color-text: #e8edf5;
    --color-text-muted: #9ca3af;
    --color-text-light: #6b7280;

    --color-primary: #60a5fa;
    --color-accent: #3b82f6;
    --color-accent-hover: #2563eb;
    --color-accent-glow: rgba(59, 130, 246, 0.5);

    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #06b6d4;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-cyber: linear-gradient(135deg, #00f5ff 0%, #0091ff 50%, #6b00ff 100%);

    /* Fonts */
    --font-family-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Spacing */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows & Glows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.7);

    --glow-sm: 0 0 10px var(--color-accent-glow);
    --glow-md: 0 0 20px var(--color-accent-glow);
    --glow-lg: 0 0 40px var(--color-accent-glow);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes backgroundShift {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Floating Particles */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(59, 130, 246, 0.2), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(139, 92, 246, 0.15), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(6, 182, 212, 0.15), transparent),
        radial-gradient(1px 1px at 33% 80%, rgba(255, 255, 255, 0.1), transparent);
    background-size: 200% 200%;
    animation: particleFloat 30s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes particleFloat {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Navbar */
.landing-navbar {
    background: rgba(21, 27, 46, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    gap: 2rem;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 700;
    font-size: 1.25rem;
    transition: all var(--transition);
    position: relative;
}

.navbar-logo::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: -1;
    filter: blur(12px);
}

.navbar-logo:hover::before {
    opacity: 0.3;
}

.navbar-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.6));
}

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

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 0.15;
}

.nav-link span {
    position: relative;
    z-index: 1;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition);
    font-size: 1.25rem;
}

.mobile-menu-toggle:hover {
    background: var(--color-surface-elevated);
    border-color: var(--color-accent);
    box-shadow: var(--glow-sm);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: rgba(21, 27, 46, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.3s ease-out;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mobile-nav .nav-link {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn i {
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-md), var(--glow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--glow-md);
}

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

.btn-outline-primary:hover {
    background: var(--color-accent);
    color: white;
    box-shadow: var(--glow-sm);
}

/* Hero Section */
.landing-hero {
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.landing-hero h1 {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.landing-hero .lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin: 0 auto 2.5rem;
    max-width: 700px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    position: relative;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    position: relative;
}

/* Sections */
section {
    padding: 5rem 0;
    position: relative;
}

.bg-section {
    background: var(--color-bg-secondary);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

/* Cards */
.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity var(--transition);
}

.section-card {
    box-shadow: var(--shadow-md);
}

.section-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(59, 130, 246, 0.4);
}

.section-card:hover::before {
    opacity: 1;
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-title i {
    font-size: 1.75rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
    font-weight: 700;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-description {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* Metric Highlights */
.metric-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.metric-item {
    text-align: center;
    padding: 1rem;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.metric-item:hover {
    transform: scale(1.05);
    background: var(--color-surface-elevated);
}

.metric-label {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-light);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.metric-value {
    font-size: 2.25rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* Server Status */
.server-status {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    position: relative;
}

.server-status::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 12px currentColor;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

.server-status.online {
    color: var(--color-success);
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.server-status.offline {
    color: var(--color-error);
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

/* Chart Card */
.chart-card {
    width: 100%;
    height: 350px;
    padding: 1.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.chart-card canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

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

.table thead th {
    background: var(--color-bg-secondary);
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    border-bottom: 2px solid var(--color-border);
}

.table tbody td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

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

.table tbody tr {
    transition: all var(--transition);
}

.table tbody tr:hover {
    background: var(--color-surface-elevated);
}

/* Alerts */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    animation: slideInLeft 0.4s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--color-success);
    color: var(--color-success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--color-error);
    color: var(--color-error);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--color-warning);
    color: var(--color-warning);
}

.alert-info {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--color-info);
    color: var(--color-info);
}

/* Forms */
.form-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--color-text);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), var(--glow-sm);
    background: var(--color-surface-elevated);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

/* CTA Card */
.cta-card {
    background: var(--gradient-accent);
    border: none;
    box-shadow: var(--shadow-lg), var(--glow-md);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cta-card .card-body {
    position: relative;
    z-index: 1;
}

.cta-card .card-title,
.cta-card p {
    color: white;
}

/* Documentation layout */
.docs-hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.12));
    border-bottom: 1px solid rgba(59, 130, 246, 0.25);
}

.docs-hero--compact {
    padding: 3rem 0 2.5rem;
}

.docs-hero-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.docs-hero-content h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.docs-hero-content p {
    max-width: 720px;
    font-size: 1.0625rem;
    color: var(--color-text-muted);
}

.docs-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.docs-hero-actions .btn {
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-lg);
}

.docs-hero-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.docs-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(17, 24, 39, 0.85);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: var(--color-text-muted);
    border-radius: var(--radius-lg);
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
}

.docs-section {
    padding: 3rem 0;
}

.docs-grid {
    display: grid;
    gap: 1.75rem;
}

.docs-grid.docs-code-grid {
    gap: 1.25rem;
}

.docs-card {
    background: var(--color-surface);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: grid;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.docs-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: var(--shadow-md);
}

.docs-card--secondary {
    background: var(--color-bg-secondary);
    border-color: rgba(59, 130, 246, 0.2);
}

.docs-card h2,
.docs-card h3 {
    font-size: 1.35rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.docs-card h3 {
    font-size: 1.15rem;
}

.docs-card p,
.docs-card li {
    color: var(--color-text-muted);
    font-size: 0.975rem;
    line-height: 1.65;
}

.docs-card ul {
    margin: 0;
    padding-left: 1.25rem;
    display: grid;
    gap: 0.5rem;
}

.docs-card-icon {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: var(--color-accent);
    border-radius: 12px;
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.docs-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.5rem;
}

.docs-link:hover {
    color: var(--color-accent-hover);
}

.docs-article {
    display: grid;
    gap: 2.5rem;
    max-width: 900px;
}

.docs-article-block {
    background: var(--color-surface);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: grid;
    gap: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.docs-article-block h2 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 0;
}

.docs-article-block p,
.docs-article-block li {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.docs-article-block ul {
    padding-left: 1.25rem;
    display: grid;
    gap: 0.45rem;
}

.docs-article-block ol {
    padding-left: 1.25rem;
    color: var(--color-text-muted);
    display: grid;
    gap: 0.45rem;
}

.docs-article-block code {
    font-family: "JetBrains Mono", "Fira Code", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 6px;
    padding: 0.15rem 0.4rem;
    font-size: 0.9rem;
    color: var(--color-text);
}

.docs-article-block pre {
    margin: 0;
    background: rgba(10, 14, 26, 0.85);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    overflow-x: auto;
    font-size: 0.95rem;
    line-height: 1.7;
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.15);
}

.docs-code-grid {
    display: grid;
    gap: 1.5rem;
}

.docs-code-grid pre {
    background: rgba(15, 20, 33, 0.9);
}

.docs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.docs-table th,
.docs-table td {
    border: 1px solid rgba(59, 130, 246, 0.25);
    padding: 0.85rem 1rem;
    text-align: left;
}

.docs-table th {
    background: rgba(59, 130, 246, 0.12);
    color: var(--color-text);
    font-weight: 600;
}

.docs-table tr:nth-child(even) td {
    background: rgba(17, 24, 39, 0.65);
}

@media (min-width: 960px) {
    .docs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .docs-grid.docs-code-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .docs-hero-content h1 {
        font-size: 2.25rem;
    }

    .docs-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .docs-article-block {
        padding: 1.5rem;
    }

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

/* Footer */
.landing-footer {
    background: var(--color-surface);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    margin-top: 5rem;
    padding: 4rem 0 2rem;
    position: relative;
}

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

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-brand img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.6));
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.footer-heading {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-light);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-accent);
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--color-bg-secondary);
    color: var(--color-accent);
    text-decoration: none;
    transition: all var(--transition);
    font-size: 1.25rem;
}

.footer-icon-link:hover {
    background: var(--gradient-accent);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--glow-sm);
}

.footer-bottom {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.footer-legal {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: all var(--transition);
}

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

/* Utility Classes */
.text-center {
    text-align: center;
}

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

.text-light {
    color: var(--color-text-light);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .navbar-actions .btn {
        display: none;
    }

    .landing-hero {
        padding: 5rem 0 4rem;
    }

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

    .landing-hero .lead {
        font-size: 1.125rem;
    }

    section {
        padding: 3rem 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .card-body {
        padding: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .landing-hero {
        padding: 4rem 0 3rem;
    }

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

    .landing-hero .lead {
        font-size: 1rem;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .chart-card {
        height: 280px;
        padding: 1rem;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-accent);
}

/* Selection */
::selection {
    background: var(--color-accent);
    color: white;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.loading {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right, var(--color-surface) 0%, var(--color-surface-elevated) 20%, var(--color-surface) 40%, var(--color-surface) 100%);
    background-size: 1000px 100%;
}

/* Print */
@media print {

    .landing-navbar,
    .landing-footer,
    .btn,
    .mobile-menu-toggle {
        display: none;
    }

    body::before,
    body::after {
        display: none;
    }
}
