/* ===== پایه (fallback) ===== */
:root {
    --bg: #0d0f14;
    --bg-soft: #161a22;
    --text: #eef1f6;
    --accent: #5eead4;
    --accent-2: #fb7185;
    --gradient-accent: linear-gradient(135deg, #5eead4 0%, #fb7185 100%);
    --border: rgba(94, 234, 212, 0.15);
    --border-soft: rgba(255, 255, 255, 0.06);
    --glass: rgba(255, 255, 255, 0.035);
    --shadow-glow: 0 0 40px rgba(94, 234, 212, 0.18);
}

*,*:hover{
  cursor: none;
}

/* ===== پالت‌ها روی html[data-palette="X"] ===== */
html[data-palette="midnight"] {
    --bg: #0d0f14;
    --bg-soft: #161a22;
    --text: #eef1f6;
    --accent: #5eead4;
    --accent-2: #fb7185;
    --gradient-accent: linear-gradient(135deg, #5eead4 0%, #fb7185 100%);
    --border: rgba(94, 234, 212, 0.15);
    --border-soft: rgba(255, 255, 255, 0.06);
    --glass: rgba(255, 255, 255, 0.035);
    --shadow-glow: 0 0 40px rgba(94, 234, 212, 0.18);
}

html[data-palette="aurora"] {
    --bg: #0a0f1c;
    --bg-soft: #111827;
    --text: #f0f4ff;
    --accent: #818cf8;
    --accent-2: #f472b6;
    --gradient-accent: linear-gradient(135deg, #818cf8 0%, #f472b6 100%);
    --border: rgba(129, 140, 248, 0.18);
    --border-soft: rgba(255, 255, 255, 0.06);
    --glass: rgba(255, 255, 255, 0.035);
    --shadow-glow: 0 0 40px rgba(129, 140, 248, 0.2);
}

html[data-palette="forest"] {
    --bg: #0b1410;
    --bg-soft: #13201a;
    --text: #ecf5ef;
    --accent: #4ade80;
    --accent-2: #fbbf24;
    --gradient-accent: linear-gradient(135deg, #4ade80 0%, #fbbf24 100%);
    --border: rgba(74, 222, 128, 0.18);
    --border-soft: rgba(255, 255, 255, 0.06);
    --glass: rgba(255, 255, 255, 0.035);
    --shadow-glow: 0 0 40px rgba(74, 222, 128, 0.18);
}

html[data-palette="sunset"] {
    --bg: #150a0e;
    --bg-soft: #21121a;
    --text: #fdf2f5;
    --accent: #fb923c;
    --accent-2: #ec4899;
    --gradient-accent: linear-gradient(135deg, #fb923c 0%, #ec4899 100%);
    --border: rgba(251, 146, 60, 0.18);
    --border-soft: rgba(255, 255, 255, 0.06);
    --glass: rgba(255, 255, 255, 0.035);
    --shadow-glow: 0 0 40px rgba(251, 146, 60, 0.2);
}

html[data-palette="ocean"] {
    --bg: #071018;
    --bg-soft: #0d1b26;
    --text: #ecf6fc;
    --accent: #38bdf8;
    --accent-2: #22d3ee;
    --gradient-accent: linear-gradient(135deg, #38bdf8 0%, #22d3ee 100%);
    --border: rgba(56, 189, 248, 0.18);
    --border-soft: rgba(255, 255, 255, 0.06);
    --glass: rgba(255, 255, 255, 0.035);
    --shadow-glow: 0 0 40px rgba(56, 189, 248, 0.2);
}

html[data-palette="mono"] {
    --bg: #0a0a0a;
    --bg-soft: #141414;
    --text: #f5f5f5;
    --accent: #fafafa;
    --accent-2: #a3a3a3;
    --gradient-accent: linear-gradient(135deg, #fafafa 0%, #a3a3a3 100%);
    --border: rgba(255, 255, 255, 0.14);
    --border-soft: rgba(255, 255, 255, 0.07);
    --glass: rgba(255, 255, 255, 0.04);
    --shadow-glow: 0 0 40px rgba(255, 255, 255, 0.12);
}

html[data-palette="royal"] {
    --bg: #0d0818;
    --bg-soft: #160f26;
    --text: #f3eefe;
    --accent: #a78bfa;
    --accent-2: #f0abfc;
    --gradient-accent: linear-gradient(135deg, #a78bfa 0%, #f0abfc 100%);
    --border: rgba(167, 139, 250, 0.2);
    --border-soft: rgba(255, 255, 255, 0.06);
    --glass: rgba(255, 255, 255, 0.035);
    --shadow-glow: 0 0 40px rgba(167, 139, 250, 0.22);
}

html[data-palette="candy"] {
    --bg: #0f0a14;
    --bg-soft: #1a1120;
    --text: #fbf0ff;
    --accent: #f472b6;
    --accent-2: #60a5fa;
    --gradient-accent: linear-gradient(135deg, #f472b6 0%, #60a5fa 100%);
    --border: rgba(244, 114, 182, 0.2);
    --border-soft: rgba(255, 255, 255, 0.06);
    --glass: rgba(255, 255, 255, 0.035);
    --shadow-glow: 0 0 40px rgba(244, 114, 182, 0.2);
}

html[data-palette="ember"] {
    --bg: #120a06;
    --bg-soft: #1e120b;
    --text: #fdf3eb;
    --accent: #f97316;
    --accent-2: #eab308;
    --gradient-accent: linear-gradient(135deg, #f97316 0%, #eab308 100%);
    --border: rgba(249, 115, 22, 0.2);
    --border-soft: rgba(255, 255, 255, 0.06);
    --glass: rgba(255, 255, 255, 0.035);
    --shadow-glow: 0 0 40px rgba(249, 115, 22, 0.2);
}

html[data-palette="sepia"] {
    --bg: #1a1510;
    --bg-soft: #251d16;
    --text: #f7f0e3;
    --accent: #d4a574;
    --accent-2: #a0522d;
    --gradient-accent: linear-gradient(135deg, #d4a574 0%, #a0522d 100%);
    --border: rgba(212, 165, 116, 0.2);
    --border-soft: rgba(255, 255, 255, 0.06);
    --glass: rgba(255, 255, 255, 0.035);
    --shadow-glow: 0 0 40px rgba(212, 165, 116, 0.18);
}

/* ===== تم روشن (override با specificity بالاتر) ===== */
html[data-theme="light"][data-palette="midnight"] {
    --bg: #f7f8fa;
    --bg-soft: #fff;
    --text: #10131a;
    --accent: #0d9488;
    --accent-2: #e11d48;
    --gradient-accent: linear-gradient(135deg, #0d9488 0%, #e11d48 100%);
    --border: rgba(13, 148, 136, 0.2);
    --border-soft: rgba(0, 0, 0, 0.06);
    --glass: rgba(0, 0, 0, 0.025);
    --shadow-glow: 0 0 40px rgba(13, 148, 136, 0.15);
}

html[data-theme="light"][data-palette="aurora"] {
    --bg: #f8f9ff;
    --bg-soft: #fff;
    --text: #0f1428;
    --accent: #4f46e5;
    --accent-2: #db2777;
    --gradient-accent: linear-gradient(135deg, #4f46e5 0%, #db2777 100%);
    --border: rgba(79, 70, 229, 0.2);
    --border-soft: rgba(0, 0, 0, 0.06);
    --glass: rgba(0, 0, 0, 0.025);
    --shadow-glow: 0 0 40px rgba(79, 70, 229, 0.15);
}

html[data-theme="light"][data-palette="forest"] {
    --bg: #f6faf7;
    --bg-soft: #fff;
    --text: #0f1a14;
    --accent: #16a34a;
    --accent-2: #d97706;
    --gradient-accent: linear-gradient(135deg, #16a34a 0%, #d97706 100%);
    --border: rgba(22, 163, 74, 0.2);
    --border-soft: rgba(0, 0, 0, 0.06);
    --glass: rgba(0, 0, 0, 0.025);
    --shadow-glow: 0 0 40px rgba(22, 163, 74, 0.15);
}

html[data-theme="light"][data-palette="sunset"] {
    --bg: #fff8f4;
    --bg-soft: #fff;
    --text: #231008;
    --accent: #ea580c;
    --accent-2: #db2777;
    --gradient-accent: linear-gradient(135deg, #ea580c 0%, #db2777 100%);
    --border: rgba(234, 88, 12, 0.2);
    --border-soft: rgba(0, 0, 0, 0.06);
    --glass: rgba(0, 0, 0, 0.025);
    --shadow-glow: 0 0 40px rgba(234, 88, 12, 0.15);
}

html[data-theme="light"][data-palette="ocean"] {
    --bg: #f5fbff;
    --bg-soft: #fff;
    --text: #081722;
    --accent: #0284c7;
    --accent-2: #0891b2;
    --gradient-accent: linear-gradient(135deg, #0284c7 0%, #0891b2 100%);
    --border: rgba(2, 132, 199, 0.2);
    --border-soft: rgba(0, 0, 0, 0.06);
    --glass: rgba(0, 0, 0, 0.025);
    --shadow-glow: 0 0 40px rgba(2, 132, 199, 0.15);
}

html[data-theme="light"][data-palette="mono"] {
    --bg: #fafafa;
    --bg-soft: #fff;
    --text: #111;
    --accent: #111;
    --accent-2: #555;
    --gradient-accent: linear-gradient(135deg, #111 0%, #555 100%);
    --border: rgba(0, 0, 0, 0.14);
    --border-soft: rgba(0, 0, 0, 0.07);
    --glass: rgba(0, 0, 0, 0.03);
    --shadow-glow: 0 0 40px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"][data-palette="royal"] {
    --bg: #faf7ff;
    --bg-soft: #fff;
    --text: #160c28;
    --accent: #7c3aed;
    --accent-2: #c026d3;
    --gradient-accent: linear-gradient(135deg, #7c3aed 0%, #c026d3 100%);
    --border: rgba(124, 58, 237, 0.2);
    --border-soft: rgba(0, 0, 0, 0.06);
    --glass: rgba(0, 0, 0, 0.025);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);
}

html[data-theme="light"][data-palette="candy"] {
    --bg: #fff7fb;
    --bg-soft: #fff;
    --text: #1e0a18;
    --accent: #db2777;
    --accent-2: #2563eb;
    --gradient-accent: linear-gradient(135deg, #db2777 0%, #2563eb 100%);
    --border: rgba(219, 39, 119, 0.2);
    --border-soft: rgba(0, 0, 0, 0.06);
    --glass: rgba(0, 0, 0, 0.025);
    --shadow-glow: 0 0 40px rgba(219, 39, 119, 0.15);
}

html[data-theme="light"][data-palette="ember"] {
    --bg: #fff9f2;
    --bg-soft: #fff;
    --text: #200f04;
    --accent: #c2410c;
    --accent-2: #a16207;
    --gradient-accent: linear-gradient(135deg, #c2410c 0%, #a16207 100%);
    --border: rgba(194, 65, 12, 0.2);
    --border-soft: rgba(0, 0, 0, 0.06);
    --glass: rgba(0, 0, 0, 0.025);
    --shadow-glow: 0 0 40px rgba(194, 65, 12, 0.15);
}

html[data-theme="light"][data-palette="sepia"] {
    --bg: #faf5eb;
    --bg-soft: #fff;
    --text: #241a0e;
    --accent: #8b5a2b;
    --accent-2: #6b3f1e;
    --gradient-accent: linear-gradient(135deg, #8b5a2b 0%, #6b3f1e 100%);
    --border: rgba(139, 90, 43, 0.2);
    --border-soft: rgba(0, 0, 0, 0.06);
    --glass: rgba(0, 0, 0, 0.025);
    --shadow-glow: 0 0 40px rgba(139, 90, 43, 0.15);
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    color: var(--accent);
    background: var(--glass);
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

p.lead {
    font-size: 18px;
    color: var(--text-soft);
    max-width: 600px;
    margin-bottom: 32px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 14px;
    background: var(--gradient-accent);
    color: var(--bg);
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-glow);
    transition: transform 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
}
.btn:hover {
    transform: translateY(-2px);
}

.btn-ghost {
    background: var(--glass);
    color: var(--text);
    border: 1px solid var(--border-soft);
    box-shadow: none;
    margin-inline-start: 10px;
}

/* ============ SWITCHER PANEL ============ */
.switcher-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient-accent);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        var(--shadow-glow),
        0 8px 24px rgba(0, 0, 0, 0.35);
    z-index: 9999;
    transition: transform 0.25s ease;
}
.switcher-toggle:hover {
    transform: scale(1.08) rotate(15deg);
}
.switcher-toggle svg {
    width: 24px;
    height: 24px;
    fill: var(--bg);
}

.switcher-panel {
    position: fixed;
    bottom: 84px;
    left: 20px;
    width: 280px;
    max-height: 70vh;
    overflow-y: auto;
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 18px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        var(--shadow-glow);
    z-index: 9998;
    opacity: 0;
    transform: translateY(10px) scale(0.96);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
}
.switcher-panel.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.switcher-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.switcher-header h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.theme-toggle {
    display: flex;
    gap: 4px;
    background: var(--glass);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 3px;
}
.theme-toggle button {
    background: transparent;
    border: none;
    padding: 6px 10px;
    border-radius: 7px;
    cursor: pointer;
    color: var(--text-soft);
    font-family: inherit;
    font-size: 12px;
    transition: all 0.2s;
}
.theme-toggle button.active {
    background: var(--accent);
    color: var(--bg);
}

.palette-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.palette-item {
    padding: 10px;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    background: var(--glass);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.palette-item:hover {
    border-color: var(--border);
    transform: translateY(-2px);
}
.palette-item.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 30%, transparent);
}

.palette-swatches {
    display: flex;
    gap: 3px;
    height: 22px;
}
.palette-swatches span {
    flex: 1;
    border-radius: 5px;
}

.palette-name {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-soft);
    text-align: center;
}

/* scrollbar */
.switcher-panel::-webkit-scrollbar {
    width: 5px;
}
.switcher-panel::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

/* ===================== Base Style =================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    transition:
        background 0.5s ease,
        color 0.5s ease;
    cursor: none;
}

.en {
    font-family: "Space Grotesk", sans-serif;
}

/* ============ PRELOADER ============ */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 100px;
    height: 100px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 900;
    color: white;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    animation: preloaderPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 80px -10px var(--accent);
}

@keyframes preloaderPulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 80px -10px var(--accent);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 120px -5px var(--accent-2);
    }
}

.preloader-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.2em;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--glass);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.preloader-bar span {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    animation: loadBar 1.8s ease-out forwards;
}

@keyframes loadBar {
    to {
        width: 100%;
    }
}

/* ============ CUSTOM CURSOR ============ */
.cursor-dot,
.cursor-ring {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    border-radius: 50%;
    transition:
        transform 0.15s ease,
        opacity 0.3s ease;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    transform: translate(-50%, -50%);
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 2px solid var(--accent);
    transform: translate(-50%, -50%);
    transition:
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        width 0.3s,
        height 0.3s,
        border-color 0.3s;
}

.cursor-ring.hover {
    width: 60px;
    height: 60px;
    border-color: var(--accent-2);
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor-dot,
    .cursor-ring {
        display: none;
    }
}

/* Aurora Background */
.aurora {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.aurora::before,
.aurora::after {
    content: "";
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    animation: float 20s ease-in-out infinite;
}

.aurora::before {
    background: radial-gradient(circle, var(--accent-2), transparent 70%);
    top: -20%;
    right: -10%;
}

.aurora::after {
    background: radial-gradient(circle, var(--accent), transparent 70%);
    bottom: -20%;
    left: -10%;
    animation-delay: -10s;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(5%, 5%) scale(1.15);
    }
}

.noise {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.05;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
}

.gold {
    background: linear-gradient(135deg, var(--accent), #f5d76e, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: shine 4s ease-in-out infinite;
}

@keyframes shine {
    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.btn-mystic {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.3s;
}

.btn-mystic::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    z-index: -1;
    transition: transform 0.5s;
    transform: translateY(100%);
}

.btn-mystic:hover::before {
    transform: translateY(0);
}

.btn-mystic:hover {
    transform: translateY(-2px);
}

.feature-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at var(--mx, 50%) var(--my, 50%),
        var(--accent),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.feature-card:hover::after {
    opacity: 0.15;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 60px -20px var(--accent);
}

#hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.theme-toggle {
    width: 60px;
    height: 32px;
    border-radius: 999px;
    background: var(--glass);
    border: 1px solid var(--border);
    position: relative;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.theme-toggle .knob {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

[data-theme="light"] .theme-toggle .knob {
    transform: translateX(-28px);
}

.marquee {
    display: flex;
    margin-right: -100%;
    gap: 3rem;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.bell-pulse::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 1s,
        transform 1s;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.split-bar {
    height: 12px;
    border-radius: 999px;
    overflow: hidden;
    display: flex;
    background: var(--glass);
    border: 1px solid var(--border);
}

.split-bar span {
    display: block;
    height: 100%;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-mock {
    box-shadow:
        0 0 0 1px var(--border),
        0 30px 80px -20px rgba(0, 0, 0, 0.6),
        0 0 100px -30px var(--accent);
}

@keyframes float-card {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(1deg);
    }
}

.animate-float {
    animation: float-card 5s ease-in-out infinite;
}

.space-x-reverse > * + * {
    margin-right: 0.75rem;
    margin-left: 0;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--accent), var(--accent-2));
    border-radius: 10px;
}

/* ============ FAQ ============ */
.faq-item {
    transition: all 0.4s ease;
}

.faq-item.open {
    border-color: var(--accent);
    background: var(--glass);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-item.open .faq-content {
    max-height: 500px;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-icon {
    transition: transform 0.4s ease;
}

/* ============ TESTIMONIALS SLIDER ============ */
.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ WHATSAPP FLOATING ============ */

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

@keyframes whatsappPulse {
    0%,
    100% {
        box-shadow: 0 10px 40px -10px rgba(37, 211, 102, 0.7);
    }

    50% {
        box-shadow: 0 10px 60px -5px rgba(37, 211, 102, 1);
    }
}

/* ============ LOTTIE ICONS ============ */
.lottie-icon {
    width: 56px;
    height: 56px;
}

/* ============ CURSOR LIGHT FOLLOW ============ */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(
        circle,
        rgba(212, 175, 55, 0.15),
        transparent 70%
    );
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    mix-blend-mode: screen;
}

[data-theme="light"] .cursor-glow {
    background: radial-gradient(
        circle,
        rgba(109, 40, 217, 0.08),
        transparent 70%
    );
    mix-blend-mode: multiply;
}
