/* =============================================================================
   GLOBAL BASE
   ============================================================================= */

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

a, button, input, select, textarea, [tabindex] {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* =============================================================================
   AMBIENT BACKGROUND
   ============================================================================= */

.ambient-blob {
    position: absolute;
    filter: blur(100px);
    opacity: 0.15;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
}

html.dark .ambient-blob {
    opacity: 0.1;
}

.tech-grid {
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(148, 163, 184, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

html.dark .tech-grid {
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* =============================================================================
   NAVIGATION
   ============================================================================= */

.glass-nav {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.3s ease;
}

html:not(.dark) .glass-nav {
    background: rgba(249, 248, 246, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

html.dark .glass-nav {
    background: rgba(2, 6, 23, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-dropdown {
    display: none;
}

.lang-container:hover .lang-dropdown {
    display: block;
}

/* =============================================================================
   CARDS
   ============================================================================= */

.ecosystem-card {
    transition:
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.ecosystem-card:hover {
    transform: translateY(-8px);
}

html:not(.dark) .ecosystem-card {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

html.dark .ecosystem-card {
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.3);
}

html:not(.dark) .ecosystem-card:hover {
    border-color: #d97706;
    box-shadow: 0 20px 40px -10px rgba(217, 119, 6, 0.15);
}

html.dark .ecosystem-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 20px 40px -10px rgba(245, 158, 11, 0.15);
}

.gateway-card {
    transition: all 0.3s ease;
}

.gateway-card:hover {
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.1);
}

/* =============================================================================
   TYPOGRAPHY HELPERS
   ============================================================================= */

.gradient-text {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html.dark .gradient-text-subtle {
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
