@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Space+Grotesk:wght@300..700&display=swap');

/* Removed @tailwind directives as they are not supported in standalone CSS without build step */

:root {
    /* Light Theme Colors */
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;

    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;

    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;

    --primary: 221.2 83.2% 53.3%;
    --primary-foreground: 210 40% 98%;

    --secondary: 210 40% 96.1%;
    --secondary-foreground: 222.2 47.4% 11.2%;

    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;

    --accent: 210 40% 96.1%;
    --accent-foreground: 222.2 47.4% 11.2%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;

    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 221.2 83.2% 53.3%;

    --radius: 0.75rem;
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Space Grotesk", sans-serif;
}

/* Utilities */
.container-custom {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, hsl(221.2, 83.2%, 53.3%), hsl(262.1, 83.3%, 57.8%));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.glass-card {
    background-color: hsl(var(--card) / 0.7);
    backdrop-filter: blur(24px);
    border: 1px solid hsl(var(--border) / 0.8);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.glass-card-hover {
    background-color: hsl(var(--card) / 0.7);
    backdrop-filter: blur(24px);
    border: 1px solid hsl(var(--border) / 0.8);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.glass-card-hover:hover {
    border-color: hsl(var(--primary) / 0.4);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }
}

.bg-section-alt {
    background-color: hsl(210, 40%, 98%);
}

.bg-grid-pattern {
    background-image:
        linear-gradient(hsl(var(--border)) 1px, transparent 1px),
        linear-gradient(90deg, hsl(var(--border)) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* --- Animations --- */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-fade-up {
    animation: fade-up 0.6s ease-out forwards;
}

@keyframes marquee-x {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.marquee-container {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    animation: marquee-x 15s linear infinite;
    width: max-content;
}

/* removed hover pause as per user request */

@keyframes fade-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Tech Hero Background --- */
.tech-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: hsl(var(--background));
    overflow: hidden;
}

/* Animated Grid */
.tech-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: techGridMove 20s linear infinite;
    opacity: 0.8;
}

@keyframes techGridMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 50px;
    }
}

/* Floating Particles/Glows */
.tech-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: techPulse 8s infinite alternate;
}

.tech-glow-1 {
    top: 20%;
    left: 20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
}

.tech-glow-2 {
    bottom: 20%;
    right: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    animation-delay: 2s;
}

@keyframes techPulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

/* --- Page Header Backgrounds --- */
.page-header-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 1) 100%);
    /* Adjust for Dark Mode if needed, but this is for Light Theme */
}


/* --- Enhanced FAQ --- */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    border-color: hsl(var(--primary) / 0.3);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: hsl(var(--primary));
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: hsl(var(--foreground));
}

.faq-question:hover {
    color: hsl(var(--primary));
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease;
    padding: 0 1.5rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    background-color: hsl(var(--muted) / 0.3);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 1.5rem;
    padding-top: 1rem;
    /* Add some space at top of answer */
    border-top: 1px solid hsl(var(--border) / 0.5);
}

.faq-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: hsl(var(--accent));
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon-wrapper {
    background-color: hsl(var(--primary));
    color: white;
    transform: rotate(180deg);
}


/* Custom Button Styles (Preserved) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    height: 2.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    transition-property: all;
    transition-duration: 300ms;
}

.btn-lg {
    height: 2.75rem;
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 1rem;
}

.btn-sm {
    height: 2.25rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    font-size: 0.875rem;
}

.btn-glow {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    box-shadow: 0 4px 14px 0 rgba(0, 118, 255, 0.39);
}

.btn-glow:hover {
    background-color: hsl(var(--primary) / 0.9);
    box-shadow: 0 6px 20px rgba(0, 118, 255, 0.23);
    transform: translateY(-1px);
}

/* Restored Hero Styles */
.hero-stats-card {
    background-color: hsl(var(--card) / 0.7);
    backdrop-filter: blur(24px);
    border: 1px solid hsl(var(--border) / 0.8);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-top: 5rem;
}

@media (min-width: 768px) {
    .hero-stats-card {
        padding: 2rem;
    }
}

/* Social Brand Colors on Hover */
/* Social Brand Colors on Hover - Removed as we are using colored icons directly */
/* Kept empty or basic hover effect if needed */

/* Utility */
.footer-social-link {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.footer-social-link:hover {
    transform: scale(1.2);
}

.btn-outline-light {
    border: 1px solid hsl(var(--input));
    background-color: transparent;
    color: hsl(var(--foreground));
}

.btn-outline-light:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
    border-color: hsl(var(--accent));
}

nav.scrolled {
    background-color: hsl(var(--background) / 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border) / 0.8);
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}