* {
    font-family: 'Inter', sans-serif;
}

.gradient-text {
    /* background: linear-gradient(135deg, #818CF8 0%, #C084FC 100%); */
    background: linear-gradient(135deg, #818CF8 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.purple-glow {
    box-shadow: 0px 0px 100px rgba(129, 140, 248, 0.3);
}

.btn-gradient {
    background: linear-gradient(135deg, #818CF8 0%, #A78BFA 100%);
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #6366F1 0%, #9333EA 100%);
    transform: translateY(-2px);
    box-shadow: 0px 20px 60px -10px rgba(129, 140, 248, 0.5);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.show {
    transform: translateX(0);
}

html {
    overflow-x: hidden;
}

.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 30px 80px -20px rgba(129, 140, 248, 0.4);
}

#hero-animation-container canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: default;
    touch-action: pan-y; /* Allow vertical scrolling on mobile */
}

/* --- Interactive Tech Card Border --- */
#tech-card-interactive {
    overflow: hidden; /* Ensure gradient doesn't spill on sharp corners before border-radius is applied */
}

#tech-card-interactive::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 1rem; /* Tailwind's rounded-2xl */
    padding: 3px; /* Border thickness */
    background: radial-gradient(
        400px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
        rgba(192, 132, 252, 0.4), /* Light purple, semi-transparent */
        transparent 80%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* --- CTA Section Enhancement --- */
.cta-card {
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.cta-card:hover {
    transform: scale(1.02);
    box-shadow: 0px 40px 100px -20px rgba(129, 140, 248, 0.4);
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem; /* Tailwind's rounded-3xl */
    padding: 2px;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.5), rgba(129, 140, 248, 0.8));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out, background 0.3s ease-in-out;
}

.cta-card:hover::before {
    opacity: 1;
}

#cta-animation-container {
    filter: blur(1px); /* Soften the particles slightly */
}

/* Copy button and tooltip styles */
.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.copy-tooltip {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.copy-tooltip::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1f2937; /* Gray-800 */
}
