/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #00f0ff;
}

/* Custom Scrollbar for Modals */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.3);
    border-radius: 2px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 240, 255, 0.6);
}

/* Hide native browser date/time picker icons so our custom icons show clearly */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* ===== RESPONSIVE EXPANSION ===== */
/* Ensure full-width utilization on all screen sizes */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Make containers expand to fill available space */
.max-w-7xl {
    width: 100%;
    max-width: 100%;
}

@media (min-width: 1280px) {
    .max-w-7xl {
        max-width: 1280px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 1536px) {
    .max-w-7xl {
        max-width: 1400px;
    }
}

@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 1600px;
    }
}

/* Responsive grid improvements */
@media (min-width: 1400px) {
    .grid-cols-responsive {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1800px) {
    .grid-cols-responsive {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* Ensure images and media scale properly */
img, video, canvas {
    max-width: 100%;
    height: auto;
}

/* Responsive typography scaling */
@media (min-width: 1400px) {
    .font-display {
        font-size: 1.1em;
    }
}

@media (min-width: 1800px) {
    .font-display {
        font-size: 1.15em;
    }
}

/* Responsive padding adjustments for large screens */
@media (min-width: 1400px) {
    .responsive-padding {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1800px) {
    .responsive-padding {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

/* ===== END RESPONSIVE EXPANSION ===== */

/* Animations */
@keyframes pulse-slow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}
.animate-pulse-slow {
    animation: pulse-slow 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 240, 255, 0.2), 0 0 10px rgba(0, 240, 255, 0.1); }
    50% { box-shadow: 0 0 20px rgba(0, 240, 255, 0.4), 0 0 30px rgba(0, 240, 255, 0.2); }
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-hover:hover {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

/* Text Gradients */
.text-gradient {
    background: linear-gradient(135deg, #00f0ff 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Children Reveal */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger-children.active > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(7) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(8) { transition-delay: 0.8s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(9) { transition-delay: 0.9s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(10) { transition-delay: 1.0s; opacity: 1; transform: translateY(0); }

/* Service Item Hover Animations */
.service-item {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-item:hover {
    transform: translateX(8px);
    background: rgba(0, 240, 255, 0.05);
}
.service-item:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
    color: #00f0ff;
}
.service-icon {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.3), transparent);
}

/* Map Container Fixes */
.leaflet-container {
    background: #0f172a !important;
}

/* Button Glow */
.btn-glow {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.btn-glow:hover::before {
    left: 100%;
}

/* Modal Backdrop */
.modal-backdrop {
    background: rgba(5, 10, 20, 0.85);
    backdrop-filter: blur(8px);
}

/* Custom Checkbox/Radio */
.custom-radio:checked {
    background-color: #00f0ff;
    border-color: #00f0ff;
}

/* Grid Pattern for Areas */
.grid-pattern {
    background-image: radial-gradient(rgba(0, 240, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Chatbot Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Chatbot Pulse Animation */
@keyframes chatPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(0, 240, 255, 0);
    }
}

/* DTS Virtual Assistant Avatar */
@keyframes dtsAssistantFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes dtsAssistantWave {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-8deg) scale(1.05); }
    75% { transform: rotate(8deg) scale(1.05); }
}

@keyframes dtsAssistantTalk {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.3); }
    50% { transform: scale(1.04); box-shadow: 0 0 12px 2px rgba(0, 240, 255, 0.25); }
}

@keyframes dtsAssistantRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes dtsAssistantBubblePop {
    0% { opacity: 0; transform: translateY(8px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes dtsChatMsgIn {
    from { opacity: 0; transform: translateX(-12px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes dtsHeaderShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes dtsTypingDot {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1); }
}

.dts-assistant-avatar-wrap {
    position: relative;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}

.dts-assistant-avatar-wrap--sm {
    width: 2rem;
    height: 2rem;
}

.dts-assistant-avatar-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #00f0ff, #8b5cf6, #10b981, #00f0ff);
    animation: dtsAssistantRingSpin 6s linear infinite;
    opacity: 0.85;
}

.dts-assistant-avatar-inner {
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(15, 23, 42, 0.9);
    background: #1e293b;
}

.dts-assistant-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.dts-assistant-online-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #10b981;
    border: 2px solid #0f172a;
    border-radius: 50%;
    z-index: 2;
}

.dts-assistant--idle .dts-assistant-avatar-inner {
    animation: dtsAssistantFloat 3s ease-in-out infinite;
}

.dts-assistant--wave .dts-assistant-avatar-inner {
    animation: dtsAssistantWave 0.6s ease-in-out 3;
}

.dts-assistant--talk .dts-assistant-avatar-inner {
    animation: dtsAssistantTalk 0.5s ease-in-out infinite;
}

.dts-assistant--think .dts-assistant-avatar-ring {
    animation: dtsAssistantRingSpin 1.2s linear infinite;
}

.dts-assistant-toggle-ring {
    background: conic-gradient(from 0deg, #00f0ff, #8b5cf6, #10b981, #00f0ff);
    animation: dtsAssistantRingSpin 8s linear infinite;
}

.dts-assistant-toggle-img {
    transition: transform 0.3s ease;
}

#chat-toggle-btn:hover .dts-assistant-toggle-img {
    transform: scale(1.08);
}

.dts-assistant-header-shimmer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    animation: dtsHeaderShimmer 4s ease-in-out infinite;
}

.dts-assistant-bubble-animate {
    animation: dtsAssistantBubblePop 0.4s ease-out forwards;
}

.dts-chat-msg-in {
    animation: dtsChatMsgIn 0.35s ease-out;
}

.dts-typing-dots span {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-right: 3px;
    border-radius: 50%;
    background: #00f0ff;
    animation: dtsTypingDot 1.2s infinite;
}

.dts-typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.dts-typing-dots span:nth-child(3) { animation-delay: 0.3s; }

#chat-toggle-btn {
    animation: chatPulse 2s infinite;
}

#chat-toggle-btn:hover {
    animation: none;
}

/* Chatbot Responsive Adjustments */
@media (max-width: 640px) {
    #chat-window {
        width: calc(100vw - 2rem) !important;
        height: 70vh !important;
        max-height: 500px !important;
        right: 0 !important;
    }
    
    #chat-window .p-4 {
        padding: 0.75rem !important;
    }
    
    #chat-messages {
        padding: 0.75rem !important;
    }
    
    #chat-messages .text-sm {
        font-size: 0.8rem !important;
    }
    
    #chat-messages .text-xs {
        font-size: 0.7rem !important;
    }
    
    #chat-input {
        font-size: 0.875rem !important;
        padding: 0.5rem 0.75rem !important;
    }
    
    #chat-window .flex.gap-3 > div:first-child {
        width: 1.75rem !important;
        height: 1.75rem !important;
    }
    
    #chat-window .bg-white\/5 {
        max-width: 240px !important;
        padding: 0.625rem !important;
    }
    
    #chat-window .quick-actions button {
        font-size: 0.7rem !important;
        padding: 0.375rem 0.625rem !important;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    #chat-window {
        width: 360px !important;
        height: 550px !important;
    }
}

@media (min-width: 1025px) {
    #chat-window {
        width: 400px !important;
        height: 600px !important;
    }
}

/* Ensure chat window doesn't overflow on very small screens */
@media (max-width: 360px) {
    #chat-window {
        width: calc(100vw - 1.5rem) !important;
        right: -0.25rem !important;
    }
    
    #chat-window .p-4 {
        padding: 0.5rem !important;
    }
}
/* Pre-Order Countdown Banner Animations */
@keyframes bannerGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3), 0 0 40px rgba(0, 240, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.5), 0 0 60px rgba(0, 240, 255, 0.3);
    }
}

#preorder-banner {
    animation: bannerGlow 3s ease-in-out infinite;
}

#preorder-banner .animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Countdown number flip animation */
#countdown-display > div {
    transition: all 0.3s ease;
}

#countdown-display > div:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15);
}

/* Pre-order modal animations */
#preorder-modal {
    transition: opacity 0.3s ease;
}

#preorder-content {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Service card hover effects */
#preorder-modal .glass:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Button glow effect for pre-order */
#preorder-modal .btn-glow {
    position: relative;
    overflow: hidden;
}

#preorder-modal .btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

#preorder-modal .btn-glow:hover::before {
    left: 100%;
}

/* Responsive adjustments for countdown banner */
@media (max-width: 640px) {
    #preorder-banner .flex-col {
        gap: 0.75rem;
    }
    
    #countdown-display {
        gap: 0.25rem;
    }
    
    #countdown-display > div {
        min-width: 40px;
        padding: 0.25rem 0.5rem;
    }
    
    #countdown-display .text-lg {
        font-size: 1rem;
    }
    
    #preorder-banner button {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
}

/* Pre-order status badge animation */
@keyframes statusPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
}

#preorder-modal .bg-brand-emerald\/10 {
    animation: statusPulse 2s infinite;
}

/* Festive Confetti Animation */
@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Lottie Animation Container */
#lottie-celebration {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Festive Button Glow */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Pre-Order Badge Pulse */
@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(139, 92, 246, 0);
    }
}

#preorder-banner .animate-pulse {
    animation: badgePulse 2s infinite;
}

/* Rainbow Border Animation for Pre-Order Cards */
@keyframes rainbowBorder {
    0% { border-color: #8b5cf6; }
    25% { border-color: #00f0ff; }
    50% { border-color: #10b981; }
    75% { border-color: #fbbf24; }
    100% { border-color: #8b5cf6; }
}

#preorder-modal .glass:hover {
    animation: rainbowBorder 3s linear infinite;
}

/* Sparkle Effect */
@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.sparkle {
    animation: sparkle 1.5s ease-in-out infinite;
}

/* Gradient Text Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.text-gradient-animated {
    background: linear-gradient(90deg, #8b5cf6, #00f0ff, #10b981, #8b5cf6);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

/* Bounce Animation for Icons */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce-slow {
    animation: bounce 2s ease-in-out infinite;
}

/* Rotating Glow */
@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.rotate-glow {
    animation: rotateGlow 10s linear infinite;
}

/* Pre-Order Modal Backdrop Enhancement */
#preorder-modal {
    background: rgba(5, 10, 20, 0.9);
    backdrop-filter: blur(12px);
}

/* Service Card Hover Lift */
#preorder-modal .glass {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#preorder-modal .glass:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

/* Countdown Number Animation */
@keyframes numberFlip {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

#countdown-display > div > div:first-child {
    animation: numberFlip 0.3s ease-out;
}

/* Festive Background Gradient */
body.pre-order-active {
    background: linear-gradient(135deg, #050a14 0%, #1a0a2e 50%, #050a14 100%);
}

/* Glowing Border for Pre-Order Banner */
@keyframes glowBorder {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.5),
                    0 0 40px rgba(0, 240, 255, 0.3),
                    inset 0 0 20px rgba(16, 185, 129, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.7),
                    0 0 60px rgba(0, 240, 255, 0.5),
                    inset 0 0 30px rgba(16, 185, 129, 0.3);
    }
}

#preorder-banner {
    animation: glowBorder 3s ease-in-out infinite;
}

/* Responsive Lottie */
@media (max-width: 640px) {
    #lottie-celebration {
        width: 80px !important;
        height: 80px !important;
        top: 28px !important;
        right: 8px !important;
    }
}

/* Pre-Order Success Animation */
@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-pop {
    animation: successPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Floating Particles Animation */
.floating-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #8b5cf6, #00f0ff);
    border-radius: 50%;
    animation: floatParticle 8s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(30px, -30px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translate(-20px, -50px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translate(40px, -20px) scale(1.1);
        opacity: 0.7;
    }
}

/* Gradient Rotation Animation */
@keyframes gradientRotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animate-gradient-rotate {
    background-size: 200% 200%;
    animation: gradientRotate 3s ease infinite;
}

/* Text Glow Animation */
@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(139, 92, 246, 0.5),
                     0 0 20px rgba(0, 240, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(139, 92, 246, 0.8),
                     0 0 40px rgba(0, 240, 255, 0.5),
                     0 0 60px rgba(16, 185, 129, 0.3);
    }
}

.animate-text-glow {
    animation: textGlow 2s ease-in-out infinite;
}

/* Gradient Shift Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animate-gradient-shift {
    background-size: 200% auto;
    animation: gradientShift 3s linear infinite;
}

/* Sparkle Animation */
.sparkle {
    font-size: 24px;
    animation: sparkle 1.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}

/* Exciting Card Hover Effects */
#preorder-modal .glass {
    position: relative;
    overflow: hidden;
}

#preorder-modal .glass::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

#preorder-modal .glass:hover::before {
    opacity: 1;
    animation: shimmerCard 1.5s ease infinite;
}

@keyframes shimmerCard {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Exciting Button Animations */
#preorder-modal button {
    position: relative;
    overflow: hidden;
}

#preorder-modal button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

#preorder-modal button:hover::after {
    width: 300px;
    height: 300px;
}

/* Floating Icons Animation */
@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(5deg);
    }
    75% {
        transform: translateY(10px) rotate(-5deg);
    }
}

.animate-float-icon {
    animation: floatIcon 3s ease-in-out infinite;
}

/* Pulsing Border Animation */
@keyframes pulsingBorder {
    0%, 100% {
        border-color: rgba(139, 92, 246, 0.5);
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }
    50% {
        border-color: rgba(0, 240, 255, 0.8);
        box-shadow: 0 0 40px rgba(0, 240, 255, 0.5);
    }
}

.animate-pulsing-border {
    animation: pulsingBorder 2s ease-in-out infinite;
}

/* Confetti Burst Animation */
@keyframes confettiBurst {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) rotate(720deg);
        opacity: 0;
    }
}

.confetti-burst {
    animation: confettiBurst 2s ease-out forwards;
}

/* Price Tag Animation */
@keyframes priceTag {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.animate-price-tag {
    animation: priceTag 1.5s ease-in-out infinite;
}

/* Exciting Modal Backdrop */
#preorder-modal {
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.2), rgba(5, 10, 20, 0.95));
    backdrop-filter: blur(15px);
}

/* Service Card Excitement */
#preorder-modal .glass:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.4),
                0 0 100px rgba(0, 240, 255, 0.2);
}

/* Animated Checkmarks */
#preorder-modal .fa-check {
    animation: checkBounce 2s ease-in-out infinite;
}

@keyframes checkBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Exciting Scrollbar */
#preorder-modal .custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

#preorder-modal .custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

#preorder-modal .custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8b5cf6, #00f0ff);
    border-radius: 10px;
}

#preorder-modal .custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00f0ff, #10b981);
}

/* Floating Badge Animation */
@keyframes floatingBadge {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

.animate-floating-badge {
    animation: floatingBadge 3s ease-in-out infinite;
}

/* Exciting Icon Rotation */
@keyframes iconRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        transform: rotate(180deg) scale(1);
    }
    75% {
        transform: rotate(270deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.animate-icon-rotate {
    animation: iconRotate 4s linear infinite;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Exciting Banner Animations */
#preorder-banner {
    position: relative;
    overflow: hidden;
}

#preorder-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: bannerShimmer 4s linear infinite;
}

@keyframes bannerShimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Exciting Countdown Numbers */
#countdown-display > div {
    position: relative;
    overflow: hidden;
}

#countdown-display > div::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
}

/* Pulsing Rocket Icon */
#preorder-banner .fa-rocket {
    animation: rocketPulse 1.5s ease-in-out infinite;
}

@keyframes rocketPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 5px rgba(255,255,255,0.5));
    }
    50% {
        transform: scale(1.2) rotate(10deg);
        filter: drop-shadow(0 0 15px rgba(255,255,255,0.8));
    }
}

/* Exciting Button Hover Effects */
#preorder-banner button {
    position: relative;
    overflow: hidden;
}

#preorder-banner button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

#preorder-banner button:hover::before {
    width: 300px;
    height: 300px;
}

/* Animated Stars Background */
@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    animation: twinkle 2s ease-in-out infinite;
}

/* Exciting Modal Entry Animation */
@keyframes modalEntry {
    0% {
        transform: scale(0.5) rotate(-10deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

#preorder-modal.show-modal #preorder-content {
    animation: modalEntry 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Rainbow Text Animation */
@keyframes rainbowText {
    0% { color: #8b5cf6; }
    20% { color: #00f0ff; }
    40% { color: #10b981; }
    60% { color: #fbbf24; }
    80% { color: #ef4444; }
    100% { color: #8b5cf6; }
}

.animate-rainbow-text {
    animation: rainbowText 3s linear infinite;
}

/* Bouncing Arrow */
@keyframes bounceArrow {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}

.animate-bounce-arrow {
    animation: bounceArrow 1s ease-in-out infinite;
}

/* Exciting Service Card Entry */
@keyframes cardEntry {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#preorder-modal .glass {
    animation: cardEntry 0.5s ease-out forwards;
}

#preorder-modal .glass:nth-child(1) { animation-delay: 0.1s; }
#preorder-modal .glass:nth-child(2) { animation-delay: 0.2s; }
#preorder-modal .glass:nth-child(3) { animation-delay: 0.3s; }
#preorder-modal .glass:nth-child(4) { animation-delay: 0.4s; }
#preorder-modal .glass:nth-child(5) { animation-delay: 0.5s; }

/* Glowing Border Animation */
@keyframes glowingBorder {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.5),
                    inset 0 0 20px rgba(139, 92, 246, 0.1);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 240, 255, 0.7),
                    inset 0 0 40px rgba(0, 240, 255, 0.2);
    }
}

#preorder-modal .animate-pulsing-border {
    animation: glowingBorder 2s ease-in-out infinite;
}

/* ===== DYNAMIC RETENTION LAYER — Updated June 25, 2026 ===== */
body {
    padding-bottom: 64px;
}

#dts-rewards-bar {
    box-shadow: 0 -4px 24px rgba(0, 240, 255, 0.08);
}

#dts-rewards-bar.hidden-bar {
    transform: translateY(100%);
}

.retention-spotlight-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.retention-spotlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.08);
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

#live-activity-feed {
    transition: opacity 0.4s ease;
}

#success-story-content {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#health-score-ring {
    transition: stroke-dashoffset 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 640px) {
    body {
        padding-bottom: 72px;
    }
}

/* ===== SERVICES, COLLAB & WEBSITE BUILDER UX ===== */
.services-sidebar-btn-active,
.collab-sidebar-btn-active {
    background: rgba(0, 240, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.25) !important;
    color: #fff;
}

.site-nav-link-active {
    font-weight: 600;
}

.wb-spotlight-section {
    background: radial-gradient(ellipse at top, rgba(139, 92, 246, 0.08), transparent 55%);
}

.wb-float {
    animation: wbFloat 8s ease-in-out infinite;
}

.wb-float-delay {
    animation: wbFloat 8s ease-in-out infinite 2s;
}

@keyframes wbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.wb-progress-ring {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: conic-gradient(#8b5cf6 calc(var(--wb-pct, 0) * 1%), rgba(255,255,255,0.08) 0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.wb-progress-ring::after {
    content: attr(data-label);
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #0f172a;
    font-size: 8px;
    color: #00f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wb-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wb-step-dot-active {
    background: linear-gradient(135deg, #8b5cf6, #00f0ff);
    color: #fff;
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.5);
    transform: scale(1.1);
}

.wb-form-glow {
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.2), 0 8px 40px rgba(0, 0, 0, 0.3);
}

.wb-form-glow.wb-step-flash {
    animation: wbFormFlash 0.5s ease;
}

@keyframes wbFormFlash {
    0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4); }
    50% { box-shadow: 0 0 30px rgba(0, 240, 255, 0.25); }
    100% { box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.2); }
}

.wb-step-enter {
    animation: wbStepEnter 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes wbStepEnter {
    from { opacity: 0; transform: translateX(16px); }
    to { opacity: 1; transform: translateX(0); }
}

.wb-preview-updated {
    animation: wbPreviewPulse 0.4s ease;
}

@keyframes wbPreviewPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); box-shadow: 0 0 30px rgba(139, 92, 246, 0.3); }
    100% { transform: scale(1); }
}

.wb-icon-bounce {
    animation: wbIconBounce 2s ease infinite;
}

@keyframes wbIconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.wb-progress-glow {
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}

.website-builder-form-active {
    animation: wbFormGlow 3s ease-in-out infinite;
}

@keyframes wbFormGlow {
    0%, 100% { border-color: rgba(139, 92, 246, 0.3); }
    50% { border-color: rgba(0, 240, 255, 0.4); }
}

.admin-sidebar nav {
    overflow-y: auto;
}

@media (max-width: 639px) {
    .service-category-card .grid.lg\\:grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .service-category-card .relative.h-64 {
        height: 12rem;
    }

    #website-builder-section .order-1 {
        order: 1;
    }

    #website-builder-section .order-2 {
        order: 2;
    }
}

/* Feature showcase blocks (Custom Solutions + IT Health) */
.showcase-glow-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, rgba(0, 240, 255, 0.15) 50%, transparent 70%);
    border: 1px solid rgba(139, 92, 246, 0.35);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.25), inset 0 0 20px rgba(0, 240, 255, 0.1);
    animation: showcaseGlowPulse 3s ease-in-out infinite;
}

.showcase-cta-card {
    min-height: 320px;
}

@keyframes showcaseGlowPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(139, 92, 246, 0.2); transform: scale(1); }
    50% { box-shadow: 0 0 50px rgba(0, 240, 255, 0.25); transform: scale(1.03); }
}

.wb-interactive-reveal {
    animation: wbInteractiveReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes wbInteractiveReveal {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* DTS News & Updates horizontal ticker */
.dts-news-ticker {
    height: 2.25rem;
    background: linear-gradient(90deg, rgba(5, 10, 20, 0.98), rgba(15, 23, 42, 0.98));
    border-bottom: 1px solid rgba(16, 185, 129, 0.25);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
}

.dts-news-ticker-label {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
    align-items: center;
    gap: 0.4rem;
    padding: 0 0.85rem;
    background: linear-gradient(90deg, rgba(5, 10, 20, 1) 70%, transparent);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #10b981;
    border-right: 1px solid rgba(16, 185, 129, 0.2);
}

.dts-news-ticker-inner {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 0.25rem;
}

@media (min-width: 640px) {
    .dts-news-ticker-inner { padding-left: 5.5rem; }
}

.dts-news-ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: dtsTickerScroll 55s linear infinite;
    will-change: transform;
}

.dts-news-ticker-track:hover {
    animation-play-state: paused;
}

.dts-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0 1.25rem;
    white-space: nowrap;
    font-size: 0.72rem;
    color: #94a3b8;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.dts-ticker-item--highlight {
    color: #34d399;
    font-weight: 600;
}

.dts-ticker-item:hover {
    color: #00f0ff;
}

.dts-ticker-sep {
    color: rgba(255, 255, 255, 0.12);
    font-size: 0.45rem;
    user-select: none;
}

.dts-news-ticker-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2.5rem;
    pointer-events: none;
    z-index: 1;
}

.dts-news-ticker-fade--left {
    left: 0;
    background: linear-gradient(90deg, rgba(5, 10, 20, 1), transparent);
}

.dts-news-ticker-fade--right {
    right: 0;
    background: linear-gradient(270deg, rgba(5, 10, 20, 1), transparent);
}

@keyframes dtsTickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
