:root {
    --accent: #8b5cf6;
    --accent-glow: rgba(139, 92, 246, 0.5);
    --bg-dark: #050505;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
}

* {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

.font-display {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.02em;
}

/* Texture Overlay */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3仿真%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Mesh Gradients */
.hero-gradient {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.mesh-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(at 0% 0%, rgba(76, 29, 149, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(124, 58, 237, 0.05) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(109, 40, 217, 0.1) 0px, transparent 50%);
    filter: blur(80px);
    z-index: 0;
}

/* Border Beam Animation */
.border-beam {
    position: relative;
    z-index: 1;
}

.border-beam::after {
    content: "";
    position: absolute;
    inset: -1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    background-size: 200% 100%;
    z-index: -1;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.5s;
    animation: beam 3s linear infinite;
}

.border-beam:hover::after {
    opacity: 1;
}

@keyframes beam {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Floating Animation */
.float {
    animation: float 8s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(3deg);
    }
}

.float-slow {
    animation: float 12s ease-in-out infinite;
    animation-delay: -4s;
}

/* Text Reveal Effect */
.reveal-text {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    transform: translateY(20px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-text.visible {
    transform: translateY(0);
    opacity: 1;
}

/* Glassmorphism */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

/* Luxury Button */
.btn-premium {
    background: white;
    color: black;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-premium:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-outline {
    border: 1px solid var(--card-border);
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s;
    background: transparent;
}

.btn-outline:hover {
    background: white;
    color: black;
    border-color: white;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Mouse Spotlight Effect */
#spotlight {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}




/* ================= CONTACT FORM ================= */

.form-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

/* Inputs & Textarea */
.form-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.25);
    color: #fff;
}

/* Remove default bootstrap shadow */
.form-control:focus-visible {
    outline: none;
}

/* Textarea resize */
textarea.form-control {
    resize: none;
}

/* Submit Button */
.btn-submit,
.btn-premium {
    background: #ffffff;
    color: #000;
    padding: 0.75rem 2.2rem;
    border-radius: 9999px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-submit:hover,
.btn-premium:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--accent-glow);
}

/* Disabled Button */
.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Glass Card */
.glass {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
}

/* Alerts */
.alert {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    color: #fff;
    border-radius: 12px;
    font-size: 0.9rem;
}

.alert-success {
    border-color: rgba(34, 197, 94, 0.4);
    color: #86efac;
}

.alert-danger {
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

/* Mobile Spacing */
@media (max-width: 768px) {
    .glass {
        padding: 1.5rem !important;
    }

    .btn-submit,
    .btn-premium {
        width: 100%;
    }
}
