/* ================================
   AiSells — Main Styles
   ================================ */

/* Base */
body {
    background-color: #f2f2f2;
    color: #0a0a0a;
}

/* Hide default cursor only on desktop */
@media (min-width: 768px) {
    body { cursor: none; }
}

/* ================================
   Custom Cursor
   ================================ */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #0a0a0a;
    transition: background-color 0.2s;
}
.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid #0a0a0a;
    transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
}

/* White cursor for dark backgrounds */
.cursor-dot.white {
    background-color: #ffffff;
}
.cursor-outline.white {
    border-color: #ffffff;
}

/* Hover Effect for links */
a:hover ~ .cursor-outline,
button:hover ~ .cursor-outline,
.hover-target:hover ~ .cursor-outline {
    width: 80px;
    height: 80px;
    background-color: rgba(204, 255, 0, 0.5);
    border-color: transparent;
    mix-blend-mode: difference;
}

/* Hover effect for white cursor */
a:hover ~ .cursor-outline.white,
button:hover ~ .cursor-outline.white,
.hover-target:hover ~ .cursor-outline.white {
    background-color: rgba(255, 255, 255, 0.3);
}

/* ================================
   Layout & Scroll
   ================================ */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

* {
    max-width: 100%;
}

body, html {
    max-width: 100vw;
    overflow-x: hidden;
}

/* ================================
   Typography
   ================================ */
.text-huge {
    font-size: clamp(2.2rem, 7vw, 9rem);
    line-height: 0.9;
    letter-spacing: -0.03em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ================================
   Mobile Menu
   ================================ */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.open {
    max-height: 300px;
}

/* ================================
   Animations
   ================================ */

/* Reveal Animation */
.reveal-text {
    transform: translateY(100%);
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-text.active {
    transform: translateY(0);
    opacity: 1;
}

/* Line separator */
.line-separator {
    height: 1px;
    background-color: rgba(10, 10, 10, 0.15);
    width: 100%;
}

/* Image Reveal */
.img-reveal-container {
    overflow: hidden;
}
.img-reveal {
    transform: scale(1.2);
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-reveal-container:hover .img-reveal {
    transform: scale(1);
}

/* Marquee */
.marquee-content {
    animation: scroll 20s linear infinite;
}
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* Waveform Animation */
.waveform-bar {
    transition: background-color 0.3s;
}
.playing .waveform-bar {
    background-color: #ccff00 !important;
}

/* ================================
   Scroll Reveal (Intersection Observer)
   ================================ */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   Language Switcher
   ================================ */
.lang-btn.active {
    background-color: rgba(204, 255, 0, 0.2);
    color: #ccff00;
}
