@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --lm-blue: #1E56CB;
    --lm-blue-hover: #1545A8;
    --text-primary: #0F172A; /* Slate 900 */
    --text-secondary: #64748B; /* Slate 500 */
    --bg-white: #FFFFFF;
    --bg-alt: #F8FAFC; /* Slate 50 */
    --border-light: #E2E8F0; /* Slate 200 */
    --cursor-color: #1E56CB;
    
    /* Layout Variables */
    --nav-height: 80px;
    --container-width: 1400px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: initial;
}

html, body {
    width: 100%;
    min-height: 100vh;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
    cursor: none; /* Hide default cursor */
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.text-accent {
    color: var(--lm-blue);
}

/* Text Mask Reveal Utils */


#dynamic-ecosystem {
    display: inline-block;
}

.js-s-lines > span {
    display: inline-block;
    will-change: transform, opacity, filter;
}

/* =========================================
   CURSOR
   ========================================= */
#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--cursor-color);
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                height 0.3s cubic-bezier(0.25, 1, 0.5, 1),
                background-color 0.3s ease;
    mix-blend-mode: difference;
}

/* =========================================
   PRELOADER
   ========================================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-white);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-text {
    font-size: 2rem;
    font-weight: 600;
    color: var(--lm-blue);
    overflow: hidden;
}

.preloader-text span {
    display: inline-block;
}

/* =========================================
   WEBGL BACKGROUND
   ========================================= */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* =========================================
   HEADER
   ========================================= */
.nk-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 100;
    display: flex;
    align-items: center;
    transition: background 0.4s ease, border-bottom 0.4s ease, padding 0.4s ease;
}

.nk-header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

.nk-header-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nk-nav {
    display: flex;
    gap: 40px;
}

.nk-nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.15rem; /* Aumentado a proporção do header */
    transition: color 0.3s ease;
}

.nk-nav-link:hover {
    color: var(--lm-blue); /* fallback */
}
.nk-nav-link[href="#ingressos"]:hover { color: #1E56CB; }
.nk-nav-link[href="#duo"]:hover { color: #00AEEF; } /* Azul Claro */
.nk-nav-link[href="#core"]:hover { color: #000000; } /* Preto */
.nk-nav-link[href="#tab"]:hover { color: #F22B5D; }
.nk-nav-link[href="#sync"]:hover { color: #FF6600; }
.nk-nav-link[href="#grafica"]:hover { color: #8B5CF6; }
.nk-nav-link[href="#equipe"]:hover { color: #64748B; }

/* Buttons */
.nk-btn-outline {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 30px;
    font-family: inherit;
    font-weight: 500;
    cursor: none;
    transition: all 0.3s ease;
}

.nk-btn-outline:hover {
    border-color: var(--lm-blue);
    color: var(--lm-blue);
}

.nk-btn-solid {
    background: var(--lm-blue);
    border: none;
    color: #fff;
    padding: 16px 36px;
    border-radius: 30px;
    font-family: inherit;
    font-weight: 500;
    font-size: 1rem;
    cursor: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

.nk-btn-solid:hover {
    background: var(--lm-blue-hover);
}

/* =========================================
   HERO
   ========================================= */
.nk-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 20px;
}

.nk-hero-content {
    max-width: 1000px;
}

.nk-hero-title {
    font-size: clamp(3.5rem, 8vw, 7rem); /* HUGE font like Apple */
    margin-bottom: 24px;
    letter-spacing: -0.04em; /* Tighter letter spacing */
    line-height: 1.05;
    font-weight: 800;
}

.apple-text-mask {
    /* Imagem de alta resolução de um grande evento (da Unsplash) */
    background-image: url('https://images.unsplash.com/photo-1540039155732-d6f24b5d5b8e?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax Effect inside the text! */
    
    /* The Magic */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    display: inline-block;
    padding-right: 10px; /* Prevenir corte em itálicos/bordas */
}

.nk-hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 750px;
    margin: 0 auto 40px auto;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.nk-hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; /* Reduced spacing */
}

/* =========================================
   HERO TYPOGRAPHY
   ========================================= */
.nk-hero-title-wrapper {
    margin-bottom: 24px;
}

.nk-btn-text {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-weight: 500;
    font-size: 1rem;
    cursor: none;
    position: relative;
}

.nk-btn-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--lm-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nk-btn-text:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* =========================================
   HORIZONTAL SCROLL SECTION
   ========================================= */
/* =========================================
   APPLE STYLE VERTICAL SECTION
   ========================================= */
.apple-vertical-section {
    padding: 80px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

.apple-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px auto;
    padding: 0 40px;
}

.apple-header h2 {
    font-size: 4.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.apple-header p {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.apple-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 80px auto;
    padding: 0 40px;
    gap: 80px;
}

.apple-block.reverse {
    flex-direction: row-reverse;
}

.apple-text {
    flex: 1;
    max-width: 500px;
}

.apple-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--lm-blue);
    margin-bottom: 16px;
    padding: 6px 14px;
    background: rgba(0, 113, 227, 0.1);
    border-radius: 100px;
}

.tab-showcase .apple-tag {
    color: #000000;
    background: #f5f5f7;
}

.bento-card[style*="background: #161617"] .apple-tag {
    background: rgba(41, 151, 255, 0.15);
    color: #2997ff;
    border: 1px solid rgba(41, 151, 255, 0.2);
}

.apple-text h3 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.apple-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.apple-media {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.media-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-alt);
    border: 1px dashed var(--border-light);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    transition: transform 0.5s ease;
}

.media-placeholder:hover {
    transform: scale(1.02);
}

/* =========================================
   DEVICE MOCKUPS
   ========================================= */
.mockup-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

/* iPhone Pro Mockup */
.mockup-iphone {
    width: 280px;
    height: 580px;
    background: #111;
    border-radius: 46px;
    padding: 14px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3), inset 0 0 0 2px #444, inset 0 0 0 6px #111;
    position: relative;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}
.apple-block:hover .mockup-iphone, .apple-block.reverse:hover .mockup-iphone {
    transform: rotateY(0) rotateX(0);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.4), inset 0 0 0 2px #555, inset 0 0 0 6px #111;
}
.mockup-iphone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--lm-blue), #3b82f6);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 24px;
}
.mockup-iphone-screen h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.mockup-iphone-screen p {
    font-size: 0.9rem;
    opacity: 0.8;
}
/* Dynamic Island */
.mockup-iphone::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 25px;
    background: #000;
    border-radius: 20px;
    z-index: 2;
}

/* Macbook Pro Mockup */
.mockup-macbook {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16/10;
    background: #e2e8f0;
    border-radius: 16px 16px 0 0;
    padding: 12px 12px 0 12px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: rotateY(15deg) rotateX(5deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}
.apple-block:hover .mockup-macbook, .apple-block.reverse:hover .mockup-macbook {
    transform: rotateY(0) rotateX(0);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.3);
}
.mockup-macbook-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0F172A, #1E293B);
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 40px;
    border: 1px solid #334155;
    border-bottom: none;
}
.mockup-macbook-screen h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #fff;
}
/* Macbook Base */
.mockup-macbook::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: -24px;
    right: -24px;
    height: 12px;
    background: linear-gradient(to bottom, #cbd5e1, #94a3b8);
    border-radius: 0 0 16px 16px;
    box-shadow: inset 0 -2px 4px rgba(0,0,0,0.1), 0 10px 20px rgba(0,0,0,0.1);
}
/* Trackpad indent on base */
.mockup-macbook::before {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: #94a3b8;
    border-radius: 0 0 4px 4px;
    z-index: 2;
}

/* Glass Card Mockup (for Sync / Grafica) */
.mockup-glass {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.3));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05), inset 0 0 0 1px rgba(255,255,255,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    color: var(--lm-blue);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}
.apple-block:hover .mockup-glass, .apple-block.reverse:hover .mockup-glass {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.1), inset 0 0 0 1px rgba(255,255,255,0.6);
}
.mockup-glass h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

/* Horizontal Bento Card (for span-2) */
@media (min-width: 768px) {
    .bento-card-horizontal {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 40px;
        gap: 40px;
    }
    .bento-card-horizontal .bento-card-content {
        flex: 1;
        margin-bottom: 0;
        text-align: left;
    }
    .bento-card-horizontal .bento-card-media {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }
}

.bento-card-media {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    z-index: 1;
}

.mockup-glass p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* =========================================
   BENTO GRID & CARDS
   ========================================= */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto 80px auto;
    padding: 0 40px;
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
}
.bento-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: 40px;
    cursor: none;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 450px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.08);
    border-color: var(--lm-blue);
}

.modal-only-media {
    display: none !important;
}

.modal-media .modal-only-media {
    display: block !important;
}
.bento-card-content {
    margin-bottom: 40px;
    z-index: 2;
}
.bento-card-content h3 {
    font-size: 2rem;
    margin-top: 8px;
    color: var(--text-primary);
}

/* Horizontal Bento Card (for span-2) */
@media (min-width: 768px) {
    .bento-card-horizontal {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 40px;
        gap: 40px;
        background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    }
    .bento-card-horizontal .bento-card-content {
        flex: 0 0 40%;
        margin-bottom: 0;
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    .bento-card-horizontal .bento-card-content h3 {
        font-size: 2.5rem;
    }
    .bento-card-horizontal .bento-card-media {
        flex: 1;
        justify-content: flex-end;
        position: relative;
    }
}

.bento-card-media {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* Changed from auto to none so modal clicks pass through */
    z-index: 1;
}
.bento-card-media-edge {
    margin: 0 -40px -40px -40px;
    width: calc(100% + 80px);
    display: block;
    pointer-events: none; /* Let modal clicks pass through */
    z-index: 1;
    overflow: hidden;
}
/* Scale down mockups inside Bento Grid */
.mockup-small {
    transform: scale(0.65);
    transform-origin: center center;
}
.bento-card:hover .mockup-small .mockup-iphone,
.bento-card:hover .mockup-small .mockup-macbook {
    transform: rotateY(0) rotateX(0) scale(1.05);
}
.bento-card:hover .mockup-small .mockup-glass {
    transform: translateY(-10px) scale(1.05);
}

/* =========================================
   SOLUTION EXPAND MODAL
   ========================================= */
.solution-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.solution-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Clean UI Window (No Device Frame) */
.clean-window {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    background: #ffffff;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}
.bento-card:hover .clean-window {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.25);
}
.modal-content-wrapper {
    position: relative;
    width: 90%;
    max-width: 1400px;
    height: 85vh;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.15);
    padding: 60px;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    overflow-y: auto;
}
.solution-modal.active .modal-content-wrapper {
    transform: translateY(0) scale(1);
}
.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: none;
    z-index: 10;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}
.modal-close:hover {
    background: var(--text-primary);
    color: white;
}
.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    width: 100%;
    align-items: center;
}
.modal-text {
    max-width: 600px;
}
.modal-title {
    font-size: 3.5rem;
    margin: 16px 0 24px 0;
    line-height: 1.1;
}
.modal-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}
.modal-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.modal-features li {
    font-size: 1.1rem;
    color: var(--text-primary);
    padding-left: 32px;
    position: relative;
    margin-bottom: 16px;
    font-weight: 500;
}
.modal-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--lm-blue);
    font-weight: bold;
}
.modal-media {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.modal-media .bento-card-media,
.modal-media .bento-card-media-edge {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}
.modal-media .mockup-wrapper {
    transform: scale(1.1);
}

/* =========================================
   CHECKOUT FLOW ANIMATION (Ingressos)
   ========================================= */
.checkout-flow {
    width: 100%;
    height: 100%;
    background: #ffffff;
    position: relative;
    font-family: 'Montserrat', -apple-system, sans-serif;
    overflow: hidden;
}

/* Navbar Fake */
.checkout-navbar {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 50px;
    background: #ffffff;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 15px; box-sizing: border-box;
    z-index: 10;
    border-bottom: 1px solid #f1f5f9;
}
.nav-hamburger {
    display: flex; flex-direction: column; gap: 4px;
}
.nav-hamburger span {
    width: 20px; height: 2px; background: #1e293b; border-radius: 2px;
}
.nav-title {
    font-weight: 700; color: #1e293b; font-size: 0.9rem;
}
.nav-user {
    color: #1e293b; display: flex; align-items: center;
}

.checkout-view {
    position: absolute;
    top: 50px; left: 0; width: 100%; height: calc(100% - 50px);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    opacity: 0;
    box-sizing: border-box;
}

/* View 1: Event */
.view-event {
    animation: flowEvent 8s infinite;
    justify-content: flex-start;
}
.event-hero {
    width: 100%; height: 180px;
    background-image: url('../images/festival_cover.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 0 0 20px 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.event-info {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}
.real-event-title {
    font-size: 1.2rem;
    color: #1e293b;
    margin: 0 0 4px 0;
    font-weight: 800;
}
.real-event-date {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0 0 20px 0;
}
.real-event-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    border-radius: 12px;
}
.real-event-price span {
    font-size: 0.8rem;
    color: #475569;
}
.real-event-price strong {
    font-size: 1rem;
    color: var(--lm-blue);
}

.buy-btn {
    position: absolute;
    bottom: 20px;
    width: calc(100% - 40px);
    left: 20px;
    padding: 14px;
    background: var(--lm-blue); color: white;
    border-radius: 12px; text-align: center;
    font-size: 0.85rem; font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 16px rgba(30, 86, 203, 0.3);
    animation: btnPress 8s infinite;
}

/* View 2: Processing */
.view-processing {
    animation: flowProcessing 8s infinite;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(5px);
}
.spinner {
    width: 50px; height: 50px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid var(--lm-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}
.processing-text {
    color: #475569; font-size: 0.9rem; font-weight: 600;
}

/* View 3: Ticket */
.view-ticket {
    animation: flowTicket 8s infinite;
    padding: 20px;
    background: #f8fafc;
}
.success-icon {
    width: 60px; height: 60px;
    background: #10b981; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; 
    margin-bottom: 25px;
    animation: popIn 8s infinite;
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}
.mini-app-ticket {
    background: white;
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid #f1f5f9;
    box-sizing: border-box;
}
.mini-app-ticket::before, .mini-app-ticket::after {
    content: ''; position: absolute; top: 60%; width: 24px; height: 24px;
    background: #f8fafc; border-radius: 50%; transform: translateY(-50%);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.mini-app-ticket::before { left: -12px; }
.mini-app-ticket::after { right: -12px; }

.ticket-event {
    color: #1e293b; font-size: 1rem; font-weight: 800; text-transform: uppercase;
    margin-bottom: 4px;
}
.ticket-date {
    color: #64748b; font-size: 0.7rem; margin-top: 0; margin-bottom: 20px;
}
.ticket-status {
    color: #10b981; font-size: 0.75rem; font-weight: 700; margin-top: 20px; margin-bottom: 0;
    text-transform: uppercase; letter-spacing: 1px;
}
.qr-code-box {
    width: 160px; aspect-ratio: 1; margin: 0 auto;
    background-color: white;
    background-image: radial-gradient(#1e293b 40%, transparent 40%);
    background-size: 10px 10px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    position: relative; overflow: hidden;
}
.qr-scanner-line {
    position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: var(--lm-blue); box-shadow: 0 0 15px var(--lm-blue);
    animation: scanQR 2s linear infinite;
}

/* Keyframes for the 8-second story flow */
@keyframes flowEvent {
    0%, 15% { opacity: 1; pointer-events: auto; }
    20%, 95% { opacity: 0; pointer-events: none; }
    100% { opacity: 1; pointer-events: auto; }
}
@keyframes btnPress {
    0%, 15% { transform: scale(1); background: var(--lm-blue); box-shadow: 0 8px 16px rgba(30, 86, 203, 0.3); }
    16% { transform: scale(0.95); background: #1545a8; box-shadow: 0 2px 4px rgba(30, 86, 203, 0.2); }
    18% { transform: scale(0.95); background: #1545a8; box-shadow: 0 2px 4px rgba(30, 86, 203, 0.2); }
    20%, 100% { transform: scale(1); background: var(--lm-blue); box-shadow: 0 8px 16px rgba(30, 86, 203, 0.3); }
}
@keyframes flowProcessing {
    0%, 15% { opacity: 0; }
    20%, 35% { opacity: 1; }
    40%, 100% { opacity: 0; }
}
@keyframes flowTicket {
    0%, 35% { opacity: 0; transform: translateY(20px); }
    40%, 90% { opacity: 1; transform: translateY(0); }
    95%, 100% { opacity: 0; transform: translateY(-20px); }
}
@keyframes popIn {
    0%, 35% { transform: scale(0); }
    40% { transform: scale(1.2); }
    45%, 90% { transform: scale(1); }
    95%, 100% { transform: scale(0); }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes scanQR {
    0% { top: 0%; opacity: 0; }
    10%, 90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* =========================================
   FINAL CTA & FOOTER
   ========================================= */
.nk-final-cta {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-white);
}

.nk-final-cta h2 {
    font-size: 4rem;
    margin-bottom: 40px;
}

/* =========================================
   SIMPLE DARK FOOTER
   ========================================= */
.simple-dark-footer {
    background-color: #0d0d12;
    color: #ffffff;
    padding-top: 80px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    margin-top: 60px;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 24px;
}

.footer-tagline {
    color: #86868b;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 300px;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col a {
    color: #86868b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #86868b;
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #86868b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #ffffff;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .simple-dark-footer {
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
        padding-top: 60px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* =========================================
   MEDIA QUERIES
   ========================================= */
@media (max-width: 1024px) {
    .h-sector {
        padding: 0 20px;
    }
    
    .nk-hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nk-nav {
        display: none;
    }
    
    .nk-hero-title {
        font-size: 2.5rem;
    }
    
    .nk-hero-cta {
        flex-direction: column;
    }
    
    .apple-vertical-section {
        padding: 80px 0;
    }
    
    .apple-header h2 {
        font-size: 3rem;
    }
    
    .apple-block, .apple-block.reverse {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 100px;
        text-align: center;
    }
    
    .apple-text {
        max-width: 100%;
    }
    
    .apple-text h3 {
        font-size: 2.5rem;
    }
    
    .media-placeholder {
        aspect-ratio: 1/1;
        border-radius: 24px;
    }
}

/* =========================================
   HERO CAROUSEL CONTROLS
   ========================================= */
.hero-controls-wrapper {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px; /* slightly more gap between pill and button */
    z-index: 10;
    pointer-events: auto; /* allow clicks on controls */
}

.hero-pagination {
    background: rgba(38, 38, 38, 0.95); /* darker, opaque gray matching image */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 12px 18px; /* matched proportion */
    display: flex;
    align-items: center;
    gap: 10px; /* spacing between dots */
}

.hero-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #a1a1a6; /* lighter gray for inactive dots */
    opacity: 1;
    border-radius: 50%;
    margin: 0 !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-pagination .swiper-pagination-bullet-active {
    width: 32px;
    height: 12px;
    background: #a1a1a6; /* same inner gray */
    border-radius: 12px;
    border: 2px solid rgba(38, 38, 38, 0.95); /* gap effect */
    box-shadow: 0 0 0 2px #007aff; /* Bright Apple blue outer ring */
}

.hero-play-pause {
    width: 44px; /* match height of pill container */
    height: 44px;
    flex-shrink: 0; /* PREVENT OVAL SQUISHING */
    padding: 0; /* reset browser button padding */
    border-radius: 50%;
    background: rgba(38, 38, 38, 0.95); /* exact same color as pill */
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-play-pause:hover {
    background: rgba(48, 48, 48, 0.95);
    transform: scale(1.05);
}

/* =========================================
   CORE FLOATING UI WIDGETS
   ========================================= */
.core-ux-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.core-widget {
    background: rgba(40, 40, 42, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: absolute;
    color: #fff;
    will-change: transform;
}

.widget-balance {
    width: 280px;
    left: 10%;
    top: 5%;
    z-index: 2;
}

.widget-balance .widget-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #a1a1a6;
    margin-bottom: 12px;
}

.widget-balance .widget-value {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff, #a1a1a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.widget-balance .widget-chart svg {
    width: 100%;
    height: 60px;
    overflow: visible;
    display: block;
}

.widget-conciliation {
    width: 210px;
    right: 5%;
    top: 0%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
}

.widget-conciliation .conc-icon {
    width: 36px;
    height: 36px;
    background: rgba(52, 199, 89, 0.15);
    color: #34c759;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.widget-conciliation .conc-text {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

.widget-conciliation .conc-status {
    font-size: 0.75rem;
    color: #34c759;
    margin-top: 4px;
    font-weight: 600;
}

.widget-action {
    width: 280px;
    right: 15%;
    bottom: 5%;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
}

.widget-action .action-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #007aff, #0056b3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.widget-action .action-details {
    flex: 1;
}

.widget-action .action-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.widget-action .action-time {
    font-size: 0.75rem;
    color: #a1a1a6;
    margin-top: 2px;
}

.widget-action .action-amount {
    font-size: 1rem;
    font-weight: 700;
    color: #34c759;
}

/* Floating Animations */
@keyframes float1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes float2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}
@keyframes float3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.float-anim-1 { animation: float1 6s ease-in-out infinite; }
.float-anim-2 { animation: float2 8s ease-in-out infinite 1s; }
.float-anim-3 { animation: float3 7s ease-in-out infinite 2s; }

.hero-play-pause svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

/* =========================================
   LM TAB ANIMATION (NFC)
   ========================================= */
.anim-tab-wrapper {
    position: relative;
    width: 200px;
    height: 180px;
}
.anim-pos {
    width: 120px;
    height: 160px;
    background: #1d1d1f;
    border-radius: 16px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
    z-index: 1;
}
.pos-screen {
    width: 100px;
    height: 120px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}
.pos-amount {
    font-size: 1.1rem;
    font-weight: 700;
}
.pos-status {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #34c759;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: tab-success 4s infinite;
}
.pos-status .check-icon {
    width: 16px;
    height: 16px;
    color: white;
}
.anim-phone {
    width: 80px;
    height: 150px;
    background: #f5f5f7;
    border: 3px solid #d2d2d7;
    border-radius: 20px;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) rotate(10deg);
    z-index: 3;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    animation: tab-phone-tap 4s infinite;
}
.phone-screen {
    background: #007aff;
    position: absolute;
    top: 4px; left: 4px; right: 4px; bottom: 4px;
    border-radius: 16px;
}
.anim-nfc-waves {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.anim-nfc-waves span {
    display: block;
    width: 40px;
    height: 10px;
    border-top: 3px solid #007aff;
    border-radius: 50%;
    opacity: 0;
    animation: tab-nfc 4s infinite;
}
.anim-nfc-waves span:nth-child(2) { width: 30px; animation-delay: 0.1s; }
.anim-nfc-waves span:nth-child(3) { width: 20px; animation-delay: 0.2s; }

@keyframes tab-phone-tap {
    0%, 10% { transform: translateX(-50%) translateY(-50px) rotate(15deg); }
    25%, 50% { transform: translateX(-50%) translateY(20px) rotate(0deg); }
    65%, 100% { transform: translateX(-50%) translateY(-50px) rotate(15deg); }
}
@keyframes tab-nfc {
    0%, 25% { opacity: 0; transform: scale(0.8); }
    30%, 40% { opacity: 1; transform: scale(1.1); }
    50%, 100% { opacity: 0; transform: scale(1.2); }
}
@keyframes tab-success {
    0%, 35% { opacity: 0; transform: scale(0.5); }
    40%, 60% { opacity: 1; transform: scale(1); }
    65%, 100% { opacity: 0; transform: scale(0.5); }
}

/* =========================================
   LM GRÁFICA ANIMATION (PRINTER)
   ========================================= */
.anim-print-wrapper {
    position: relative;
    width: 200px;
    height: 180px;
}
.anim-printer {
    width: 140px;
    height: 60px;
    background: #f5f5f7;
    border-radius: 12px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 2;
}
.printer-slot {
    width: 100px;
    height: 6px;
    background: #1d1d1f;
    border-radius: 4px;
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
}
.printer-light {
    width: 6px;
    height: 6px;
    background: #34c759;
    border-radius: 50%;
    position: absolute;
    right: 15px;
    top: 30px;
    animation: blink-light 1s infinite;
}
.anim-ticket {
    width: 90px;
    height: 120px;
    background: white;
    border: 1px solid #e5e5ea;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    padding: 10px;
    animation: print-ticket 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}
.ticket-header {
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
    color: #1d1d1f;
    border-bottom: 2px dashed #d2d2d7;
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.ticket-barcode {
    display: flex;
    justify-content: space-between;
    height: 40px;
    margin-top: auto;
}
.ticket-barcode span {
    background: #1d1d1f;
    width: 4px;
    height: 100%;
}
.ticket-barcode span:nth-child(2) { width: 2px; }
.ticket-barcode span:nth-child(4) { width: 6px; }
.ticket-barcode span:nth-child(7) { width: 8px; }

@keyframes print-ticket {
    0%, 10% { transform: translateX(-50%) translateY(120px); opacity: 0; }
    30% { transform: translateX(-50%) translateY(0); opacity: 1; }
    70% { transform: translateX(-50%) translateY(0); opacity: 1; }
    80%, 100% { transform: translateX(-50%) translateY(-20px); opacity: 0; }
}
@keyframes blink-light {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.3; }
}

/* =========================================
   LM SYNC ANIMATION (API NODES)
   ========================================= */
.anim-sync-wrapper {
    position: relative;
    width: 200px;
    height: 180px;
}
.sync-node {
    background: #1d1d1f;
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    position: absolute;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    z-index: 2;
}
.center-node {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 2px solid #38bdf8;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
    animation: sync-pulse 2s infinite;
}
.center-node svg { width: 24px; height: 24px; color: #38bdf8; }
.node-1 { width: 45px; height: 35px; top: 10%; left: 10%; }
.node-2 { width: 45px; height: 35px; top: 10%; right: 10%; }
.node-3 { width: 45px; height: 35px; bottom: 10%; left: 50%; transform: translateX(-50%); }

.sync-line {
    position: absolute;
    background: rgba(56, 189, 248, 0.2);
    height: 2px;
    z-index: 1;
    top: 50%; left: 50%;
    transform-origin: 0 50%;
}
.line-1 { width: 70px; transform: rotate(225deg); }
.line-2 { width: 70px; transform: rotate(315deg); }
.line-3 { width: 60px; transform: rotate(90deg); }

.sync-dot {
    width: 6px;
    height: 6px;
    background: #38bdf8;
    border-radius: 50%;
    position: absolute;
    top: -2px;
    left: 0;
    box-shadow: 0 0 10px #38bdf8;
    animation: sync-data-travel 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}
.line-2 .sync-dot { animation-delay: 0.4s; }
.line-3 .sync-dot { animation-delay: 0.8s; }

@keyframes sync-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 20px rgba(56, 189, 248, 0.4); }
    50% { transform: translate(-50%, -50%) scale(1.05); box-shadow: 0 0 30px rgba(56, 189, 248, 0.8); }
}
@keyframes sync-data-travel {
    0% { left: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* =========================================
   PRODUCT SHOWCASE SECTION (LM | TAB)
   ========================================= */
.product-showcase {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    background: radial-gradient(circle at center, #ffffff 0%, #f5f5f7 100%);
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.showcase-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.showcase-header {
    text-align: center;
    max-width: 700px;
    margin-bottom: 80px;
}

.showcase-header h2 {
    font-size: 3.5rem;
    letter-spacing: -0.03em;
    color: #1d1d1f;
    margin-bottom: 24px;
    margin-top: 16px;
}

.showcase-header p {
    font-size: 1.25rem;
    color: #86868b;
    line-height: 1.5;
}

.showcase-center {
    position: relative;
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-hero-image {
    width: 100%;
    max-width: 800px;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.1);
    z-index: 2;
}

.orbit-feature {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    z-index: 3;
    animation: float-orbit 6s ease-in-out infinite;
}

.orbit-icon {
    font-size: 24px;
    background: #f5f5f7;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.orbit-text h4 {
    font-size: 1rem;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.orbit-text span {
    font-size: 0.85rem;
    color: #86868b;
}

/* Positioning the orbit features around the hero image */
.feature-ifood { top: 10%; left: -5%; animation-delay: 0s; }
.feature-kds { bottom: 15%; left: -10%; animation-delay: 1.5s; }
.feature-multi { top: 20%; right: -5%; animation-delay: 0.7s; }
.feature-pos { bottom: 25%; right: -10%; animation-delay: 2.2s; }

@keyframes float-orbit {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@media (max-width: 900px) {
    .showcase-center {
        flex-direction: column;
        gap: 20px;
    }
    .orbit-feature {
        position: relative;
        top: auto !important; left: auto !important; right: auto !important; bottom: auto !important;
        width: 100%;
        max-width: 350px;
        animation: none;
    }
}

/* =========================================
   Z-PATTERN SERVICES SECTION
   ========================================= */
.services-zigzag {
    width: 100%;
    padding: 80px 20px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
}

.feature-row {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    max-width: 500px;
}

.feature-text h2 {
    font-size: 3rem;
    letter-spacing: -0.03em;
    color: #1d1d1f;
    margin-bottom: 24px;
    margin-top: 16px;
}

.feature-text p {
    font-size: 1.25rem;
    color: #86868b;
    line-height: 1.5;
    margin-bottom: 32px;
}

.feature-media {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f7;
    border-radius: 40px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.feature-wrapper-scale {
    transform: scale(1.5);
}

@media (max-width: 900px) {
    .services-zigzag {
        gap: 80px;
        padding: 80px 20px;
    }
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .feature-text {
        max-width: 100%;
    }
    .feature-media {
        width: 100%;
        padding: 60px 20px;
    }
}

/* =========================================
   GLOBAL NETWORK MAP
   ========================================= */
.global-network {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.global-network-header {
    text-align: center;
    margin-bottom: 60px;
    z-index: 10;
}

.global-network-header h2 {
    font-size: 3.5rem;
    letter-spacing: -0.03em;
    color: #f5f5f7;
    margin-bottom: 16px;
}

.global-network-header p {
    font-size: 1.25rem;
    color: #86868b;
    max-width: 600px;
    margin: 0 auto;
}

.global-map-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    background-image: url('../images/brazil-map.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 auto;
}

/* LM TAB Split Layout */
/* LM TAB Split Layout */
.tab-split-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 80px;
    width: 100%;
    margin-top: 60px;
    max-width: 1200px;
}

.tab-features-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    max-width: 500px;
}

.apple-feature-block {
    display: flex;
    flex-direction: column;
    padding: 32px 0;
}

.apple-feature-block h3 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1d1d1f;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 12px;
}

.apple-feature-block p {
    font-size: 1.25rem;
    color: #86868b;
    line-height: 1.5;
    font-weight: 500;
    margin: 0;
}

.apple-feature-separator {
    width: 100%;
    height: 1px;
    background-color: #d2d2d7;
    margin: 0;
}

.tab-video-side {
    flex: 0 0 340px;
    display: flex;
    justify-content: center;
}

.tab-hero-video {
    width: 100%;
    max-width: 340px;
    background: #111;
    aspect-ratio: 9/16;
    object-fit: contain;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
    border: 8px solid #1d1d1f;
}

@media (max-width: 992px) {
    .tab-split-layout {
        flex-direction: column-reverse;
        gap: 40px;
    }
    
    .tab-video-side {
        flex: auto;
        width: 100%;
    }
}

/* LM Gráfica Showcase - Apple Style */
.grafica-showcase {
    background-color: #000;
    color: #f5f5f7;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    border-radius: 48px;
    margin: 40px 20px; /* Detaches block from screen edges */
}

/* Background glow */
.grafica-showcase::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(191, 90, 242, 0.12) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
}

.grafica-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.grafica-text {
    margin-bottom: 60px;
}

.grafica-logo {
    height: 48px;
    width: auto;
    margin-bottom: 16px;
    filter: grayscale(1) invert(1) brightness(2);
    mix-blend-mode: screen;
    opacity: 0.9;
}

.grafica-text h2 {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin: 24px 0;
    line-height: 1.1;
    background: linear-gradient(180deg, #fff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.grafica-text p {
    font-size: 1.5rem;
    color: #a1a1a6;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

.apple-tag.dark {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .grafica-text h2 {
        font-size: 3rem;
    }
}

/* Grafica Interactive Showcase */
.grafica-interactive-showcase {
    margin: 80px auto 0;
    width: 100%;
    max-width: 1200px;
    display: flex;
    gap: 80px;
    align-items: center;
}

.gi-text-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: left;
}

.gi-item {
    cursor: pointer;
    position: relative;
    padding-left: 24px;
    transition: all 0.4s ease;
    text-align: left;
}

.gi-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #333;
    border-radius: 4px;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.gi-item.active::before {
    background: #bf5af2;
    box-shadow: 0 0 15px rgba(191, 90, 242, 0.6);
}

.gi-item h3 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #555;
    transition: color 0.4s ease, transform 0.4s ease;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.03em;
}

.gi-item:hover h3 {
    color: #888;
}

.gi-item.active h3 {
    color: #fff;
    transform: translateX(12px);
}

.gi-item p {
    font-size: 1.25rem;
    color: #a1a1a6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, margin 0.5s ease, transform 0.5s ease;
    opacity: 0;
    margin: 0;
    transform: translate(0, -10px);
}

.gi-item.active p {
    max-height: 120px;
    opacity: 1;
    margin-top: 16px;
    transform: translate(8px, 0);
}

.gi-image-column {
    flex: 1.2;
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.05);
}

.gi-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.1);
}

.gi-image.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

@media (max-width: 992px) {
    .grafica-interactive-showcase {
        flex-direction: column-reverse;
        gap: 40px;
    }
    
    .gi-image-column {
        width: 100%;
        aspect-ratio: 16/9;
    }
    
    .gi-item h3 {
        font-size: 2.5rem;
    }
}

/* Trust Indicators Section - Ultra Clean */
.trust-indicators {
    position: relative;
    padding: 40px 20px; /* Reduced from 160px */
    background-color: #fff;
    color: #1d1d1f;
}

.trust-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-header {
    margin-bottom: 60px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.trust-header h2 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin: 0 0 32px 0;
    color: #1d1d1f;
}

.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.trust-badge-line {
    width: 32px;
    height: 2px;
    background-color: #007aff;
}

.trust-badge p {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    color: #86868b;
    margin: 0;
    line-height: 1.4;
}

.trust-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #86868b;
    margin: 0;
}

/* Bento Grid */
.trust-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 24px;
    perspective: 1200px;
}

.trust-bento-card {
    position: relative;
    background-color: #f5f5f7;
    border-radius: 32px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.1s linear, box-shadow 0.1s linear;
}

.trust-bento-card:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.08), inset 0 0 0 1px rgba(255,255,255,0.8);
    z-index: 5;
}

.trust-bento-card:hover .card-glare {
    opacity: 1;
}

.bento-content {
    position: relative;
    z-index: 2;
}

/* Map Card */
.bento-map {
    grid-column: span 2;
    grid-row: span 2;
    background-color: #f5f5f7;
    overflow: hidden;
}

.bento-map-dark {
    background-color: #0d0d12 !important;
    background-image: radial-gradient(circle at 100% 50%, rgba(0, 122, 255, 0.15), transparent 70%);
}

.text-white { color: #ffffff !important; }
.text-gray { color: #86868b !important; }

.bento-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.bento-subtitle {
    font-size: 1rem;
    color: #86868b;
    max-width: 250px;
}

.bento-map-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Fades the map on the left side so it doesn't overlap text */
    mask-image: linear-gradient(to right, transparent 0%, black 25%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%);
}

.brazil-map-svg {
    width: auto;
    height: 95%;
    margin-right: 4%;
    fill: url(#map-gradient);
    filter: drop-shadow(0 20px 40px rgba(0, 122, 255, 0.15));
    animation: floatMap 8s ease-in-out infinite;
    z-index: 0;
}

/* Hover effects for SVG paths (states) */
.brazil-map-svg path {
    transition: fill 0.3s ease, filter 0.3s ease;
    cursor: pointer;
    pointer-events: auto; /* Re-enable pointer events for the SVG paths */
}

.brazil-map-svg path:hover {
    fill: #ffffff;
    filter: drop-shadow(0 0 10px #ffffff);
}

/* Glowing Nodes (Native SVG) */
.svg-node {
    pointer-events: none;
}
.svg-node-core {
    filter: drop-shadow(0 0 8px #ffffff);
}
.svg-node-pulse {
    transform-origin: center;
    transform-box: fill-box;
    animation: pulseSvgNode 2s infinite ease-out;
}
.svg-node-label {
    font-size: 14px;
    font-weight: bold;
    font-family: inherit;
    opacity: 0.8;
}
@keyframes pulseSvgNode {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

/* Stat Cards */
.bento-10m {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-5k {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-uptime {
    grid-column: span 2;
    grid-row: span 1;
}

.uptime-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
}

.uptime-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.uptime-text p {
    font-size: 1rem;
    color: #86868b;
    line-height: 1.5;
}

.uptime-number {
    margin-bottom: 0 !important;
}

/* Stat Number Styles */
.stat-number {
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: -0.05em;
    color: #1d1d1f;
    line-height: 1;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
}

.stat-plus, .stat-percent {
    font-size: 2rem;
    font-weight: 400;
    color: #007aff;
    margin-top: 4px;
    margin-left: 2px;
}

.stat-label {
    font-size: 1.1rem;
    color: #86868b;
    line-height: 1.3;
    font-weight: 500;
}

.stat-sub {
    font-size: 0.85rem;
    color: #a1a1a6;
    font-weight: 400;
    margin-top: 8px;
    display: inline-block;
}

@media (max-width: 992px) {
    .trust-bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .bento-map, .bento-10m, .bento-5k, .bento-uptime {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 300px;
    }
    .uptime-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .bento-map-container {
        position: relative;
        width: 100%;
        height: 300px;
        right: 0;
        top: 20px;
    }
    .brazil-map-svg {
        height: auto;
        width: 110%;
        margin-right: 0;
    }
}

/* =========================================
   REAL POS FLOATING IMAGE (LM DUO)
   ========================================= */
.floating-pos-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    margin-top: 10px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pos-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid rgba(41, 151, 255, 0.3);
    animation: pos-ripple 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.pos-pulse-ring:nth-child(2) {
    animation-delay: 2s;
}

@keyframes pos-ripple {
    0% { width: 100px; height: 100px; opacity: 1; }
    100% { width: 450px; height: 450px; opacity: 0; }
}

.floating-pos-img {
    max-width: 85%;
    max-height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
    animation: float-pos 6s ease-in-out infinite;
    transform-origin: center center;
    z-index: 2;
    transition: filter 0.4s ease;
}

/* Hover Interactivity for the DUO Card */
.bento-card[data-sector="duo"]:hover .floating-pos-wrapper {
    transform: scale(1.05) translateY(-10px);
}
.bento-card[data-sector="duo"]:hover .floating-pos-img {
    filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.5));
}
.bento-card[data-sector="duo"]:hover .floating-totem-img {
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.5));
    transform: translateY(-5px) scale(1.02);
}
.bento-card[data-sector="duo"]:hover .pos-pulse-ring {
    border-color: rgba(41, 151, 255, 0.6);
}

@keyframes float-pos {
    0% { transform: translateY(0) rotate(-2deg); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4)); }
    50% { transform: translateY(-15px) rotate(1deg); filter: drop-shadow(0 35px 35px rgba(0, 0, 0, 0.3)); }
    100% { transform: translateY(0) rotate(-2deg); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4)); }
}

.floating-pos-wrapper::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    animation: shadow-pos 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes shadow-pos {
    0% { width: 120px; opacity: 0.6; }
    50% { width: 90px; opacity: 0.3; }
    100% { width: 120px; opacity: 0.6; }
}

/* =========================================
   Help Me Choose Section (Interactive Quiz)
   ========================================= */
.help-choose-section {
    padding: 80px 20px;
    background-color: #f5f5f7;
    position: relative;
    overflow: hidden;
    border-radius: 60px;
    margin: 20px;
}

.help-choose-container {
    max-width: 1200px;
    margin: 0 auto;
}

.help-choose-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.help-choose-header h2 {
    font-size: 3rem;
    color: #1d1d1f;
    letter-spacing: -0.03em;
    margin: 16px 0;
}

.help-choose-header p {
    font-size: 1.2rem;
    color: #86868b;
}

.ecosystem-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 850px;
    margin: 0 auto;
    background: transparent;
    overflow: hidden;
}

/* Background orbits to make it look like a futuristic solar system / ecosystem */
.ecosystem-wrapper::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 380px; height: 380px;
    border-radius: 50%;
    border: 1px dashed rgba(30, 86, 203, 0.2);
    z-index: 0;
    pointer-events: none;
    animation: slowRotate 40s linear infinite;
}

.ecosystem-wrapper::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 620px; height: 620px;
    border-radius: 50%;
    border: 1px dashed rgba(30, 86, 203, 0.1);
    z-index: 0;
    pointer-events: none;
    animation: slowRotate 60s linear infinite reverse;
}

@keyframes slowRotate {
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.eco-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.eco-line {
    stroke: #e5e5ea;
    stroke-width: 2;
    stroke-dasharray: 4 8;
    transition: all 0.5s ease;
}

.eco-line.active {
    stroke: #1E56CB;
    stroke-width: 3;
    stroke-dasharray: 10 10;
    animation: cleanDataFlow 1.5s linear infinite;
}

@keyframes cleanDataFlow {
    to { stroke-dashoffset: -20; }
}

.eco-center-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    background: #ffffff;
    color: #1d1d1f;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    border: 4px solid #f0f6ff;
    box-shadow: 0 10px 30px rgba(30, 86, 203, 0.1);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    animation: cleanPulse 4s infinite alternate;
}

@keyframes cleanPulse {
    0% { box-shadow: 0 10px 30px rgba(30, 86, 203, 0.05); border-color: #f0f6ff; }
    100% { box-shadow: 0 15px 40px rgba(30, 86, 203, 0.15); border-color: #d6e4ff; }
}

.eco-center-icon {
    margin-bottom: 5px;
    color: #1E56CB;
}

.eco-node {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: #ffffff;
    border: 1px solid #f5f5f7;
    border-radius: 50%;
    z-index: 2;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.eco-node:hover {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 12px 25px rgba(30, 86, 203, 0.15);
    border-color: rgba(30, 86, 203, 0.4);
}

.eco-node.selected {
    background: #1E56CB;
    border-color: #1E56CB;
    box-shadow: 0 15px 35px rgba(30, 86, 203, 0.25);
    color: #ffffff;
}

.eco-node-icon {
    color: #86868b;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.eco-node.selected .eco-node-icon {
    color: #ffffff;
    transform: scale(1.15);
}

.eco-node-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1d1d1f;
    text-align: center;
    line-height: 1.1;
    transition: color 0.3s ease;
}

.eco-node.selected .eco-node-title {
    color: #ffffff;
}

/* Node Positioning (Asymmetrical distances) */
.node-tickets { top: 12%; left: 50%; }
.node-pos { top: 25%; left: 75%; }
.node-print { top: 60%; left: 88%; }
.node-comanda { top: 82%; left: 50%; }
.node-staff { top: 75%; left: 20%; }
.node-sync { top: 35%; left: 10%; }

.eco-dock-wrapper {
    margin-top: -80px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 20;
}

.eco-dock-wrapper.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.eco-dock {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0,0,0,0.03);
    border-radius: 24px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 900px;
}

.eco-dock-text {
    flex-shrink: 0;
}

.eco-dock-text h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1E56CB;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.eco-dock-text p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.selected-logos {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-start;
    flex-wrap: wrap;
    min-height: 40px;
}

.selected-logos img {
    height: 36px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    flex-shrink: 0;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: transform 0.3s ease;
}

.selected-logos img:hover {
    transform: scale(1.1);
}

.eco-dock .nk-btn-solid {
    flex-shrink: 0;
    padding: 12px 24px;
}

@media (max-width: 900px) {
    .ecosystem-wrapper {
        min-height: 800px;
    }
}

@media (max-width: 600px) {
    .ecosystem-wrapper {
        min-height: 1000px;
    }
    .eco-node { width: 110px; height: 110px; }
}

.recommended-product-item-new {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #ffffff;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid #e5e5ea;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.recommended-product-item-new .brand-logo {
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 16px;
    background: transparent;
}

.recommended-product-item-new .prod-info p {
    font-size: 1rem;
    color: #424245;
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   Login Modal (Glassmorphism)
   ========================================================================== */

.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.login-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.login-modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.15);
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.login-modal-overlay.active .login-modal-card {
    transform: scale(1) translateY(0);
}

.login-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #f5f5f7;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #86868b;
    cursor: none;
    transition: all 0.3s ease;
}

.login-close-btn:hover {
    background: #e5e5ea;
    color: #1d1d1f;
}

.login-modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-modal-header .login-logo {
    height: 48px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.login-modal-header h3 {
    font-size: 1.8rem;
    color: #1d1d1f;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.login-modal-header p {
    color: #86868b;
    font-size: 0.95rem;
    margin: 0;
}

.login-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.login-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #d2d2d7;
    background: #f5f5f7;
    font-size: 1rem;
    color: #1d1d1f;
    transition: all 0.3s ease;
    outline: none;
}

.login-form input[type="text"]:focus,
.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
    border-color: #0066ff;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.form-options .remember-me {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 400;
    color: #424245;
    margin: 0;
    cursor: pointer;
}

.form-options .remember-me input {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: #0066ff;
}

.form-options .forgot-password {
    font-size: 0.85rem;
    color: #0066ff;
    text-decoration: none;
    font-weight: 500;
}

.form-options .forgot-password:hover {
    text-decoration: underline;
}

.btn-login-submit {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.1rem;
}

.login-modal-footer {
    margin-top: 32px;
    text-align: center;
    border-top: 1px solid #e5e5ea;
    padding-top: 24px;
}

.login-modal-footer p {
    font-size: 0.9rem;
    color: #86868b;
    margin: 0;
}

.login-modal-footer a {
    color: #0066ff;
    text-decoration: none;
    font-weight: 500;
}

.login-modal-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .login-modal-card {
        padding: 32px 24px;
        max-width: 90%;
    }
}

/* ====== NEW VERTICAL SIDE PANEL ====== */
.eco-layout-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.ecosystem-wrapper {
    position: relative;
    width: 100%;
    max-width: 750px;
    height: 750px;
    flex-grow: 1;
}

.eco-side-panel {
    width: 320px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0,0,0,0.03);
    border-radius: 24px;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.eco-side-panel.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.eco-panel-header h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--lm-blue);
    margin-bottom: 5px;
}

.eco-panel-header p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.4;
}

.selected-logos {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
    width: 100%;
    min-height: 80px;
}

.logo-item {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.logo-item img {
    height: 34px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.eco-panel-footer {
    margin-top: 10px;
}

.eco-panel-footer .nk-btn-solid {
    width: 100%;
    text-align: center;
    display: block;
    padding: 15px;
}

@media (max-width: 1024px) {
    .eco-layout-wrapper {
        flex-direction: column;
    }
    .eco-side-panel {
        width: 100%;
        max-width: 500px;
    }
}

/* Removed individual normalizations - single uniform height is better */
@media (max-width: 992px) { .nk-nav-action { display: none !important; } }

/* =========================================
   EQUIPE RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .equipe-devices-container {
        height: auto !important;
        padding-bottom: 40px !important;
    }
    .equipe-phone-center {
        position: relative !important;
        left: 0 !important;
        transform: none !important;
        margin: 0 auto !important;
        width: 280px !important;
        height: 580px !important;
    }
    .equipe-phone-left, .equipe-phone-right {
        display: none !important;
    }
}

/* Integration of Premium Dashboard KPI Styles */
.finance-hero-section {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.finance-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.finance-hero-title h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.finance-hero-title p {
    color: #64748b;
    font-size: 14px;
}

.finance-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    padding: 12px 0;
}

.finance-kpi-item {
    position: relative;
    padding-left: 32px;
}

.finance-kpi-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 4px;
}

.finance-kpi-item.brand-blue::before {
    background: var(--lm-blue, #1E56CB);
    box-shadow: 0 0 15px rgba(30, 86, 203, 0.4);
}

.kpi-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.kpi-value {
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
    display: block;
}

@media (max-width: 768px) {
    .finance-kpi-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
