/* DM Sans Variable Font */
@font-face {
    font-family: 'DM Sans';
    src: url('asset/Font/DMSans-VariableFont.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('asset/Font/DMSans-Italic-VariableFont.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* Base Resets */
html {
    overflow-x: hidden;
}
img {
    -webkit-user-drag: none;
    user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}
body {
    background-color: #030303;
    color: #e2e8f0;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    50%       { opacity: 0.8; transform: scale(1.05); }
}

@keyframes particle-rise {
    0%   { transform: translateY(100vh)  translateX(0px);  opacity: 0; }
    10%  { transform: translateY(80vh)   translateX(3px);  opacity: 0.8; }
    90%  { transform: translateY(-10vh)  translateX(27px); opacity: 0.8; }
    100% { transform: translateY(-20vh)  translateX(30px); opacity: 0; }
}

/* Glass Panel Styling */
.glass-panel {
    background: rgba(46,158,98, 0.03);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(46,158,98, 0.15);
    box-shadow: inset 0 0 20px rgba(46,158,98, 0.02), 0 8px 30px 0 rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

/* Internal sweep effect on glass panel */
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: left 0.7s ease-in-out;
    pointer-events: none;
    z-index: 20;
}
.glass-panel:hover::before {
    left: 100%;
}

.glass-panel:hover {
    background: rgba(46,158,98, 0.08);
    border-color: rgba(46,158,98, 0.4);
    box-shadow: inset 0 0 20px rgba(46,158,98, 0.1), 0 15px 40px rgba(46,158,98, 0.25);
}

/* Green Glass Button — mesmo padrão dos cards de marketplaces */
.btn-green-glass {
    transition: all 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-green-glass:hover {
    scale: 1.05;
}
.btn-green-glass .btn-overlay {
    opacity: 0;
    transition: opacity 1500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-green-glass:hover .btn-overlay {
    opacity: 1;
}

.parallax-element {
    transition: transform 0.1s cubic-bezier(0.2, 0, 0.2, 1);
    will-change: transform;
}

/* Marquee Strip */
@keyframes marquee-slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.animate-marquee {
    animation: marquee-slide 40s linear infinite;
}
.mask-edges {
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

/* Chart Animations Embedded visually in cards */
.chart-line-draw {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    transition: stroke-dashoffset 2.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.is-visible .chart-line-draw {
    stroke-dashoffset: 0;
}
.chart-node {
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.is-visible .chart-node {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) !important;
}
.chart-bar {
    height: 0;
    transition: height 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Basic Utilities */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Testimonial Drag States */
.testimonial-track {
    cursor: grab;
    user-select: none;
}
.testimonial-track.is-dragging {
    cursor: grabbing;
}
.testimonial-track.is-dragging .testimonial-card {
    pointer-events: none;
}

/* CTA Animations */
@keyframes shimmer {
    100% { transform: translateX(100%); }
}
.animate-shimmer {
    animation: shimmer 1.5s infinite;
}

/* Pulse glow SVG — desktop position (original) */
.pulse-glow-svg {
    position: absolute;
    top: 0%;
    left: 0%;
    transform: translate(calc(-50% - 50px), calc(-50% - 50px));
}

/* Mobile Responsive Overrides */
@media (max-width: 640px) {
    /* Pulse glow SVG — mobile position */
    .pulse-glow-svg {
        top: -70%;
        left: -35%;
        transform: none;
    }

    /* Reduce marquee card gap on small screens */
    .animate-marquee {
        animation-duration: 28s;
    }

    /* Hologram cards — half padding on mobile */
    #hero .glass-panel {
        padding: 0.5rem !important;
    }
}
