/* =============================================
   LOCALAI S.R.L. — ENTERPRISE WEBSITE
   Refined dark mode, no glassmorphism, no AI slop
   ============================================= */

/* Base & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0f1117;
    color: #a0a8b8;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* =============================================
   SURFACE CARDS (replaces glass-card)
   ============================================= */
.surface-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s ease;
}

.surface-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.surface-card-primary {
    background: rgba(79, 125, 245, 0.06);
    border: 1px solid rgba(79, 125, 245, 0.15);
}

/* =============================================
   TRUST STATS (inline in hero)
   ============================================= */
.trust-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trust-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f0f1f4;
    line-height: 1;
    font-family: 'Space Grotesk', sans-serif;
}

.trust-stat-label {
    font-size: 0.7rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* =============================================
   ECOSYSTEM GRID
   ============================================= */
.ecosystem-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.3s ease;
}

.ecosystem-card:hover {
    border-color: rgba(79, 125, 245, 0.3);
}

.ecosystem-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    background: rgba(79, 125, 245, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecosystem-icon i {
    font-size: 1.25rem;
    color: #4f7df5;
}

.ecosystem-title {
    font-size: 1rem;
    font-weight: 600;
    color: #f0f1f4;
    margin-bottom: 0.375rem;
    font-family: 'Space Grotesk', sans-serif;
}

.ecosystem-description {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
}

/* =============================================
   PLATFORM LAYERS (left border accent)
   ============================================= */
.platform-layer {
    border-left: 3px solid transparent;
}

.platform-layer-1 {
    border-left-color: #4f7df5;
}

.platform-layer-2 {
    border-left-color: #a78bfa;
}

.platform-layer-3 {
    border-left-color: #7c9cf5;
}

/* =============================================
   COMPARISON TABLE
   ============================================= */
.comparison-table {
    border-collapse: collapse;
    width: 100%;
}

.comparison-table th,
.comparison-table td {
    text-align: left;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 768px) {
    .trust-stat-value {
        font-size: 1rem;
    }
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Counter Animation Support */
.counter-animate {
    display: inline-block;
}

/* =============================================
   CUSTOM SCROLLBAR
   ============================================= */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0f1117;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}
