/* =========================================
   VARIABLES GLOBALES
   ========================================= */
:root {
    --brand-primary: #3e39ba;
    --brand-secondary: #ffc61a;
    --bg-body: #f3f4f6;
    --bg-surface: #ffffff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border-light: rgba(0, 0, 0, 0.08);
    --radius-md: 8px;
    --radius-lg: 12px;
    --trans-base: 0.3s cubic-bezier(0.2, 0, 0, 1);
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

a {
    text-decoration: none !important;
}

.platform-wrapper {
    background-color: var(--bg-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    max-width: 100vw;
    margin-top: 80px
}



/* =========================================
   UTILIDADES COMPARTIDAS (DRY)
   ========================================= */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    position: relative;
    z-index: 2;

    .section-heading {
        font-size: clamp(1.75rem, 4vw, 3rem);
        font-weight: 800;
        color: var(--text-main);
        margin-bottom: 1.25rem;
        letter-spacing: -0.02em;
    }

    .section-subtitle {
        font-size: clamp(1rem, 2vw, 1.15rem);
        color: var(--text-muted);
        line-height: 1.6;
        margin: 0;
    }
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 4rem;
    }
}

.brand-highlight {
    color: var(--brand-primary);

}

.accent-highlight {
    color: color-mix(in srgb, var(--brand-secondary) 90%, #d97706);
}

/* --- Badges / Píldoras --- */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.badge-pill.primary-badge {
    background-color: color-mix(in srgb, var(--brand-primary) 12%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--brand-primary) 25%, #ffffff);
    color: var(--brand-primary);
}

.badge-pill.accent-badge {
    background-color: color-mix(in srgb, var(--brand-secondary) 20%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--brand-secondary) 30%, #ffffff);
    color: #b45309;
}

/* =========================================
   BOTONES GLOBALES
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition:
        transform var(--trans-base),
        box-shadow var(--trans-base),
        background-color var(--trans-base),
        border-color var(--trans-base);
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn .arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* Botón Lila */
.btn-primary {
    background-color: var(--brand-primary);
    color: #ffffff !important;
    border: 1px solid transparent;
}

.btn-primary:hover {
    box-shadow: 0 4px 16px color-mix(in srgb, var(--brand-primary) 40%, transparent);
    transform: translateY(-2px);
}

/* Botón Dorado (Acento) */
.btn-accent {
    background-color: var(--brand-secondary);
    color: #111827 !important;
    border: 1px solid transparent;
    font-weight: 700;
}

.btn-accent:hover {
    background-color: color-mix(in srgb, var(--brand-secondary) 85%, #d97706);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--brand-secondary) 50%, transparent);
    transform: translateY(-2px);
}

/* Botón con Borde */
.btn-outline {
    background-color: transparent;
    color: var(--brand-primary) !important;
    border: 1px solid var(--brand-primary);
}

.btn-outline:hover {
    background-color: color-mix(in srgb, var(--brand-primary) 5%, transparent);
    transform: translateY(-2px);
}

.w-full {
    width: 100%;
}

/* =========================================
   NAVEGACIÓN
   ========================================= */
.public-nav {
    padding: 1.5rem 5%;
    display: flex;
    align-items: center;

    .brand-lockup {
        display: flex;
        align-items: center;
        gap: 1rem;

        img {
            border-radius: 50%;
            object-fit: cover;
            width: 40px;
            height: 40px;
        }

        .brand-logotype {
            font-size: clamp(1.5rem, 3vw, 2.2rem);
            font-weight: 800;
            color: var(--brand-primary);
            letter-spacing: -0.02em;
        }
    }
}

@media (min-width: 768px) {
    .public-nav {
        padding: 2rem 5%;

        .brand-lockup img {
            width: auto;
            height: auto;
        }
    }
}

/* =========================================
   1. HERO SECTION
   ========================================= */
.hero-section {
    padding: 3rem 5%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1440px;
    margin: 0 auto;
    min-height: auto;
    align-items: center;
    position: relative;
}

@media (min-width: 1024px) {
    .hero-section {
        grid-template-columns: 1.1fr 0.9fr;
        padding-top: 6rem;
        padding-bottom: 6rem;
        gap: 4rem;
        min-height: 85vh;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    align-items: center;
    animation: fadeUp 0.8s ease forwards;
    position: relative;
    z-index: 2;
}

@media (min-width: 1024px) {
    .hero-content {
        text-align: left;
        align-items: flex-start;
    }
}

.hero-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
    width: 100%;
}

.hero-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

@media (min-width: 1024px) {
    .hero-logo {
        width: 80px;
        height: 80px;
        gap: 1.25rem;
    }
}

.hero-logotype {
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.03em;
    margin: 0;
    line-height: 1;

}

.hero-tagline-wrapper {
    display: inline-grid;
    justify-items: start;
    margin-bottom: 1rem;
    max-width: 100%;
}

.hero-tagline-typewriter {
    grid-area: 1 / 1;
    color: var(--brand-secondary);
    font-weight: 700;
    /* Ajuste crítico para móvil: Evita que el texto salte de línea y rompa el ancho de animación */
    font-size: clamp(0.9rem, 3.5vw, 1.5rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    white-space: nowrap;
    width: fit-content;
    overflow: hidden;
}

/* =========================================
   LÓGICA DEL BUCLE INFINITO (CICLO 16s)
   ========================================= */

.first-phrase {
    animation: togglePhrase1 16s infinite;
}

.first-phrase::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background-color: var(--bg-body);
    border-left: 2px solid var(--brand-secondary);
    animation:
        typePhrase1 16s infinite,
        cursorBlink 0.8s step-end infinite;
}

.second-phrase {
    animation: togglePhrase2 16s infinite;
}

.second-phrase::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background-color: var(--bg-body);
    border-left: 2px solid var(--brand-secondary);
    animation:
        typePhrase2 16s infinite,
        cursorBlink 0.8s step-end infinite;
}

/* =========================================
   TIMELINES Y KEYFRAMES
   ========================================= */

@keyframes togglePhrase1 {

    0%,
    49.9% {
        opacity: 1;
        visibility: visible;
    }

    50%,
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes togglePhrase2 {

    0%,
    49.9% {
        opacity: 0;
        visibility: hidden;
    }

    50%,
    100% {
        opacity: 1;
        visibility: visible;
    }
}

@keyframes typePhrase1 {
    0% {
        width: 100%;
        animation-timing-function: steps(22, end);
    }

    9.375% {
        width: 0%;
        animation-timing-function: step-end;
    }

    37.5% {
        width: 0%;
        animation-timing-function: steps(22, end);
    }

    43.75% {
        width: 100%;
        animation-timing-function: step-end;
    }

    100% {
        width: 100%;
    }
}

@keyframes typePhrase2 {
    0% {
        width: 100%;
        animation-timing-function: step-end;
    }

    53.125% {
        width: 100%;
        animation-timing-function: steps(38, end);
    }

    65.625% {
        width: 0%;
        animation-timing-function: step-end;
    }

    90.625% {
        width: 0%;
        animation-timing-function: steps(38, end);
    }

    96.875% {
        width: 100%;
        animation-timing-function: step-end;
    }

    100% {
        width: 100%;
    }
}

@keyframes cursorBlink {

    0%,
    100% {
        border-left-color: var(--brand-secondary);
    }

    50% {
        border-left-color: transparent;
    }
}

.hero-description {
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
    max-width: 600px;
    margin: 0;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        width: auto;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

@media (min-width: 768px) {
    .hero-stats {
        gap: 1.5rem;
        margin-top: 2.5rem;
        padding-top: 2.5rem;
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.stat-value {
    font-size: clamp(1.25rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1;
}

.stat-value.primary-color {
    color: var(--brand-primary);
}

.stat-value.accent-color {
    color: var(--brand-secondary);
}

.stat-label {
    color: var(--text-muted);
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    font-weight: 500;
}

.hero-visual {
    position: relative;
    animation: fadeLeft 1s ease forwards;
    width: 100%;
    z-index: 2;
}

.image-frame {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.image-frame img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.floating-badge {
    position: absolute;
    bottom: -1rem;
    right: 0.5rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    z-index: 5;
}

@media (min-width: 1024px) {
    .floating-badge {
        right: -1.5rem;
        padding: 0.75rem 1.25rem;
        gap: 0.75rem;
    }
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--brand-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@media (min-width: 1024px) {
    .pulse-dot {
        width: 10px;
        height: 10px;
    }
}

.badge-text {
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    font-weight: 600;
    color: var(--text-main);
}

/* --- Animaciones Base --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand-primary) 60%, transparent);
    }

    70% {
        box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand-primary) 0%, transparent);
    }

    100% {
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand-primary) 0%, transparent);
    }
}

/* =========================================
   2. ABOUT SECTION
   ========================================= */
.about-section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

@media (min-width: 768px) {
    .about-section {
        padding: 5rem 5%;
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.features-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition:
        transform var(--trans-base),
        box-shadow var(--trans-base);
}

@media (min-width: 768px) {
    .feature-card {
        padding: 1.75rem;
        gap: 1.25rem;
    }
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.feature-card .card-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: color-mix(in srgb, var(--brand-primary) 10%, transparent);
    color: var(--brand-primary);
}

@media (min-width: 768px) {
    .feature-card .card-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }
}

.feature-card .card-icon svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 768px) {
    .feature-card .card-icon svg {
        width: 24px;
        height: 24px;
    }
}

.feature-card .card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .feature-card .card-title {
        font-size: 1.15rem;
    }
}

.feature-card .card-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (min-width: 768px) {
    .feature-card .card-text {
        font-size: 0.95rem;
    }
}

/* Columna de Pilares */
.pillars-column {
    position: relative;
}

@media (min-width: 992px) {
    .pillars-column {
        position: sticky;
        top: 100px;
    }
}

.pillars-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

@media (min-width: 768px) {
    .pillars-card {
        padding: 2.5rem;
    }
}

.pillars-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .pillars-header {
        margin-bottom: 2rem;
    }
}

.dot-indicator {
    width: 10px;
    height: 10px;
    background-color: var(--brand-primary);
    border-radius: 50%;
}

.pulse-glow {
    animation: pulse-dot-small 2s infinite;
}

@keyframes pulse-dot-small {
    0% {
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand-primary) 50%, transparent);
    }

    70% {
        box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand-primary) 0%, transparent);
    }

    100% {
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand-primary) 0%, transparent);
    }
}

.pillars-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

@media (min-width: 768px) {
    .pillars-title {
        font-size: 1.25rem;
    }
}

.pillars-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .pillars-list {
        gap: 1.25rem;
    }
}

.pillar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    border-radius: 12px;
    transition: background-color 0.3s ease;
    cursor: default;
}

.pillar-item:hover {
    background-color: color-mix(in srgb, var(--brand-primary) 3%, transparent);
}

.pillar-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, var(--brand-secondary) 30%, transparent);
    font-size: 0.85rem;
    font-weight: 700;
    background-color: color-mix(in srgb,
            var(--brand-secondary) 15%,
            transparent);
    color: color-mix(in srgb, var(--brand-secondary) 85%, #b45309);
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

@media (min-width: 768px) {
    .pillar-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

.pillar-item:hover .pillar-number {
    background-color: color-mix(in srgb,
            var(--brand-secondary) 30%,
            transparent);
    color: color-mix(in srgb, var(--brand-secondary) 95%, #b45309);
}

.pillar-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.5;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .pillar-text {
        font-size: 0.95rem;
    }
}

.pillar-item:hover .pillar-text {
    color: var(--brand-primary);
}

/* =========================================
   3. NEEDS SECTION
   ========================================= */
.needs-section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;

    @media (min-width: 768px) {
        padding: 5rem 5%;
    }

    .needs-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        position: relative;
        z-index: 2;

        @media (min-width: 640px) {
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
        }

        @media (min-width: 1024px) {
            grid-template-columns: repeat(3, 1fr);
            gap: 2.5rem;
        }
    }

    .need-card {
        background-color: var(--bg-surface);
        border: 1px solid var(--border-light);
        border-radius: 16px;
        padding: 2rem 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
        transition:
            transform var(--trans-base),
            box-shadow var(--trans-base);

        @media (min-width: 768px) {
            padding: 2.5rem 2rem;
        }

        &:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
        }

        .card-icon {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            margin-bottom: 1.25rem;

            @media (min-width: 768px) {
                width: 48px;
                height: 48px;
                border-radius: 12px;
                margin-bottom: 1.5rem;
            }

            svg {
                width: 20px;
                height: 20px;

                @media (min-width: 768px) {
                    width: 24px;
                    height: 24px;
                }
            }

            &.icon-primary {
                color: var(--brand-primary);
                background-color: color-mix(in srgb,
                        var(--brand-primary) 10%,
                        transparent);
            }

            &.icon-secondary {
                color: var(--brand-secondary);
                background-color: color-mix(in srgb,
                        var(--brand-secondary) 15%,
                        transparent);
            }
        }

        .card-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 0.75rem;
            line-height: 1.3;

            @media (min-width: 768px) {
                font-size: 1.15rem;
            }
        }

        .card-text {
            font-size: 0.9rem;
            color: var(--text-muted);
            line-height: 1.6;
            margin: 0;

            @media (min-width: 768px) {
                font-size: 0.95rem;
            }
        }
    }
}

/* =========================================
   4. FUNCTIONAL AREAS SECTION
   ========================================= */
.functional-areas-section {
    padding: 4rem 5%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;

    @media (min-width: 768px) {
        padding: 5rem 5%;
    }

    .areas-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 3rem;
        align-items: center;
        position: relative;
        z-index: 2;

        @media (min-width: 1100px) {
            grid-template-columns: 1.2fr 1fr;
            gap: 4rem;
        }
    }

    .areas-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;

        @media (min-width: 640px) {
            grid-template-columns: repeat(2, 1fr);
            gap: 1.25rem;
        }
    }

    .area-card {
        background-color: var(--bg-surface);
        border: 1px solid var(--border-light);
        border-radius: 16px;
        padding: 1.25rem;
        display: flex;
        gap: 1rem;
        align-items: flex-start;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
        transition:
            transform var(--trans-base),
            box-shadow var(--trans-base),
            border-color var(--trans-base);

        @media (min-width: 768px) {
            padding: 1.5rem;
        }

        &:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
            border-color: color-mix(in srgb,
                    var(--brand-primary) 30%,
                    transparent);
        }

        .area-icon {
            width: 36px;
            height: 36px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            color: var(--brand-primary);
            background-color: color-mix(in srgb,
                    var(--brand-primary) 8%,
                    transparent);

            @media (min-width: 768px) {
                width: 40px;
                height: 40px;
                border-radius: 10px;
            }

            svg {
                width: 18px;
                height: 18px;

                @media (min-width: 768px) {
                    width: 20px;
                    height: 20px;
                }
            }
        }

        .area-content {
            .area-title {
                font-size: 0.95rem;
                font-weight: 700;
                color: var(--text-main);
                margin-bottom: 0.25rem;
                line-height: 1.3;

                @media (min-width: 768px) {
                    font-size: 1rem;
                }
            }

            .area-text {
                font-size: 0.85rem;
                color: var(--text-muted);
                line-height: 1.5;
                margin: 0;
            }
        }
    }

    .areas-visual {
        position: relative;

        @media (min-width: 1100px) {
            position: sticky;
            top: 100px;
        }

        .visual-container {
            background: var(--bg-surface);
            border-radius: 16px;
            padding: 0.5rem;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
            border: 1px solid var(--border-light);

            img {
                width: 100%;
                height: auto;
                border-radius: 12px;
                display: block;
            }
        }

        .visual-caption {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 1rem;
            font-size: 0.85rem;
            color: var(--text-muted);

            @media (min-width: 768px) {
                margin-top: 1.5rem;
                font-size: 0.9rem;
            }

            .caption-dot {
                width: 6px;
                height: 6px;
                background-color: var(--brand-primary);
                border-radius: 50%;
            }
        }
    }
}

/* =========================================
   5. FEATURE DETAIL SECTION
   ========================================= */
.feature-detail-section {
    padding: 4rem 5%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;

    @media (min-width: 768px) {
        padding: 5rem 5%;
    }

    .feature-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 3rem;
        align-items: center;
        position: relative;
        z-index: 2;

        @media (min-width: 1024px) {
            grid-template-columns: 1.1fr 0.9fr;
            gap: 5rem;
        }
    }

    .feature-visual {
        .visual-container {
            background: var(--bg-surface);
            border-radius: 20px;
            padding: 0.5rem;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
            border: 1px solid var(--border-light);

            img {
                width: 100%;
                height: auto;
                border-radius: 16px;
                display: block;
            }
        }

        .visual-caption {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 1rem;
            font-size: 0.85rem;
            color: var(--text-muted);

            @media (min-width: 768px) {
                margin-top: 1.5rem;
                font-size: 0.95rem;
            }

            .caption-dot {
                width: 6px;
                height: 6px;
                background-color: var(--brand-primary);
                border-radius: 50%;
            }
        }
    }

    .feature-info {
        display: flex;
        flex-direction: column;

        .feature-heading {
            font-size: clamp(1.75rem, 3.5vw, 2.5rem);
            font-weight: 800;
            color: var(--text-main);
            margin-bottom: 1rem;
            letter-spacing: -0.02em;
            line-height: 1.2;

            @media (min-width: 768px) {
                margin-bottom: 1.25rem;
            }

            .brand-highlight {
                color: var(--brand-primary);
            }
        }

        .feature-description {
            font-size: 1rem;
            color: var(--text-muted);
            line-height: 1.7;
            margin-bottom: 2rem;

            @media (min-width: 768px) {
                font-size: 1.1rem;
                margin-bottom: 2.5rem;
            }
        }

        .feature-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            padding: 0;
            margin: 0;

            @media (min-width: 768px) {
                gap: 1.25rem;
            }

            .list-item {
                display: flex;
                align-items: center;
                gap: 0.75rem;
                font-size: 0.95rem;
                color: var(--text-main);
                font-weight: 500;

                @media (min-width: 768px) {
                    gap: 1rem;
                    font-size: 1.05rem;
                }

                .list-icon {
                    width: 24px;
                    height: 24px;
                    flex-shrink: 0;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border-radius: 50%;
                    color: color-mix(in srgb, var(--brand-secondary) 80%, #000);
                    background-color: color-mix(in srgb,
                            var(--brand-secondary) 15%,
                            transparent);

                    @media (min-width: 768px) {
                        width: 28px;
                        height: 28px;
                    }

                    svg {
                        width: 14px;
                        height: 14px;
                        transform: translateX(1px);

                        @media (min-width: 768px) {
                            width: 16px;
                            height: 16px;
                        }
                    }
                }
            }
        }
    }
}

/* =========================================
   6. LIBRARY SECTION
   ========================================= */
.library-section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;

    @media (min-width: 768px) {
        padding: 5rem 5%;
    }

    .library-cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
        position: relative;
        z-index: 2;

        @media (min-width: 768px) {
            grid-template-columns: repeat(2, 1fr);
            gap: 2.5rem;
            margin-bottom: 4rem;
        }
    }

    .library-card {
        background-color: var(--bg-surface);
        border: 1px solid var(--border-light);
        border-radius: 16px;
        padding: 1.5rem;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
        transition:
            transform var(--trans-base),
            box-shadow var(--trans-base);

        @media (min-width: 768px) {
            padding: 2.5rem;
        }

        &:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
        }

        .card-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;

            @media (min-width: 768px) {
                gap: 1.25rem;
                margin-bottom: 2rem;
            }
        }

        .card-icon {
            width: 40px;
            height: 40px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;

            @media (min-width: 768px) {
                width: 48px;
                height: 48px;
                border-radius: 12px;
            }

            svg {
                width: 20px;
                height: 20px;

                @media (min-width: 768px) {
                    width: 24px;
                    height: 24px;
                }
            }
        }

        .card-title {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text-main);
            line-height: 1.3;

            @media (min-width: 768px) {
                font-size: 1.15rem;
            }
        }

        .card-list {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            padding: 0;
            margin: 0;

            @media (min-width: 768px) {
                gap: 1rem;
            }

            li {
                display: flex;
                align-items: center;
                gap: 0.75rem;
                font-size: 0.9rem;
                color: var(--text-muted);

                @media (min-width: 768px) {
                    font-size: 0.95rem;
                }

                .check-icon {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 18px;
                    height: 18px;
                    border-radius: 50%;
                    flex-shrink: 0;

                    @media (min-width: 768px) {
                        width: 20px;
                        height: 20px;
                    }

                    svg {
                        width: 8px;
                        height: 8px;

                        @media (min-width: 768px) {
                            width: 10px;
                            height: 10px;
                        }
                    }
                }
            }
        }

        &.primary-theme {
            .card-icon {
                color: var(--brand-primary);
                background-color: color-mix(in srgb,
                        var(--brand-primary) 10%,
                        transparent);
            }

            .check-icon {
                color: var(--brand-primary);
                background-color: color-mix(in srgb,
                        var(--brand-primary) 15%,
                        transparent);
            }
        }

        &.accent-theme {
            .card-icon {
                color: var(--brand-secondary);
                background-color: color-mix(in srgb,
                        var(--brand-secondary) 15%,
                        transparent);
            }

            .check-icon {
                color: var(--brand-secondary);
                background-color: color-mix(in srgb,
                        var(--brand-secondary) 20%,
                        transparent);
            }
        }
    }

    .library-visual {
        margin-bottom: 3rem;
        position: relative;
        z-index: 2;

        @media (min-width: 768px) {
            margin-bottom: 5rem;
        }

        .visual-container {
            background: var(--bg-surface);
            border-radius: 20px;
            padding: 0.5rem;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
            border: 1px solid var(--border-light);
            max-width: 900px;
            margin: 0 auto;

            img {
                width: 100%;
                height: auto;
                border-radius: 16px;
                display: block;
            }
        }

        .visual-caption {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 1rem;
            font-size: 0.85rem;
            color: var(--text-muted);

            @media (min-width: 768px) {
                margin-top: 1.5rem;
                font-size: 0.95rem;
            }

            .caption-dot {
                width: 6px;
                height: 6px;
                background-color: var(--brand-secondary);
                border-radius: 50%;
            }
        }
    }

    .library-features-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        border-top: 1px solid var(--border-light);
        padding-top: 3rem;
        position: relative;
        z-index: 2;

        @media (min-width: 640px) {
            grid-template-columns: repeat(2, 1fr);
            gap: 2.5rem;
        }

        @media (min-width: 1024px) {
            grid-template-columns: repeat(4, 1fr);
            padding-top: 4rem;
            gap: 2rem;
        }

        .lib-feature-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;

            .feature-icon {
                width: 48px;
                height: 48px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 12px;
                margin-bottom: 1rem;

                @media (min-width: 768px) {
                    width: 56px;
                    height: 56px;
                    border-radius: 16px;
                    margin-bottom: 1.25rem;
                }

                svg {
                    width: 20px;
                    height: 20px;

                    @media (min-width: 768px) {
                        width: 24px;
                        height: 24px;
                    }
                }

                &.icon-primary {
                    color: var(--brand-primary);
                    background-color: color-mix(in srgb,
                            var(--brand-primary) 8%,
                            transparent);
                }

                &.icon-accent {
                    color: var(--brand-secondary);
                    background-color: color-mix(in srgb,
                            var(--brand-secondary) 12%,
                            transparent);
                }
            }

            .feature-title {
                font-size: 1rem;
                font-weight: 700;
                color: var(--text-main);
                margin-bottom: 0.5rem;

                @media (min-width: 768px) {
                    font-size: 1.05rem;
                }
            }

            .feature-desc {
                font-size: 0.85rem;
                color: var(--text-muted);
                line-height: 1.5;
                margin: 0;

                @media (min-width: 768px) {
                    font-size: 0.9rem;
                }
            }
        }
    }
}

/* =========================================
   7. INSTITUTIONAL BENEFITS SECTION
   ========================================= */
.institutional-benefits-section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;

    @media (min-width: 768px) {
        padding: 6rem 5%;
    }

    .benefits-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 3rem;

        @media (min-width: 1024px) {
            grid-template-columns: repeat(2, 1fr);
            gap: 5rem;
        }
    }

    .benefit-column {
        display: flex;
        flex-direction: column;

        .column-title-wrapper {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1.5rem;

            @media (min-width: 768px) {
                margin-bottom: 2rem;
            }

            .title-indicator {
                width: 4px;
                height: 24px;
                border-radius: 4px;

                @media (min-width: 768px) {
                    height: 32px;
                }
            }

            .column-title {
                font-size: 1.15rem;
                font-weight: 700;
                color: var(--text-main);
                margin: 0;

                @media (min-width: 768px) {
                    font-size: 1.25rem;
                }
            }

            &.primary-indicator .title-indicator {
                background-color: var(--brand-primary);
            }

            &.accent-indicator .title-indicator {
                background-color: var(--brand-secondary);
            }
        }

        .cards-container {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
    }

    .benefit-card {
        background-color: var(--bg-surface);
        border: 1px solid var(--border-light);
        border-radius: 12px;
        padding: 1.25rem;
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
        transition:
            transform var(--trans-base),
            box-shadow var(--trans-base),
            border-color var(--trans-base);

        @media (min-width: 768px) {
            padding: 1.5rem;
            gap: 1.25rem;
        }

        &:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
        }

        .card-icon {
            width: 40px;
            height: 40px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            transition:
                color var(--trans-base),
                background-color var(--trans-base);

            @media (min-width: 768px) {
                width: 48px;
                height: 48px;
            }

            svg {
                width: 20px;
                height: 20px;

                @media (min-width: 768px) {
                    width: 24px;
                    height: 24px;
                }
            }
        }

        .card-content {
            .card-heading {
                font-size: 1rem;
                font-weight: 700;
                color: var(--text-main);
                margin-bottom: 0.25rem;
                transition: color var(--trans-base);

                @media (min-width: 768px) {
                    font-size: 1.05rem;
                }
            }

            .card-text {
                font-size: 0.85rem;
                color: var(--text-muted);
                line-height: 1.5;
                margin: 0;

                @media (min-width: 768px) {
                    font-size: 0.9rem;
                }
            }
        }

        &.primary-theme {
            .card-icon {
                background-color: color-mix(in srgb,
                        var(--brand-primary) 12%,
                        #ffffff);
                color: var(--brand-primary);
            }

            &:hover {
                border-color: color-mix(in srgb,
                        var(--brand-primary) 40%,
                        #ffffff);

                .card-heading {
                    color: var(--brand-primary);
                }

                .card-icon {
                    background-color: var(--brand-primary);
                    color: #ffffff;
                }
            }
        }

        &.accent-theme {
            .card-icon {
                background-color: color-mix(in srgb,
                        var(--brand-secondary) 20%,
                        #ffffff);
                color: color-mix(in srgb, var(--brand-secondary) 85%, #b45309);
            }

            &:hover {
                border-color: color-mix(in srgb,
                        var(--brand-secondary) 60%,
                        #ffffff);

                .card-heading {
                    color: color-mix(in srgb,
                            var(--brand-secondary) 90%,
                            #d97706);
                }

                .card-icon {
                    background-color: var(--brand-secondary);
                    color: #ffffff;
                }
            }
        }
    }
}

/* =========================================
   8. SECURITY SECTION
   ========================================= */
.security-section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;

    @media (min-width: 768px) {
        padding: 6rem 5%;
    }

    .security-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 1000px;
        margin: 0 auto 3rem auto;
        position: relative;
        z-index: 2;

        @media (min-width: 640px) {
            grid-template-columns: repeat(2, 1fr);
        }

        @media (min-width: 1024px) {
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-bottom: 4rem;
        }
    }

    .security-card {
        background-color: var(--bg-surface);
        border: 1px solid var(--border-light);
        border-radius: 12px;
        padding: 1.5rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
        transition:
            transform var(--trans-base),
            border-color var(--trans-base),
            box-shadow var(--trans-base);

        @media (min-width: 768px) {
            padding: 2rem 1.5rem;
        }

        &:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
            border-color: color-mix(in srgb,
                    var(--brand-secondary) 50%,
                    #ffffff);

            .card-heading {
                color: color-mix(in srgb, var(--brand-secondary) 90%, #d97706);
            }

            .card-icon {
                background-color: var(--brand-secondary);
                color: #ffffff;
            }
        }

        .card-icon {
            width: 56px;
            height: 56px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 16px;
            margin-bottom: 1.25rem;
            background-color: color-mix(in srgb,
                    var(--brand-secondary) 20%,
                    #ffffff);
            color: color-mix(in srgb, var(--brand-secondary) 85%, #b45309);
            transition:
                color var(--trans-base),
                background-color var(--trans-base);

            @media (min-width: 768px) {
                width: 64px;
                height: 64px;
                margin-bottom: 1.5rem;
            }

            svg {
                width: 28px;
                height: 28px;

                @media (min-width: 768px) {
                    width: 32px;
                    height: 32px;
                }
            }
        }

        .card-heading {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 0.5rem;
            transition: color var(--trans-base);

            @media (min-width: 768px) {
                font-size: 1.1rem;
                margin-bottom: 0.75rem;
            }
        }

        .card-text {
            font-size: 0.9rem;
            color: var(--text-muted);
            line-height: 1.5;
            margin: 0;

            @media (min-width: 768px) {
                font-size: 0.95rem;
            }
        }
    }

    .security-summary {
        background-color: var(--bg-surface);
        border: 1px solid var(--border-light);
        border-radius: 16px;
        padding: 2rem 1.5rem;
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
        position: relative;
        z-index: 2;

        @media (min-width: 768px) {
            padding: 3rem;
        }

        .summary-icon {
            width: 64px;
            height: 64px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 16px;
            margin: 0 auto 1.25rem auto;
            background-color: color-mix(in srgb,
                    var(--brand-primary) 8%,
                    #ffffff);
            border: 1px solid color-mix(in srgb, var(--brand-primary) 15%, #ffffff);
            color: var(--brand-primary);

            @media (min-width: 768px) {
                width: 80px;
                height: 80px;
                border-radius: 20px;
                margin-bottom: 1.5rem;
            }

            svg {
                width: 32px;
                height: 32px;

                @media (min-width: 768px) {
                    width: 40px;
                    height: 40px;
                }
            }
        }

        .summary-text {
            font-size: 0.95rem;
            color: var(--text-muted);
            line-height: 1.6;
            margin: 0;

            @media (min-width: 768px) {
                font-size: 1.1rem;
                line-height: 1.8;
            }
        }
    }
}

/* =========================================
   9. EVOLUTION SECTION
   ========================================= */
.evolution-section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;

    @media (min-width: 768px) {
        padding: 6rem 5%;
    }

    .evolution-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
        position: relative;
        z-index: 2;

        @media (min-width: 768px) {
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-bottom: 4rem;
        }
    }

    .evolution-card {
        background-color: var(--bg-surface);
        border: 1px solid var(--border-light);
        border-radius: 12px;
        padding: 2rem 1.5rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
        transition:
            transform var(--trans-base),
            box-shadow var(--trans-base),
            border-color var(--trans-base);

        @media (min-width: 768px) {
            padding: 2.5rem 2rem;
        }

        &:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
        }

        .card-icon {
            width: 56px;
            height: 56px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 16px;
            margin-bottom: 1.25rem;
            transition:
                color var(--trans-base),
                background-color var(--trans-base);

            @media (min-width: 768px) {
                width: 64px;
                height: 64px;
                margin-bottom: 1.5rem;
            }

            svg {
                width: 28px;
                height: 28px;

                @media (min-width: 768px) {
                    width: 32px;
                    height: 32px;
                }
            }
        }

        .card-heading {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 0.5rem;
            transition: color var(--trans-base);

            @media (min-width: 768px) {
                font-size: 1.25rem;
                margin-bottom: 0.75rem;
            }
        }

        .card-text {
            font-size: 0.9rem;
            color: var(--text-muted);
            line-height: 1.6;
            margin: 0;

            @media (min-width: 768px) {
                font-size: 0.95rem;
            }
        }

        &.primary-theme {
            .card-icon {
                background-color: color-mix(in srgb,
                        var(--brand-primary) 12%,
                        #ffffff);
                color: var(--brand-primary);
            }

            &:hover {
                border-color: color-mix(in srgb,
                        var(--brand-primary) 40%,
                        #ffffff);

                .card-heading {
                    color: var(--brand-primary);
                }

                .card-icon {
                    background-color: var(--brand-primary);
                    color: #ffffff;
                }
            }
        }

        &.accent-theme {
            .card-icon {
                background-color: color-mix(in srgb,
                        var(--brand-secondary) 20%,
                        #ffffff);
                color: color-mix(in srgb, var(--brand-secondary) 85%, #b45309);
            }

            &:hover {
                border-color: color-mix(in srgb,
                        var(--brand-secondary) 60%,
                        #ffffff);

                .card-heading {
                    color: color-mix(in srgb,
                            var(--brand-secondary) 90%,
                            #d97706);
                }

                .card-icon {
                    background-color: var(--brand-secondary);
                    color: #ffffff;
                }
            }
        }
    }

    .evolution-footer {
        display: flex;
        justify-content: center;
        position: relative;
        z-index: 2;

        .evolution-banner {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            background-color: var(--bg-surface);
            border: 1px solid var(--border-light);
            padding: 1rem 1.5rem;
            border-radius: 50px;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
            transition:
                transform var(--trans-base),
                box-shadow var(--trans-base);
            width: 100%;
            max-width: 400px;

            @media (min-width: 768px) {
                gap: 1rem;
                padding: 1rem 2rem;
                width: auto;
                max-width: none;
            }

            &:hover {
                transform: translateY(-2px);
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
                border-color: color-mix(in srgb,
                        var(--brand-primary) 30%,
                        transparent);
            }

            .banner-icon {
                color: var(--brand-primary);
                display: flex;
                align-items: center;

                svg {
                    width: 20px;
                    height: 20px;

                    @media (min-width: 768px) {
                        width: 24px;
                        height: 24px;
                    }
                }
            }

            .banner-text {
                font-size: 0.95rem;
                font-weight: 600;
                color: var(--text-main);

                @media (min-width: 768px) {
                    font-size: 1rem;
                }
            }
        }
    }
}

/* =========================================
   10. PRICING SECTION (PLANES)
   ========================================= */

.pricing-section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;

    @media (min-width: 768px) {
        padding: 6rem 5%;
    }

    & .orb-violet {
        top: 10%;
        left: -10%;
    }

    & .orb-gold {
        bottom: 20%;
        right: -5%;
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 2;

    @media (min-width: 768px) {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        align-items: stretch;
    }

    @media (min-width: 1024px) {
        gap: 2.5rem;
    }
}

.pricing-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    height: 100%;

    @media (min-width: 768px) {
        padding: 2.5rem 2rem;
    }

    &:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    }

    &.highlighted {
        border: 2px solid var(--brand-primary);
        box-shadow: 0 12px 30px rgba(62, 57, 186, 0.08);

        @media (min-width: 768px) {
            transform: scale(1.02);
        }

        &:hover {
            box-shadow: 0 20px 40px rgba(62, 57, 186, 0.12);

            @media (min-width: 768px) {
                transform: scale(1.02) translateY(-5px);
            }

            @media (max-width: 767px) {
                transform: translateY(-5px);
            }
        }

        & .pricing-price-box .price {
            color: var(--brand-primary);
        }

        & .check-icon {
            background-color: color-mix(in srgb,
                    var(--brand-primary) 15%,
                    transparent);
            color: var(--brand-primary);
        }

        & li.feature-disabled .check-icon {
            background-color: var(--bg-body);
            color: #9ca3af;
        }
    }
}

/* Badges Institucionales */
.popular-badge,
.promo-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    white-space: nowrap;
    z-index: 2;

    @media (min-width: 768px) {
        font-size: 0.75rem;
        padding: 0.25rem 1.25rem;
    }
}

.popular-badge {
    background-color: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(62, 57, 186, 0.3);
}

.promo-badge {
    background-color: var(--brand-secondary);
    color: var(--text-main);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Cabecera de Tarjeta */
.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);

    @media (min-width: 768px) {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }
}

.pricing-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;

    @media (min-width: 768px) {
        font-size: 1.25rem;
    }
}

.pricing-desc {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 1rem;
    min-height: auto;

    @media (min-width: 768px) {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        min-height: 40px;
    }
}

/* Sistema de Precios */
.pricing-price-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-main);
}

.pricing-regular-price {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.pricing-regular-price .strike-price {
    text-decoration: line-through;
}

.pricing-regular-price .separator {
    text-decoration: none;
    opacity: 0.5;
}

.current-price-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;

    & .currency {
        font-size: 1.25rem;
        font-weight: 700;

        @media (min-width: 768px) {
            font-size: 1.5rem;
        }
    }

    & .price {
        font-size: 2.5rem;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -0.03em;

        @media (min-width: 768px) {
            font-size: 3rem;
        }
    }

    & .period {
        font-size: 0.9rem;
        color: #6b7280;
        font-weight: 500;

        @media (min-width: 768px) {
            font-size: 1rem;
        }
    }
}

.pricing-usd {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
    margin-top: 0.5rem;
    transition: all 0.3s ease;

    @media (min-width: 768px) {
        font-size: 0.85rem;
    }

    &.promo-usd-highlight {
        color: var(--brand-secondary);
        font-weight: 700;
        background: color-mix(in srgb, var(--brand-secondary) 15%, transparent);
        padding: 4px 10px;
        border-radius: 6px;
        border: 1px solid color-mix(in srgb, var(--brand-secondary) 30%, transparent);
    }
}

.pricing-trial {
    font-size: 0.75rem;
    color: #059669;
    font-weight: 700;
    margin-top: 1rem;
    background: rgba(5, 150, 105, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;

    @media (min-width: 768px) {
        font-size: 0.8rem;
        padding: 4px 14px;
    }
}

/* Lista de Capacidades */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;

    @media (min-width: 768px) {
        gap: 1rem;
    }

    & li {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        font-size: 0.9rem;
        color: #4b5563;
        line-height: 1.4;

        @media (min-width: 768px) {
            font-size: 0.95rem;
        }

        &.feature-disabled {
            color: #9ca3af;
            text-decoration: line-through;
        }

        &.feature-disabled .check-icon {
            background-color: var(--bg-body);
            color: #9ca3af;
        }
    }

    & .check-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background-color: color-mix(in srgb,
                var(--brand-secondary) 20%,
                transparent);
        color: color-mix(in srgb, var(--brand-secondary) 90%, #d97706);
        flex-shrink: 0;
        margin-top: 2px;

        @media (min-width: 768px) {
            width: 20px;
            height: 20px;
        }

        & svg {
            width: 10px;
            height: 10px;

            @media (min-width: 768px) {
                width: 12px;
                height: 12px;
            }
        }

        &.module-icon {
            opacity: 0.5;
        }
    }
}

.pricing-action {
    margin-top: 2rem;

    @media (min-width: 768px) {
        margin-top: 2.5rem;
    }
}

/* =========================================
   11. CONTACT SECTION
   ========================================= */
.contact-section {
    padding: 4rem 5%;
    position: relative;
    z-index: 2;

    @media (min-width: 768px) {
        padding: 6rem 5%;
    }

    .contact-container {
        max-width: 900px;
        margin: 0 auto;
    }

    .contact-card {
        background-color: var(--bg-surface);
        border: 1px solid var(--border-light);
        border-radius: 20px;
        padding: 2.5rem 1.5rem;
        text-align: center;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
        position: relative;
        z-index: 2;

        @media (min-width: 768px) {
            padding: 5rem 4rem;
        }

        .contact-logo {
            margin-bottom: 1.5rem;

            @media (min-width: 768px) {
                margin-bottom: 2rem;
            }

            img {
                width: 64px;
                height: 64px;
                border-radius: 50%;
                object-fit: cover;
                margin: 0 auto;
                display: block;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);

                @media (min-width: 768px) {
                    width: 80px;
                    height: 80px;
                }
            }
        }

        .contact-heading {
            font-size: clamp(1.75rem, 4vw, 3rem);
            font-weight: 800;
            color: var(--text-main);
            margin-bottom: 1rem;
            letter-spacing: -0.02em;

            @media (min-width: 768px) {
                margin-bottom: 1.25rem;
            }

            .brand-highlight {
                color: var(--brand-primary);
            }
        }

        .contact-subtitle {
            font-size: 1rem;
            color: var(--text-muted);
            line-height: 1.6;
            max-width: 600px;
            margin: 0 auto 2rem auto;

            @media (min-width: 768px) {
                font-size: 1.15rem;
                margin-bottom: 3rem;
            }
        }

        .contact-actions {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            justify-content: center;
            margin-bottom: 2rem;

            @media (min-width: 640px) {
                flex-direction: row;
                gap: 1.5rem;
                margin-bottom: 3rem;
            }
        }

        .contact-footer {
            border-top: 1px solid var(--border-light);
            padding-top: 1.5rem;

            @media (min-width: 768px) {
                padding-top: 2rem;
            }

            .confidentiality-note {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 0.5rem;
                font-size: 0.85rem;
                color: var(--text-muted);
                margin: 0;

                @media (min-width: 768px) {
                    font-size: 0.9rem;
                }

                svg {
                    width: 14px;
                    height: 14px;
                    flex-shrink: 0;

                    @media (min-width: 768px) {
                        width: 16px;
                        height: 16px;
                    }
                }
            }
        }
    }
}

/* =========================================
   ORBES DECORATIVOS (AMBIENT GLOWS)
   ========================================= */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    animation: floatOrb 12s ease-in-out infinite alternate;
}

.orb-violet {
    background-color: var(--brand-primary);
    opacity: 0.12;
}

.orb-gold {
    background-color: var(--brand-secondary);
    opacity: 0.15;
}

.orb-sm {
    width: 150px;
    height: 150px;

    @media (min-width: 768px) {
        width: 250px;
        height: 250px;
    }
}

.orb-md {
    width: 250px;
    height: 250px;

    @media (min-width: 768px) {
        width: 400px;
        height: 400px;
    }
}

.orb-lg {
    width: 350px;
    height: 350px;

    @media (min-width: 768px) {
        width: 600px;
        height: 600px;
    }
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(20px, -10px) scale(1.05);

        @media (min-width: 768px) {
            transform: translate(40px, -20px) scale(1.1);
        }
    }
}