body {
    background-color: #030712;
    color: #f8fafc;
    -webkit-font-smoothing: antialiased;
    background-image: radial-gradient(circle at 50% 0%, #1e1b4b 0%, transparent 60%);
    background-attachment: fixed;
}
.bg-grid-white {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='rgb(255 255 255 / 0.04)'%3e%3cpath d='M0 .5H31.5V32'/%3e%3c/svg%3e");
}
.gradient-border {
    position: relative;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    border-radius: 0.75rem;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}
.gradient-border::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(99, 102, 241, 0.2),
    rgba(168, 85, 247, 0.1),
    rgba(255, 255, 255, 0)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}
.gradient-border:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 15px 30px -10px rgba(99, 102, 241, 0.2), 0 0 10px rgba(99, 102, 241, 0.1);
}
.gradient-border:hover::before {
    opacity: 1;
}
.text-gradient {
    background: linear-gradient(to right, #ffffff, #e2e8f0, #94a3b8, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 4s linear infinite;
}
@keyframes textShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
.perspective-container {
    perspective: 2000px;
}
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s ease;
}
.hero-tilt {
    transform: rotateX(8deg) rotateY(-4deg) rotateZ(1deg);
    box-shadow: -20px 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.8s ease-out;
}
.hero-tilt:hover {
    transform: rotateX(2deg) rotateY(-1deg) rotateZ(0deg) scale(1.02);
    box-shadow: -10px 10px 40px rgba(99, 102, 241, 0.2);
}
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    filter: blur(8px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.animate-float-delayed {
    animation: float 7s ease-in-out infinite;
    animation-delay: 2s;
}
.mask-radial-faded{mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 100%); -webkit-mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 100%);}

@media (prefers-reduced-motion: reduce) {
  .animate-pulse, .animate-float, .animate-fade-in-up, .animate-float-delayed {
    animation: none !important;
  }
}