@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@600;700&display=swap');

* {
    box-sizing: border-box;
}

/* Custom utility classes */
.glass-card {
    background-color: hsl(221, 39%, 11%, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid hsl(217, 30%, 18%, 0.5);
    border-radius: 1rem;
    box-shadow: 0 8px 32px 0 rgba(37, 99, 235, 0.08);
}

.glass-card-hover {
    background-color: hsl(221, 39%, 11%, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid hsl(217, 30%, 18%, 0.5);
    border-radius: 1rem;
    transition: all 0.3s ease-out;
}

.glass-card-hover:hover {
    border-color: hsl(217, 91%, 53%, 0.4);
    box-shadow: 0 8px 40px 0 rgba(37, 99, 235, 0.15), 0 0 20px 0 rgba(0, 229, 255, 0.05);
    transform: translateY(-2px);
}

.glow-text {
    text-shadow: 0 0 40px rgba(37, 99, 235, 0.4), 0 0 80px rgba(0, 229, 255, 0.15);
}

.glow-border {
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2), inset 0 0 15px rgba(37, 99, 235, 0.05);
}

.glow-button {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4), 0 0 40px rgba(37, 99, 235, 0.15);
}

.glow-button:hover {
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.6), 0 0 60px rgba(37, 99, 235, 0.25);
}

.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg, hsl(217, 91%, 53%), hsl(186, 100%, 50%));
}

.section-glow {
    position: relative;
}

.section-glow::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, hsl(217, 91%, 53%, 0.4), hsl(186, 100%, 50%, 0.2), transparent);
}

.grid-bg {
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Scroll animations */
.section-content,
.hero-content,
.hero-image,
.feature-card,
.usecase-card,
.industry-card,
.pillar-card,
.case-study-card {
    opacity: 0;
    animation: fade-up 0.6s ease-out forwards;
}

.section-content.visible,
.hero-content.visible,
.hero-image.visible,
.feature-card.visible,
.usecase-card.visible,
.industry-card.visible,
.pillar-card.visible,
.case-study-card.visible {
    animation: fade-up 0.6s ease-out forwards;
}

/* Feature card stagger */
.feature-card[data-delay="1"] { animation-delay: 0.06s; }
.feature-card[data-delay="2"] { animation-delay: 0.12s; }
.feature-card[data-delay="3"] { animation-delay: 0.18s; }
.feature-card[data-delay="4"] { animation-delay: 0.24s; }
.feature-card[data-delay="5"] { animation-delay: 0.3s; }
.feature-card[data-delay="6"] { animation-delay: 0.36s; }
.feature-card[data-delay="7"] { animation-delay: 0.42s; }
.feature-card[data-delay="8"] { animation-delay: 0.48s; }
.feature-card[data-delay="9"] { animation-delay: 0.5s; }
.feature-card[data-delay="10"] { animation-delay: 0.5s; }
.feature-card[data-delay="11"] { animation-delay: 0.5s; }

/* Use case card stagger */
.usecase-card[data-delay="1"] { animation-delay: 0.08s; }
.usecase-card[data-delay="2"] { animation-delay: 0.16s; }
.usecase-card[data-delay="3"] { animation-delay: 0.24s; }
.usecase-card[data-delay="4"] { animation-delay: 0.32s; }
.usecase-card[data-delay="5"] { animation-delay: 0.4s; }
.usecase-card[data-delay="6"] { animation-delay: 0.48s; }
.usecase-card[data-delay="7"] { animation-delay: 0.56s; }

/* Industry card stagger */
.industry-card[data-delay="1"] { animation-delay: 0.08s; }
.industry-card[data-delay="2"] { animation-delay: 0.16s; }
.industry-card[data-delay="3"] { animation-delay: 0.24s; }
.industry-card[data-delay="4"] { animation-delay: 0.32s; }
.industry-card[data-delay="5"] { animation-delay: 0.4s; }
.industry-card[data-delay="6"] { animation-delay: 0.48s; }
.industry-card[data-delay="7"] { animation-delay: 0.56s; }
.industry-card[data-delay="8"] { animation-delay: 0.5s; }

/* Pillar card stagger */
.pillar-card[data-delay="1"] { animation-delay: 0.15s; }
.pillar-card[data-delay="2"] { animation-delay: 0.3s; }

/* Case study card */
.case-study-card { animation-delay: 0.15s; }

/* Keyframes */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: hsl(222, 47%, 7%);
}

::-webkit-scrollbar-thumb {
    background: hsl(217, 91%, 53%, 0.4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: hsl(217, 91%, 53%, 0.6);
}

/* Form styling */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: hsl(217, 91%, 53%, 0.5) !important;
}

input::placeholder,
textarea::placeholder {
    color: hsl(218, 11%, 65%, 0.7);
}

select option {
    background-color: hsl(222, 47%, 7%);
    color: hsl(210, 20%, 98%);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .grid-bg {
        background-size: 40px 40px;
    }
}

@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
