/* ===== Base Styles ===== */
:root {
    /* Dark Theme Color Palette */
    --primary-color: #6c5ce7;
    --primary-hover: #8577f0;
    --secondary-color: #a29bfe;
    --accent-color: #00cec9;
    --success-color: #00b894;
    --error-color: #ff7675;
    --warning-color: #fdcb6e;
    --info-color: #0984e3;
    
    /* Dark Mode Colors */
    --background-color: #121212;
    --card-background: #1e1e1e;
    --text-color: #e0e0e0;
    --text-muted: #9e9e9e;
    --border-color: rgba(255, 255, 255, 0.08);
    --highlight-color: rgba(108, 92, 231, 0.2);
    
    /* UI Elements */
    --border-radius-sm: 8px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    --hover-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    --glow: 0 0 15px rgba(108, 92, 231, 0.5);
    
    /* Animation */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --hover-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    --hover-transform: translateY(-5px);
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-xxl: 48px;
    
    /* Layout */
    --side-nav-width: 250px;
    --side-nav-collapsed: 70px;
    --header-height: 70px;
}

/* ===== New Components ===== */

/* Marquee Notification Bar */
.marquee-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 0;
    z-index: 1050;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.marquee-content {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.live-badge {
    background-color: var(--error-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 15px;
    animation: pulse 2s infinite;
}

.marquee-text {
    white-space: nowrap;
    overflow: hidden;
    flex-grow: 1;
}

.marquee-text span {
    display: inline-block;
    padding-right: 40px;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Visitor Counter */
.visitor-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--highlight-color);
    padding: 6px 12px;
    border-radius: 20px;
    margin-left: 15px;
    font-size: 14px;
    animation: fadeIn 1s ease-in-out;
}

.visitor-counter i {
    color: var(--primary-color);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    background-color: var(--card-background);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    min-width: 120px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* Real-time Elements Animation */
.realtime-update {
    animation: pulse 1.5s infinite;
}

/* Notification Dropdown Enhancements */
.notification-dropdown {
    width: 350px;
    max-height: 500px;
    overflow-y: auto;
}

.notification-item {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.notification-item:hover {
    background-color: var(--highlight-color);
}

.notification-item.unread {
    background-color: rgba(108, 92, 231, 0.1);
}

.notification-title {
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-time {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.notification-message {
    font-size: 14px;
    color: var(--text-muted);
}

/* Docs Section Enhancements */
.docs-container {
    display: flex;
    gap: 30px;
}

.docs-sidebar {
    flex: 0 0 250px;
    position: sticky;
    top: calc(var(--header-height) + 20px);
    height: calc(100vh - var(--header-height) - 40px);
    overflow-y: auto;
    padding-right: 10px;
}

.docs-content {
    flex: 1;
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.doc-section {
    margin-bottom: 40px;
}

.doc-section h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.doc-section h4 {
    margin-top: 25px;
    margin-bottom: 15px;
}

/* Pricing Section Enhancements */
.pricing-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

/* Status Section Enhancements */
.status-card {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.status-card.operational {
    background-color: rgba(0, 184, 148, 0.1);
    border-left: 5px solid var(--success-color);
}

.status-icon {
    font-size: 30px;
    margin-right: 20px;
}

.status-icon.operational {
    color: var(--success-color);
}

.status-details h4 {
    margin-bottom: 5px;
}

.incident-list {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    padding: 20px;
}

.incident-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.incident-item:last-child {
    border-bottom: none;
}

.incident-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 15px;
}

.incident-status.resolved {
    background-color: var(--success-color);
}

.incident-details h5 {
    margin-bottom: 5px;
}

.incident-time {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.incident-desc {
    font-size: 14px;
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.component-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.component-card.operational {
    border-left: 3px solid var(--success-color);
}

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

.status-dot.operational {
    background-color: var(--success-color);
}

.component-status {
    font-size: 12px;
    color: var(--text-muted);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .docs-container {
        flex-direction: column;
    }
    
    .docs-sidebar {
        position: static;
        height: auto;
        margin-bottom: 30px;
    }
    
    .components-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 992px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 400px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .status-overview {
        flex-direction: column;
    }
    
    .status-card {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .marquee-text span {
        animation: marquee 15s linear infinite;
    }
    
    .visitor-counter {
        display: none;
    }
}

@media (max-width: 576px) {
    .marquee-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .live-badge {
        margin-bottom: 5px;
    }
    
    .marquee-text {
        width: 100%;
        overflow: hidden;
    }
    
    .docs-content {
        padding: 20px;
    }
    
    .components-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Enhancements */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

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

.animate-delay-1s {
    animation-delay: 0.5s;
}

.animate-delay-2s {
    animation-delay: 1s;
}

/* Existing styles remain unchanged... */

//styles.css
:root {
    /* Dark Theme Color Palette */
    --primary-color: #6c5ce7;
    --primary-hover: #8577f0;
    --secondary-color: #a29bfe;
    --accent-color: #00cec9;
    --success-color: #00b894;
    --error-color: #ff7675;
    --warning-color: #fdcb6e;
    --info-color: #0984e3;
    
    /* Dark Mode Colors */
    --background-color: #121212;
    --card-background: #1e1e1e;
    --text-color: #e0e0e0;
    --text-muted: #9e9e9e;
    --border-color: rgba(255, 255, 255, 0.08);
    --highlight-color: rgba(108, 92, 231, 0.2);
    
    /* UI Elements */
    --border-radius-sm: 8px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    --hover-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    --glow: 0 0 15px rgba(108, 92, 231, 0.5);
    
    /* Animation */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --hover-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    --hover-transform: translateY(-5px);
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-xxl: 48px;
    
    /* Layout */
    --side-nav-width: 250px;
    --side-nav-collapsed: 70px;
    --header-height: 70px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: var(--header-height);
    height: 100%;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.5;
    transition: var(--transition);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Fixed scrolling issue by properly handling overflow */
body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

/* Main content wrapper with proper scrolling */
.main-content {
    flex: 1;
    overflow-y: auto;
    padding-top: var(--header-height);
}

/* Improved scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--card-background);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

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

/* Glow Effects */
.glow {
    box-shadow: var(--glow);
}

.glow-hover:hover {
    box-shadow: var(--glow);
}

.glow-text {
    text-shadow: 0 0 10px rgba(108, 92, 231, 0.7);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5em;
    color: var(--text-color);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 300%;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Buttons */
.btn {
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    transition: var(--hover-transition);
    padding: 0.5rem 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--highlight-color);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: var(--hover-transform);
    box-shadow: var(--hover-shadow), var(--glow);
    color: white;
}

.btn-primary:active {
    transform: translateY(-2px);
}

.btn-primary:disabled {
    background: linear-gradient(135deg, #9ba3eb, #a7c5eb);
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

/* Badge */
.badge-pill {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 100px;
    font-weight: 600;
    box-shadow: var(--shadow);
    white-space: nowrap;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideInRight {
    from { transform: translateX(20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

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

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

/* Spinner Animation */
@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124;
    }
}

@keyframes rotate-spinner {
    100% {
        transform: rotate(360deg);
    }
}

/* Glowing Spinner */
.glow-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.glow-spinner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, var(--primary-color) 0%, transparent 70%);
    filter: blur(5px);
    animation: pulse 2s infinite alternate;
}

.glow-spinner .spinner-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--primary-color);
    animation: rotate-spinner 1s linear infinite;
}

/* Layout Structure */
.main-wrapper {
    min-height: 100vh;
    margin-left: var(--side-nav-width);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.main-wrapper.nav-collapsed {
    margin-left: var(--side-nav-collapsed);
}

/* Side Navigation */
.side-nav {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: var(--side-nav-width);
    background-color: var(--card-background);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    overflow-x: hidden;
}

.side-nav.collapsed {
    width: var(--side-nav-collapsed);
}

.side-nav-logo {
    display: flex;
    align-items: center;
    padding: 0 24px;
    margin-bottom: 40px;
    gap: 10px;
}

.side-nav-logo #sideNavName {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    transition: var(--transition);
}

.side-nav.collapsed .side-nav-logo {
    justify-content: center;
    padding: 0;
}

.side-nav.collapsed .side-nav-logo #sideNavName {
    display: none;
}

.side-nav.collapsed #versionHeader {
    display: none;
}

.side-nav-links {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.side-nav-link {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    color: var(--text-muted);
    transition: var(--transition);
    margin: 4px 0;
    border-left: 3px solid transparent;
    gap: 12px;
}

.side-nav-link i {
    font-size: 1.25rem;
    min-width: 24px;
    text-align: center;
}

.side-nav-link:hover, .side-nav-link.active {
    color: var(--primary-color);
    background-color: var(--highlight-color);
    border-left-color: var(--primary-color);
}

.side-nav-link.admin-link {
    margin-top: auto;
    background: rgba(108, 92, 231, 0.1);
    border-left: 3px solid var(--primary-color);
}

.side-nav.collapsed .side-nav-link {
    justify-content: center;
    padding: 12px 0;
}

.side-nav.collapsed .side-nav-link span {
    display: none;
}

.nav-collapse-btn {
    position: absolute;
    top: 50%;
    right: -16px;
    width: 32px;
    height: 32px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 10;
}

.nav-collapse-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--glow);
}

.side-nav.collapsed .nav-collapse-btn i {
    transform: rotate(180deg);
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    height: var(--header-height);
    background-color: var(--card-background);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    padding: 0 24px;
    z-index: 100;
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    margin-right: 16px;
}

.music-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    margin-left: 10px;
}

.music-toggle:hover {
    color: var(--primary-color);
    background-color: var(--highlight-color);
}

.search-container {
    max-width: 500px;
    width: 100%;
    margin: 0 24px;
}

.input-group {
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    transition: var(--hover-transition);
    background-color: var(--card-background);
}

.input-group:focus-within {
    box-shadow: var(--hover-shadow), var(--glow);
    transform: translateY(-2px);
}

.input-group-text {
    background-color: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    padding-left: 20px;
}

#searchInput {
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    background-color: transparent;
    color: var(--text-color);
    flex: 1;
}

#searchInput:focus {
    box-shadow: none;
    outline: none;
}

#searchInput::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.clear-search {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 2;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.clear-search:hover {
    color: var(--primary-color);
    background-color: var(--highlight-color);
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.notification-bell {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50%;
}

.notification-bell:hover {
    color: var(--primary-color);
    background-color: var(--highlight-color);
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
    height: 18px;
    background-color: var(--error-color);
    color: white;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--glow);
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - var(--header-height));
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: slideInLeft 0.8s ease-out;
    position: relative;
    z-index: 5;
}

.hero-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

#name {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: var(--shadow);
    transition: var(--hover-transition);
    overflow: hidden;
}

.hero-actions a:hover {
    transform: var(--hover-transform);
    box-shadow: var(--hover-shadow), var(--glow);
}

.hero-actions a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
    transform: translateX(-100%);
    transition: 0.5s;
}

.hero-actions a:hover::before {
    transform: translateX(100%);
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 400px;
    animation: slideInRight 0.8s ease-out;
    z-index: 2;
}

.banner-container {
    width: 80%;
    height: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    transform: rotate(3deg);
    position: relative;
    z-index: 3;
}

.banner-container:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: var(--hover-shadow), var(--glow);
}

.banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.banner-container:hover .banner {
    transform: scale(1.05);
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    animation: float 10s infinite alternate;
    filter: blur(30px);
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: 80px;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 0;
    right: 20%;
    animation-delay: 2s;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    right: 10%;
    animation-delay: 4s;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

/* API Section */
.api-section {
    padding: 80px 40px;
    background-color: var(--background-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    color: var(--text-color);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 4px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 800px;
}

/* Category Section */
.category-section {
    margin-bottom: 60px;
    animation: slideInUp 0.6s ease-in-out both;
}

.category-header {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-color);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-left: 12px;
    border-left: 4px solid var(--primary-color);
}

.category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    transition: var(--hover-transition);
}

.category-image:hover {
    transform: scale(1.02);
    box-shadow: var(--hover-shadow);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

/* API Cards - New Style */
.api-item {
    margin-bottom: 24px;
    padding: 0 12px;
    transition: var(--hover-transition);
    opacity: 0;
    transform: translateY(20px);
}

.api-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

.hero-section {
    padding: 24px;
    background-color: var(--card-background);
    color: var(--text-color);
    border-radius: var(--border-radius);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--card-shadow);
    transition: var(--hover-transition);
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 50px 0;
    border-color: transparent var(--highlight-color) transparent transparent;
    transition: var(--transition);
    opacity: 0;
}

.hero-section:hover {
    box-shadow: var(--hover-shadow), var(--glow);
    transform: translateY(-5px);
}

.hero-section:hover::after {
    opacity: 1;
}

.hero-section > div {
    width: 65%;
}

.hero-section h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    transition: var(--transition);
    color: var(--text-color);
}

.hero-section .text-muted {
    color: var(--text-muted) !important;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5;
}

.api-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.get-api-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 10px 20px;
    transition: var(--hover-transition);
    font-weight: 500;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.get-api-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
    transform: translateX(-100%);
    transition: 0.5s;
}

.get-api-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow), var(--glow);
}

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

.api-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 50px;
    white-space: nowrap;
}

.status-ready {
    background-color: rgba(0, 184, 148, 0.15);
    color: var(--success-color);
}

.status-error {
    background-color: rgba(255, 118, 117, 0.15);
    color: var(--error-color);
}

.status-update {
    background-color: rgba(253, 203, 110, 0.15);
    color: var(--warning-color);
}

.api-status i {
    font-size: 10px;
}

.status-ready i {
    font-size: 8px;
}

.api-status span {
    margin-left: 5px;
}

/* No Results Message */
.no-results-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    animation: fadeIn 0.4s ease-in-out;
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    margin-top: var(--space-xl);
}

.no-results-message i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results-message p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.no-results-message span {
    font-weight: 600;
    color: var(--text-color);
}

.no-results-message .btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.no-results-message .btn:hover {
    transform: var(--hover-transform);
    box-shadow: var(--hover-shadow);
}

/* Pricing Section */
.pricing-section {
    padding: 80px 40px;
    background-color: var(--background-color);
}

.pricing-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    width: 300px;
    transition: var(--hover-transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 1px solid var(--primary-color);
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 0 0 5px 5px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.price {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 5px;
}

.price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
}

.features {
    margin-bottom: 30px;
}

.features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.features li i {
    width: 20px;
    text-align: center;
}

.features li i.fa-check {
    color: var(--success-color);
}

.features li i.fa-times {
    color: var(--error-color);
}

/* FAQ Section */
.faq-section {
    padding: 80px 40px;
    background-color: var(--background-color);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--hover-transition);
}

.accordion-item:hover {
    border-color: var(--primary-color);
}

.accordion-button {
    background-color: var(--card-background);
    color: var(--text-color);
    font-weight: 600;
    padding: 20px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--highlight-color);
}

.accordion-button::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.accordion-body {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

/* Changelog Section */
.changelog-section {
    padding: 80px 40px;
    background-color: var(--background-color);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 80px;
}

.timeline-date {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    padding: 5px 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.timeline-content {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.timeline-content h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.timeline-content ul {
    padding-left: 20px;
}

.timeline-content li {
    margin-bottom: 5px;
}

/* Analytics Section */
.analytics-section {
    padding: 80px 40px;
    background-color: var(--background-color);
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.analytics-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--hover-transition);
    border: 1px solid var(--border-color);
}

.analytics-card:hover {
    transform: translateY(-5px);
}

.analytics-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.analytics-header i {
    font-size: 24px;
    color: var(--primary-color);
}

.analytics-header h4 {
    font-size: 18px;
    margin: 0;
}

.analytics-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.analytics-trend {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.analytics-trend.up {
    color: var(--success-color);
}

.analytics-trend.down {
    color: var(--error-color);
}

.chart-container {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    height: 400px;
}

/* Footer */
.main-footer {
    margin-top: auto;
    padding: 30px 40px;
    background-color: var(--card-background);
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 14px;
}

.footer-middle {
    display: flex;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--background-color);
    color: var(--text-muted);
    transition: var(--transition);
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--glow);
}

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

.footer-link {
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 14px;
}

.footer-link:hover {
    color: var(--primary-color);
}

/* Modal */
.modal-content {
    background-color: var(--card-background);
    color: var(--text-color);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 24px;
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.modal-title {
    font-weight: 700;
    color: var(--text-color);
    font-size: 1.25rem;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 5px;
}

.btn-close {
    color: var(--text-color);
    opacity: 0.7;
    transition: var(--transition);
    background: none;
    border: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.btn-close:hover {
    opacity: 1;
    color: var(--primary-color);
    background-color: var(--highlight-color);
}

.modal-body {
    max-height: 65vh;
    overflow-y: auto;
    padding: 24px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--card-background);
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--card-background);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

.endpoint-container, .response-container {
    margin-bottom: 24px;
    animation: slideInUp 0.4s ease-in-out;
}

.endpoint-label, .response-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-color);
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.copy-btn:hover {
    color: var(--primary-color);
    background-color: var(--highlight-color);
}

.copy-success {
    color: var(--success-color) !important;
}

.code-block {
    background-color: var(--background-color);
    padding: 18px;
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    margin-bottom: 15px;
    overflow-x: auto;
    border: 1px solid var(--border-color);
    position: relative;
    line-height: 1.6;
}

/* Query Input Container */
.query-input-container {
    margin-bottom: 24px;
}

.param-container {
    margin-bottom: 20px;
    animation: slideInUp 0.4s ease-in-out;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 20px;
    border: 1px solid var(--border-color);
}

.param-form-title {
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.param-form-title i {
    color: var(--primary-color);
}

.param-group {
    margin-bottom: 20px;
    position: relative;
}

.param-label-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.form-label {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0;
}

.required-indicator {
    color: var(--error-color);
    font-weight: bold;
}

.param-info {
    color: var(--text-muted);
    font-size: 14px;
    cursor: help;
    transition: var(--transition);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.param-info:hover {
    color: var(--primary-color);
    background-color: var(--highlight-color);
}

.input-container {
    position: relative;
}

.custom-input {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 12px 15px;
    border-radius: 10px;
    transition: var(--transition);
    width: 100%;
    font-size: 15px;
}

.custom-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--highlight-color);
}

.custom-input.is-invalid {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(255, 118, 117, 0.1);
}

.shake-animation {
    animation: shake 0.4s ease-in-out;
}

.inner-desc {
    background-color: var(--highlight-color);
    color: var(--text-color);
    padding: 15px;
    border-radius: 10px;
    font-size: 14px;
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-left: 3px solid var(--primary-color);
}

.inner-desc i {
    color: var(--primary-color);
    margin-top: 2px;
}

/* Loading Spinner - New Style */
#apiResponseLoading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 180px;
    gap: 15px;
}

#apiResponseLoading p {
    color: var(--text-muted);
    font-weight: 500;
}

.glowing-spinner {
    width: 60px;
    height: 60px;
    position: relative;
}

.glowing-spinner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, var(--primary-color) 0%, transparent 70%);
    filter: blur(5px);
    animation: pulse 2s infinite alternate;
}

.spinner-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--primary-color);
    animation: rotate-spinner 1s linear infinite;
}
/* Visitors Section */
.visitors-section {
    padding: 80px 40px;
    background-color: var(--background-color);
}

.visitors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.visitors-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--hover-transition);
    border: 1px solid var(--border-color);
}

.visitors-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.visitors-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.visitors-header i {
    font-size: 24px;
    color: var(--primary-color);
}

.visitors-header h4 {
    font-size: 18px;
    margin: 0;
}

.visitors-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.visitors-list {
    max-height: 200px;
    overflow-y: auto;
}

.visitor-item {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}

.visitor-item:last-child {
    border-bottom: none;
}

.visitor-ip {
    font-family: monospace;
    color: var(--text-color);
}

.visitor-location {
    color: var(--text-muted);
    font-size: 14px;
}

.visitor-device {
    color: var(--accent-color);
    font-size: 14px;
}

.visitors-map {
    height: 200px;
    background-color: var(--background-color);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.visitors-table-container {
    overflow-x: auto;
    margin-top: 30px;
}

.visitors-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.visitors-table th, 
.visitors-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.visitors-table th {
    background-color: var(--highlight-color);
    color: var(--primary-color);
    font-weight: 600;
}

.visitors-table tr:hover {
    background-color: var(--highlight-color);
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.success {
    background-color: rgba(0, 184, 148, 0.2);
    color: var(--success-color);
}

.status-badge.error {
    background-color: rgba(255, 118, 117, 0.2);
    color: var(--error-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .visitors-grid {
        grid-template-columns: 1fr;
    }
    
    .visitors-table th, 
    .visitors-table td {
        padding: 8px 10px;
        font-size: 14px;
    }
}
/* Loading Screen */
#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.spinner-wrapper {
    text-align: center;
}

.spinner-wrapper p {
    color: var(--text-color);
    font-weight: 500;
    margin-top: 20px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.loading-dots {
    display: inline-block;
    width: 20px;
    text-align: left;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1060;
}

.toast {
    background-color: var(--card-background);
    color: var(--text-color);
    border: none;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow);
    overflow: hidden;
    border-left: 4px solid var(--primary-color);
    min-width: 300px;
}

.toast-header {
    background-color: var(--card-background);
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 15px;
}

.toast-icon {
    color: var(--primary-color);
}

.toast-title {
    font-weight: 600;
}

.toast-body {
    padding: 15px;
    font-size: 14px;
}

/* JSON Syntax Highlighting */
.json-string {
    color: var(--success-color);
}

.json-number {
    color: var(--accent-color);
}

.json-boolean {
    color: var(--primary-color);
}

.json-null {
    color: var(--error-color);
}

.json-key {
    color: var(--warning-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-section {
        flex-direction: column;
        padding: 60px 30px;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    #name {
        font-size: 3rem;
    }
    
    .hero-visual {
        width: 100%;
    }
    
    .banner-container {
        width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .main-wrapper {
        margin-left: 0;
    }
    
    .side-nav {
        transform: translateX(-100%);
        width: 280px;
    }
    
    .side-nav.active {
        transform: translateX(0);
    }
    
    .menu-toggle {
        display: block;
    }
    
    /* Improved mobile scrolling behavior */
    body.side-nav-active {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    .search-container {
        max-width: 300px;
    }
    
    .api-section, .hero-section, .pricing-section, .faq-section, .changelog-section, .analytics-section {
        padding: 40px 20px;
    }
    
    .modal-dialog {
        margin: 10px;
        max-width: 95%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 30px 20px;
    }
    
    #name {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-actions a {
        width: 100%;
    }
    
    .search-container {
        max-width: none;
        margin: 0 10px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .category-header {
        font-size: 24px;
    }
    
    .timeline::before {
        left: 40px;
    }
    
    .timeline-item {
        padding-left: 70px;
    }
    
    .timeline-date {
        width: 80px;
    }
}

@media (max-width: 576px) {
    .main-header {
        padding: 0 15px;
    }
    
    #name {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .api-section, .hero-section, .pricing-section, .faq-section, .changelog-section, .analytics-section {
        padding: 30px 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .get-api-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .hero-section > div {
        width: 100%;
    }
    
    .api-actions {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 10px;
    }
    
    .hero-section {
        flex-direction: column;
        padding: 15px;
    }
    
    .toast-container {
        left: 20px;
        right: 20px;
    }
    
    .toast {
        min-width: unset;
        width: calc(100% - 40px);
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-date {
        width: 40px;
        font-size: 12px;
        padding: 2px 5px;
    }
}
/* ===== General Enhancements ===== */
:root {
  --primary-color: #6c5ce7;
  --primary-dark: #5649c0;
  --secondary-color: #00cec9;
  --success-color: #00b894;
  --danger-color: #d63031;
  --warning-color: #fdcb6e;
  --info-color: #0984e3;
  --dark-color: #2d3436;
  --light-color: #f5f6fa;
  --gray-color: #636e72;
  --light-gray: #dfe6e9;
  
  --bg-dark: #1e272e;
  --bg-darker: #171e24;
  --card-dark: #2d3436;
  --text-light: #f5f6fa;
  --text-muted: #b2bec3;
  
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body.dark-mode {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

/* ===== New Components ===== */

/* API Status Components */
.status-section {
  padding: 2rem 0;
}

.status-overview {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.status-card {
  flex: 1;
  background-color: var(--card-dark);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--box-shadow);
}

.status-card.operational {
  border-left: 4px solid var(--success-color);
}

.status-card.degraded {
  border-left: 4px solid var(--warning-color);
}

.status-card.outage {
  border-left: 4px solid var(--danger-color);
}

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

.status-icon .operational {
  color: var(--success-color);
}

.status-icon .degraded {
  color: var(--warning-color);
}

.status-icon .outage {
  color: var(--danger-color);
}

.status-details h4 {
  margin-bottom: 0.5rem;
}

.status-history {
  flex: 1;
}

.incident-list {
  background-color: var(--card-dark);
  border-radius: var(--border-radius);
  padding: 1rem;
  box-shadow: var(--box-shadow);
}

.incident-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 1rem;
}

.incident-item:last-child {
  border-bottom: none;
}

.incident-status {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 0.5rem;
}

.incident-status.resolved {
  background-color: var(--success-color);
}

.incident-status.investigating {
  background-color: var(--warning-color);
}

.incident-status.identified {
  background-color: var(--info-color);
}

.incident-status.monitoring {
  background-color: var(--primary-color);
}

.incident-details h5 {
  margin-bottom: 0.25rem;
}

.incident-time {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.incident-desc {
  font-size: 0.9rem;
  line-height: 1.5;
}

.status-components {
  margin: 2rem 0;
}

.components-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.component-card {
  background-color: var(--card-dark);
  border-radius: var(--border-radius);
  padding: 1rem;
  box-shadow: var(--box-shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.component-card.operational {
  border-left: 3px solid var(--success-color);
}

.component-card.degraded {
  border-left: 3px solid var(--warning-color);
}

.component-card.outage {
  border-left: 3px solid var(--danger-color);
}

.component-name {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.status-dot.operational {
  background-color: var(--success-color);
}

.status-dot.degraded {
  background-color: var(--warning-color);
}

.status-dot.outage {
  background-color: var(--danger-color);
}

.component-status {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.status-subscribe {
  background-color: var(--card-dark);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: var(--box-shadow);
}

.subscribe-form {
  margin-top: 1rem;
}

/* Documentation Section */
.docs-section {
  padding: 2rem 0;
}

.docs-container {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.docs-sidebar {
  flex: 0 0 250px;
  background-color: var(--card-dark);
  border-radius: var(--border-radius);
  padding: 1rem;
  box-shadow: var(--box-shadow);
  max-height: 80vh;
  overflow-y: auto;
  position: sticky;
  top: 1rem;
}

.docs-content {
  flex: 1;
  background-color: var(--card-dark);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.docs-sidebar h4 {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.docs-nav {
  list-style: none;
  padding-left: 0;
}

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

.docs-nav a {
  color: var(--text-light);
  text-decoration: none;
  display: block;
  padding: 0.5rem;
  border-radius: 4px;
  transition: var(--transition);
}

.docs-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.docs-nav a.active {
  background-color: var(--primary-color);
  font-weight: 500;
}

/* Enhanced API Modal */
.query-input-container {
  margin: 1.5rem 0;
}

.query-params, .request-body, .headers-section {
  background-color: var(--bg-darker);
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-bottom: 1rem;
}

.query-params h6, .request-body h6, .headers-section h6 {
  margin-bottom: 1rem;
  font-weight: 600;
}

.params-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.param-item {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.param-item input {
  flex: 1;
}

.body-type-select {
  margin-bottom: 1rem;
  max-width: 150px;
}

.editor-container {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
}

#requestBodyEditor {
  width: 100%;
  min-height: 150px;
  background-color: var(--bg-darker);
  border: none;
  color: var(--text-light);
  padding: 1rem;
  font-family: monospace;
  border-radius: var(--border-radius);
}

.headers-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.header-item {
  display: flex;
  gap: 1rem;
}

.header-item input {
  flex: 1;
}

.add-header {
  margin-top: 0.5rem;
}

.response-meta {
  display: flex;
  gap: 1rem;
  margin-left: auto;
}

.response-status {
  font-weight: 600;
}

.response-status.success {
  color: var(--success-color);
}

.response-status.error {
  color: var(--danger-color);
}

.response-time {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.response-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.response-tab {
  padding: 0.5rem 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
}

.response-tab.active {
  color: var(--text-light);
  font-weight: 500;
}

.response-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

.response-content {
  position: relative;
}

.response-body, .response-headers, .response-cookies {
  min-height: 200px;
  max-height: 400px;
  overflow-y: auto;
}

/* Changelog Filter */
.changelog-filter {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background-color: var(--card-dark);
  border: none;
  border-radius: 20px;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active {
  background-color: var(--primary-color);
  font-weight: 500;
}

.badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
  margin-right: 0.5rem;
}

.feature-badge {
  background-color: rgba(108, 92, 231, 0.2);
  color: var(--primary-color);
}

.improvement-badge {
  background-color: rgba(253, 203, 110, 0.2);
  color: var(--warning-color);
}

.fix-badge {
  background-color: rgba(214, 48, 49, 0.2);
  color: var(--danger-color);
}

/* Pricing Toggle */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: var(--transition);
}

input:checked + .slider {
  background-color: var(--secondary-color);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.discount-badge {
  background-color: var(--success-color);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-left: 0.5rem;
}

/* Analytics Time Filter */
.analytics-time-filter {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.time-filter-btn {
  padding: 0.5rem 1rem;
  background-color: var(--card-dark);
  border: none;
  border-radius: 4px;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.time-filter-btn.active {
  background-color: var(--primary-color);
  font-weight: 500;
}

/* Notification Dropdown */
.notification-bell {
  position: relative;
  cursor: pointer;
}

.notification-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 350px;
  background-color: var(--card-dark);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1rem;
  z-index: 1000;
  display: none;
  margin-top: 0.5rem;
}

.notification-bell:hover .notification-dropdown {
  display: block;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.notification-header h5 {
  margin: 0;
}

#markAllAsRead {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 0.85rem;
}

.notification-list {
  max-height: 400px;
  overflow-y: auto;
}

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

.notification-item:last-child {
  border-bottom: none;
}

.notification-item.unread {
  background-color: rgba(108, 92, 231, 0.1);
  margin: -0.75rem;
  padding: 0.75rem;
  border-radius: 4px;
}

.notification-title {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.notification-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.notification-message {
  font-size: 0.9rem;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.25rem;
  cursor: pointer;
  margin: 0 0.5rem;
}

/* Footer Enhancements */
.main-footer {
  padding: 2rem 0;
  background-color: var(--bg-darker);
  margin-top: 3rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-left, .footer-middle, .footer-right {
  flex: 1;
}

.footer-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

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

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-link {
  color: var(--text-light);
  font-size: 1.25rem;
  transition: var(--transition);
}

.social-link:hover {
  color: var(--primary-color);
}

.newsletter h5 {
  margin-bottom: 1rem;
}

.newsletter-form .input-group {
  margin-top: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .docs-container {
    flex-direction: column;
  }
  
  .docs-sidebar {
    flex: 1;
    max-height: none;
    position: static;
  }
  
  .status-overview {
    flex-direction: column;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-middle {
    order: -1;
  }
}

@media (max-width: 768px) {
  .pricing-cards {
    flex-direction: column;
  }
  
  .components-grid {
    grid-template-columns: 1fr;
  }
  
  .header-actions {
    gap: 0.5rem;
  }
  
  .notification-dropdown {
    width: 280px;
    right: -100px;
  }
}

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

.notification-dropdown {
  animation: fadeIn 0.3s ease-out;
}

/* Glow Effects */
.glow-hover:hover {
  box-shadow: 0 0 15px rgba(108, 92, 231, 0.5);
  transition: var(--transition);
}

/* Loading Animation Enhancements */
.loading-dots::after {
  content: '...';
  animation: dotAnimation 1.5s infinite;
}

@keyframes dotAnimation {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}

/* Code Block Styling */
.code-block {
  background-color: var(--bg-darker);
  border-radius: var(--border-radius);
  padding: 1rem;
  font-family: monospace;
  overflow-x: auto;
  position: relative;
}

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

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

/* Table Styling */
.analytics-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.analytics-table th, 
.analytics-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.analytics-table th {
  font-weight: 500;
  color: var(--text-muted);
}

.trend-up {
  color: var(--success-color);
}

.trend-down {
  color: var(--danger-color);
}

/* API Filter Styling */
.api-filter {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-end;
}

.filter-group {
  flex: 1;
}

.filter-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

#resetFilters {
  margin-bottom: 0.5rem;
}
