:root {
    /* --- Movoo Branding Colors --- */
    --color-primary-navy: #1A2FA8;
    --color-primary-blue: #1E6FE8;
    --color-primary-orange: #F47B20;
    --color-primary-deep: #0F1B6B;

    --color-success: #16A34A;
    --color-warning: #F59E0B;
    --color-danger: #EF4444;

    --color-surface-white: #FFFFFF;
    --color-surface-gray: #F5F7FA;
    --color-text-primary: #0F1B6B;
    --color-text-secondary: #6B7280;

    /* --- Typography --- */
    --font-primary: 'Inter', -apple-system, sans-serif;
    --font-data: 'Space Grotesk', sans-serif;

    /* --- Spacing --- */
    --container-max-width: 1440px;
    --header-height: 110px;

    /* --- Transitions --- */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;

    /* --- Shadows --- */
    --shadow-sm: 0 2px 8px rgba(15, 27, 107, 0.04);
    --shadow-md: 0 10px 30px rgba(15, 27, 107, 0.08);
    --shadow-lg: 0 25px 60px rgba(15, 27, 107, 0.12);
    --shadow-premium: 0 40px 100px -20px rgba(15, 27, 107, 0.15);
}

/* --- Base Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-primary);
    background-color: var(--color-surface-white);
    line-height: 1.6;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: linear-gradient(100deg, var(--color-primary-navy) 0%, var(--color-primary-blue) 60%, #3B8BF0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 9999px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    font-family: var(--font-primary);
}

.btn-primary-orange {
    background: linear-gradient(135deg, var(--color-primary-orange) 0%, #E56010 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary-orange:hover {
    box-shadow: 0 5px 15px rgba(244, 123, 32, 0.4);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--color-primary-blue);
}

.btn-ghost:hover {
    background: rgba(30, 111, 232, 0.05);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary-blue);
    color: var(--color-primary-blue);
}

.btn-outline:hover {
    background: var(--color-primary-blue);
    color: white;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.875rem;
}

/* --- Header --- */
.main-header {
    height: 110px; /* Altura premium estándar */
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(15, 27, 107, 0.08);
    transition: var(--transition-normal);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 110px !important;
    width: auto;
    max-width: none !important;
    display: block !important;
    object-fit: contain;
    transform: scale(2.8); /* Escala masiva para que sea como el del footer */
    transform-origin: left center;
    transition: transform 0.3s ease;
    z-index: 1001;
}


.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    gap: 2.5rem;
}

.nav-item {
    position: relative;
    padding: 1.5rem 0;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-link:hover {
    color: var(--color-primary-blue);
}

.nav-link i {
    width: 14px;
    height: 14px;
}

/* Dropdown / Mega Menu Simulado */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    min-width: 280px;
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(15, 27, 107, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 1rem;
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--color-surface-gray);
}

.dropdown-icon {
    width: 32px;
    height: 32px;
    background: rgba(30, 111, 232, 0.1);
    color: var(--color-primary-blue);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-content h5 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.dropdown-content p {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.header-actions {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.btn-login {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

/* Ocultar elementos móviles por defecto en escritorio */
.hamburger,
.mobile-nav-header,
.mobile-nav-footer,
.mobile-logo-img {
    display: none;
}

/* --- Hero Section --- */
.hero {
    padding: 6rem 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FA 100%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 0 0 45%;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(244, 123, 32, 0.1);
    color: var(--color-primary-orange);
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 5.5rem;
    line-height: 1;
    margin-bottom: 2rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-description {
    font-size: 1.35rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-data);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-image-wrapper {
    flex: 0 0 55%;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-bg {
    position: absolute;
    top: -10%;
    right: -20%;
    bottom: -10%;
    left: -10%;
    z-index: 1;
    border-radius: 3rem;
    opacity: 0.6;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

.hero-image-card {
    position: relative;
    z-index: 2;
    border-radius: 2rem;
    overflow: visible;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    background: #ffffff;
}

.hero-image-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 30px 60px -12px rgba(15, 27, 107, 0.2);
}

.hero-img {
    border-radius: 2rem;
    width: 100%;
    height: auto;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 1.25rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.tracking-card {
    top: 10%;
    left: -10%;
    animation-delay: 0.5s;
}

.price-card {
    bottom: 15%;
    right: -5%;
    animation-delay: 1.5s;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: rgba(30, 111, 232, 0.1);
    color: var(--color-primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon.check {
    background: rgba(22, 163, 74, 0.1);
    color: var(--color-success);
}

.card-info {
    display: flex;
    flex-direction: column;
}

.card-info .label {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

.card-info .value {
    font-family: var(--font-data);
    font-size: 1rem;
    font-weight: 700;
}

/* --- Trust Section --- */
.trust-section {
    padding: 100px 0;
    background: white;
}

.section-header {
    margin-bottom: 60px;
}

h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.center {
    text-align: center;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.trust-card {
    background: #ffffff;
    padding: 3.5rem 2.5rem;
    border-radius: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 27, 107, 0.05);
}

/* --- Trust & Security Section (Corporate Style) --- */
.trust-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 27, 107, 0.1), transparent);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.trust-card {
    background: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(15, 27, 107, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.trust-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(15, 27, 107, 0.15);
    border-color: rgba(244, 123, 32, 0.2);
}

.trust-icon {
    width: 64px;
    height: 64px;
    background: var(--color-surface-gray);
    color: var(--color-primary-blue);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.trust-card:hover .trust-icon {
    background: var(--color-primary-blue);
    color: white;
}

.trust-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.trust-card p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}


/* --- Features Section --- */
.features-section {
    padding: 80px 0;
    background: var(--color-primary-deep);
    color: white;
}

.features-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.section-tag {
    color: var(--color-primary-orange);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

.features-list {
    margin-top: 3rem;
}

.features-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-orange);
}

.features-list h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.features-list p {
    color: rgba(255, 255, 255, 0.7);
}

/* App Mockup UI */
.app-mockup {
    background: #080C16;
    border-radius: 3rem;
    border: 10px solid #1A2FA8;
    height: 600px;
    width: 300px;
    margin: 0 auto;
    padding: 2rem;
    color: white;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.app-dot {
    width: 10px;
    height: 10px;
    background: var(--color-success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-success);
}

.app-map {
    flex: 1;
    background: #111827;
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
}

.real-map-container {
    width: 100%;
    height: 100%;
    border-radius: 1.5rem;
}

.map-truck-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    z-index: 10;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    animation: truckMove 3s ease-in-out infinite;
}

@keyframes truckMove {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -60%) scale(1.1);
    }
}

.app-map {
    flex: 1;
    background: #111827;
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Footer --- */
.main-footer {
    background: #0A0F1E;
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.logo-footer {
    height: 80px;
    width: auto;
    max-width: none !important;
    object-fit: contain;
    transform: scale(3.5);
    transform-origin: left center;
    margin-left: 0px; /* Alineado totalmente a la izquierda */
    margin-bottom: 2.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.6);
}

.social-links a:hover {
    color: var(--color-primary-orange);
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: white;
}

.footer-cta h4 {
    margin-bottom: 1rem;
}

.footer-cta p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* --- Pricing (Enterprise Billing Table Style) --- */
.pricing-section {
    padding: 80px 0;
    background: #f8fafd;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.pricing-card {
    background: white;
    border-radius: 2.5rem;
    padding: 4rem;
    box-shadow: var(--shadow-premium);
    position: relative;
    border: 1px solid rgba(15, 27, 107, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 600px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px -15px rgba(15, 27, 107, 0.2);
    border-color: rgba(244, 123, 32, 0.3);
}

.pricing-header h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.pricing-header .price {
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-text-primary);
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    font-family: var(--font-primary);
}

.pricing-features {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    font-weight: 600;
}

.pricing-features li i {
    color: #10b981;
    width: 18px;
    height: 18px;
}

.full-width {
    width: 100%;
}

/* --- Numeric Icons for "How it works" --- */
.trust-icon:not(:has(i)) {
    font-family: var(--font-data);
    font-size: 2rem;
    font-weight: 700;
}

@media (max-width: 1024px) {
    h1 {
        font-size: 4rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-container {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {

    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    h1 {
        font-size: 3rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .main-nav.mobile-active {
        display: block !important;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        padding: 2rem;
        z-index: 1001;
        overflow-y: auto;
    }

    .main-nav.mobile-active ul {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        margin-top: 2rem;
    }

    .mobile-only {
        display: block !important;
    }
}

.mobile-only {
    display: none;
}

/* --- Global Animations --- */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse-orange {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 123, 32, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(244, 123, 32, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(244, 123, 32, 0);
    }
}

.btn-primary-orange {
    animation: pulse-orange 2s infinite;
}

.trust-card,
.pricing-card {
    will-change: transform;
}

/* --- Segment Tabs & Sections --- */
.segment-tabs {
    padding: 2rem 0;
    background: var(--color-surface-gray);
    position: relative; /* Eliminado sticky que causaba problemas de 'arrastre' */
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tabs-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.tab-btn {
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    background: white;
    color: var(--color-text-secondary);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition-normal);
}

.tab-btn.active {
    background: var(--color-primary-navy);
    color: white;
    border-color: var(--color-primary-navy);
    box-shadow: var(--shadow-md);
}

.segment-section {
    padding: 100px 0;
    display: none;
}

.segment-section.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* --- Registration Form --- */
.registration-card {
    background: white;
    padding: 3rem;
    border-radius: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-primary-navy);
}

.form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-family: var(--font-primary);
    background: var(--color-surface-gray);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(30, 111, 232, 0.1);
}

/* --- Benefit Lists --- */
.benefit-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(244, 123, 32, 0.1);
    color: var(--color-primary-orange);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-item span {
    font-weight: 600;
    color: var(--color-text-primary);
}

/* --- Process Visuals --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--color-primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.visual-image {
    width: 100%;
    border-radius: 2.5rem;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .visual-image {
        order: -1;
    }
}

/* --- How it Works (Client Journey) --- */
.journey-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 5rem;
    position: relative;
    padding-bottom: 2rem;
}

.journey-grid::after {
    content: '';
    position: absolute;
    top: 42px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: repeating-linear-gradient(90deg, #e2e8f0, #e2e8f0 10px, transparent 10px, transparent 20px);
    z-index: 1;
}

.journey-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 84px;
    height: 84px;
    background: white;
    border: 2px solid #e2e8f0 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--color-primary-blue);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.journey-step:hover .step-number {
    border-color: var(--color-primary-blue) !important;
    background: var(--color-primary-blue);
    color: white;
    transform: scale(1.1);
}

.journey-step h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

.journey-step p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .journey-grid {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
    }
    .journey-grid::after {
        display: none;
    }
}

/* --- Segment Marketing Styles --- *//* --- Segment Control --- */
.segment-section {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

.segment-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.segments-display-area {
    min-height: 600px;
    padding-bottom: 5rem;
}
.value-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.value-pillar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 2rem;
    border: 1px solid rgba(15, 27, 107, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.value-pillar.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.value-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.value-pillar:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 27, 107, 0.08);
    border-color: rgba(244, 123, 32, 0.2);
}

.value-pillar:hover::before {
    transform: scaleX(1);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    background: rgba(30, 111, 232, 0.08);
    color: var(--color-primary-blue);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.pillar-info h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--color-primary-navy);
}

.pillar-info p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* --- Mini Stepper --- */
.stepper-items {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    z-index: 1;
}

.step-point {
    width: 36px;
    height: 36px;
    background: white;
    border: 2px solid var(--color-primary-orange);
    color: var(--color-primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

.step-item span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    text-align: center;
}

/* --- Feature Showcase Card --- */
.feature-showcase-card {
    position: relative;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.floating-info-box {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: white;
    padding: 0.85rem 1.25rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    font-weight: 700;
    font-size: 0.85rem;
    animation: float 3s ease-in-out infinite;
}

/* --- Registration Card --- */
.registration-card {
    background: white;
    padding: 3rem;
    border-radius: 2.5rem;
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.card-header-accent {
    position: absolute;
    top: 0; left: 0; right: 0; height: 6px;
    background: linear-gradient(90deg, var(--color-primary-orange), var(--color-primary-blue));
}

.corporate-visual-wrapper {
    position: relative;
}

.stats-overlay-card {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: var(--color-primary-navy);
    color: white;
    padding: 1.5rem;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.overlay-stat strong { font-size: 1.5rem; display: block; }
.overlay-stat span { font-size: 0.7rem; opacity: 0.8; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.full-width { width: 100%; }

/* --- DEFINITIVE UNIFIED CARD SYSTEM --- */
/* This system ensures every card in the web follows the 'Segment Style' */

.trust-card,
.pricing-card,
.registration-card,
.step-card,
.value-pillar {
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transform: none !important;
}

/* Hero and Journey cards need overflow visible for floating/scaling elements */
.hero-image-card,
.journey-step {
    position: relative !important;
    overflow: visible !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transform: none !important;
    z-index: 2;
}

/* Base state for the orange top bar - Only for specific cards */
.trust-card::after,
.pricing-card::after,
.registration-card::after,
.step-card::after,
.value-pillar::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 5px !important;
    background: var(--color-primary-orange) !important;
    transform: scaleX(0) !important;
    transform-origin: left !important;
    transition: transform 0.4s ease !important;
    z-index: 100 !important;
}

/* Specific exclusions for top bar */
.hero-image-card::after,
.journey-step::after {
    display: none !important;
}

/* Hover State: Lift + Shadow + Show Bar */
.trust-card:hover,
.pricing-card:hover,
.registration-card:hover,
.step-card:hover,
.hero-image-card:hover,
.value-pillar:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 30px 60px -12px rgba(15, 27, 107, 0.2) !important;
    border-color: rgba(244, 123, 32, 0.3) !important;
}

/* Journey step specific: Keep movement but remove the "box" */
.journey-step {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.journey-step:hover {
    transform: translateY(-12px) !important;
}

.trust-card:hover::after,
.pricing-card:hover::after,
.registration-card:hover::after,
.step-card:hover::after,
.value-pillar:hover::after {
    transform: scaleX(1) !important;
}

/* Interactive Numbers for Journey Steps */
.journey-step .step-number {
    transition: all 0.4s ease;
}

.journey-step:hover .step-number {
    background: var(--color-primary-blue);
    border-color: var(--color-primary-blue) !important;
    color: white;
    transform: scale(1.1);
}

.journey-grid .journey-step:nth-child(2):hover .step-number {
    background: var(--color-primary-orange);
    border-color: var(--color-primary-orange) !important;
}

/* --- PROFESSIONAL RESPONSIVE ARCHITECTURE --- */

@media (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
    .hero-container { gap: 3rem; }
}

@media (max-width: 768px) {
    :root {
        --header-height: 80px;
    }

    /* Reset Body for Mobile Drawer */
    body.menu-open {
        overflow: hidden;
    }

    .container {
        padding: 0 1.25rem;
    }

    /* HEADER & HAMBURGER */
    .main-header {
        height: var(--header-height);
        background: rgba(255, 255, 255, 0.9);
    }

    .logo-img {
        transform: scale(1.8) !important; 
        transform-origin: left center;
        height: 80px !important; 
        display: block !important;
        margin-left: 0.5rem !important;
    }

    .hamburger {
        display: flex !important;
    }

    .btn-hide-mobile {
        display: none !important;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 24px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }

    .hamburger span {
        width: 24px;
        height: 2px;
        background: var(--color-primary-navy);
        border-radius: 10px;
        transition: all 0.3s linear;
        position: relative;
        transform-origin: 1px;
    }

    .hamburger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.is-active span:nth-child(2) { opacity: 0; }
    .hamburger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    /* MOBILE NAVIGATION - NEW EXPANSION SYSTEM */
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        padding: 1.5rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: all;
    }

    .mobile-nav-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
    }

    .mobile-logo-img { 
        display: block !important;
        height: 35px; 
        width: auto;
    }
    
    .close-menu {
        background: none;
        border: none;
        color: var(--color-primary-navy);
        cursor: pointer;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        padding-top: 3rem;
        width: 100%;
    }

    .nav-link {
        font-size: 1.75rem;
        font-weight: 850;
        color: var(--color-primary-navy);
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }

    .mobile-nav-footer {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
        margin-top: auto;
        padding: 2rem 0;
        width: 100%;
    }

    /* HERO SECTION OPTIMIZATION */
    .hero {
        padding: 2rem 0 4rem;
        text-align: center;
    }

    .hero-container {
        flex-direction: column;
        gap: 3rem;
    }

    .hero-content {
        order: 1;
    }

    h1 {
        font-size: 2.75rem;
        letter-spacing: -0.02em;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
        padding: 2rem;
        background: white;
        border-radius: 2rem;
        box-shadow: var(--shadow-md);
        margin: 0 auto 3rem;
    }

    .stat-item {
        border-bottom: 1px solid rgba(15, 27, 107, 0.05);
        padding-bottom: 1rem;
    }

    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
        max-width: 200px;
        margin: 0 auto;
    }

    .hero-image-wrapper {
        order: 2;
        width: 100%;
        min-height: auto;
    }

    .hero-image-card {
        width: 100%;
        border-radius: 1.5rem;
    }

    /* Fixed overlapping: Hide or Reposition Floating Cards in Mobile */
    .floating-card {
        display: none !important; /* Premium choice: cleaner UI in mobile */
    }

    /* GRID SYSTEM RESET */
    .trust-grid, .pricing-grid, .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .segment-tabs .tabs-container {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .tab-btn {
        flex: 1 1 45%;
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }

    /* IMAGE FIXES (B2B, Particulares) */
    .visual-content {
        order: 2;
    }

    .text-content {
        order: 1;
        text-align: center;
    }

    .value-pillars-grid {
        grid-template-columns: 1fr;
    }

    .value-pillar {
        padding: 2rem 1.5rem;
        align-items: center;
        text-align: center;
    }

    .pillar-icon { margin-left: auto; margin-right: auto; }

    /* FOOTER CLEANUP */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .logo-footer {
        transform: none !important;
        height: 50px !important;
        margin: 0 auto 1.5rem !important;
    }

    .social-links { justify-content: center; }
    .footer-cta { align-items: center; }

    /* COMPACTNESS BOOST */
    .trust-section, .pricing-section, .hero, .segment-section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .section-header {
        margin-bottom: 2rem !important;
    }

    .value-pillars-grid {
        gap: 1rem !important;
    }

    .value-pillar {
        padding: 1.5rem !important;
    }

    .segments-display-area {
        padding-bottom: 2rem !important;
        min-height: auto !important;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    .hero { padding-top: 1rem; }
}
