/* OpenAI Style Theme */
:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f7f7f8;
    --color-text: #202123;
    --color-text-secondary: #565869;
    --color-primary: #10a37f;
    --color-primary-hover: #0d8c6f;
    --color-secondary: #19c37d;
    --color-accent: #ab68ff;
    --color-border: #e5e7eb;
    --color-card: #ffffff;
    --color-shadow: rgba(0, 0, 0, 0.08);
    --color-success: #10a37f;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-footer-bg: #343541;
    --color-footer-text: #ececf1;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-title: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    padding: 0.75rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.01em;
    font-family: var(--font-title);
    display: flex;
    align-items: center;
    gap: 0.875rem;
    cursor: pointer;
}

.nav-brand img {
    width: 40px;
    height: 40px;
    display: block;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    vertical-align: middle;
}

.nav-brand span {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    position: relative;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: color 0.2s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu a:hover {
    color: var(--color-text);
}

.github-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--color-text-secondary);
    transition: color 0.2s ease;
}

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

.github-link svg {
    display: block;
    width: 18px;
    height: 18px;
}

/* Hero Section */
.hero {
    padding: 12rem 0 10rem;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 50%, #f7f7f8 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(16, 163, 127, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(16, 163, 127, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(16, 163, 127, 0.03) 0%, transparent 70%);
    pointer-events: none;
    animation: heroGradient 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(16, 163, 127, 0.2) 50%, transparent 100%);
    pointer-events: none;
}

@keyframes heroGradient {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(2%, 2%) scale(1.05);
    }
}

.hero .container {
    max-width: 900px;
    overflow: visible;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    margin-top: 0.5rem;
    padding-top: 0.25rem;
    letter-spacing: -0.05em;
    line-height: 1.15;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text) 50%, rgba(16, 163, 127, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    animation: heroTitleFadeIn 1s ease-out;
    overflow: visible;
}

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

.hero-subtitle {
    font-size: 1.375rem;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.7;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    animation: heroSubtitleFadeIn 1s ease-out 0.2s both;
}

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

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    align-items: center;
    margin-top: var(--spacing-md);
    position: relative;
    z-index: 1;
    animation: heroButtonsFadeIn 1s ease-out 0.4s both;
    width: 100%;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 24px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(16, 163, 127, 0.25), 0 2px 4px rgba(16, 163, 127, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-hover) 0%, var(--color-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 163, 127, 0.35), 0 4px 8px rgba(16, 163, 127, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    font-weight: 500;
}

.btn-secondary:hover {
    background: var(--color-bg-alt);
    border-color: rgba(0, 0, 0, 0.25);
    color: var(--color-text);
}

/* Sections */
.section {
    padding: var(--spacing-xl) 0;
}

.section-alt {
    background-color: #f7f7f8;
}

.section-title {
    font-family: var(--font-family);
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.data-update-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    cursor: help;
    transition: color 0.2s ease;
    margin-left: 0.25rem;
}

.data-update-icon:hover {
    color: var(--color-primary);
}

.data-update-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.data-update-icon::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: var(--color-text);
    color: white;
    padding: 0.875rem 1.25rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.6;
    white-space: normal;
    max-width: 360px;
    min-width: 300px;
    text-align: left;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1000;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    word-wrap: break-word;
}

.data-update-icon::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-2px);
    border: 5px solid transparent;
    border-top-color: var(--color-text);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1000;
}

.data-update-icon:hover::before,
.data-update-icon:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.section-description {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

/* Grid */
.grid {
    display: grid;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.unified-grid .card {
    text-align: left;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.unified-grid .card-icon {
    font-size: 2.25rem;
    margin: 0 0 0.25rem;
}

/* Cards */
.card {
    background: var(--color-card);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px var(--color-shadow);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.card-title {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.card-description {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Statistics */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: var(--spacing-lg) 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: var(--color-card);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    text-align: center;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.stat-card:nth-child(1) {
    background: linear-gradient(135deg, #10a37f 0%, #0d8c6f 100%);
    color: white;
    border: none;
}

.stat-card:nth-child(2) {
    background: linear-gradient(135deg, #19c37d 0%, #10a37f 100%);
    color: white;
    border: none;
}

.stat-card:nth-child(3) {
    background: linear-gradient(135deg, #ab68ff 0%, #9333ea 100%);
    color: white;
    border: none;
}

.stat-card:nth-child(4) {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border: none;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.stats-section .stats-grid {
    gap: 1.25rem;
}

.stats-section .stat-card {
    padding: 1.5rem;
    border-radius: 14px;
}

.stats-section .stat-value {
    font-size: 2rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-family: var(--font-title);
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
    font-weight: 500;
}

/* Dashboard Carousel */
.dashboard-carousel {
    position: relative;
    max-width: 900px;
    margin: var(--spacing-lg) auto;
}

.dashboard-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.dashboard-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.dashboard-slide.active {
    display: block;
}

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

.dashboard-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.carousel-btn {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-text);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.carousel-btn:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(16, 163, 127, 0.25);
}

.dashboard-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
}

.dashboard-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dashboard-indicator.active {
    background: var(--color-primary);
    width: 24px;
    border-radius: 4px;
}

/* Charts */
.chart-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.chart-container canvas {
    max-height: 450px !important;
    height: 450px !important;
}

.chart-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    font-family: var(--font-title);
    letter-spacing: -0.01em;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 260px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.1);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(16, 163, 127, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(16, 163, 127, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    transform: scale(1.05);
}

.feature-title {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.feature-description {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

/* API Endpoints */
.api-endpoints {
    margin: var(--spacing-lg) 0;
}

.endpoint-card {
    display: flex;
    gap: var(--spacing-sm);
    background: var(--color-card);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.endpoint-card:hover {
    box-shadow: 0 4px 12px var(--color-shadow);
}

.endpoint-method {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    min-width: 60px;
    text-align: center;
    height: fit-content;
}

.endpoint-method.get {
    background: #e3f2fd;
    color: #1976d2;
}

.endpoint-path {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    font-family: 'Monaco', 'Courier New', monospace;
    display: block;
    margin-bottom: var(--spacing-xs);
}

.endpoint-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xs);
}

.endpoint-params {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-xs);
}

.param {
    padding: 0.25rem 0.5rem;
    background: var(--color-bg-alt);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    font-family: 'Monaco', 'Courier New', monospace;
}

.api-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-top: var(--spacing-md);
}

/* Code Examples */
.code-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 1.5rem;
    margin-top: var(--spacing-lg);
}

.code-block {
    background: #1e1e1e;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.code-block:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.15);
}

.code-header {
    background: #2d2d2d;
    padding: 0.875rem 1.25rem;
    font-size: 0.8125rem;
    color: #a0a0a0;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-title);
}

.code-block pre {
    padding: 1.5rem;
    overflow-x: auto;
    margin: 0;
    max-height: 500px;
    overflow-y: auto;
}

/* Elegant custom scrollbar */
.code-block pre::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.code-block pre::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.code-block pre::-webkit-scrollbar-thumb {
    background: #4a4a4a;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.code-block pre::-webkit-scrollbar-thumb:hover {
    background: #5a5a5a;
}

/* Firefox scrollbar */
.code-block pre {
    scrollbar-width: thin;
    scrollbar-color: #4a4a4a #1a1a1a;
}

.code-block code {
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.8;
    color: #e0e0e0;
    display: block;
}

/* Footer */
.footer {
    background: var(--color-footer-bg);
    padding: 2.5rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    flex: 1;
}

.footer-title {
    color: var(--color-footer-text);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: var(--font-title);
}

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

.footer-description {
    color: var(--color-footer-text);
    font-size: 0.875rem;
    opacity: 0.7;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links a {
    color: var(--color-footer-text);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
    opacity: 0.7;
    font-weight: 400;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-primary);
}

.footer-copyright a {
    color: var(--color-footer-text);
    text-decoration: none;
    transition: var(--transition);
}

.footer-copyright a:hover {
    text-decoration: underline;
    color: var(--color-footer-text);
}

.footer-link-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary) !important;
    opacity: 1 !important;
    font-weight: 500 !important;
}

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

.footer-link-highlight svg {
    width: 16px;
    height: 16px;
}

.footer-copyright {
    margin-top: 1.5rem;
    text-align: left;
}

.footer-copyright p {
    color: var(--color-footer-text);
    font-size: 0.8125rem;
    opacity: 0.6;
    margin: 0;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1002;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 1001;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        width: 100%;
        padding: 0.75rem 0;
        font-size: 1rem;
        font-weight: 500;
        color: var(--color-text);
    }
    
    .nav-menu a:hover {
        color: var(--color-primary);
    }
    
    /* Overlay when menu is open */
    .nav-menu::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: -1;
    }
    
    .nav-menu.active::after {
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-brand span {
        font-size: 1.125rem;
    }
    
    .nav-brand img {
        width: 32px;
        height: 32px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 8rem 0 6rem;
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .code-examples {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        margin: 0 auto;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        max-width: 100%;
    }
    
    .stat-card {
        padding: 1rem 0.75rem;
        border-radius: 10px;
    }
    
    .stats-section .stat-card {
        padding: 1rem 0.75rem;
        border-radius: 10px;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
    
    .stats-section .stat-value {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.625rem;
        letter-spacing: 0.05em;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .company-profiles-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .api-endpoints {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .results-table {
        font-size: 0.75rem;
    }
    
    .results-table th,
    .results-table td {
        padding: 0.75rem 0.5rem;
    }
    
    /* Mobile Footer */
    .footer {
        padding: 2rem 0 1.25rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
        padding-bottom: 1.25rem;
    }
    
    .footer-brand {
        width: 100%;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-bottom: 0.375rem;
    }
    
    .footer-description {
        font-size: 0.75rem;
    }
    
    .footer-links {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .footer-links a {
        font-size: 0.75rem;
        padding: 0.25rem 0;
    }
    
    .footer-link-highlight {
        font-size: 0.75rem;
    }
    
    .footer-link-highlight svg {
        width: 14px;
        height: 14px;
    }
    
    .footer-copyright {
        margin-top: 1.25rem;
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    .footer-copyright p {
        font-size: 0.6875rem;
    }
}

/* Search Section */
.search-container {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto;
}

.search-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--color-card);
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(16, 163, 127, 0.1);
}

.search-btn {
    padding: 0.875rem 2rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(16, 163, 127, 0.2);
}

.search-btn:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 163, 127, 0.3);
}

.search-results-table {
    max-width: 1400px;
    margin: 2rem auto;
        display: none;
    overflow-x: auto;
    }
    
.search-results-table.active {
    display: block;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.results-table thead {
    background: linear-gradient(135deg, #10a37f 0%, #19c37d 100%);
    color: white;
}

.results-table th {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.results-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.875rem;
    text-align: center;
}

.results-table tbody tr:hover {
    background: #f7f7f8;
}

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

/* Company Profiles */
.company-profiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: var(--spacing-lg);
}

@media (max-width: 1024px) {
    .company-profiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .company-profiles-grid {
        grid-template-columns: 1fr;
    }
}

.company-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.company-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
}

.company-logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.company-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8f9fa;
    padding: 8px;
    flex-shrink: 0;
}

.company-header-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.company-name-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.company-name {
    font-family: var(--font-title);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.company-ticker {
    background: rgba(16, 163, 127, 0.08);
    color: var(--color-primary);
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-title);
    border: 1px solid rgba(16, 163, 127, 0.2);
    display: inline-block;
    align-self: flex-start;
}

.company-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.company-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    line-height: 1.4;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.company-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.company-stat-label {
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 0.9375rem;
    min-width: 100px;
    letter-spacing: 0.01em;
}

.company-stat-value {
    color: var(--color-text);
    font-weight: 600;
    text-align: right;
    font-size: 1rem;
    font-family: var(--font-title);
    flex: 1;
    text-align: right;
    word-break: break-word;
}

.company-stat:not(:last-child) {
    border-bottom: 1px solid var(--color-bg-alt);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .nav-brand span {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .stat-card {
        padding: 0.75rem 0.5rem;
        border-radius: 8px;
    }
    
    .stats-section .stat-card {
        padding: 0.75rem 0.5rem;
        border-radius: 8px;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .stats-section .stat-value {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.5625rem;
        letter-spacing: 0.03em;
    }
    
    .nav-menu {
        width: 100%;
        right: -100%;
    }
    
    .nav-menu.active {
        right: 0;
    }
}

