:root {
    /* Color System - Dark with Vibrant Accents */
    --bg-app: #000000;
    --bg-panel: #0a0a0f;
    --bg-card: #0f0f14;
    --bg-element: #16161d;

    /* Accent Colors - Electric Blue/Purple */
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --accent-glow: rgba(99, 102, 241, 0.3);

    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #52525b;

    --border-subtle: #27272a;
    --border-active: #3f3f46;
    --border-accent: rgba(99, 102, 241, 0.5);

    /* Font */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    /* Effects */
    --glass-bg: rgba(16, 16, 24, 0.4);
    --glass-border: rgba(99, 102, 241, 0.1);
    --blur-strength: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html,
body,
#app {
    height: 100%;
    width: 100%;
}

body {
    background-color: var(--bg-app);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow: hidden;
    /* Main body hidden, sections scroll independently */
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
    letter-spacing: -0.02em;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.font-medium {
    font-weight: 500;
}

.text-secondary {
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted);
}

.text-primary {
    color: var(--text-primary);
}

.text-white {
    color: #ffffff;
}

/* Utilities */
.hidden {
    display: none !important;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-1 {
    flex: 1;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-start {
    justify-content: flex-start;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.h-32 {
    height: 8rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.pt-4 {
    padding-top: 1rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 1rem;
}

.pt-4 {
    padding-top: 1rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.mt-12 {
    margin-top: 3rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 1rem;
}

.rounded-2xl {
    border-radius: 1.5rem;
}


.border {
    border: 1px solid var(--border-subtle);
}

.overflow-hidden {
    overflow: hidden;
}

.grid {
    display: grid;
}

.relative {
    position: relative;
}

.cursor-pointer {
    cursor: pointer;
}

.transition-colors {
    transition: color 0.2s ease;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

/* Glass Effect */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-strength));
    border: 1px solid var(--glass-border);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    gap: 0.5rem;
    user-select: none;
}

.btn:active {
    transform: scale(0.96);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-secondary {
    background: var(--bg-element);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: var(--border-subtle);
    border-color: var(--border-active);
    transform: translateY(-1px);
}

.btn-discord {
    background: #5865F2;
    color: white;
}

.btn-discord:hover {
    background: #4752c4;
}

/* Form Elements */
input,
textarea,
select {
    background: var(--bg-element);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-family: inherit;
    font-size: 0.875rem;
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
}

input:focus,
textarea:focus {
    border-color: var(--text-secondary);
}

textarea {
    resize: none;
}

/* Slider */
input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
    padding: 0;
    border: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: var(--accent-gradient);
    cursor: pointer;
    margin-top: -6px;
    box-shadow: 0 2px 8px var(--accent-glow);
    transition: transform 0.2s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: var(--border-subtle);
    border-radius: 2px;
}



/* Login View */
.login-container {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.15) 0%, #000000 50%),
        radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.1) 0%, #000000 50%);
}

.login-card {
    width: 100%;
    max-width: 400px;
    padding: 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    text-align: center;
}

/* Dashboard Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    height: 100%;
}

.sidebar {
    background: var(--bg-panel);
    border-right: 1px solid var(--border-subtle);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    border-radius: 0.5rem;
    cursor: pointer;
    margin-bottom: 0.25rem;
    transition: all 0.2s;
    position: relative;
}

.nav-item:hover {
    background: var(--bg-element);
    color: var(--text-primary);
}

.nav-item.active {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-primary);
    border-left: 3px solid var(--accent-primary);
    padding-left: calc(1rem - 3px);
}

/* Content Wrapper */
.content-wrapper {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.content-section {
    display: none;
    height: 100%;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    /* Allow children to scroll or scroll the section itself */
}

.content-section.active {
    display: block;
}

/* Docs section needs flex to work properly */
#section-docs.active {
    display: flex !important;
    flex-direction: column;
    height: 100% !important;
    overflow: hidden !important;
}

#section-docs>div {
    display: flex !important;
    height: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
}

/* Custom Scrollbar */
.content-section::-webkit-scrollbar,
.docs-content::-webkit-scrollbar,
.docs-sidebar::-webkit-scrollbar,
.settings-panel::-webkit-scrollbar {
    width: 8px;
}

.content-section::-webkit-scrollbar-track,
.docs-content::-webkit-scrollbar-track,
.docs-sidebar::-webkit-scrollbar-track,
.settings-panel::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.content-section::-webkit-scrollbar-thumb,
.docs-content::-webkit-scrollbar-thumb,
.docs-sidebar::-webkit-scrollbar-thumb,
.settings-panel::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.4);
    border-radius: 4px;
}

.content-section::-webkit-scrollbar-thumb:hover,
.docs-content::-webkit-scrollbar-thumb:hover,
.docs-sidebar::-webkit-scrollbar-thumb:hover,
.settings-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.6);
}

/* Console Grid */
.console-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    height: 100%;
}

.main-content {
    background: var(--bg-app);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.settings-panel {
    background: var(--bg-panel);
    border-left: 1px solid var(--border-subtle);
    padding: 1.5rem;
    overflow-y: auto;
}

.control-group {
    margin-bottom: 1.5rem;
}

.control-group label {
    display: flex;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-card {
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-active);
}

.card-image-placeholder {
    height: 160px;
    background: linear-gradient(45deg, #090909, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
}

/* Dashbord Specifics */
.bg-green-900\/30 {
    background: rgba(22, 101, 52, 0.3);
}

.text-green-400 {
    color: #4ade80;
}

.bg-element {
    background: var(--bg-element);
}

.border-subtle {
    border-color: var(--border-subtle);
}

.w-full {
    width: 100%;
}

.rounded-full {
    border-radius: 9999px;
}

.h-2 {
    height: 0.5rem;
}

table th {
    font-weight: 500;
    color: var(--text-muted);
}

table td {
    border-bottom: 1px solid var(--border-subtle);
}

tr:last-child td {
    border-bottom: none;
}


.docs-layout {
    display: flex;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.docs-sidebar {
    width: 260px;
    border-right: 1px solid var(--border-subtle);
    padding: 2rem 1.5rem;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.docs-sidebar .nav-item {
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    cursor: pointer;
    margin-bottom: 0.25rem;
}

.docs-sidebar .nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    padding-left: 1.25rem;
}

.docs-sidebar .nav-item.active {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-primary);
    border-left: 3px solid var(--accent-primary);
}

.docs-content {
    flex: 1;
    min-width: 0;
    padding: 3rem 4rem;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.02);
}

.doc-page {
    padding-bottom: 5rem;
}

.doc-page h1 {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.docs-content h2 {
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.75rem;
    margin-top: 3rem;
}

.docs-content h3 {
    color: var(--accent-primary);
    font-size: 1rem;
}

code {
    font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
    background: rgba(99, 102, 241, 0.1);
    color: #a5b4fc;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85em;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

pre {
    background: linear-gradient(145deg, #0a0a0f, #0d0d14);
    border: 1px solid var(--border-subtle);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    position: relative;
}

pre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 0.75rem 0.75rem 0 0;
}

pre code {
    background: none;
    border: none;
    padding: 0;
    color: #e2e8f0;
    font-size: 0.8rem;
    line-height: 1.7;
}

.docs-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.75rem;
    overflow: hidden;
}

.docs-content table th {
    background: rgba(99, 102, 241, 0.1);
    text-align: left;
    padding: 1rem;
    font-weight: 500;
    color: var(--accent-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.docs-content table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.9rem;
}

.docs-content table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.docs-content ul {
    padding-left: 0;
    list-style: none;
}

.docs-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.docs-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

.doc-page .glass {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doc-page .glass:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-subtle) !important;
    background: linear-gradient(145deg, rgba(20, 20, 30, 0.6), rgba(10, 10, 15, 0.8));
    display: flex;
    flex-direction: column;
    border-radius: 1.5rem;
    /* Rounder corners */
}

.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.4);
}

.pricing-card .pricing-btn {
    margin-top: auto;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.recommended-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #eab308, #f59e0b);
    color: black;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    z-index: 10;
}

.payg-card {
    border: 1px dashed var(--border-subtle) !important;
    background: rgba(99, 102, 241, 0.05);
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/* Toast System */

.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 9999;
}

.toast {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    animation: toastIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Documentation Content Transitions */
.doc-link.active {
    background: rgba(99, 102, 241, 0.2);
    color: var(--accent-primary);
}

.docs-content>div {
    animation: fadeIn 0.4s ease forwards;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    animation: fadeIn 0.4s ease forwards;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Hover utilities */
.hover\:text-white:hover {
    color: white;
}

/* ========================================== */
/* LANDING PAGE STYLES */
/* ========================================== */

.landing-page {
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    background: #000;
}

/* Animated Background */
.landing-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation: float 20s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, transparent 70%);
    top: 40%;
    right: -150px;
    animation: float 25s ease-in-out infinite reverse;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.25) 0%, transparent 70%);
    bottom: -100px;
    left: 30%;
    animation: float 18s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 30px) scale(1.02);
    }
}

/* Landing Navigation */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 3rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.landing-nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 9999px;
    color: var(--accent-primary);
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* Sections Common */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Features Section */
.features-section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: white;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Pricing Preview Section */
.pricing-preview-section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.pricing-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-preview-card {
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.pricing-preview-card:hover {
    transform: translateY(-4px);
}

.pricing-preview-card.featured {
    border: 2px solid var(--accent-primary) !important;
    background: rgba(99, 102, 241, 0.1);
}

.pricing-preview-card .featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-preview-card h3 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.5rem;
}

.pricing-preview-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.pricing-preview-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-preview-card>p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-preview-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.pricing-preview-card ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pricing-preview-card ul li::before {
    content: none;
}

.pricing-preview-card ul li i {
    color: #22c55e;
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem;
    border-radius: 1.5rem;
    text-align: center;
    background: rgba(99, 102, 241, 0.1) !important;
    border: 1px solid rgba(99, 102, 241, 0.3) !important;
}

.cta-content h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Landing Footer */
.landing-footer {
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.footer-brand i {
    color: var(--accent-primary);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
.animate-fade-in {
    animation: fadeInAnim 0.8s ease-out forwards;
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUpAnim 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInAnim {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUpAnim {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Page Transition */
.page-transition {
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.page-hidden {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .landing-nav {
        padding: 1rem 1.5rem;
    }

    .landing-nav-links {
        gap: 1rem;
    }

    .nav-link {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .features-grid,
    .pricing-preview-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Content Section Display Control */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* Docs section uses flex layout internally */
#section-docs.active {
    display: block;
}

#section-docs .flex {
    display: flex;
}

/* Custom scrollbar for docs sidebar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Docs Search Bar */
#docs-search {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.625rem 1rem 0.625rem 2.5rem;
    font-size: 0.875rem;
    color: #fff;
    transition: all 0.2s ease;
}

#docs-search::placeholder {
    color: #6b7280;
}

#docs-search:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Docs Navigation Links */
.doc-nav-link {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.doc-nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--text-muted);
}

.doc-nav-link.active {
    color: #fff;
    background: rgba(139, 92, 246, 0.15);
    border-left-color: var(--accent-primary);
}

/* Rate Limits Table Responsive */
@media (max-width: 768px) {
    .grid.grid-cols-5 {
        grid-template-columns: 1fr;
    }

    .grid.grid-cols-5>div {
        text-align: left !important;
        padding: 0.5rem 0;
    }
}

/* Sidebar Navigation */
.sidebar-nav,
.sidebar-nav-secondary {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Improved nav item styles */
.sidebar .nav-item {
    font-size: 0.875rem;
    font-weight: 500;
}

.sidebar .nav-item i {
    font-size: 1.125rem;
}

/* Docs Container */
.docs-container {
    height: 100%;
}

.docs-sidebar-nav {
    min-height: 100%;
    max-height: 100%;
}

/* Rate Limits Cards - Improved Design */
.rate-limits-table {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(10, 10, 15, 1), rgba(8, 8, 12, 1));
}

.rate-limits-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rate-limits-row {
    transition: background-color 0.2s ease;
}

.rate-limits-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* Mobile Responsive for Docs */
@media (max-width: 768px) {
    .docs-sidebar-nav {
        display: none;
    }

    .docs-container {
        flex-direction: column;
    }
}

/* Documentation Tab Buttons */
.doc-tab-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.doc-tab-btn.active {
    background: rgba(168, 85, 247, 0.1) !important;
    color: #fff !important;
    font-weight: 500;
    border-left: 2px solid #a855f7 !important;
}

/* Documentation Content Area - Fix Scroll */
#section-docs {
    height: 100%;
    overflow: hidden;
}

#section-docs .docs-container {
    height: 100%;
}

#section-docs main {
    overflow-y: auto !important;
    height: 100%;
    scroll-behavior: smooth;
}

#section-docs main::-webkit-scrollbar {
    width: 8px;
}

#section-docs main::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

#section-docs main::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

#section-docs main::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Documentation Sections */
#section-docs section {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   PREMIUM DOCUMENTATION STYLES
   ======================================== */

/* Documentation Sidebar - Enhanced */
.docs-sidebar-nav {
    background: linear-gradient(180deg, #0a0a0f 0%, #08080c 100%);
    border-right: 1px solid rgba(139, 92, 246, 0.1);
}

.docs-sidebar-nav nav {
    padding-bottom: 3rem;
}

/* Sidebar Section Headers */
.docs-sidebar-nav h4 {
    color: rgba(139, 92, 246, 0.6);
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

/* Doc Tab Buttons - Enhanced */
.doc-tab-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-left: 2px solid transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    font-family: inherit;
}

.doc-tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.doc-tab-btn:hover::before {
    left: 100%;
}

.doc-tab-btn:hover {
    color: #fff;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
    transform: translateX(4px);
}

.doc-tab-btn.active {
    color: #fff !important;
    font-weight: 500;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.15), rgba(99, 102, 241, 0.1)) !important;
    border-left: 3px solid #a855f7 !important;
    box-shadow: inset 0 0 20px rgba(139, 92, 246, 0.1);
}

/* Documentation Navigation Section */
.doc-nav-section {
    margin-bottom: 1.5rem;
}

.doc-nav-header {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(139, 92, 246, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.doc-nav-items {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Remove all list styling from docs sidebar */
.docs-sidebar-nav ul,
.docs-sidebar-nav li {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

.docs-sidebar-nav ul::before,
.docs-sidebar-nav li::before {
    display: none !important;
    content: none !important;
}

/* Documentation Main Content Area */
#section-docs main {
    background: linear-gradient(180deg, #050508 0%, #030305 100%);
}

/* Section Title Headers with Gradient */
#section-docs section h2 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

#section-docs section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #6366f1);
    border-radius: 2px;
}

/* Content Cards - Glass Effect */
#section-docs .bg-\[#0f0f13\] {
    background: linear-gradient(145deg, rgba(15, 15, 20, 0.9), rgba(10, 10, 15, 0.95)) !important;
    border: 1px solid rgba(139, 92, 246, 0.15) !important;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

#section-docs .bg-\[#0f0f13\]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
}

#section-docs .bg-\[#0f0f13\]:hover {
    border-color: rgba(139, 92, 246, 0.3) !important;
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px rgba(139, 92, 246, 0.15),
        0 4px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Code Blocks - Enhanced */
#section-docs pre {
    background: linear-gradient(145deg, #0d0d14, #080810) !important;
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

#section-docs pre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
}

#section-docs pre::after {
    content: '';
    position: absolute;
    top: 3px;
    right: 1rem;
    width: 8px;
    height: 8px;
    background: #8b5cf6;
    border-radius: 50%;
    box-shadow: -14px 0 0 #6366f1, -28px 0 0 #4f46e5;
    opacity: 0.6;
}

/* Inline Code */
#section-docs code:not(pre code) {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    padding: 0.15rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.85em;
    transition: all 0.2s ease;
}

#section-docs code:not(pre code):hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.2));
    border-color: rgba(139, 92, 246, 0.4);
}

/* Method Badges (POST, GET, etc) */
#section-docs .bg-green-500\/10 {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.1)) !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.1);
}

#section-docs .bg-blue-500\/10 {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(99, 102, 241, 0.1)) !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}

/* Section Dividers */
#section-docs section {
    position: relative;
}

/* Glow effect on section titles */
#section-docs section h2 {
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
}

/* Animated dots decoration */
#section-docs section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Lists - Enhanced */
#section-docs ul li {
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.2s ease;
}

#section-docs ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

#section-docs ul li:hover {
    transform: translateX(4px);
    color: #fff;
}

/* Alert/Info boxes */
#section-docs .bg-gradient-to-r {
    position: relative;
    overflow: hidden;
}

#section-docs .bg-gradient-to-r::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #6366f1);
}

/* Endpoint paths */
#section-docs .font-mono {
    letter-spacing: 0.02em;
}

/* Smooth hover for all interactive elements */
#section-docs [class*="hover:"] {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Search bar in docs sidebar - Enhanced */
#docs-search {
    background: linear-gradient(145deg, rgba(15, 15, 20, 0.9), rgba(10, 10, 15, 0.8)) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
    transition: all 0.3s ease;
}

#docs-search:focus {
    border-color: rgba(139, 92, 246, 0.5) !important;
    box-shadow:
        0 0 0 3px rgba(139, 92, 246, 0.1),
        0 0 20px rgba(139, 92, 246, 0.15) !important;
}

#docs-search::placeholder {
    color: rgba(139, 92, 246, 0.4);
}

/* Floating orbs animation for docs background */
@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(20px, -20px) scale(1.1);
        opacity: 0.8;
    }
}

#section-docs main::before {
    content: '';
    position: fixed;
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    animation: floatOrb 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

#section-docs main::after {
    content: '';
    position: fixed;
    bottom: 20%;
    left: 30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    animation: floatOrb 10s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 0;
}

/* Content stays above the orbs */
#section-docs main>div {
    position: relative;
    z-index: 1;
}

/* Pulse animation for active tab indicator */
@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.4);
    }

    50% {
        box-shadow: 0 0 0 4px rgba(168, 85, 247, 0);
    }
}

.doc-tab-btn.active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: #a855f7;
    border-radius: 0 2px 2px 0;
    animation: pulse 2s ease-in-out infinite;
}

/* Dashboard v4.0 - Vibrant & Live */
.dashboard-card {
    background: rgba(15, 15, 25, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    opacity: 0.5;
}

/* Specific glows for cards */
.card-tokens {
    border-bottom: 2px solid rgba(16, 185, 129, 0.3);
}

.card-requests {
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
}

.dashboard-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(20, 20, 35, 0.8);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #4ade80;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(74, 222, 128, 0.1);
    padding: 4px 8px;
    border-radius: 20px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: live-pulse 1.5s infinite;
}

@keyframes live-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    }

    70% {
        transform: scale(1.2);
        opacity: 0.5;
        box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Emoji Icons support */
.stat-icon {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.usage-bar-container {
    height: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 5px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-top: 12px;
}

.usage-bar {
    height: 100%;
    border-radius: 5px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px currentColor;
}

.log-entry:nth-child(even) {
    background: rgba(255, 255, 255, 0.01);
}

.status-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-success {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
}

.status-error {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
}

.log-entry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 12px 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    align-items: center;
}

.log-entry:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Scrollbar refine */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Pricing cards colors */
.pricing-card.basic {
    border-top: 4px solid #94a3b8;
}

.pricing-card.pro {
    border-top: 4px solid #8b5cf6;
    box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.2);
}

.pricing-card.mega {
    border-top: 4px solid #ec4899;
}

.pricing-card.enterprise {
    border-top: 4px solid #f59e0b;
}

/* === WHATSAPP PLAYGROUND THEME === */
.chat-container {
    background: #0b141a;
    /* Dark WhatsApp background */
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    /* Subtle WhatsApp pattern */
    background-repeat: repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 1.5rem;
    overflow: hidden;
}

.chat-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 20, 26, 0.95);
    z-index: 0;
}

.chat-messages {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.chat-bubble {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    word-wrap: break-word;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
    margin-bottom: 2px;
}

.chat-bubble.user {
    align-self: flex-end;
    background-color: #005c4b;
    /* WhatsApp user bubble color */
    color: #e9edef;
    border-top-right-radius: 0;
}

.chat-bubble.ai {
    align-self: flex-start;
    background-color: #202c33;
    /* WhatsApp AI bubble color */
    color: #e9edef;
    border-top-left-radius: 0;
}

.chat-time {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
    display: block;
    text-align: right;
}

.chat-header {
    background: #202c33;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 2;
}

.chat-header img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.chat-header-info {
    display: flex;
    flex-direction: column;
}

.chat-header-name {
    font-weight: 600;
    color: #e9edef;
    font-size: 0.9rem;
}

.chat-header-status {
    font-size: 0.7rem;
    color: #8696a0;
}

.chat-input-area {
    background: #202c33;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.chat-input-area textarea {
    background: #2a3942;
    border: none !important;
    border-radius: 8px;
    padding: 9px 12px;
    color: #d1d7db;
    font-size: 0.93rem;
    height: 40px;
    min-height: 40px;
}

/* Scrollbar for chat */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}