@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --pastel-yellow: #FCF6BD;
    --pastel-blue: #A9DEF9;
    --pastel-pink: #FF99C8;
    --pastel-mint: #D0F4DE;
    --pastel-purple: #E4C1F9;

    --bg-primary: #fdfcfa;
    --bg-secondary: #f8fbfd;
    --text-primary: #231c2b;
    --text-secondary: #5c5369;
    --text-muted: #8e849b;
    --white: #ffffff;

    --gradient-brand: linear-gradient(135deg, #FCF6BD 0%, #A9DEF9 45%, #D0F4DE 75%, #FF99C8 100%);
    --gradient-primary: linear-gradient(135deg, #FCF6BD 0%, #A9DEF9 100%);
    --gradient-btn: var(--pastel-yellow);
    --gradient-btn-hover: #f7ed97;

    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-soft: 0 8px 32px 0 rgba(180, 160, 200, 0.12);
    --shadow-hover: 0 12px 36px 0 rgba(180, 160, 200, 0.22);

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    --radius-full: 9999px;
    --radius-lg: 20px;
    --radius-md: 12px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.fa,
.fas,
.far,
.fal,
.fab,
.fa-solid,
.fa-regular,
.fa-brands,
[class^="fa-"],
[class*=" fa-"],
[class^="fa-"]::before,
[class*=" fa-"]::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

.fa-brands,
.fa-brands::before,
[class^="fa-brands"],
[class*=" fa-brands"],
[class^="fa-brands"]::before,
[class*=" fa-brands"]::before {
    font-family: "Font Awesome 6 Brands" !important;
}

.fa-solid,
.fa-solid::before,
[class^="fa-solid"],
[class*=" fa-solid"],
[class^="fa-solid"]::before,
[class*=" fa-solid"]::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-family: 'Montserrat', sans-serif;
}

body,
button,
input,
select,
textarea,
optgroup,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
label,
li {
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: -0.01em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.18;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

p,
span,
label,
li {
    font-family: 'Montserrat', sans-serif;
}

p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    letter-spacing: -0.005em;
}

button {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.005em;
}

input,
select,
textarea {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.005em;
    color: var(--text-primary);
}

input::placeholder,
textarea::placeholder {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-muted);
}

body.landing-view {
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
}

.bg-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    will-change: transform;
    transform: translateZ(0);
}

.bg-orb-1 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, var(--pastel-purple) 0%, rgba(220, 200, 240, 0.2) 70%);
    top: -100px;
    left: -100px;
    animation: orbFloat1 22s ease-in-out infinite alternate;
}

.bg-orb-2 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, var(--pastel-pink) 0%, rgba(242, 181, 200, 0.2) 70%);
    top: 35%;
    right: -120px;
    animation: orbFloat2 28s ease-in-out infinite alternate;
}

.bg-orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--pastel-mint) 0%, rgba(181, 216, 204, 0.2) 70%);
    bottom: -80px;
    left: 15%;
    animation: orbFloat3 25s ease-in-out infinite alternate;
}

.bg-orb-4 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, var(--pastel-yellow) 0%, rgba(245, 230, 163, 0.18) 70%);
    top: 15%;
    left: 45%;
    animation: orbFloat1 30s ease-in-out infinite alternate-reverse;
}

.honeycomb-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hex-grid {
    position: relative;
    width: 600px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hexagon {
    position: absolute;
    width: 80.8px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 250, 235, 0.75) 0%, rgba(245, 230, 163, 0.5) 50%, rgba(220, 185, 240, 0.35) 100%);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    will-change: transform, opacity;
    transform: translateZ(0);
    border: 1px solid #f5e6a366;
    opacity: 0;
    animation: assembleHoneycomb 15s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    animation-delay: calc(var(--delay, 0s) * 0.8);
    animation-fill-mode: backwards;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hexagon::before {
    content: '';
    position: absolute;
    inset: 3px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(252, 245, 215, 0.45) 100%);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    box-shadow: inset 0 0 8px rgba(245, 215, 130, 0.45);
}


.hex-1 {
    --tx: 0px;
    --ty: 0px;
    --start-x: 0px;
    --start-y: 0px;
    --delay: 0s;
}

.hex-2 {
    --tx: 0px;
    --ty: -70px;
    --start-x: 0px;
    --start-y: -700px;
    --delay: 0.12s;
}

.hex-3 {
    --tx: 60.6px;
    --ty: -35px;
    --start-x: 700px;
    --start-y: -400px;
    --delay: 0.2s;
}

.hex-4 {
    --tx: 60.6px;
    --ty: 35px;
    --start-x: 700px;
    --start-y: 400px;
    --delay: 0.28s;
}

.hex-5 {
    --tx: 0px;
    --ty: 70px;
    --start-x: 0px;
    --start-y: 700px;
    --delay: 0.36s;
}

.hex-6 {
    --tx: -60.6px;
    --ty: 35px;
    --start-x: -700px;
    --start-y: 400px;
    --delay: 0.44s;
}

.hex-7 {
    --tx: -60.6px;
    --ty: -35px;
    --start-x: -700px;
    --start-y: -400px;
    --delay: 0.52s;
}

.hex-8 {
    --tx: 0px;
    --ty: -140px;
    --start-x: 0px;
    --start-y: -900px;
    --delay: 0.6s;
}

.hex-9 {
    --tx: 60.6px;
    --ty: -105px;
    --start-x: 600px;
    --start-y: -800px;
    --delay: 0.68s;
}

.hex-10 {
    --tx: 121.2px;
    --ty: -70px;
    --start-x: 1000px;
    --start-y: -500px;
    --delay: 0.76s;
}

.hex-11 {
    --tx: 121.2px;
    --ty: 0px;
    --start-x: 1000px;
    --start-y: 0px;
    --delay: 0.84s;
}

.hex-12 {
    --tx: 121.2px;
    --ty: 70px;
    --start-x: 1000px;
    --start-y: 500px;
    --delay: 0.92s;
}

.hex-13 {
    --tx: 60.6px;
    --ty: 105px;
    --start-x: 600px;
    --start-y: 800px;
    --delay: 1s;
}

.hex-14 {
    --tx: 0px;
    --ty: 140px;
    --start-x: 0px;
    --start-y: 900px;
    --delay: 1.08s;
}

.hex-15 {
    --tx: -60.6px;
    --ty: 105px;
    --start-x: -600px;
    --start-y: 800px;
    --delay: 1.16s;
}

.hex-16 {
    --tx: -121.2px;
    --ty: 70px;
    --start-x: -1000px;
    --start-y: 500px;
    --delay: 1.24s;
}

.hex-17 {
    --tx: -121.2px;
    --ty: 0px;
    --start-x: -1000px;
    --start-y: 0px;
    --delay: 1.32s;
}

.hex-18 {
    --tx: -121.2px;
    --ty: -70px;
    --start-x: -1000px;
    --start-y: -500px;
    --delay: 1.4s;
}

.hex-19 {
    --tx: -60.6px;
    --ty: -105px;
    --start-x: -600px;
    --start-y: -800px;
    --delay: 1.48s;
}

.hex-20 {
    --tx: 0px;
    --ty: -210px;
    --start-x: 0px;
    --start-y: -1100px;
    --delay: 1.56s;
}

.hex-21 {
    --tx: 60.6px;
    --ty: -175px;
    --start-x: 500px;
    --start-y: -1000px;
    --delay: 1.64s;
}

.hex-22 {
    --tx: 121.2px;
    --ty: -140px;
    --start-x: 900px;
    --start-y: -900px;
    --delay: 1.72s;
}

.hex-23 {
    --tx: 181.8px;
    --ty: -105px;
    --start-x: 1200px;
    --start-y: -700px;
    --delay: 1.8s;
}

.hex-24 {
    --tx: 181.8px;
    --ty: -35px;
    --start-x: 1200px;
    --start-y: -300px;
    --delay: 1.88s;
}

.hex-25 {
    --tx: 181.8px;
    --ty: 35px;
    --start-x: 1200px;
    --start-y: 300px;
    --delay: 1.96s;
}

.hex-26 {
    --tx: 181.8px;
    --ty: 105px;
    --start-x: 1200px;
    --start-y: 700px;
    --delay: 2.04s;
}

.hex-27 {
    --tx: 121.2px;
    --ty: 140px;
    --start-x: 900px;
    --start-y: 900px;
    --delay: 2.12s;
}

.hex-28 {
    --tx: 60.6px;
    --ty: 175px;
    --start-x: 500px;
    --start-y: 1000px;
    --delay: 2.2s;
}

.hex-29 {
    --tx: 0px;
    --ty: 210px;
    --start-x: 0px;
    --start-y: 1100px;
    --delay: 2.28s;
}

.hex-30 {
    --tx: -60.6px;
    --ty: 175px;
    --start-x: -500px;
    --start-y: 1000px;
    --delay: 2.36s;
}

.hex-31 {
    --tx: -121.2px;
    --ty: 140px;
    --start-x: -900px;
    --start-y: 900px;
    --delay: 2.44s;
}

.hex-32 {
    --tx: -181.8px;
    --ty: 105px;
    --start-x: -1200px;
    --start-y: 700px;
    --delay: 2.52s;
}

.hex-33 {
    --tx: -181.8px;
    --ty: 35px;
    --start-x: -1200px;
    --start-y: 300px;
    --delay: 2.6s;
}

.hex-34 {
    --tx: -181.8px;
    --ty: -35px;
    --start-x: -1200px;
    --start-y: -300px;
    --delay: 2.68s;
}

.hex-35 {
    --tx: -181.8px;
    --ty: -105px;
    --start-x: -1200px;
    --start-y: -700px;
    --delay: 2.76s;
}

.hex-36 {
    --tx: -121.2px;
    --ty: -140px;
    --start-x: -900px;
    --start-y: -900px;
    --delay: 2.84s;
}

.hex-37 {
    --tx: -60.6px;
    --ty: -175px;
    --start-x: -500px;
    --start-y: -1000px;
    --delay: 2.92s;
}


.hex-38 {
    --tx: 242.4px;
    --ty: -70px;
    --start-x: 1300px;
    --start-y: -500px;
    --delay: 3.1s;
    --web-angle: -120deg;
}

.hex-39 {
    --tx: 303px;
    --ty: -105px;
    --start-x: 1400px;
    --start-y: -700px;
    --delay: 3.3s;
    --web-angle: -135deg;
}

.hex-40 {
    --tx: 242.4px;
    --ty: -140px;
    --start-x: 1200px;
    --start-y: -900px;
    --delay: 3.5s;
    --web-angle: -150deg;
}

.hex-41 {
    --tx: 242.4px;
    --ty: 70px;
    --start-x: 1300px;
    --start-y: 500px;
    --delay: 3.2s;
    --web-angle: 60deg;
}

.hex-42 {
    --tx: 303px;
    --ty: 105px;
    --start-x: 1500px;
    --start-y: 700px;
    --delay: 3.4s;
    --web-angle: 45deg;
}

.hex-43 {
    --tx: 242.4px;
    --ty: 140px;
    --start-x: 1200px;
    --start-y: 900px;
    --delay: 3.6s;
    --web-angle: 30deg;
}

.hex-44 {
    --tx: -242.4px;
    --ty: 70px;
    --start-x: -1300px;
    --start-y: 500px;
    --delay: 3.15s;
    --web-angle: 120deg;
}

.hex-45 {
    --tx: -303px;
    --ty: 105px;
    --start-x: -1500px;
    --start-y: 700px;
    --delay: 3.35s;
    --web-angle: 135deg;
}

.hex-46 {
    --tx: -242.4px;
    --ty: 140px;
    --start-x: -1200px;
    --start-y: 900px;
    --delay: 3.55s;
    --web-angle: 150deg;
}

.hex-47 {
    --tx: -242.4px;
    --ty: -70px;
    --start-x: -1300px;
    --start-y: -500px;
    --delay: 3.25s;
    --web-angle: -60deg;
}

.hex-48 {
    --tx: -303px;
    --ty: -105px;
    --start-x: -1500px;
    --start-y: -700px;
    --delay: 3.45s;
    --web-angle: -45deg;
}

.hex-49 {
    --tx: -242.4px;
    --ty: -140px;
    --start-x: -1200px;
    --start-y: -900px;
    --delay: 3.65s;
    --web-angle: -30deg;
}

.hex-50 {
    --tx: 181.8px;
    --ty: -245px;
    --start-x: 1000px;
    --start-y: -1200px;
    --delay: 3.7s;
    --web-angle: -170deg;
}

.hex-51 {
    --tx: -181.8px;
    --ty: -245px;
    --start-x: -1000px;
    --start-y: -1200px;
    --delay: 3.8s;
    --web-angle: 170deg;
}

.hex-52 {
    --tx: 0px;
    --ty: -280px;
    --start-x: 0px;
    --start-y: -1300px;
    --delay: 3.9s;
    --web-angle: 180deg;
}

.hex-53 {
    --tx: 181.8px;
    --ty: 245px;
    --start-x: 1000px;
    --start-y: 1200px;
    --delay: 4s;
    --web-angle: -10deg;
}

.hex-54 {
    --tx: -181.8px;
    --ty: 245px;
    --start-x: -1000px;
    --start-y: 1200px;
    --delay: 4.1s;
    --web-angle: 10deg;
}

.hex-55 {
    --tx: 0px;
    --ty: 280px;
    --start-x: 0px;
    --start-y: 1300px;
    --delay: 4.2s;
    --web-angle: 0deg;
}

@keyframes assembleHoneycomb {
    0% {
        transform: translate(calc(var(--start-x) * 0.55), calc(var(--start-y) * 0.55)) scale(0.72) rotate(0deg);
        opacity: 0;
    }

    20% {
        transform: translate(var(--tx), var(--ty)) scale(1) rotate(0deg);
        opacity: 0.85;
    }

    60% {
        transform: translate(var(--tx), var(--ty)) scale(1.02) rotate(0deg);
        opacity: 0.85;
    }

    75% {
        transform: translate(calc(var(--start-x) * 0.5), calc(var(--start-y) * 0.5)) scale(0.78) rotate(12deg);
        opacity: 0.55;
    }

    90% {
        transform: translate(calc(var(--start-x) * 0.58 + 18px), calc(var(--start-y) * 0.58 - 18px)) scale(0.82) rotate(-12deg);
        opacity: 0.5;
    }

    100% {
        transform: translate(calc(var(--start-x) * 0.55), calc(var(--start-y) * 0.55)) scale(0.72) rotate(0deg);
        opacity: 0.5;
    }
}

.bg-sparkles {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 150px 180px, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 280px 80px, rgba(245, 230, 163, 0.8), rgba(0, 0, 0, 0)),
        radial-gradient(3px 3px at 420px 300px, rgba(242, 181, 200, 0.6), rgba(0, 0, 0, 0));
    background-size: 500px 500px;
    animation: sparklesMove 40s linear infinite;
    opacity: 0.6;
}

@keyframes orbFloat1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(60px, 80px) scale(1.1);
    }

    100% {
        transform: translate(-40px, 120px) scale(0.95);
    }
}

@keyframes orbFloat2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-80px, -60px) scale(1.08);
    }

    100% {
        transform: translate(40px, 90px) scale(0.9);
    }
}

@keyframes orbFloat3 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(70px, -70px) scale(1.12);
    }

    100% {
        transform: translate(-50px, -30px) scale(0.96);
    }
}

@keyframes sparklesMove {
    0% {
        background-position:
            0 0,
            0 0,
            0 0,
            0 0;
    }

    100% {
        background-position:
            500px 1000px,
            -500px 500px,
            1000px -500px,
            500px 500px;
    }
}

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-bottom: 1px solid transparent;
    transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        backdrop-filter 0.3s ease,
        -webkit-backdrop-filter 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

body:not(.landing-view) .header,
.header.semi-transparent,
.header.scrolled {
    background: rgba(253, 248, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(220, 200, 240, 0.45);
    box-shadow: 0 4px 20px rgba(180, 150, 210, 0.12);
}

.header-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0.9rem 2.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.header-container > .brand {
    justify-self: start;
}

.nav-center {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform var(--transition-fast);
}

.logo-wrapper {
    height: 52px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.brand-logo {
    height: 100%;
    width: auto;
    max-height: 52px;
    max-width: 175px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.logo-bee {
    width: 220px;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    margin: 0 auto 0.5rem auto;
    user-select: none;
}

.hero-section .logo-bee {
    width: 220px;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    margin-bottom: 0.5rem;
    user-select: none;
}

.logo-bee-img {
    width: 260px;
    height: 260px;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(180, 150, 210, 0.35));
    animation: logoFloat 3.5s ease-in-out infinite;
    transition: transform 0.3s ease, filter 0.3s ease;
    will-change: transform;
}

.hero-section .logo-bee::after {
    content: '';
    position: absolute;
    bottom: -10px;
    width: 130px;
    height: 14px;
    background: radial-gradient(ellipse at center, rgba(160, 130, 190, 0.3) 0%, rgba(160, 130, 190, 0) 75%);
    border-radius: 50%;
    animation: logoShadowPulse 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes logoShadowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(0.75);
        opacity: 0.35;
    }
}

.letter-n {
    color: #b8c1ec;
    text-shadow: 2px 3px 6px rgba(184, 193, 236, 0.4);
}

.letter-e {
    color: #b5d8cc;
    text-shadow: 2px 3px 6px rgba(181, 216, 204, 0.4);
}

.letter-t {
    color: #f2b5c8;
    text-shadow: 2px 3px 6px rgba(242, 181, 200, 0.4);
}

.letter-o {
    color: #f2b5c8;
    text-shadow: 2px 3px 6px rgba(242, 181, 200, 0.4);
}

.logo-bee:hover .logo-bee-img {
    filter: drop-shadow(0 14px 22px rgba(180, 150, 210, 0.5));
}

.brand:hover .logo-wrapper {
    transform: scale(1.05);
}

.brand-title {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-highlight {
    background: linear-gradient(135deg, #48cae4, #A9DEF9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 0.4rem 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-btn);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-dropdown[hidden],
.manual-section[hidden] {
    display: none !important;
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
    color: var(--pastel-purple);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px) scale(0.95);
    min-width: 260px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 0.6rem;
    box-shadow: 0 14px 40px rgba(180, 150, 210, 0.22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1100;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    width: 100%;
    height: 14px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(4px) scale(1);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.dropdown-item i {
    font-size: 1.1rem;
    color: #a876c6;
    width: 22px;
    text-align: center;
    transition: transform var(--transition-fast);
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(220, 200, 240, 0.35) 0%, rgba(200, 216, 240, 0.35) 100%);
    color: #4a3468;
    transform: translateX(4px);
}

.dropdown-item:hover i {
    transform: scale(1.18);
    color: #8c53b2;
}

.header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-login {
    gap: 0.5rem;
    white-space: nowrap;
}

.mobile-menu-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.4rem;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.005em;
    border-radius: var(--radius-full);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--pastel-purple);
}

.btn-outline:hover {
    background: rgba(196, 168, 216, 0.15);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gradient-btn);
    color: #4a3c20;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 16px rgba(220, 195, 90, 0.35);
}

.btn-primary:hover {
    background: var(--gradient-btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 195, 90, 0.5);
}

.mobile-menu-footer {
    display: none;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2100;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: all var(--transition-medium);
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    border: 1px solid var(--glass-border);
    box-shadow: 0 2px 8px rgba(180, 160, 200, 0.08);
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background: var(--gradient-btn);
    color: #4a3660;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 4px 14px rgba(184, 168, 224, 0.4);
}

@media (min-width: 769px) and (max-width: 1180px) {
    .header-container {
        grid-template-columns: auto minmax(0, 1fr) auto;
        padding: 0.8rem 1.5rem;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1.25rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .logo-wrapper {
        height: 44px;
    }

    .brand-logo {
        max-height: 44px;
        max-width: 140px;
    }

    .header-actions {
        gap: 0.6rem;
    }

    .social-icon {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .btn-login {
        padding: 0.6rem 1.1rem;
        font-size: 0.88rem;
    }
}

@media (min-width: 769px) and (max-width: 900px) {
    .header-container {
        padding: 0.75rem 1rem;
        gap: 0.6rem;
    }

    .nav-menu {
        gap: 0.9rem;
    }

    .nav-link {
        font-size: 0.84rem;
    }

    .brand-logo {
        max-width: 110px;
    }

    .header-actions {
        gap: 0.45rem;
    }

    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }

    .btn-login {
        padding: 0.5rem 0.85rem;
        font-size: 0.82rem;
    }
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 75px);
    height: calc(100dvh - 75px);
    width: 100%;
    padding: 1rem 1.5rem 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    box-sizing: border-box;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--gradient-btn);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(184, 193, 236, 0.2);
    animation: fadeInDown 0.6s ease-out;
}

.hero-title {
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.hero-highlight {
    background: linear-gradient(135deg, #48cae4, #A9DEF9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
    font-weight: 500;
}

.hero-actions {
    margin-top: 1rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.005em;
    color: #4a3c20;
    background: var(--gradient-btn);
    border-radius: var(--radius-full);
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(220, 195, 90, 0.4);
    transition: all var(--transition-medium);
}

.btn-hero-primary:hover {
    background: var(--gradient-btn-hover);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(220, 195, 90, 0.6);
}

.btn-hero-primary i {
    transition: transform var(--transition-fast);
}

.btn-hero-primary:hover i {
    transform: translateX(4px);
}

.creator-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    transition: all var(--transition-medium);
    z-index: 10;
}

.creator-badge:hover {
    transform: translateX(-50%) translateY(-3px);
}

.logo-neto {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

.logo-neto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creator-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.creator-text strong {
    color: var(--text-primary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .header-container {
        padding: 0.75rem 1.25rem;
    }

    .logo-wrapper {
        height: 42px;
    }

    .brand-logo {
        max-height: 42px;
        max-width: 145px;
    }

    .nav-icons {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        height: calc(100vh - 65px);
        height: calc(100dvh - 65px);
        background: rgba(253, 246, 255, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 1.5rem 1.5rem 2.5rem 1.5rem;
        gap: 0.75rem;
        box-shadow: 0 15px 35px rgba(180, 160, 200, 0.25);
        border-top: 1px solid var(--glass-border);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.3s ease,
            visibility 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-link {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.65rem 0.85rem;
        font-size: 1rem;
        border-radius: var(--radius-md);
        box-sizing: border-box;
    }

    .nav-dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        box-sizing: border-box;
    }

    .dropdown-menu {
        position: static;
        left: auto;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.65);
        border: 1px solid rgba(220, 200, 240, 0.5);
        border-radius: var(--radius-md);
        margin-top: 0.25rem;
        padding: 0.4rem;
        width: 100%;
        display: none;
        flex-direction: column;
        gap: 0.25rem;
        box-sizing: border-box;
    }

    .nav-dropdown:hover .dropdown-menu {
        display: none;
    }

    .nav-dropdown.active .dropdown-menu {
        display: flex;
        flex-direction: column;
        transform: none;
        animation: fadeIn 0.3s ease;
    }

    .dropdown-item {
        width: 100%;
        box-sizing: border-box;
        white-space: normal;
        word-break: break-word;
        padding: 0.6rem 0.75rem;
        font-size: 0.88rem;
    }

    .dropdown-item:hover {
        transform: none;
    }

    .dropdown-item span {
        white-space: normal;
        word-break: break-word;
        flex: 1;
    }

    .nav-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .mobile-menu-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.9rem;
        width: 100%;
        justify-content: center;
        margin-top: auto;
        padding-top: 1rem;
        padding-bottom: 0.5rem;
        border-top: 1px solid rgba(220, 200, 240, 0.3);
    }

    .btn-mobile-cta {
        width: auto;
        padding: 0.75rem 2rem;
        font-size: 1rem;
        font-weight: 700;
        text-align: center;
        justify-content: center;
        border-radius: var(--radius-full);
        box-shadow: 0 6px 20px rgba(184, 168, 224, 0.45);
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .header-actions .btn-primary:not(.btn-login) {
        display: none;
    }

    .header-actions {
        gap: 0.9rem;
    }

    .btn-login {
        padding: 0.5rem 0.95rem;
        font-size: 0.82rem;
        box-shadow: 0 3px 10px rgba(220, 195, 90, 0.3);
    }

    .header-actions .btn-outline {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-container {
        gap: 0.75rem;
    }

    .hero-section {
        min-height: calc(100vh - 65px);
        min-height: calc(100dvh - 65px);
        height: calc(100dvh - 65px);
        padding: 0.5rem 1rem max(4.2rem, calc(3.6rem + env(safe-area-inset-bottom, 0px))) 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    .hero-container {
        gap: 0.75rem;
        width: 100%;
        max-height: 100%;
        justify-content: center;
        transform: translateY(-3.25rem);
    }

    .hero-section .logo-bee {
        width: 160px;
        height: 70px;
        margin-bottom: 0.25rem;
    }

    .hero-title {
        font-size: 2.1rem;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.4;
        padding: 0 0.5rem;
    }

    .hero-actions {
        margin-top: 0.4rem;
    }

    .btn-hero-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .creator-badge {
        position: absolute;
        bottom: max(1.75rem, calc(1.25rem + env(safe-area-inset-bottom, 0px)));
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
        white-space: nowrap;
    }

    .creator-badge:hover {
        transform: translateX(-50%) translateY(-2px);
    }

    .logo-neto {
        width: 30px;
        height: 30px;
    }

    .creator-text {
        font-size: 0.85rem;
    }

    .hex-grid {
        transform: scale(0.48);
    }

    .bg-orb {
        filter: blur(30px);
        animation-duration: 35s;
    }

    .bg-orb-3,
    .bg-orb-4,
    .hexagon.hex-web::after,
    .bg-sparkles {
        display: none !important;
    }

    .hexagon::before {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

@media (max-width: 768px) and (max-height: 670px) {
    .hero-section {
        padding: 0.25rem 1rem max(3.5rem, calc(3rem + env(safe-area-inset-bottom, 0px))) 1rem;
    }

    .hero-container {
        gap: 0.35rem;
        transform: translateY(-1.75rem);
    }

    .hero-section .logo-bee {
        width: 130px;
        height: 56px;
        margin-bottom: 0;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 0.82rem;
    }

    .btn-hero-primary {
        padding: 0.6rem 1.25rem;
        font-size: 0.88rem;
    }

    .creator-badge {
        bottom: max(1.25rem, calc(0.85rem + env(safe-area-inset-bottom, 0px)));
    }
}

.manual-section {
    display: none;
    padding: 5rem 1.5rem;
    position: relative;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.manual-section.active {
    display: block;
    opacity: 1;
    animation: fadeInSection 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInSection {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.manual-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.manual-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.manual-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    background: rgba(220, 200, 240, 0.35);
    border: 1px solid rgba(184, 193, 236, 0.6);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 700;
}

.manual-title {
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    line-height: 1.25;
}

.manual-highlight {
    background: linear-gradient(135deg, #b8c1ec 0%, #f2b5c8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.manual-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}


.steps-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem 1.8rem;
    position: relative;
    padding-top: 1.5rem;
    padding-bottom: 3rem;
    max-width: 1240px;
    margin: 0 auto;
}

.step-card {
    width: 340px;
    min-height: 400px;
    height: 400px;
    background: #ffffff;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    padding: 2.5rem 2rem 2.4rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    gap: 0.5rem;
    transition: all 0.35s ease;
    filter: drop-shadow(0 6px 16px rgba(180, 160, 200, 0.12));
    margin: 0.5rem 0.6rem;
}

.step-card::after {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: rgba(220, 210, 235, 0.7);
    z-index: -1;
    padding: 2px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: background 0.35s ease;
}

.step-card>* {
    position: relative;
    z-index: 1;
}

.step-card:hover {
    transform: translateY(-6px);
    filter: drop-shadow(0 12px 28px rgba(150, 130, 180, 0.22));
    background: #ffffff;
}

.step-card:hover::after {
    background: rgba(180, 150, 220, 0.9);
}

.step-icon {
    width: 50px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
    margin-top: 0.1rem;
    margin-bottom: 0.1rem;
    flex-shrink: 0;
}

.step-card:hover .step-icon {
    transform: scale(1.15) rotate(8deg);
    filter: drop-shadow(0 6px 12px rgba(180, 150, 210, 0.4));
}

.icon-lavender {
    background: linear-gradient(135deg, #e4e7f9 0%, #d5daf7 100%);
    color: #5b68b8;
}

.icon-pink {
    background: linear-gradient(135deg, #fbe3eb 0%, #f7cad9 100%);
    color: #c95a7f;
}

.icon-mint {
    background: linear-gradient(135deg, #e2f4ee 0%, #c9edd2 100%);
    color: #3b8e75;
}

.icon-yellow {
    background: linear-gradient(135deg, #fcf6d6 0%, #f9eda6 100%);
    color: #9e851d;
}

.icon-purple {
    background: linear-gradient(135deg, #eedef5 0%, #e0c8ee 100%);
    color: #844da3;
}

.icon-gold {
    background: linear-gradient(135deg, #f7eaae 0%, #f5cdb5 100%);
    color: #8a571c;
}

.step-number {
    display: none;
}

.step-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    margin: 0;
    max-width: 245px;
}

.step-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.4;
    max-width: 250px;
    margin: 0;
    word-break: normal;
    overflow-wrap: break-word;
}

.step-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.73rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    background: linear-gradient(135deg, rgba(240, 230, 250, 0.85) 0%, rgba(245, 235, 255, 0.95) 100%);
    border: 1px solid rgba(210, 195, 235, 0.6);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    width: fit-content;
    white-space: nowrap;
}

.status-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.15rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
}

.pill-creado {
    background: #e8f0fe;
    color: #1a73e8;
}

.pill-confirmado {
    background: #e6f4ea;
    color: #137333;
}

.pill-asistida {
    background: #feefe3;
    color: #b06000;
}

.pill-cancelado {
    background: #fce8e6;
    color: #c5221f;
}

.highlight-card {
    background: #ffffff;
}

.pill-gold {
    background: linear-gradient(135deg, #f7eaae 0%, #f5e6a3 100%);
    color: #6a4a15;
}

@media (max-width: 768px) {
    .manual-section {
        padding: 3rem 1rem;
    }

    .manual-title {
        font-size: 1.75rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }
}

.step-card.kpi-preview-card {
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    user-select: none;
}

.step-card.kpi-preview-card:hover {
    border-color: #5b68b8;
    box-shadow: 0 14px 36px rgba(91, 104, 184, 0.25);
    transform: translateY(-6px);
}

.step-card-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.25rem;
    width: 100%;
    max-width: 240px;
    padding-bottom: 0.5rem;
}

.kpi-modal-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, #5b68b8 0%, #48549e 100%);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 600;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(91, 104, 184, 0.3);
    transition: all 0.3s ease;
}

.step-card.kpi-preview-card:hover .kpi-modal-trigger-btn {
    background: linear-gradient(135deg, #48549e 0%, #364080 100%);
    transform: scale(1.04);
    box-shadow: 0 6px 16px rgba(91, 104, 184, 0.45);
}

.kpi-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.kpi-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.kpi-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 14, 28, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.kpi-modal-dialog {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 24px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kpi-modal.is-open .kpi-modal-dialog {
    transform: scale(1) translateY(0);
}

.kpi-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(240, 235, 245, 0.9);
    border: none;
    color: #4a3e56;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.25s ease;
}

.kpi-modal-close:hover {
    background: #5b68b8;
    color: #ffffff;
    transform: rotate(90deg) scale(1.1);
}

.kpi-modal-header {
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid rgba(230, 225, 240, 0.6);
}

.kpi-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #5b68b8;
    background: #e4e7f9;
    padding: 0.35rem 0.85rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.kpi-modal-title {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    margin: 0;
}

.kpi-modal-body {
    padding: 1.5rem;
    overflow: auto;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 74vh;
}

.kpi-modal-img-frame {
    background: #fdf6ff;
    padding: 1.25rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(80, 65, 105, 0.12);
    border: 1.5px solid rgba(220, 210, 240, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    width: fit-content;
}

.kpi-modal-img {
    max-width: 100%;
    max-height: 64vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

.kpi-modal-footer {
    padding: 0.85rem 2rem;
    background: #ffffff;
    border-top: 1px solid rgba(230, 225, 240, 0.6);
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .step-card {
        width: 310px;
        min-height: 370px;
        height: 370px;
        padding: 2.6rem 1.6rem 2.2rem;
        margin: 0.5rem 0;
        gap: 0.45rem;
    }

    .step-icon {
        width: 46px;
        height: 52px;
        font-size: 1.3rem;
        margin-top: 0;
        margin-bottom: 0;
    }

    .step-title {
        font-size: 1rem;
        max-width: 230px;
    }

    .step-desc {
        font-size: 0.79rem;
        line-height: 1.35;
        max-width: 235px;
    }

    .step-card-footer {
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
        max-width: 235px;
    }

    .kpi-modal-trigger-btn {
        width: auto;
        justify-content: center;
        padding: 0.45rem 0.85rem;
        font-size: 0.78rem;
    }

    .kpi-modal {
        padding: 0.75rem;
    }

    .kpi-modal-dialog {
        max-height: 94vh;
        border-radius: 18px;
    }

    .kpi-modal-header {
        padding: 1.25rem 3.5rem 0.85rem 1.25rem;
    }

    .kpi-modal-title {
        font-size: 1.15rem;
        line-height: 1.35;
    }

    .kpi-modal-close {
        top: 0.85rem;
        right: 0.85rem;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .kpi-modal-body {
        padding: 0.75rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .kpi-modal-img {
        width: 100%;
        min-width: 280px;
        border-radius: 10px;
    }

    .kpi-modal-footer {
        padding: 0.75rem 1.25rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 340px) {
    .btn-login span {
        display: none;
    }

    .btn-login {
        padding: 0.55rem 0.7rem;
    }
}

@media (max-width: 480px) {
    .kpi-modal {
        padding: 0.4rem;
    }

    .kpi-modal-dialog {
        border-radius: 16px;
    }

    .kpi-modal-header {
        padding: 1rem 3rem 0.75rem 1rem;
    }

    .kpi-modal-title {
        font-size: 1rem;
    }

    .kpi-modal-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.65rem;
    }

    .kpi-modal-body {
        padding: 0.5rem;
    }
}