/* =========================================
   Premium Variables & Base Setup
   ========================================= */
:root {
    --primary-color: #009eff;
    --secondary-color: #8b4cf8;
    --accent-color: #00cfff;
    --bg-color: #ffffff;
    --surface-color: #f8fafc;
    --text-dark: #0f172a; 
    --text-muted: #64748b;
    --text-light: #ffffff;
    --font-en: 'Inter', sans-serif;
    --font-ar: 'Cairo', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-en);
    background-color: var(--bg-color);
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 24px 24px;
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

html[dir="rtl"] body { font-family: var(--font-ar); }

/* Language Toggle Logic */
.ar-text, html[dir="rtl"] .en-text, html[dir="rtl"] .block-en, .block-ar { display: none; }
html[dir="rtl"] .ar-text { display: inline-block; }
html[dir="rtl"] .block-ar { display: block; }

/* Typography */
h1, h2, h3, h4 { margin-bottom: 1rem; color: var(--text-dark); letter-spacing: -0.02em; }
h1 { line-height: 1.1; font-weight: 800; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; font-weight: 700; }
p { margin-bottom: 1rem; color: var(--text-muted); font-size: 1.1rem; }

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; border-radius: 50px; text-decoration: none;
    font-weight: 600; font-size: 1rem; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); gap: 8px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #007acc);
    color: var(--text-light); border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 20px -10px rgba(0, 158, 255, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 25px -10px rgba(0, 158, 255, 0.6); }
.btn-secondary {
    background-color: var(--bg-color); color: var(--text-dark);
    border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.btn-secondary:hover {
    border-color: var(--secondary-color); color: var(--secondary-color);
    transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

/* Navigation */
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5%; background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: fixed; width: 100%; top: 0; z-index: 1000;
}
.logo img { height: 42px; }

/* Layout Container */
section { padding: 120px 5% 80px; }
.container { max-width: 1300px; margin: 0 auto; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* =========================================
   Hero Section & Custom Icon Graphic
   ========================================= */
.hero {
    min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: 5rem; padding-top: 140px;
}
.hero-badge {
    display: inline-block; padding: 6px 16px; background: rgba(0, 158, 255, 0.1);
    color: var(--primary-color); border-radius: 30px; font-size: 0.85rem; font-weight: 600;
    margin-bottom: 1.5rem; border: 1px solid rgba(0, 158, 255, 0.2);
    text-transform: uppercase; letter-spacing: 1px;
}
.hero h1 { font-size: 3.5rem; }
.hero p { font-size: 1.25rem; margin-bottom: 2.5rem; max-width: 90%; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; width: 100%; height: 500px; }
.design-wrapper { position: relative; width: 100%; max-width: 450px; height: 450px; display: flex; justify-content: center; align-items: center; }

.blob { position: absolute; border-radius: 50%; filter: blur(40px); z-index: 1; opacity: 0.6; animation: moveBlobs 8s ease-in-out infinite alternate; }
.blob-1 { width: 250px; height: 250px; background: var(--primary-color); top: 0; left: -20px; }
.blob-2 { width: 200px; height: 200px; background: var(--secondary-color); bottom: 0; right: -20px; animation-delay: -4s; }
.blob-3 { width: 150px; height: 150px; background: var(--accent-color); top: 50%; left: 50%; transform: translate(-50%, -50%); animation-duration: 6s; }

.glass-card {
    position: relative; z-index: 2; width: 320px; height: 320px;
    background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-radius: 30px; border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    display: flex; justify-content: center; align-items: center;
    animation: elegantFloat 6s ease-in-out infinite;
}
.hero-icon { width: 180px; height: auto; filter: drop-shadow(0 10px 20px rgba(0, 158, 255, 0.3)); animation: pulse-icon 4s infinite alternate; }
.floating-element { position: absolute; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(5px); border-radius: 15px; border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 10px 25px rgba(0,0,0,0.05); z-index: 3; }
.el-1 { width: 80px; height: 80px; top: -20px; right: -20px; animation: elegantFloat 5s ease-in-out infinite alternate-reverse; }
.el-2 { width: 100px; height: 40px; bottom: 30px; left: -40px; border-radius: 20px; animation: elegantFloat 7s ease-in-out infinite alternate; }

/* =========================================
   Packages & Perfect Alignment
   ========================================= */
.packages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.package-card {
    background: var(--bg-color); padding: 2.5rem 2rem; border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0; position: relative; transition: all 0.3s ease;
    display: flex; flex-direction: column;
}
.package-card:hover { 
    transform: translateY(-8px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 158, 255, 0.3);
}
.package-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: #e2e8f0; border-radius: 20px 20px 0 0; transition: background 0.3s;
}
.package-card:hover::before { background: linear-gradient(to right, var(--primary-color), var(--secondary-color)); }

.badge {
    position: absolute; top: -12px; right: 20px;
    background: linear-gradient(135deg, var(--secondary-color), #6d28d9); color: white;
    padding: 4px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 700;
    box-shadow: 0 4px 10px rgba(139, 76, 248, 0.3);
}
html[dir="rtl"] .badge { right: auto; left: 20px; }

.package-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.price-time { color: var(--primary-color); font-weight: 600; margin-bottom: 1.5rem; font-size: 0.95rem; }

.package-card ul { list-style: none; margin-bottom: 2rem; flex-grow: 1; border-top: 1px solid #f1f5f9; padding-top: 1.5rem; }
.package-card li { margin-bottom: 1rem; padding-left: 1.8rem; position: relative; font-size: 0.95rem; color: var(--text-muted); }
html[dir="rtl"] .package-card li { padding-left: 0; padding-right: 1.8rem; }
.package-card li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-color); font-weight: bold; }
html[dir="rtl"] .package-card li::before { left: auto; right: 0; }

.card-cta-wrapper { margin-top: auto; padding-top: 1.5rem; width: 100%; }

/* =========================================
   Shared Interactive Cards (Why Us)
   ========================================= */
.interactive-card {
    background: var(--surface-color); padding: 2.5rem; border-radius: 16px; border: 1px solid #e2e8f0;
    position: relative; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); overflow: hidden; display: flex; flex-direction: column; gap: 1rem;
}

.interactive-card::before {
    content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    opacity: 0; transition: opacity 0.4s ease;
}
html[dir="rtl"] .interactive-card::before { left: auto; right: 0; }

.interactive-card:hover { transform: translateY(-6px); box-shadow: 0 15px 30px -5px rgba(0, 158, 255, 0.15); border-color: rgba(0, 158, 255, 0.3); }
.interactive-card:hover::before { opacity: 1; }

/* =========================================
   Creative & Interactive Process Section
   ========================================= */
.process-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.process-card {
    background: var(--surface-color);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.process-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(0, 158, 255, 0.25);
    border-color: transparent;
}

.process-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 2;
}

.process-card:hover::before { opacity: 1; }

.process-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 5.5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 158, 255, 0.15);
    line-height: 1;
    z-index: -1;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

html[dir="rtl"] .process-number { right: auto; left: 20px; }

.process-card:hover .process-number {
    transform: scale(1.05) translate(-5px, 5px);
    -webkit-text-stroke: 1px rgba(139, 76, 248, 0.3);
}

.step-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background: rgba(0, 158, 255, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-card:hover .step-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 20px rgba(0, 158, 255, 0.3);
}

.process-card svg {
    width: 32px;
    height: 32px;
    transition: all 0.3s;
}

.step-content { flex-grow: 1; z-index: 2; }

/* =========================================
   Creative FAQ Accordion
   ========================================= */
.faq-accordion { display: flex; flex-direction: column; gap: 1.2rem; max-width: 900px; margin: 3rem auto 0; }

.faq-item {
    background: var(--bg-color); border-radius: 16px; border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); position: relative;
}

.faq-item::before {
    content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    opacity: 0; transition: opacity 0.4s ease;
}
html[dir="rtl"] .faq-item::before { left: auto; right: 0; }

.faq-item:hover { transform: translateY(-4px); box-shadow: 0 15px 30px -5px rgba(0, 158, 255, 0.15); border-color: rgba(0, 158, 255, 0.3); }
.faq-item:hover::before { opacity: 1; }

.faq-question { padding: 1.5rem 2rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: var(--surface-color); transition: background 0.3s ease; }
.faq-question h4 { margin: 0; font-size: 1.15rem; transition: color 0.3s; }
.faq-item:hover .faq-question h4 { color: var(--primary-color); }

.faq-icon {
    width: 36px; height: 36px; border-radius: 50%; background: rgba(0, 158, 255, 0.1); 
    color: var(--primary-color); display: flex; justify-content: center; align-items: center;
    font-size: 1.5rem; font-weight: 400; line-height: 1; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0; margin-left: 1rem;
}
html[dir="rtl"] .faq-icon { margin-left: 0; margin-right: 1rem; }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease; background: var(--bg-color); padding: 0 2rem; }

.faq-item.active { box-shadow: 0 10px 25px -5px rgba(139, 76, 248, 0.15); border-color: rgba(139, 76, 248, 0.3); }
.faq-item.active::before { opacity: 1; background: var(--secondary-color); }
.faq-item.active .faq-icon { transform: rotate(135deg); background: var(--secondary-color); color: white; box-shadow: 0 4px 10px rgba(139, 76, 248, 0.4); }
.faq-item.active .faq-answer { max-height: 300px; padding: 1.5rem 2rem; }

/* =========================================
   The Problem Section Graphic
   ========================================= */
.problem-visual { position: relative; display: flex; justify-content: center; align-items: center; width: 100%; height: 400px; }
.problem-wrapper { position: relative; width: 100%; max-width: 350px; height: 350px; display: flex; justify-content: center; align-items: center; }

.problem-blob { position: absolute; border-radius: 50%; filter: blur(40px); z-index: 1; opacity: 0.5; animation: erraticFloat 6s ease-in-out infinite alternate; }
.pb-1 { width: 200px; height: 200px; background: #cbd5e1; top: 10%; left: 0; }
.pb-2 { width: 150px; height: 150px; background: var(--secondary-color); bottom: 10%; right: 0; animation-delay: -3s; }

.problem-glass-card {
    position: relative; z-index: 2; width: 280px; height: 320px;
    background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-radius: 20px; border: 2px dashed rgba(100, 116, 139, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05); display: flex; flex-direction: column;
    padding: 30px 20px; transform: rotate(-3deg); animation: erraticFloat 5s ease-in-out infinite;
}

.skeleton-box { background: rgba(100, 116, 139, 0.15); border-radius: 8px; margin-bottom: 15px; animation: pulseOpacity 2s infinite; }
.sk-img { height: 100px; width: 100%; border-radius: 12px; }
.sk-text-1 { height: 15px; width: 80%; }
.sk-text-2 { height: 15px; width: 60%; }
.sk-text-3 { height: 15px; width: 90%; }

.endless-spinner {
    width: 40px; height: 40px; border: 4px solid rgba(0, 158, 255, 0.2); border-top: 4px solid var(--primary-color);
    border-radius: 50%; margin: auto auto 0 auto; animation: spin 1s linear infinite;
}

.frustration-float {
    position: absolute; width: 45px; height: 45px; background: white; border-radius: 50%;
    display: flex; justify-content: center; align-items: center; font-weight: 800; font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); z-index: 3;
}
.ff-1 { color: #ef4444; top: -15px; right: -15px; animation: elegantFloat 4s ease-in-out infinite alternate-reverse; }
.ff-2 { color: var(--secondary-color); bottom: 40px; left: -25px; animation: elegantFloat 5s ease-in-out infinite alternate; font-size: 1.5rem; }

/* =========================================
   Upgraded Offer & Social Proof Banner
   ========================================= */
.offer-wrapper {
    max-width: 800px; margin: 0 auto; padding: 3.5rem 2rem;
    background: linear-gradient(135deg, rgba(0, 158, 255, 0.05), rgba(139, 76, 248, 0.1));
    border-radius: 24px; border: 2px solid rgba(139, 76, 248, 0.3);
    box-shadow: 0 15px 35px rgba(139, 76, 248, 0.15);
    position: relative; overflow: hidden; display: flex; flex-direction: column;
    align-items: center; text-align: center; animation: pulse-glow-box 3s infinite alternate;
}

.offer-wrapper::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 60%);
    animation: rotate-glow 10s linear infinite; z-index: 0; pointer-events: none;
}

.offer-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

.offer-badge {
    display: inline-block; background: linear-gradient(135deg, #ef4444, #f97316); color: white;
    padding: 6px 20px; border-radius: 30px; font-size: 0.9rem; font-weight: 800;
    letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.5rem;
    animation: gentle-bounce 2s infinite; box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.offer-wrapper h3 { font-size: 2rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.offer-wrapper p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2rem; }

.btn-offer {
    background: linear-gradient(135deg, #25D366, #128C7E); color: white; border: none;
    padding: 16px 36px; font-size: 1.1rem; border-radius: 50px; font-weight: 700;
    text-decoration: none; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    animation: pulse-btn 2s infinite; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px;
}
.btn-offer:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 15px 25px rgba(37, 211, 102, 0.6); color: white; }

/* =========================================
   Final CTA Section & Footer
   ========================================= */
.final-cta { 
    text-align: center; background: var(--text-dark); color: white;
    border-radius: 24px; padding: 5rem 2rem; position: relative; overflow: hidden;
}
.final-cta h2 { color: white; }
.final-cta p { color: #94a3b8; }
.final-cta::after { content: ''; position: absolute; top: 0; right: 0; width: 300px; height: 300px; background: radial-gradient(circle, rgba(139,76,248,0.3) 0%, transparent 70%); }

footer { background: #020617; color: white; text-align: center; padding: 4rem 5% 2rem; }
footer p, footer a { color: #64748b; text-decoration: none; font-size: 0.95rem; transition: color 0.3s; }
footer a:hover { color: var(--primary-color); }

/* =========================================
   Animations Keyframes
   ========================================= */
@keyframes elegantFloat { 0% { transform: translateY(0px); } 50% { transform: translateY(-12px); } 100% { transform: translateY(0px); } }
@keyframes erraticFloat { 0% { transform: translateY(0px) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(-4deg); } 100% { transform: translateY(0px) rotate(-2deg); } }
@keyframes pulseOpacity { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes moveBlobs { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -30px) scale(1.1); } 100% { transform: translate(-20px, 20px) scale(0.9); } }
@keyframes pulse-icon { 0% { transform: scale(1); } 100% { transform: scale(1.05); } }
@keyframes pulse-glow-box { 0% { box-shadow: 0 15px 35px rgba(139, 76, 248, 0.1); border-color: rgba(139, 76, 248, 0.2); } 100% { box-shadow: 0 15px 45px rgba(139, 76, 248, 0.35); border-color: rgba(139, 76, 248, 0.5); } }
@keyframes rotate-glow { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes gentle-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes pulse-btn { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { transform: scale(1.03); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================
   Responsive Constraints
   ========================================= */
@media (max-width: 1200px) {
    .packages-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 3rem; }
}
@media (min-width: 768px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .process-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
    .process-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; text-align: center; gap: 3rem; padding-top: 120px; }
    .hero-buttons { justify-content: center; }
    .hero p { margin: 0 auto 2.5rem; }
    .split-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .packages-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .offer-wrapper h3 { font-size: 1.5rem; }
    .offer-wrapper { padding: 2rem 1.5rem; }
}
/* =========================================
   Custom Floating Cursor
   ========================================= */
@media (pointer: fine) {
    * {
        cursor: none !important;
    }

    .custom-cursor {
        position: fixed;
        top: 0;
        left: 0;
        width: 0;
        height: 0;
        pointer-events: none;
        z-index: 99999;
        /* Smooth trailing effect */
        transition: left 0.1s ease-out, top 0.1s ease-out; 
    }

    .custom-cursor img {
        width: 35px;
        height: 35px;
        transform: translate(-50%, -50%);
        filter: drop-shadow(0 4px 6px rgba(0, 158, 255, 0.4));
        /* Default state: Gentle continuous floating */
        animation: cursorFloat 3s infinite alternate ease-in-out;
        transition: transform 0.3s ease, filter 0.3s ease;
    }

    /* What happens when the mouse is ACTIVELY MOVING */
    .custom-cursor.moving img {
        /* Brighter glow and a smooth spinning animation */
        filter: drop-shadow(0 0 15px rgba(0, 158, 255, 0.8));
        animation: spinMove 1s linear infinite;
    }

    /* What happens when hovering over a button or link */
    .custom-cursor.active img {
        transform: translate(-50%, -50%) scale(1.5) rotate(15deg);
        filter: drop-shadow(0 8px 15px rgba(139, 76, 248, 0.8));
        animation: none; /* Stop floating/spinning to focus on the button */
    }

    /* Keyframes */
    @keyframes cursorFloat {
        0% { transform: translate(-50%, -50%) rotate(-5deg); }
        100% { transform: translate(-50%, -60%) rotate(5deg); }
    }

    /* New Keyframe for Moving Animation */
    @keyframes spinMove {
        0% { transform: translate(-50%, -50%) rotate(0deg) scale(0.9); }
        100% { transform: translate(-50%, -50%) rotate(360deg) scale(0.9); }
    }
}

@media (pointer: coarse) {
    .custom-cursor {
        display: none;
    }
}