/* Utility Adjustments */
.stroke-text {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.05);
}

.text-balance {
    text-wrap: balance;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #020617;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #06b6d4;
}

/* SVG Animations */
.path-anim {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 3s ease-in-out infinite alternate;
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.5); }
}

/* Card Gradient Hover Effect */
.tech-card {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.3) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tech-card:hover {
    border-color: rgba(34, 211, 238, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.5), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.tech-card:hover::before {
    transform: translateX(100%);
}

.tech-card-number {
    font-family: 'JetBrains Mono', monospace;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    color: transparent;
}

/* Ecosystem Grid Item */
.eco-item {
    background: #020617;
    padding: 2rem;
    transition: background 0.3s;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.eco-item:hover {
    background: #080d1f;
}

.eco-item:hover i {
    color: #22d3ee;
    transform: scale(1.1);
}
