/* ===================================================================
   ABOUT PAGE STYLES - Consolidated CSS
   Extracted from TesteAbout.cshtml for maintainability
   =================================================================== */

/* ===== CSS VARIABLES ===== */
:root {
    --trax-primary: #435DF0;
    --trax-accent: #6431E8;
    --trax-text: #0f172a;
    --trax-bg: #ffffff;
    --trax-light: #f8f9fa;
    --trax-gradient: linear-gradient(135deg, #435DF0 0%, #6431E8 100%);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --color-indigo-dark: #1F297A;
}

/* ===== GLOBAL RESETS ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ===== TYPOGRAPHY (Jost Font) ===== */
body,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    color: var(--bs-heading-color);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: .5rem;
    margin-top: 0;
}

.display-3 {
    font-size: 3rem !important;
    line-height: 1.2;
}

.display-4 {
    font-size: 2.5rem !important;
}

.fs-3 {
    font-size: 1.40625rem !important;
}

.fs-4 {
    font-size: 1.171875rem !important;
}

.fw-bold {
    font-weight: 500 !important;
}

.fw-bolder {
    font-weight: bolder !important;
}

.lead {
    font-size: 1.171875rem !important;
    font-weight: 400;
}

/* ===== COLOR OVERRIDES ===== */
.text-muted {
    color: rgba(62, 70, 118, .75) !important;
    --bs-text-opacity: 1;
}

.text-dark {
    color: rgba(83, 74, 105, 1) !important;
    --bs-text-opacity: 1;
}

.text-secondary {
    color: var(--trax-primary) !important;
}

.primary-icon {
    color: var(--trax-primary);
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-accent) 50%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BANNER BACKGROUND ===== */
.background-banner {
    background: linear-gradient(135deg, #e8edff 0%, rgba(225, 231, 239, 0.6) 50%, rgba(222, 214, 248, 0.5) 100%);
    width: 100%;
}

/* ===== BACKGROUND UTILITIES ===== */
.bg-dark {
    background-color: var(--color-indigo-dark) !important;
}

.bg-light {
    opacity: 1;
    background: linear-gradient(135deg, aliceblue 0%, rgba(225, 231, 239, 0.8) 50%, rgba(222, 214, 248, 0.7) 100%) !important;
}

/* ===== TYPOGRAPHY UTILITIES ===== */
.title-xxl {
    font-size: 2.8rem !important;
    font-weight: 700;
}

.title-xs {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.body-sm {
    font-size: 0.95rem;
    color: #ced4da;
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HERO SECTION (Linear Light Style) ===== */
.features-hero-linear {
    --linear-bg: #ffffff;
    --linear-bg-card: rgba(255, 255, 255, 0.9);
    --linear-border: rgba(15, 23, 42, 0.1);
    --linear-text: #0f172a;
    --linear-muted: #64748b;
    --linear-accent: #435DF0;

    background: linear-gradient(135deg, #e8edff 0%, rgba(225, 231, 239, 0.8) 50%, rgba(222, 214, 248, 0.7) 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.hero-gradient-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% -20%, rgba(67, 93, 240, 0.08), transparent),
        radial-gradient(ellipse 40% 40% at 100% 50%, rgba(100, 49, 232, 0.06), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-right: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s var(--ease-out-expo) 0.2s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== BADGE STYLES ===== */
.linear-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(67, 93, 240, 0.08);
    border: 1px solid rgba(67, 93, 240, 0.15);
    border-radius: 50px;
    padding: 8px 16px;
    margin-bottom: 2rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
}

.linear-badge:hover {
    background: rgba(67, 93, 240, 0.12);
    border-color: rgba(67, 93, 240, 0.3);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--trax-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--trax-primary);
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--trax-primary);
    letter-spacing: 0.5px;
}

.badge-arrow {
    font-size: 0.7rem;
    color: var(--trax-primary);
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.linear-badge:hover .badge-arrow {
    transform: translateX(3px);
}

/* ===== LINEAR BUTTON ===== */
.linear-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 2rem;
    background: var(--trax-gradient);
    color: white !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(67, 93, 240, 0.3);
    margin-top: 3rem;
}

.linear-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(67, 93, 240, 0.45);
    color: white !important;
    text-decoration: none !important;
}

.linear-btn i {
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.linear-btn:hover i {
    transform: translateX(4px);
}

/* ===== BTN-TRAX (Timeline CTA) ===== */
.btn-trax {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 2rem;
    background: var(--trax-gradient);
    color: white !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(67, 93, 240, 0.3);
    border: none;
    margin-top: 2rem;
}

.btn-trax:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(67, 93, 240, 0.45);
    color: white !important;
    text-decoration: none !important;
}

.btn-trax i {
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.btn-trax:hover i {
    transform: translateX(4px);
}

/* ===== FEATURES CONTAINER & TIMELINE ===== */
.features-container {
    position: relative;
    padding: 4rem 0;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 0;
    border-left: 2px dashed #cbd5e1;
    transform: translateX(-50%);
}

/* ===== FEATURE ITEM ===== */
.feature-item {
    display: flex;
    align-items: center;
    gap: clamp(4rem, 10vw, 12rem);
    margin-bottom: 12rem;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-item:nth-child(odd),
.feature-item:nth-child(even) {
    flex-direction: row;
}

.feature-content,
.feature-visual {
    flex: 1;
    min-width: 0;
    padding: 0;
    container-type: inline-size;
    container-name: feature-visual;
}

.feature-item .feature-content {
    padding: 0;
}

/* ===== TIMELINE DOT ===== */
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: white;
    border: 4px solid var(--trax-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(67, 93, 240, 0.3);
}

.timeline-dot i {
    font-size: 1.5rem;
    color: var(--trax-primary);
    transition: all 0.4s ease;
}

.feature-item:hover .timeline-dot {
    background: var(--trax-primary);
    transform: translate(-50%, -50%) scale(1.1);
}

.feature-item:hover .timeline-dot i {
    color: white;
}

/* ===== FEATURE HEADER ===== */
.feature-header-row {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.feature-number-hybrid {
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--trax-primary);
    opacity: 0.4;
    letter-spacing: -1px;
}

.feature-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.feature-tag-clean {
    display: block;
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--trax-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    padding-left: 2px;
}

.feature-tag {
    display: inline-block;
    background: rgba(67, 93, 240, 0.1);
    color: var(--trax-primary);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: #64748b;
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 400;
    max-width: 65ch;
}

/* ===== FEATURE STEPS ===== */
.feature-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--color-white);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: default;
    margin-bottom: 1.5rem;
}


.feature-item .step:first-child {
    margin-top: 3rem;
}

.step:hover {
    border-color: var(--trax-primary);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(67, 93, 240, 0.1);
}

.step-icon {
    width: 40px;
    height: 40px;
    background: var(--trax-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.step-text h4 {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.25rem;
}

.step-text p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: #212529;
    margin: 0;
    line-height: 1.5;
}

/* ===== NOSSA HISTÓRIA SECTION ===== */
.about-highlight {
    font-size: clamp(1.4rem, 2.2vw, 1.7rem);
    line-height: 1.5;
    font-weight: 500;
    color: #0f172a;
    padding-left: 1.25rem;
    border-left: 4px solid var(--trax-primary);
    margin-bottom: clamp(28px, 4vw, 40px);
}

.micro-headline {
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    margin: clamp(32px, 5vw, 40px) 0 12px;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-accent) 50%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.4;
}

.micro-headline:first-of-type {
    margin-top: 0;
}

.border-gradient-start {
    border-image: linear-gradient(135deg, var(--color-dark) 0%, var(--color-accent) 50%, var(--color-primary) 100%) 1;
}

/* ===== FOUNDER SECTION ===== */
.founder-section .founder-photo {
    object-fit: cover;
    object-position: top;
    height: 600px;
    width: 100%;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

@media (max-width: 991px) {
    .founder-section .founder-photo {
        height: auto;
        min-height: 400px;
    }
}

.founder-section .founder-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* ===== VALUE PROP BOX ===== */
.value-prop-box {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.375rem;
    height: 100%;
    background: transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-prop-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

/* ===== VISUAL LAYOUT - Split Visual Wrapper ===== */
.split-visual-wrapper {
    position: relative;
    width: 100%;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    overflow: visible;
    padding: 2rem 0;
    margin-left: 0;
    padding-left: 0;
}

/* ===== DASHBOARD MOCKUP ===== */
.sv-dashboard-mockup {
    position: relative;
    flex: 0 0 auto;
    width: 90%;
    max-width: 1000px;
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: 16px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: none;
    background: #ffffff;
    cursor: zoom-in;
    scale: 0.9;
}

/* Specific overrides removed - now standardized globally */

/* Feature 2 specialty container style removed as per user request */

.mockup-map-gradient {
    background: linear-gradient(to right,
            rgba(217, 235, 242, 0.85) 0%,
            12.876711785793304%,
            rgba(217, 236, 244, 0.85) 25.75342357158661%,
            39.04109448194504%,
            rgba(215, 233, 240, 0.85) 52.32876539230347%,
            76.16438269615173%,
            rgba(217, 236, 244, 0.85) 100%) !important;
}

.sv-dashboard-mockup::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(67, 93, 240, 0.8);
    color: white;
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sv-dashboard-mockup:hover::after {
    opacity: 1;
}

.sv-dashboard-mockup img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    aspect-ratio: auto;
}

/* ===== PHONE MOCKUP ===== */
.sv-phone-mockup {
    position: relative;
    flex: 0 0 auto;
    width: clamp(12rem, 30cqw, 18rem);
    height: auto;
    aspect-ratio: 290/585;
    border-radius: 32px;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.25),
        0 10px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    background: #1e1e1e;
    border: none;
    transform: none;
    margin-right: -40px;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
}

.sv-phone-mockup video {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== HOVER EFFECTS FOR MOCKUPS ===== */
.feature-item:hover .sv-dashboard-mockup {
    transform: rotateY(0deg) translateZ(0) scale(1.03);
    box-shadow:
        0 30px 70px rgba(67, 93, 240, 0.15),
        0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-item:hover .sv-phone-mockup {
    transform: rotateY(0deg) translateZ(50px) scale(1.05);
    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.3),
        0 15px 40px rgba(0, 0, 0, 0.2);
}

.feature-item:nth-child(even):hover .sv-dashboard-mockup {
    transform: rotateY(0deg) translateZ(0) scale(1.03);
}

.feature-item:nth-child(even):hover .sv-phone-mockup {
    transform: rotateY(0deg) translateZ(50px) scale(1.05);
}

/* ===== ZOOM MODAL ===== */
.trax-zoom-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    cursor: zoom-out;
}

.zoom-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-zoom {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10001;
}

.close-zoom:hover {
    color: var(--trax-primary);
}

.zoom-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 20px 0;
    font-size: 1.1rem;
}

/* ===== FLOATING UI CARD ===== */
.floating-ui-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: 1rem;
    width: 100%;
    max-width: 380px;
    backdrop-filter: blur(20px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 1),
        0 25px 50px -12px rgba(0, 0, 0, 0.1),
        0 0 60px rgba(67, 93, 240, 0.05);
    opacity: 0;
    transform: perspective(1000px) rotateY(-8deg) rotateX(5deg) translateY(30px);
    animation: floatCardIn 1.2s var(--ease-out-expo) 0.5s forwards;
    position: relative;
    overflow: hidden;
}

@keyframes floatCardIn {
    to {
        opacity: 1;
        transform: perspective(1000px) rotateY(-5deg) rotateX(3deg) translateY(0);
    }
}

.floating-ui-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    transition: transform 0.5s var(--ease-out-expo);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 1),
        0 30px 60px -12px rgba(0, 0, 0, 0.15),
        0 0 80px rgba(67, 93, 240, 0.1);
}

.floating-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.floating-label {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.floating-dots {
    display: flex;
    gap: 4px;
}

.floating-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2e8f0;
}

.floating-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.floating-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    background: transparent;
}

.floating-item:hover {
    background: #f8fafc;
    color: #0f172a;
}

.floating-item.active {
    background: #f1f5f9;
    color: #0f172a;
}

.floating-item.faded {
    opacity: 0.4;
}

.item-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.floating-item.active .item-icon {
    background: #e0e7ff;
    color: #435DF0;
}

.item-name {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
}

.item-badge {
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #94a3b8;
    font-weight: 600;
}

.floating-item.active .item-badge {
    background: #ffffff;
    color: #435DF0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.item-check {
    color: var(--trax-primary);
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.floating-item.active .item-check {
    opacity: 1;
}

.card-glow-effect {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(67, 93, 240, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    filter: blur(40px);
}

.floating-ui-card:hover .card-glow-effect {
    opacity: 1;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

/* ===== SHOWCASE SECTION ===== */
.timeline-connector {
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    transform: translateX(-50%);
    z-index: 1;
}

.connector-line {
    position: absolute;
    left: 50%;
    top: 200px;
    bottom: 100px;
    width: 2px;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(67, 93, 240, 0.3) 10%,
            rgba(67, 93, 240, 0.5) 50%,
            rgba(139, 92, 246, 0.3) 90%,
            transparent 100%);
    transform: translateX(-50%);
}

.showcase-header {
    margin-bottom: clamp(6rem, 15vh, 10rem);
    position: relative;
    z-index: 2;
}

.showcase-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(67, 93, 240, 0.1);
    border: 1px solid rgba(67, 93, 240, 0.3);
    color: #7c8aff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.showcase-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.showcase-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.15rem;
}

.showcase-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.showcase-reveal[data-delay="0"] {
    transition-delay: 0s;
}

.showcase-reveal[data-delay="1"] {
    transition-delay: 0.15s;
}

.showcase-reveal[data-delay="2"] {
    transition-delay: 0.3s;
}

.showcase-reveal[data-delay="3"] {
    transition-delay: 0.45s;
}

.showcase-reveal[data-delay="4"] {
    transition-delay: 0.6s;
}

.showcase-items {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    align-items: center;
    gap: 3rem;
    position: relative;
}

.showcase-item-reverse .item-content {
    order: 3;
    text-align: left;
}

.showcase-item-reverse .item-visual {
    order: 1;
}

.showcase-item-reverse .item-dot {
    order: 2;
}

.item-dot {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #435DF0 0%, #6431E8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    box-shadow: 0 0 30px rgba(67, 93, 240, 0.4);
}

.item-dot span {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

.item-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(67, 93, 240, 0.3);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.item-content {
    text-align: right;
}

.item-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #7c8aff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.item-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.item-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* ===== NOTEBOOK FRAME ===== */
.notebook-frame {
    perspective: 1000px;
}

.notebook-screen {
    background: #1a1a2e;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow:
        0 -2px 10px rgba(0, 0, 0, 0.3),
        0 20px 60px rgba(0, 0, 0, 0.4);
    transform: rotateX(5deg);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-item:hover .notebook-screen {
    transform: rotateX(0deg) scale(1.02);
    box-shadow:
        0 0 20px rgba(67, 93, 240, 0.2),
        0 30px 60px rgba(0, 0, 0, 0.5);
}

.screen-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 15px;
    background: #252540;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.screen-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f57;
}

.dot.yellow {
    background: #febc2e;
}

.dot.green {
    background: #28c840;
}

.screen-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.screen-content {
    background: #0f0f1a;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.screen-content .screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-item:hover .screen-img {
    transform: scale(1.05);
}

.notebook-base {
    height: 15px;
    background: linear-gradient(180deg, #2a2a40 0%, #1a1a2e 100%);
    border-radius: 0 0 4px 4px;
    margin: 0 10%;
    position: relative;
}

.notebook-base::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%) translateZ(40px) rotateY(-10deg);
    bottom: auto;
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

/* ===== FEATURE SCROLLER (from Home) ===== */
#feature-scroller {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#feature-scroller::-webkit-scrollbar {
    display: none;
}

.feature-card-link {
    text-decoration: none;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.feature-card {
    width: 350px;
}

/* ===================================================================
   RESPONSIVE STYLES
   =================================================================== */

@media (max-width: 767.98px) {

    #scroll-left,
    #scroll-right {
        display: none;
    }

    .feature-card {
        width: 75vw;
    }
}

@media (max-width: 992px) {
    .features-hero-linear {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-content {
        text-align: center;
        padding-right: 0;
    }

    .linear-subtitle {
        margin-left: auto;
        margin-right: auto;
        padding: 0 1.5rem;
    }

    .floating-ui-card {
        transform: none;
        animation: fadeInUp 1s var(--ease-out-expo) 0.6s forwards;
        max-width: 340px;
    }

    .floating-ui-card:hover {
        transform: none;
    }

    /* Timeline & Decorations */
    #features-timeline {
        overflow-x: hidden !important;
        padding-top: 2rem !important;
    }

    .timeline::before,
    .timeline-dot,
    .feature-number-hybrid {
        display: none !important;
    }

    /* Force Vertical Stack */
    #features-timeline .feature-item,
    #features-timeline .feature-item:nth-child(even) {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 2rem !important;
        margin-bottom: 4rem !important;
        padding: 0 1rem !important;
        transform: none !important;
        opacity: 1 !important;
    }

    /* Visuals Container */
    #features-timeline .feature-visual {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        flex: none !important;
        display: block !important;
    }

    .split-visual-wrapper {
        width: 100% !important;
        max-width: 500px !important;
        margin: 0 auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        height: auto !important;
        min-height: 300px !important;
        display: block !important;
        perspective: none !important;
    }

    /* Dashboard Mockup */
    .sv-dashboard-mockup,
    .feature-item:nth-child(even) .sv-dashboard-mockup {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16/10 !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        transform: none !important;
        margin: 0 auto !important;
    }

    /* Phone Mockup */
    .sv-phone-mockup,
    .feature-item:nth-child(even) .sv-phone-mockup {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        bottom: -15% !important;
        top: auto !important;
        right: auto !important;
        width: 40% !important;
        max-width: 180px !important;
        height: auto !important;
        aspect-ratio: 0.495 !important;
        z-index: 10 !important;
    }

    /* Text Content */
    #features-timeline .feature-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        text-align: center !important;
        flex: none !important;
    }

    .feature-header-row {
        justify-content: center !important;
    }

    .feature-title {
        font-size: clamp(1.75rem, 5vw, 2.25rem) !important;
        text-align: center !important;
    }

    .feature-description {
        text-align: center !important;
        margin: 0 auto 1.5rem !important;
    }

    .feature-tag-clean {
        margin: 0 auto 1rem !important;
        display: inline-block !important;
    }

    /* Steps */
    .feature-steps {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        margin-top: 1rem !important;
    }

    .step {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 1.5rem !important;
    }

    .step-text h4,
    .step-text p {
        text-align: center !important;
    }

    .btn-trax {
        width: 100% !important;
        justify-content: center !important;
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 3rem) !important;
    }
}

@media (max-width: 1200px) {
    .showcase-timeline {
        padding: clamp(6rem, 10vh, 8rem) 0;
        overflow-x: hidden;
    }

    .showcase-items {
        gap: clamp(6rem, 12vh, 8rem);
    }

    .showcase-item {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        text-align: center;
        width: 100%;
        padding: 0 1.5rem;
    }

    .item-visual,
    .showcase-item-reverse .item-visual {
        order: 1;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .item-content,
    .showcase-item-reverse .item-content {
        order: 2;
        text-align: center;
        width: 100%;
        max-width: 65ch;
        margin: 0 auto;
    }

    .showcase-item:nth-of-type(n+2) .item-content {
        margin-top: 5rem;
    }

    .item-dot,
    .timeline-connector {
        display: none;
    }

    .showcase-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
        margin-bottom: 3rem;
    }

    .item-title {
        font-size: clamp(1.75rem, 4.5vw, 2.25rem);
        margin-bottom: 1rem;
    }

    .feature-item:nth-of-type(n+2) .feature-content {
        margin-top: 5rem;
    }

    .item-desc {
        font-size: clamp(1rem, 2.2vw, 1.15rem);
        line-height: 1.7;
    }

    /* Responsive Visuals - Stack on Mobile */
    .split-visual-wrapper {
        flex-direction: column !important;
        gap: 1.5rem !important;
        min-height: auto !important;
        padding: 1rem 0 !important;
    }

    .feature-item:nth-child(even) .split-visual-wrapper {
        flex-direction: column !important;
    }

    .sv-dashboard-mockup,
    .feature-item:nth-child(even) .sv-dashboard-mockup {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
    }

    .sv-phone-mockup,
    .feature-item:nth-child(even) .sv-phone-mockup {
        display: none !important;
    }

    .feature-item:hover .sv-phone-mockup,
    .feature-item:hover .sv-dashboard-mockup,
    .feature-item:nth-child(even):hover .sv-phone-mockup,
    .feature-item:nth-child(even):hover .sv-dashboard-mockup {
        transform: scale(1.02) !important;
    }
}

@media (max-width: 768px) {
    .showcase-timeline {
        padding: 4rem 0;
    }

    .showcase-items {
        gap: 4rem;
    }

    .item-title {
        font-size: 1.4rem;
    }

    #features-timeline .feature-item,
    #features-timeline .feature-item:nth-child(even) {
        margin-bottom: 3rem !important;
        /* Reduced from 4rem */
        gap: 2rem !important;
    }

    .feature-item:nth-of-type(n+2) .feature-content {
        margin-top: 0 !important;
    }

    .split-visual-wrapper {
        min-height: auto !important;
        padding: 0 !important;
    }
}

/* Custom Spacing for Nossos Valores */
#nossos-valores {
    padding-bottom: 4.5rem !important;
}