:root {
    --tusk-dark: #0F0F1E;
    --tusk-darker: #1A1A2E;
    --tusk-light: #E8E8F0;
    --tusk-teal: #4ECDC4;
    --tusk-yellow: #FFE66D;
    --tusk-coral: #FF6B6B;
    --tusk-purple: #777BB4;
    --sidebar-width: 360px;
    --header-height: 70px;
}

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

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: linear-gradient(135deg, var(--tusk-dark) 0%, var(--tusk-darker) 100%);
    color: var(--tusk-light);
    line-height: 1.6;
    min-height: 100vh;
}

/* Smooth animations */
* {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Progress indicator */
.progress-bar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tusk-teal) 0%, var(--tusk-yellow) 100%);
    z-index: 1001;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s ease;
}

/* Enhanced Footer Styles */
.apisdk-footer {
    background: linear-gradient(180deg, rgba(15, 15, 30, 0.95) 0%, rgba(10, 10, 20, 0.95) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
}

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

.footer-section h4 {
    color: var(--tusk-teal);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    color: var(--tusk-light);
    padding-left: 0.5rem;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--tusk-teal);
    transition: width 0.3s ease;
}

.footer-links a:hover::before {
    width: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-copyright {
    text-align: center;
    flex: 1;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

.footer-tagline {
    font-style: italic;
    color: rgba(255, 255, 255, 0.4);
}

.footer-badges {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-badges a {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 4px;
}

.footer-badges a:hover {
    background: rgba(78, 205, 196, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.2);
}

.footer-badges img {
    opacity: 0.6;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.footer-badges a:hover img {
    opacity: 1;
    transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-badges {
        justify-content: center;
    }
}
/* Enhanced Header Styles */
.apisdk-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    gap: 2rem;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.brand-link:hover {
    transform: scale(1.05);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--tusk-light);
    font-size: 1.5rem;
    cursor: pointer;
}

.header-search {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: var(--tusk-light);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    outline: none;
    border-color: var(--tusk-teal);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-nav .nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.header-nav .nav-link:hover {
    color: var(--tusk-light);
}

.header-nav .nav-link.active {
    color: var(--tusk-teal);
}

.header-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tusk-teal);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: var(--tusk-light);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--tusk-teal);
    transform: scale(1.1);
}

.get-started-btn {
    background: linear-gradient(135deg, var(--tusk-teal) 0%, var(--tusk-yellow) 100%);
    color: var(--tusk-dark);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(78, 205, 196, 0.3);
}

.get-started-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(78, 205, 196, 0.4);
}

/* Search Results */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.search-result {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-result:hover {
    background: rgba(255, 255, 255, 0.05);
}

.search-result:last-child {
    border-bottom: none;
}

.search-result-title {
    font-weight: 600;
    color: var(--tusk-teal);
    margin-bottom: 0.25rem;
}

.search-result-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-search {
        display: none;
    }
    
    .header-nav {
        display: none;
    }
    
    .apisdk-header {
        padding: 0 1rem;
    }
}

/* SDK Modal Styles */
.sdk-modal {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98) 0%, rgba(15, 15, 30, 0.98) 100%);
    margin: 5% auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 80%;
    max-width: 900px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    color: var(--tusk-light);
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--tusk-teal);
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
    max-height: 80vh;
    overflow-y: auto;
    color: var(--tusk-light);
}

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

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(78, 205, 196, 0.3);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(78, 205, 196, 0.5);
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.95) 0%, rgba(26, 26, 46, 0.95) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: start;
}

.footer-brand h3 {
    margin-bottom: 1rem;
    color: var(--tusk-light);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--tusk-teal);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.footer-copyright {
    text-align: center;
    flex: 1;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.footer-tagline {
    color: var(--tusk-teal);
    font-weight: 600;
}

.footer-badges {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.footer-badges a {
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-badges a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-badges {
        justify-content: center;
    }
}

