body {
    margin: 0;
    overflow-x: hidden;
    background-color: #f8fafc;
    color: #1e293b;
    cursor: none;
}

#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    transition: opacity 0.5s ease;
}

#preloader .preloader-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    text-align: center;
}

#preloader .preloader-logo {
    order: 1;
    display: block;
    width: min(240px, 72vw);
    height: auto;
    object-fit: contain;
}

#preloader .preloader-spinner {
    order: 2;
    flex: 0 0 auto;
}

.cursor-dot,
.cursor-circle {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10000;
    transform: translate(-50%, -50%);
    border-radius: 9999px;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: #ff6d00;
}

.cursor-circle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 109, 0, 0.4);
    transition: width 0.3s, height 0.3s, background-color 0.3s, transform 0.3s;
}

body:hover .cursor-circle {
    opacity: 1;
}

#canvas-container {
    position: fixed;
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.6;
}

.glass-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: left 0.75s;
    pointer-events: none;
}

.glass-card:hover::after {
    left: 200%;
}

.glass-card:hover {
    border-color: #ff6d00;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 50px -10px rgba(255, 109, 0, 0.2);
    transform: translateY(-10px) scale(1.02);
}

.tilt-content {
    transform: translateZ(40px);
}

.text-gradient {
    background: linear-gradient(135deg, #ff6d00 0%, #ff4500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s ease-out;
}

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

.writing-vertical-lr {
    writing-mode: vertical-lr;
}

.perspective-1000 {
    perspective: 1000px;
}

.animation-delay-0 {
    animation-delay: 0s;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

.support-widget {
    animation-delay: 1s;
}

.mobile-menu-open {
    overflow: hidden;
}

.toast-message {
    position: fixed;
    left: 50%;
    top: 2rem;
    z-index: 10001;
    min-width: 280px;
    max-width: 90vw;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 109, 0, 0.15);
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.92);
    color: #ffffff;
    padding: 0.95rem 1.4rem;
    text-align: center;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(12px);
}

@media (max-width: 767px) {
    body {
        cursor: auto;
    }

    .cursor-dot,
    .cursor-circle {
        display: none !important;
    }
}
