:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --accent-color: #4cc9f0;
    --success-color: #2ec4b6;
    --warning-color: #ff9f1c;
    --info-color: #4895ef;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* Full-Height Layout for Sticky Footer */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

/* Navbar */
.navbar {
    border-radius: 15px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem;
    text-align: center;
}

/* Footer Social Icons */
.footer-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 8px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 18px;
    transition: 0.3s;
}

.footer-icons a:hover {
    background: var(--secondary-color);
}


body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.hero-section {
    background: linear-gradient(
        120deg,
        rgba(67, 97, 238, 0.9),
        rgba(58, 12, 163, 0.8)
    );
    color: white;
    border-radius: 20px;
    padding: 3rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 1rem;
        border-radius: 15px;
    }
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 576px) {
    .glass-card {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(
        120deg,
        var(--primary-color),
        var(--secondary-color)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.code-block {
    background-color: #2d3748;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 1.25rem;
    font-family: "Fira Code", monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    border: none;
    white-space: pre-wrap;
    word-break: break-word;
}

@media (max-width: 768px) {
    .code-block {
        font-size: 0.8rem;
        padding: 1rem;
    }
}

.code-header {
    background-color: #1a202c;
    padding: 0.5rem 1rem;
    border-radius: 8px 8px 0 0;
    color: #e2e8f0;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.code-copy-btn {
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    transition: color 0.2s;
}

.code-copy-btn:hover {
    color: white;
}

.api-endpoint {
    background: rgba(67, 97, 238, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 0.75rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1rem;
    overflow-x: auto;
    white-space: nowrap;
}

.nav-tabs {
    border-bottom: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
}

.nav-tabs::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    margin-right: 0.5rem;
    color: var(--dark-color);
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .nav-tabs .nav-link {
        padding: 0.5rem 1rem;
    }
}

.nav-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.tab-content {
    background: white;
    border-radius: 0 16px 16px 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

@media (max-width: 576px) {
    .tab-content {
        padding: 1rem;
    }
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(
        120deg,
        var(--primary-color),
        var(--secondary-color)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
}

.gradient-text {
    background: linear-gradient(
        120deg,
        var(--primary-color),
        var(--secondary-color)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

footer {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.btn-action {
    margin: 0.25rem;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

.img-responsive {
    max-width: 100px;
    height: auto;
}

@media (max-width: 576px) {
    .img-responsive {
        max-width: 80px;
    }
}
