/* ========================================
   QÜIDA V3 — MedSync-Inspired (Light/Blue Theme)
   Palette: Deep Navy, Medical Blue, Clean White
   ======================================== */

/* === RESET & BASE === */
:root {
    --primary-main: #3759A8;
    --primary-dark: #1F325E;
    --secondary-blue: #45A4D6;
    --bg-light: #FFFFFF;
    --bg-subtle: #F5F8FF;
    --text-main: #1A1825;
    --text-muted: #64748B;
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 12px 40px rgba(55, 89, 168, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    color: var(--text-main);
    background: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* === CONTAINER === */
.v3-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

/* === HEADER / NAV === */
.v3-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}

.v3-header.scrolled {
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .05);
}

.v3-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.v3-nav-left {
    display: flex;
    gap: 32px;
}

.v3-nav-left a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color .3s;
}

.v3-nav-left a:hover {
    color: var(--primary-main);
}

.v3-logo {
    display: flex;
    align-items: center;
}

/* Invert logic: Show color logo by default for light theme */
.v3-logo .logo-light {
    display: none;
}

.v3-logo .logo-dark {
    display: none;
    /* Assuming the HTML has a class for the dark/color one we can use, or we use CSS filter */
}

/* We will use CSS filter to colorize the SVG if needed, or rely on .logo-color from HTML */
.v3-logo img {
    height: 42px;
    width: auto;
}

/* Force show specific images based on structure if available, otherwise filter */
.v3-header .logo-light {
    display: none !important;
}

.v3-header .logo-color {
    display: block !important;
}


.v3-nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.v3-btn-primary {
    display: inline-block;
    padding: 10px 24px;
    background: var(--primary-main);
    color: #fff;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .02em;
    transition: background .3s, transform .2s, box-shadow .3s;
    box-shadow: 0 4px 12px rgba(55, 89, 168, 0.2);
}

.v3-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(55, 89, 168, 0.3);
}

/* === HERO === */
.v3-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(55, 89, 168, 0.08);
    /* Light blue tint */
    border: 1px solid rgba(55, 89, 168, 0.2);
    border-radius: 100px;
    color: var(--primary-main);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.v3-hero {
    position: relative;
    display: flex;
    align-items: center;
    /* Intermediate padding */
    padding: 150px 0 100px;
    min-height: 80vh;
    /* Soft min-height to ensure it doesn't feel too cramped */
    background: linear-gradient(135deg, #e4f0fb 0%, #f4f9ff 100%);
    overflow: hidden;
}

.v3-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 900px) {
    .v3-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .v3-hero-cta {
        justify-content: center;
    }
}

.v3-hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    /* controlled by grid now */
}

.v3-hero h1 {
    font-size: clamp(48px, 6vw, 84px);
    font-weight: 600;
    /* Bolder for light mode */
    line-height: 1.1;
    letter-spacing: -.03em;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.v3-hero-sub {
    font-size: clamp(18px, 1.4vw, 22px);
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

.v3-btn-light {
    /* Actually becoming a solid Primary button in this theme */
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary-main);
    color: #fff;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .01em;
    transition: background .3s, transform .2s, box-shadow .3s;
    box-shadow: 0 8px 24px rgba(55, 89, 168, 0.25);
}

.v3-btn-light:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(55, 89, 168, 0.35);
}

.v3-hero-cta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.v3-hero-link {
    font-size: 16px;
    color: var(--primary-main);
    font-weight: 500;
    transition: color .3s;
    border-bottom: 1px solid rgba(55, 89, 168, 0.2);
    padding-bottom: 2px;
}

.v3-hero-link:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

/* Hero Visual & Badges */
.v3-hero-visual {
    position: relative;
    z-index: 2;
}

.v3-hero-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(55, 89, 168, 0.15);
    aspect-ratio: 4/3;
    object-fit: cover;
}

.v3-hero-mini-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(55, 89, 168, 0.1);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.v3-badge-top-left {
    top: 20px;
    left: -20px;
    animation-delay: 0s;
}

.v3-badge-bottom-right {
    bottom: 30px;
    right: -20px;
    animation-delay: 3s;
}

.v3-badge-icon {
    font-size: 20px;
}

.v3-badge-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 900px) {
    .v3-badge-top-left {
        left: 10px;
    }

    .v3-badge-bottom-right {
        right: 10px;
    }
}

/* Hero Floating Glass Card - Light Version */
/* Removed .v3-hero-float styles as per instruction */


/* === TRUST BAR === */
.v3-trust {
    background: #fff;
    padding: 60px 0 80px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.v3-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.v3-trust-card {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s, transform .8s;
}

.v3-trust-card.revealed {
    opacity: 1;
    transform: none;
}

.v3-trust-card svg {
    color: var(--primary-main);
    margin-bottom: 20px;
    /* Soft shadow for icons */
    filter: drop-shadow(0 4px 6px rgba(55, 89, 168, 0.2));
}

.v3-trust-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
    letter-spacing: -.01em;
}

.v3-trust-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* === SECTIONS === */
.v3-section {
    padding: clamp(80px, 12vw, 160px) 0;
}

.v3-section--light {
    background: var(--bg-subtle);
}

.v3-section--dark {
    /* Changing "Dark" sections to just be standard sections or dark blue */
    background: var(--bg-light);
    /* Or white */
    color: var(--text-main);
}

/* Specifically make the Stats/Problem section white to contrast with Hero/Trust */
#problema.v3-section--dark {
    background: #fff;
    color: var(--text-main);
}

.v3-section-header {
    max-width: 700px;
    margin-bottom: clamp(48px, 6vw, 80px);
}

.v3-section-header--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.v3-section-header h2 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.v3-section-header p {
    font-size: 24px;
    line-height: 1.7;
    color: var(--text-muted);
    font-weight: 400;
}

/* === STATS ROW === */
.v3-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    padding-top: 24px;
}

.v3-stat-row--dual {
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 80px);
}

.v3-stat-row--triple {
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 80px);
}

#problema .v3-stat-row--dual,
#problema .v3-stat-row--triple {
    /* Increased margin to balance spacing with the section top */
    margin-bottom: clamp(80px, 10vw, 140px);
}

.v3-stat-prefix {
    font-size: clamp(48px, 6vw, 110px);
    font-weight: 300;
    letter-spacing: -.02em;
    color: var(--primary-200);
    /* Use lighter blue for prefix */
    opacity: 0.5;
}

.v3-stat--hero .v3-stat-num {
    font-size: clamp(64px, 8vw, 140px);
    color: var(--primary-main);
}

.v3-stat--hero p {
    font-size: clamp(14px, 1.2vw, 20px);
    max-width: 480px;
    margin: 16px auto 0;
    color: var(--text-main);
    font-weight: 400;
}

.v3-stat {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s, transform .8s;
}

.v3-stat.revealed {
    opacity: 1;
    transform: none;
}

.v3-stat-num {
    font-size: clamp(64px, 6vw, 96px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.04em;
    display: inline;
    color: var(--primary-main);
}

.v3-stat-suffix {
    font-size: clamp(32px, 3.5vw, 56px);
    font-weight: 500;
    color: var(--primary-main);
    opacity: 0.6;
}

.v3-stat p {
    margin-top: 12px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* === PROBLEM CARDS === */
.v3-problem-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.v3-problem-card {
    /* Removed background, borders, and shadows to match Image 2 */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s, transform .8s;
}

.v3-problem-card.revealed {
    opacity: 1;
    transform: none;
}

.v3-problem-card-img {
    aspect-ratio: 1 / 1;
    /* Match the squarish aspect ratio of Image 2 */
    overflow: hidden;
    border-radius: 20px;
    /* Rounded corners on the image itself */
    background: #E8ECEF;
    /* Placeholder background color */
    margin-bottom: 24px;
}

.v3-problem-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}

.v3-problem-card:hover .v3-problem-card-img img {
    transform: scale(1.03);
    /* Subtle zoom on hover */
}

.v3-problem-card-content {
    text-align: left;
    padding-right: 16px;
}

.v3-problem-card-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: rgba(55, 89, 168, 0.08);
    /* Match pill background */
    color: var(--primary-main);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
    border: 2px solid rgba(55, 89, 168, 0.25);
}

.v3-problem-card-content h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.01em;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.v3-problem-card-content p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* === SOLUTION STEPS === */
/* Background override for this section */
#como-funciona {
    background: var(--bg-subtle);
}

.v3-solution-steps-intro {
    margin-bottom: clamp(32px, 4vw, 56px);
}

.v3-steps-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

/* === MACBOOK-STYLE INTERACTIVE PANEL (Tabbed Image 2/3 Style) === */
.v3-interactive-panel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    border-radius: 32px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    /* Lighter shadow */
    display: flex;
    flex-direction: column;
}

.v3-ip-display {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    /* Darker subtle line */
}

.v3-ip-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

/* Semi-transparent gradient overlay - adjusted for light theme */
.v3-ip-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 40%);
    pointer-events: none;
    z-index: 1;
}

.v3-ip-nav-wrapper {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.v3-ip-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 0 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.v3-ip-nav::-webkit-scrollbar {
    display: none;
}

.v3-ip-tab {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
    padding: 24px 0;
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.v3-ip-tab:hover {
    color: var(--primary-main);
    font-family: Outfit, -apple-system, BlinkMacSystemFont, sans-serif;
}

.v3-ip-tab--active {
    color: var(--primary-dark);
}

/* Underline for active tab */
.v3-ip-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-main);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

.v3-ip-tab--active::after {
    transform: scaleX(1);
}

.v3-ip-content-area {
    padding: 32px 40px 64px;
    background: #fff;
    position: relative;
    min-height: 160px;
}

.v3-ip-content {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    position: absolute;
    top: 32px;
    left: 40px;
    right: 40px;
    pointer-events: none;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.6;
}

.v3-ip-content--active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
}

.v3-ip-content p {
    margin: 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.v3-ip-content strong {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 24px;
}

/* Mobile Responsiveness for Interactive Panel */
@media (max-width: 900px) {
    .v3-interactive-panel {
        border-radius: 24px;
    }

    .v3-ip-display {
        aspect-ratio: auto;
        height: 350px;
        /* Give it a fixed height on mobile or similar */
    }

    .v3-ip-nav {
        justify-content: flex-start;
        padding: 0 16px;
        gap: 24px;
    }

    .v3-ip-tab {
        padding: 20px 0;
        font-size: 15px;
    }

    .v3-ip-content-area {
        padding: 32px 20px 48px;
        min-height: 200px;
    }

    .v3-ip-content {
        left: 20px;
        right: 20px;
        font-size: 15px;
    }
}

/* === FEATURES GRID (Image 2 Redesign) === */
.v3-features-wrapper {
    position: relative;
    margin: 40px auto;
}

.v3-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

/* Tablet responsiveness for Features & Use Cases */
@media (max-width: 1024px) {

    .v3-features-grid,
    .v3-use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === USE CASES === */
.v3-use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.v3-use-case {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s, transform .8s;
}

.v3-use-case.revealed {
    opacity: 1;
    transform: none;
}

.v3-use-case-img {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
    aspect-ratio: 5/6;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.v3-use-case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}

.v3-use-case:hover .v3-use-case-img img {
    transform: scale(1.04);
}

.v3-use-case-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: rgba(55, 89, 168, 0.08);
    color: var(--primary-main);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
    border: 2px solid rgba(55, 89, 168, 0.25);
    box-shadow: 0 4px 12px rgba(55, 89, 168, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.v3-use-case h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.01em;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.v3-use-case p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* === B2B STATEMENT === */
.v3-b2b-statement {
    text-align: center;
    margin-top: clamp(60px, 8vw, 100px);
    padding-top: clamp(40px, 6vw, 80px);
    border-top: 1px solid rgba(0, 0, 0, .06);
    font-size: clamp(26px, 3.5vw, 56px);
    line-height: 1.35;
    font-weight: 500;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.03em;
}

.v3-st-dark {
    color: var(--primary-dark);
}

.v3-st-muted {
    color: #8E9AB6;
}

.v3-st-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(32px, 4vw, 60px);
    height: clamp(32px, 4vw, 60px);
    border-radius: 50%;
    vertical-align: middle;
    margin: 0 4px;
}

.v3-st-icon svg {
    width: 45%;
    height: 45%;
    stroke: #fff;
}

.v3-bg-green {
    background: #92D9C1;
}

.v3-bg-purple {
    background: #D79DF9;
}

.v3-st-avatars-wrap {
    display: inline-flex;
    align-items: center;
    color: #8E9AB6;
    margin: 0 4px;
    vertical-align: middle;
    font-weight: 400;
}

.v3-st-avatar {
    width: clamp(32px, 4vw, 60px);
    height: clamp(32px, 4vw, 60px);
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    border: 3px solid #fff;
    margin-left: -16px;
    background: var(--bg-subtle);
}

.v3-st-avatar:first-child {
    margin-left: 8px;
}

.v3-st-avatar:last-child {
    margin-right: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.v3-st-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v3-st-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--primary-main);
    border-radius: 50%;
    width: clamp(32px, 4vw, 60px);
    height: clamp(32px, 4vw, 60px);
    vertical-align: middle;
    font-size: clamp(16px, 2vw, 24px);
    text-decoration: none;
    margin-left: 12px;
    transition: transform .3s, background .3s, box-shadow .3s;
    box-shadow: 0 8px 16px rgba(55, 89, 168, 0.2);
}

.v3-st-link:hover {
    transform: translateX(4px);
    background: var(--primary-dark);
    box-shadow: 0 12px 20px rgba(55, 89, 168, 0.3);
}

/* === SECURITY (Now Dark Navy to standout) === */
#seguridad {
    background: var(--primary-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

#seguridad .v3-section-header h2 {
    color: #fff;
}

#seguridad .v3-section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.v3-security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.v3-security-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    padding: clamp(20px, 2vw, 32px);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s, transform .8s, background .3s;
}

.v3-security-card.revealed {
    opacity: 1;
    transform: none;
}

.v3-security-card:hover {
    background: rgba(255, 255, 255, .08);
}

.v3-security-card svg {
    color: #fff;
    opacity: .9;
    margin-bottom: 20px;
}

.v3-security-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -.01em;
    color: #fff;
}

.v3-security-card p {
    font-size: 15px;
    opacity: .7;
    line-height: 1.6;
    color: #fff;
}

@media (max-width: 1024px) {
    .v3-security-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === ECOSYSTEM (INTERCONNECTED) === */
.v3-ecosystem-wrapper {
    position: relative;
    padding-top: 20px;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 60px;
    max-width: 1040px;
    margin: 0 auto;
}

.v3-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 20px;
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.v3-bento-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s, transform .8s, box-shadow .35s;
    background: #fff;
    border: 1px solid rgba(55, 89, 168, 0.1);
}

.v3-bento-card.revealed {
    opacity: 1;
    transform: none;
}

.v3-bento-card:hover {
    box-shadow: 0 16px 40px rgba(55, 89, 168, 0.15);
}

.v3-bento-long {
    grid-row: span 2;
}

.v3-bento-wide {
    grid-column: span 3;
}

/* Image Card variant */
.v3-bento-img-card {
    background: #000;
    border: none;
}

.v3-bento-img-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    padding-bottom: 0px;
}

.v3-bento-img-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(9, 29, 69, 0.85) 100%);
    z-index: 1;
}

.v3-bento-img-card .v3-bento-content {
    position: relative;
    z-index: 2;
    padding: 32px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.v3-bento-img-card h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 700;
}

.v3-bento-img-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 250px;
    margin: 0;
    line-height: 1.4;
}

/* Text Card variant */
.v3-bento-text-card {
    justify-content: space-between;
    padding: 32px;
}

.v3-bento-quote {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-dark);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.v3-bento-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
}

.v3-bento-text-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-body);
    margin: 0;
}

/* Circle Button */
.v3-bento-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: 400;
    flex-shrink: 0;
}

.v3-bento-img-card .v3-bento-btn {
    background: #fff;
    color: var(--primary-dark);
}

.v3-bento-text-card .v3-bento-btn {
    background: var(--primary-dark);
    color: #fff;
}

.v3-ecosystem-vision {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-dark);
    margin-top: 64px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s, transform .8s;
}

.v3-ecosystem-vision.revealed {
    opacity: 1;
    transform: none;
}

/* === DIFFERENTIATORS === */
/* Blue gradient background for this section */
#diferencias {
    background: linear-gradient(135deg, var(--bg-subtle) 0%, #fff 100%);
}

/* === COMPARE TABLE (Inspired by Reference) === */
.v3-compare-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(55, 89, 168, 0.1);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(55, 89, 168, 0.04);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s, transform .8s;
}

.v3-compare-table-wrapper.revealed {
    opacity: 1;
    transform: none;
}

.v3-compare-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.v3-compare-table th,
.v3-compare-table td {
    padding: 24px 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.v3-compare-table tbody tr:last-child td {
    border-bottom: none;
}

.v3-compare-th-feature {
    width: 25%;
}

.v3-compare-th-other {
    width: 35%;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.v3-compare-th-quida {
    width: 40%;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary-main);
    text-transform: uppercase;
    background: rgba(55, 89, 168, 0.03);
}

.v3-compare-feature-name {
    font-weight: 600;
    color: var(--primary-dark);
}

.v3-compare-cell-other {
    font-size: 16px;
    color: var(--text-muted);
    opacity: 0.8;
}

.v3-compare-cell-quida {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-dark);
    background: rgba(55, 89, 168, 0.03);
}

.v3-compare-table-bottom {
    padding: 32px;
    text-align: center;
    background: rgba(55, 89, 168, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Make it responsive */
@media (max-width: 768px) {

    .v3-compare-table th,
    .v3-compare-table td {
        padding: 16px;
        font-size: 14px;
    }

    .v3-compare-feature-name,
    .v3-compare-cell-other,
    .v3-compare-cell-quida {
        font-size: 14px;
    }
}

/* === WAITLIST CTA === */
.v3-waitlist-section {
    background: linear-gradient(135deg, #1f3a7a 0%, #2f69b3 50%, #1f8a9e 100%);
    padding: clamp(80px, 8vw, 140px) 20px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 70px;
}

.v3-waitlist-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.v3-waitlist-section h2 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    color: #fff;
    line-height: 1.15;
}

.v3-waitlist-section p.v3-waitlist-desc {
    font-size: clamp(16px, 1.2vw, 20px);
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: .9;
    position: relative;
}

.v3-cta-form {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    width: 100%;
}

.v3-cta-inputs-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 480px;
}

.v3-cta-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    padding: 16px 24px;
    width: 100%;
    transition: background 0.3s, border-color 0.3s;
}

.v3-cta-input-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
}

.v3-cta-form input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    outline: none;
    padding: 0;
    width: 100%;
}

.v3-cta-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Fix aesthetic for browser auto-fill */
.v3-cta-form input:-webkit-autofill,
.v3-cta-form input:-webkit-autofill:hover,
.v3-cta-form input:-webkit-autofill:focus,
.v3-cta-form input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #fff !important;
}

.v3-cta-form button {
    padding: 16px 28px;
    border-radius: 100px;
    border: none;
    background: #fff;
    color: var(--primary-dark);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .3s, color .3s;
    white-space: nowrap;
    width: 100%;
    margin-top: 4px;
}

.v3-cta-form button:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.v3-cta-form button.v3-btn-success {
    background: #10B981;
    color: #fff;
}

/* === TOAST NOTIFICATION === */
.v3-toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #fff;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
}

.v3-toast.show {
    bottom: 32px;
}

/* === CAROUSEL CONTROLS (Desktop Hidden) === */
.v3-carousel-btn,
.v3-carousel-dots {
    display: none;
}

.v3-social-proof {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 24px 8px 12px;
    border-radius: 100px;
    margin-top: 16px;
    margin-bottom: 0;
    backdrop-filter: blur(10px);
}

.v3-social-proof p {
    font-size: 15px !important;
    opacity: 0.9 !important;
    margin: 0 !important;
}

.v3-social-proof strong {
    font-weight: 700;
}

.v3-social-proof-avatars {
    display: flex;
    align-items: center;
}

.v3-social-proof-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #2f69b3;
    margin-left: -10px;
    object-fit: cover;
}

.v3-social-proof-avatars img:first-child {
    margin-left: 0;
}

/* === WAITLIST BENEFITS === */
.v3-cta-benefits {
    text-align: left;
    max-width: 380px;
    margin: 0 auto 40px;
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 2;
}

.v3-cta-benefits li {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.v3-benefit-check {
    color: #fff;
    flex-shrink: 0;
}

/* === FOOTER === */
.v3-footer--dark {
    padding: 80px 0 40px;
    background: var(--primary-dark);
    color: var(--text-muted);
}

.v3-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.v3-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.v3-footer-brand img {
    height: 36px;
    width: auto;
    display: block;
}

.v3-footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.v3-footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.v3-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s;
}

.v3-footer-social a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.v3-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
}

.v3-footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.v3-footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.v3-footer-links a:hover {
    color: #fff;
}

.v3-footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.v3-footer-copy {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.v3-footer-made {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* === RESPONSIVENESS === */
@media (max-width: 1024px) {

    .v3-trust-grid,
    .v3-stat-row,
    .v3-problem-cards {
        gap: 24px;
    }

    .v3-use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .v3-nav-left,
    .v3-hero-float,
    .v3-hide-mobile {
        display: none;
    }

    .v3-b2b-statement {
        text-align: left;
    }

    .v3-hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .v3-hero-cta {
        justify-content: center;
    }

    .v3-hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .v3-hero-bg img {
        opacity: 0.6;
        /* Even lighter on mobile to ensure text is readable */
    }

    .v3-trust-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .v3-problem-cards,
    .v3-security-grid {
        grid-template-columns: 1fr;
    }

    .v3-eco-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "hub" "node1" "node3" "node2" "node4" "node5";
        gap: 24px;
        padding-top: 40px;
    }

    .v3-eco-lines {
        display: none;
    }

    .v3-eco-node {
        justify-self: stretch;
        max-width: 100%;
        margin-top: 0;
    }

    .v3-eco-hub {
        margin-bottom: 24px;
    }

    .v3-stat-row {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .v3-stat-row--dual {
        grid-template-columns: 1fr 1fr;
        /* Display side by side on mobile */
        gap: 24px;
        margin-bottom: 40px;
    }

    .v3-step {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .v3-step--reverse {
        direction: ltr;
    }

    .v3-step--reverse>* {
        direction: ltr;
    }

    .v3-step-label {
        margin: 0 auto 16px;
    }

    /* Carousel for mobile cards */
    .v3-carousel-wrapper {
        overflow: hidden;
        margin: 0 -20px;
        padding: 0 20px 40px;
        position: relative;
    }


    .v3-carousel-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        margin-top: 24px;
    }

    .v3-carousel-dot {
        width: 6px;
        height: 6px;
        border-radius: 100px;
        background: var(--primary-main);
        opacity: 0.2;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
    }

    .v3-carousel-dot:hover {
        opacity: 0.4;
    }

    .v3-carousel-dot.active {
        width: 24px;
        opacity: 1;
        background: var(--primary-main);
    }

    .v3-carousel-track {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        padding-bottom: 20px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .v3-carousel-track::-webkit-scrollbar {
        display: none;
    }

    .v3-carousel-track {
        display: flex !important;
        /* Force flex override grid */
        scroll-padding-left: 20px;
        /* Aligns with container padding */
        padding-right: 20px;
        /* Ensure space at the very end */
    }

    .v3-carousel-track>* {
        flex: 0 0 auto;
        width: 80vw;
        /* Smaller width lets the next card peek more visibly */
        max-width: 320px;
        scroll-snap-align: start;
        /* Align to left instead of center */
    }

    .v3-bento-grid.v3-carousel-track>*,
    .v3-features-grid.v3-carousel-track>* {
        height: 480px;
        /* Give them a tall aspect on mobile to feel like cards */
        opacity: 1 !important;
        /* Prevent reveal animations from hiding items offscreen in flex container */
        transform: none !important;
    }

    .v3-compare-cards {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 400px;
        margin: 0 auto;
    }

    .v3-compare-card--featured {
        transform: none;
    }

    .v3-compare-card--featured:hover {
        transform: translateY(-4px);
    }

    /* Footer Mobile Overrides */
    .v3-footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .v3-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .v3-footer-links {
        flex-direction: column;
        gap: 16px;
    }

    .v3-footer-right {
        align-items: flex-start;
    }
}
