@layer utilities {
    .text-gradient {
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .bg-gradient-primary {
        background: linear-gradient(135deg, #D4AF37 0%, #B0C4DE 100%);
    }
    .bg-gradient-gold {
        background: linear-gradient(135deg, #D4AF37 0%, #F2D272 50%, #D4AF37 100%);
    }
    .text-gradient-gold {
        background-clip: text;
        -webkit-background-clip: text;
        background-image: linear-gradient(135deg, #D4AF37 0%, #F2D272 100%);
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
    .bg-gradient-light {
        background: linear-gradient(135deg, #F5F7FA 0%, #E4E7EB 100%);
    }
    .transition-all-300 {
        transition: all 300ms ease-in-out;
    }
    .card-hover {
        transition: all 0.3s ease;
    }
    .card-hover:hover {
        transform: translateY(-5px);
    }
}

/* Custom styles */
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: #121212;
    color: #F5F5F5;
}

.hero-section {
    background: linear-gradient(135deg, #0A0A0A 0%, #1E1E1E 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.section {
    padding: 6rem 0;
    background-color: #121212;
}

.service-card {
    transition: all 0.3s ease;
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: #1E1E1E;
    border: 1px solid #333333;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-icon {
    transition: all 0.3s ease;
    color: #D4AF37;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: #F2D272;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

/* AI Platform Selector */
.platform-selector {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.platform-selector::-webkit-scrollbar {
    display: none;
}

.platform-item {
    scroll-snap-align: start;
    flex: 0 0 auto;
    transition: all 0.3s ease;
    cursor: pointer;
}

.platform-item:hover {
    transform: translateY(-5px);
}

.platform-item {
    background-color: #1E1E1E;
    border: 1px solid #333333;
}

.platform-item.active {
    border-color: #D4AF37;
    background-color: rgba(212, 175, 55, 0.1);
}

/* Data visualization */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Animated numbers */
.counter-value {
    transition: all 0.5s ease;
}

/* Navbar styles */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
}
