:root {
    --scroll-reveal-offset: 100px;
}

body {
    background-color: #f7f9fb;
    color: #191c1e;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Glassmorphism Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.glass-nav {
    background: rgba(247, 249, 251, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.reveal {
    opacity: 0;
    transform: translateY(var(--scroll-reveal-offset));
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Image Glow */
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 85, 255, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f7f9fb;
}

::-webkit-scrollbar-thumb {
    background: #c4c6d0;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #001736;
}

.gradient-text {
    background: linear-gradient(135deg, #001736 0%, #0d2c54 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Product Card Interactions */
.card-img {
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-overlay {
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-content {
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Desktop Hover */
@media (hover: hover) and (pointer: fine) {
    .product-card:hover .card-img {
        transform: scale(1.1);
        opacity: 1 !important;
    }

    .product-card:hover .card-overlay {
        opacity: 0 !important;
    }

    .product-card:hover .card-content {
        opacity: 0 !important;
        transform: translateY(2rem) !important;
    }
}

/* Mobile Tap Toggle */
.product-card.force-focus .card-img {
    transform: scale(1.1);
    opacity: 1 !important;
}

.product-card.force-focus .card-overlay {
    opacity: 0 !important;
}

.product-card.force-focus .card-content {
    opacity: 0 !important;
    transform: translateY(2rem) !important;
}

/* Typing Effect */
@keyframes typeReveal {
    0% {
        max-width: 0;
        border-right-color: currentColor;
    }

    99% {
        max-width: 100%;
        border-right-color: currentColor;
    }

    100% {
        max-width: 100%;
        border-right-color: transparent;
    }
}

@keyframes typeRevealLast {
    0% {
        max-width: 0;
        border-right-color: currentColor;
    }

    100% {
        max-width: 100%;
        border-right-color: currentColor;
    }
}

@keyframes blink {
    50% {
        border-right-color: transparent;
    }
}

.typewriter-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: bottom;
    border-right: 0.05em solid transparent;
    max-width: 0;
    will-change: max-width;
}

.type-1 {
    animation: typeReveal 1s steps(25, end) forwards;
    animation-delay: 0.5s;
}

.type-2 {
    animation: typeRevealLast 1.2s steps(30, end) forwards, blink 0.8s step-end infinite;
    animation-delay: 1.5s;
}

/* Cyberpunk Video Section */
@keyframes neonPulse {

    0%,
    100% {
        box-shadow: 0 0 28px rgba(56, 189, 248, 0.24), inset 0 0 20px rgba(56, 189, 248, 0.12);
        border-color: rgba(255, 255, 255, 0.1);
    }

    50% {
        box-shadow: 0 0 46px rgba(56, 189, 248, 0.52), 0 0 80px rgba(13, 44, 84, 0.45), inset 0 0 32px rgba(56, 189, 248, 0.24);
        border-color: rgba(185, 232, 255, 0.34);
    }
}

.cyber-player-glowing {
    animation: neonPulse 4s infinite alternate ease-in-out;
}

@keyframes framePowerFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 220% 50%;
    }
}

@keyframes railSweep {
    0% {
        transform: translateX(-130%);
        opacity: 0;
    }

    12%,
    70% {
        opacity: 1;
    }

    100% {
        transform: translateX(130%);
        opacity: 0;
    }
}

@keyframes ledPulse {

    0%,
    100% {
        opacity: 0.72;
        box-shadow: 0 0 12px rgba(56, 189, 248, 0.7), 0 0 24px rgba(56, 189, 248, 0.34);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 22px rgba(185, 232, 255, 1), 0 0 42px rgba(56, 189, 248, 0.92), 0 0 70px rgba(13, 44, 84, 0.95);
    }
}

.industrial-video-frame {
    position: relative;
    padding: clamp(1.2rem, 3vw, 2.15rem);
    isolation: isolate;
    clip-path: polygon(4% 0, 18% 0, 21% 4%, 31% 4%, 34% 0, 66% 0, 69% 4%, 79% 4%, 82% 0, 96% 0, 100% 10%, 100% 30%, 97% 36%, 97% 64%, 100% 70%, 100% 90%, 96% 100%, 82% 100%, 79% 96%, 69% 96%, 66% 100%, 34% 100%, 31% 96%, 21% 96%, 18% 100%, 4% 100%, 0 90%, 0 70%, 3% 64%, 3% 36%, 0 30%, 0 10%);
    background:
        repeating-linear-gradient(135deg, rgba(185, 232, 255, 0.12) 0 2px, transparent 2px 16px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 18% 82%, rgba(255, 255, 255, 0.22)),
        linear-gradient(180deg, #6f7881 0%, #1a222b 13%, #0b1118 46%, #1e2730 76%, #8c949c 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.62),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 0 34px rgba(0, 0, 0, 0.78);
}

.industrial-video-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: 3px;
    pointer-events: none;
    clip-path: inherit;
    background:
        linear-gradient(90deg, transparent 0 8%, rgba(56, 189, 248, 0.08) 14%, rgba(56, 189, 248, 1) 20%, rgba(225, 246, 255, 1) 22%, rgba(56, 189, 248, 0.88) 25%, rgba(56, 189, 248, 0.18) 34%, transparent 44% 100%);
    background-size: 220% 100%;
    animation: framePowerFlow 2.6s linear infinite;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.industrial-video-frame::after {
    content: "";
    position: absolute;
    inset: clamp(0.45rem, 1.2vw, 0.85rem);
    z-index: 0;
    pointer-events: none;
    clip-path: polygon(3% 0, 23% 0, 26% 5%, 74% 5%, 77% 0, 97% 0, 100% 8%, 100% 92%, 97% 100%, 77% 100%, 74% 95%, 26% 95%, 23% 100%, 3% 100%, 0 92%, 0 8%);
    border: 1px solid rgba(56, 189, 248, 0.42);
    box-shadow:
        inset 0 0 0 2px rgba(7, 14, 20, 0.9),
        inset 0 0 26px rgba(56, 189, 248, 0.38),
        0 0 36px rgba(56, 189, 248, 0.3);
}

.frame-panel {
    position: absolute;
    z-index: 4;
    left: 28%;
    width: 44%;
    height: clamp(1rem, 2vw, 1.45rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background:
        linear-gradient(90deg, transparent 0 8%, rgba(3, 8, 13, 0.9) 8% 18%, rgba(64, 78, 90, 0.95) 18% 82%, rgba(3, 8, 13, 0.9) 82% 92%, transparent 92%),
        linear-gradient(180deg, #87919a, #18212a 48%, #070b10);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 18px rgba(0, 0, 0, 0.55);
    clip-path: polygon(6% 0, 94% 0, 100% 48%, 94% 100%, 6% 100%, 0 48%);
}

.frame-panel.top {
    top: 0.18rem;
}

.frame-panel.bottom {
    bottom: 0.18rem;
}

.frame-led {
    width: clamp(0.32rem, 0.8vw, 0.46rem);
    aspect-ratio: 1;
    border-radius: 999px;
    background: #38bdf8;
    border: 1px solid rgba(185, 232, 255, 0.9);
    animation: ledPulse 1.8s ease-in-out infinite;
}

.frame-led:nth-child(2) {
    animation-delay: 0.18s;
}

.frame-led:nth-child(3) {
    animation-delay: 0.36s;
}

.frame-led:nth-child(4) {
    animation-delay: 0.54s;
}

.frame-led:nth-child(5) {
    animation-delay: 0.72s;
}

.frame-coil {
    position: absolute;
    z-index: 4;
    width: clamp(5rem, 14vw, 8.2rem);
    height: clamp(1.25rem, 2.7vw, 1.85rem);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 35%, rgba(0, 0, 0, 0.6)),
        repeating-linear-gradient(105deg, #111a22 0 7px, #c2ccd4 8px 10px, #4e5c68 11px 14px, #101820 15px 22px);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.78), 0 0 18px rgba(0, 0, 0, 0.55);
}

.frame-coil.top-left {
    top: 0.28rem;
    left: 20%;
}

.frame-coil.top-right {
    top: 0.28rem;
    right: 20%;
}

.frame-thread-rail {
    position: absolute;
    z-index: 6;
    pointer-events: none;
    border: 1px solid rgba(185, 232, 255, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02) 38%, rgba(0, 0, 0, 0.42)),
        repeating-linear-gradient(112deg, #071018 0 8px, #7b8791 9px 11px, #d1d9df 12px 14px, #2b3843 15px 22px);
    box-shadow:
        inset 0 0 18px rgba(0, 0, 0, 0.82),
        0 0 22px rgba(56, 189, 248, 0.18);
}

.frame-thread-rail.top,
.frame-thread-rail.bottom {
    left: 12%;
    right: 12%;
    height: clamp(0.55rem, 1.1vw, 0.78rem);
    border-radius: 999px;
}

.frame-thread-rail.top {
    top: clamp(1.45rem, 3.2vw, 2.2rem);
}

.frame-thread-rail.bottom {
    bottom: clamp(1.45rem, 3.2vw, 2.2rem);
}

.frame-thread-rail.left,
.frame-thread-rail.right {
    top: 20%;
    bottom: 20%;
    width: clamp(0.55rem, 1.1vw, 0.78rem);
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.02) 38%, rgba(0, 0, 0, 0.42)),
        repeating-linear-gradient(22deg, #071018 0 8px, #7b8791 9px 11px, #d1d9df 12px 14px, #2b3843 15px 22px);
}

.frame-thread-rail.left {
    left: clamp(0.9rem, 2.2vw, 1.35rem);
}

.frame-thread-rail.right {
    right: clamp(0.9rem, 2.2vw, 1.35rem);
}

.frame-coil.bottom-left {
    bottom: 0.28rem;
    left: 20%;
}

.frame-coil.bottom-right {
    bottom: 0.28rem;
    right: 20%;
}

.frame-side-module {
    position: absolute;
    z-index: 4;
    top: 34%;
    width: clamp(1.8rem, 4.4vw, 3rem);
    height: 32%;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.26), transparent 24% 76%, rgba(255, 255, 255, 0.16)),
        linear-gradient(180deg, #394653, #0b1118 48%, #2a3540);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.8), 0 0 18px rgba(0, 0, 0, 0.5);
}

.frame-side-module.left {
    left: 0.55rem;
    clip-path: polygon(0 12%, 64% 0, 100% 18%, 100% 82%, 64% 100%, 0 88%);
}

.frame-side-module.right {
    right: 0.55rem;
    clip-path: polygon(36% 0, 100% 12%, 100% 88%, 36% 100%, 0 82%, 0 18%);
}

.frame-side-module::before {
    content: "";
    position: absolute;
    inset: 22% 34%;
    border-radius: 999px;
    background:
        repeating-linear-gradient(0deg, rgba(185, 232, 255, 0.25) 0 5px, rgba(56, 189, 248, 1) 6px 8px),
        rgba(56, 189, 248, 0.18);
    box-shadow: 0 0 26px rgba(56, 189, 248, 0.9), 0 0 46px rgba(56, 189, 248, 0.45), inset 0 0 14px rgba(56, 189, 248, 0.62);
}

.frame-runner {
    position: absolute;
    z-index: 15;
    overflow: hidden;
    pointer-events: none;
    background: rgba(56, 189, 248, 0.28);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.52), 0 0 32px rgba(56, 189, 248, 0.24);
}

.frame-runner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(225, 246, 255, 1), rgba(56, 189, 248, 1), rgba(13, 44, 84, 0.8), transparent);
    animation: railSweep 1.8s linear infinite;
}

.frame-runner.top,
.frame-runner.bottom {
    left: 12%;
    right: 12%;
    height: 2px;
}

.frame-runner.top {
    top: clamp(2.2rem, 4.6vw, 3.2rem);
}

.frame-runner.bottom {
    bottom: clamp(2.2rem, 4.6vw, 3.2rem);
}

.frame-runner.left,
.frame-runner.right {
    top: 18%;
    bottom: 18%;
    width: 2px;
}

.frame-runner.left {
    left: clamp(1.75rem, 3.7vw, 2.75rem);
}

.frame-runner.right {
    right: clamp(1.75rem, 3.7vw, 2.75rem);
}

.frame-runner.left::before,
.frame-runner.right::before {
    background: linear-gradient(180deg, transparent, rgba(225, 246, 255, 1), rgba(56, 189, 248, 1), rgba(13, 44, 84, 0.8), transparent);
    animation-name: railSweepVertical;
}

@keyframes railSweepVertical {
    0% {
        transform: translateY(-130%);
        opacity: 0;
    }

    12%,
    70% {
        opacity: 1;
    }

    100% {
        transform: translateY(130%);
        opacity: 0;
    }
}

.frame-bolt {
    position: absolute;
    z-index: 5;
    width: clamp(0.38rem, 0.9vw, 0.56rem);
    aspect-ratio: 1;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 30%, #cfd6dc, #66717a 36%, #151c23 67%);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.65), 0 0 5px rgba(0, 0, 0, 0.7);
}

.frame-bolt.bolt-tl {
    top: 8%;
    left: 5%;
}

.frame-bolt.bolt-tr {
    top: 8%;
    right: 5%;
}

.frame-bolt.bolt-bl {
    bottom: 8%;
    left: 5%;
}

.frame-bolt.bolt-br {
    bottom: 8%;
    right: 5%;
}

@media (max-width: 640px) {
    .industrial-video-frame {
        padding: 0.72rem;
        clip-path: polygon(5% 0, 20% 0, 23% 5%, 77% 5%, 80% 0, 95% 0, 100% 12%, 100% 88%, 95% 100%, 80% 100%, 77% 95%, 23% 95%, 20% 100%, 5% 100%, 0 88%, 0 12%);
        box-shadow:
            0 16px 38px rgba(0, 0, 0, 0.54),
            inset 0 0 0 1px rgba(255, 255, 255, 0.12),
            inset 0 0 20px rgba(0, 0, 0, 0.72);
    }

    .industrial-video-frame::before {
        padding: 2px;
    }

    .industrial-video-frame::after {
        inset: 0.38rem;
    }

    .frame-panel {
        left: 34%;
        width: 32%;
        height: 0.68rem;
        gap: 0.22rem;
    }

    .frame-led {
        width: 0.26rem;
    }

    .frame-coil {
        width: 3.5rem;
        height: 0.72rem;
    }

    .frame-coil.top-left,
    .frame-coil.bottom-left {
        left: 18%;
    }

    .frame-coil.top-right,
    .frame-coil.bottom-right {
        right: 18%;
    }

    .frame-thread-rail.top,
    .frame-thread-rail.bottom {
        left: 16%;
        right: 16%;
        height: 0.34rem;
    }

    .frame-thread-rail.top {
        top: 1rem;
    }

    .frame-thread-rail.bottom {
        bottom: 1rem;
    }

    .frame-thread-rail.left,
    .frame-thread-rail.right,
    .frame-side-module {
        display: none;
    }

    .frame-runner.top,
    .frame-runner.bottom {
        left: 18%;
        right: 18%;
    }

    .frame-runner.top {
        top: 1.28rem;
    }

    .frame-runner.bottom {
        bottom: 1.28rem;
    }

    .frame-runner.left {
        left: 1.08rem;
    }

    .frame-runner.right {
        right: 1.08rem;
    }

    .frame-bolt {
        width: 0.32rem;
    }
}

.cyber-grid {
    background-size: 30px 30px;
    background-image:
        linear-gradient(to right, rgba(0, 85, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 85, 255, 0.03) 1px, transparent 1px);
}

.cyber-video-section {
    isolation: isolate;
}

.cyber-video-section::before,
.cyber-video-section::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cyber-video-section::before {
    z-index: 0;
    background-image:
        linear-gradient(180deg, rgba(18, 24, 30, 0.68) 0%, rgba(18, 24, 30, 0.28) 42%, rgba(18, 24, 30, 0.74) 100%),
        url("../assets/background-cyberpunk.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.cyber-video-section::after {
    z-index: 2;
    background:
        linear-gradient(90deg, #12181e 0%, rgba(18, 24, 30, 0.78) 7%, transparent 20%, transparent 80%, rgba(18, 24, 30, 0.78) 93%, #12181e 100%);
    opacity: 0;
}

@media (min-width: 1680px) {
    .cyber-video-section::after {
        opacity: 1;
    }
}

.cyber-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    z-index: 10;
    transition: all 0.3s ease;
}

.cyber-corner-tl {
    top: 12px;
    left: 12px;
    border-top: 2px solid;
    border-left: 2px solid;
}

.cyber-corner-tr {
    top: 12px;
    right: 12px;
    border-top: 2px solid;
    border-right: 2px solid;
}

.cyber-corner-bl {
    bottom: 12px;
    left: 12px;
    border-bottom: 2px solid;
    border-left: 2px solid;
}

.cyber-corner-br {
    bottom: 12px;
    right: 12px;
    border-bottom: 2px solid;
    border-right: 2px solid;
}

.group:hover .cyber-corner-tl {
    top: 8px;
    left: 8px;
    border-color: rgba(255, 255, 255, 0.8);
}

.group:hover .cyber-corner-tr {
    top: 8px;
    right: 8px;
    border-color: rgba(255, 255, 255, 0.8);
}

.group:hover .cyber-corner-bl {
    bottom: 8px;
    left: 8px;
    border-color: rgba(255, 255, 255, 0.8);
}

.group:hover .cyber-corner-br {
    bottom: 8px;
    right: 8px;
    border-color: rgba(255, 255, 255, 0.8);
}

.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%,
            rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg,
            rgba(255, 0, 0, 0.03),
            rgba(0, 255, 0, 0.01),
            rgba(0, 0, 255, 0.03));
    background-size: 100% 4px, 6px 100%;
    z-index: 5;
    pointer-events: none;
    opacity: 0.35;
}

/* Brands Marquee Animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-track {
    display: flex;
    animation: marquee 35s linear infinite;
    width: max-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.brand-card {
    flex-shrink: 0;
    padding: 1.5rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    margin: 0 0.75rem;
    min-width: 180px;
    max-width: 190px;
}

.brand-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 23, 54, 0.1);
}

.brand-card img {
    height: 32px;
    width: auto;
    object-fit: contain;
    /* filter: grayscale(100%); */
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-card:hover img {
    /* filter: grayscale(0%); */
    opacity: 1;
}

.brand-card span {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: #001736;
}

/* ============================================
   FOOTER
   ============================================ */

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.5rem;
    background: #001736;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #0d2c54;
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.back-to-top .material-symbols-outlined {
    font-size: 1.4rem;
}

/* ============================================
   FAQ ACCORDION STYLES
   ============================================ */

/* Smooth hover effect on FAQ items */
.faq-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    transform: translateY(-2px);
}

/* FAQ toggle button styles */
.faq-toggle {
    transition: all 0.2s ease;
}

.faq-toggle:hover {
    background: rgba(0, 23, 54, 0.02);
}

.faq-toggle:active {
    transform: scale(0.995);
}

/* FAQ icon rotation */
.faq-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.3s ease;
}

.faq-item[aria-expanded="true"] .faq-icon {
    color: #001736;
}

/* FAQ content animation */
.faq-content {
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease;
}

/* Active FAQ item styles */
.faq-item.border-primary {
    border: 1px solid rgba(0, 23, 54, 0.2);
}

/* Staggered animation for FAQ items on scroll */
.faq-item {
    opacity: 0;
    transform: translateY(20px);
}

.faq-item.reveal-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:nth-child(1) { transition-delay: 0.05s; }
.faq-item:nth-child(2) { transition-delay: 0.1s; }
.faq-item:nth-child(3) { transition-delay: 0.15s; }
.faq-item:nth-child(4) { transition-delay: 0.2s; }
.faq-item:nth-child(5) { transition-delay: 0.25s; }
.faq-item:nth-child(6) { transition-delay: 0.3s; }
.faq-item:nth-child(7) { transition-delay: 0.35s; }
.faq-item:nth-child(8) { transition-delay: 0.4s; }

/* Icon container hover effect */
.faq-toggle:hover .w-10.h-10.rounded-xl {
    background: rgba(0, 23, 54, 0.15);
    transition: background 0.2s ease;
}
/* ============================================
   WHATSAPP FLOATING ACTION BUTTON
   ============================================ */

.whatsapp-fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s ease;
    animation: whatsapp-pulse-ring 5s ease-in-out infinite;
}

.whatsapp-fab:hover {
    transform: scale(1.12) translateY(-2px);
    background: #1ebe57;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0);
}

.whatsapp-fab:active {
    transform: scale(0.95);
}

/* Pulse ring animation — fires every 5 seconds */
@keyframes whatsapp-pulse-ring {
    0%, 75% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5);
        transform: scale(1);
    }
    80% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0);
        transform: scale(1.08);
    }
    85% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
        transform: scale(1);
    }
    90% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 8px rgba(37, 211, 102, 0);
        transform: scale(1.05);
    }
    95%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
        transform: scale(1);
    }
}

/* Tooltip on hover */
.whatsapp-fab::before {
    content: 'Fale conosco!';
    position: absolute;
    right: calc(100% + 0.75rem);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: #001736;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 0.75rem;
    border-radius: 0.5rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.whatsapp-fab:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Adjust back-to-top position to not overlap */
.back-to-top {
    bottom: 6rem !important;
}
