/* --- CSS Variables & Reset --- */
:root {
    /* Palette - Ported from IsthmusLink Dark Theme */
    --dark-grey: #e9edf4;
    /* Primary Text */
    --lavender-vibrant: #bf63dd;
    /* Triaxus Brand Accent */
    --magenta: #ce6bab;
    /* Secondary Accent */
    --lavender-mid: #9e4fc5;
    --primary-purple: #6a4595;
    --light-lavender: rgba(255, 255, 255, 0.1);
    /* Subtle borders */
    --dull-lavender: #845db0;
    --bg-lavender: #191C32;
    /* Primary Dark Background */
    --white: #222640;
    /* Card/Secondary Background */
    --isthmus-dark: #151618;
    /* Deep Dark for sections */

    /* Gradients & Shadows */
    --gradient-primary: linear-gradient(135deg, var(--primary-purple), var(--lavender-mid));
    --gradient-text: linear-gradient(90deg, #bf63dd, #ce6bab);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(191, 99, 221, 0.2);

    /* Dimensions */
    --header-height: 80px;
    --container-width: 1200px;
    --border-radius: 12px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Custom UI Components --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    font-size: 1rem;
    border: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(106, 69, 149, 0.4);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(191, 99, 221, 0.5), 0 0 20px rgba(191, 99, 221, 0.3);
    filter: brightness(1.2);
}

.btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: var(--primary-purple);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-purple);
    font-weight: 700;
}

.btn-white:hover,
.btn-white:focus-visible {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.btn:focus-visible {
    outline: 3px solid var(--lavender-vibrant);
    outline-offset: 2px;
}

/* --- Header & Navigation --- */
.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(25, 28, 50, 0.85);
    backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* TopBar & Branding */
.topbar-brand {
    display: flex;
    align-items: center;
}

.logo img {
    height: 12.6rem !important;
    /* Branding Spec */
    width: auto;
    margin-top: 17px;
    position: relative;
    left: -50px;
    z-index: 1;
    display: block;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .logo img {
        height: 8rem !important;
        /* Adjusted for mobile proportionately to avoid extreme overflow */
        margin-top: 10px;
        left: -20px;
    }
}


.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2001;
}

.hamburger-btn span {
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.blog-hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

@media (max-width: 1024px) {
    .blog-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 0;
    }
}

.blog-hero-content {
    display: flex;
    flex-direction: column;
}

.blog-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: #FFFFFF;
}

.blog-hero-desc {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--dark-grey);
    margin-bottom: 32px;
    opacity: 0.9;
    max-width: 600px;
}

.blog-hero-actions {
    margin-bottom: 48px;
}

.blog-hero-visual-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(106, 69, 149, 0.15);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-hero-visual-wrap:hover {
    transform: scale(1.02);
}

.blog-hero-visual-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-author-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}

.blog-author-avatar-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-author-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-article-header .blog-author-avatar-wrap {
    width: 56px;
    height: 56px;
}

.blog-author-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-author-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--isthmus-dark);
    line-height: 1.2;
}

.blog-author-role {
    font-size: 0.8rem;
    color: var(--dull-lavender);
    font-weight: 500;
}


.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
    height: 100%;
    position: relative;
    width: auto;
    /* Dejado automático para que no fuerce un ancho fijo */
}

.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: var(--dark-grey);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--lavender-vibrant);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Language Switcher Styling */
.language-switch {
    position: relative;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--light-lavender);
    color: var(--dark-grey);
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-btn:hover {
    border-color: var(--primary-purple);
}

/* Mobile Hamburger */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
    flex-shrink: 0;
    border-radius: 12px;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.hamburger-btn span {
    position: absolute;
    left: 50%;
    width: 22px;
    margin-left: -11px;
    height: 2px;
    background-color: var(--primary-purple);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn span:nth-child(1) {
    top: 14px;
}

.hamburger-btn span:nth-child(2) {
    top: 21px;
}

.hamburger-btn span:nth-child(3) {
    top: 28px;
}

.hamburger-btn.active span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 8px);
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-lavender) 100%);
    z-index: 1001;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 1.75rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.mobile-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    padding: 10px;
    z-index: 2005;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-overlay .mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-menu-actions .btn {
    min-height: 48px;
    width: 100%;
}

.mobile-menu-footer {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    font-size: 0.8rem;
    color: var(--dark-grey);
}

.mobile-nav-link {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-grey);
    padding: 14px 18px;
    border-radius: 14px;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-link:active,
.mobile-nav-link:hover {
    background: rgba(106, 69, 149, 0.08);
    color: var(--primary-purple);
}

/* --- Sections & Typography --- */
section {
    padding: 100px 0;
}

.section-divider {
    margin: 80px auto 20px;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--lavender-vibrant) 50%, transparent);
    border: none;
    display: block;
    clear: both;
    position: relative;
    z-index: 5;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    letter-spacing: -1.5px;
    color: var(--dark-grey);
}

h1 span.highlight {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

@supports not (background-clip: text) {
    h1 span.highlight {
        background: none;
        color: var(--primary-purple);
    }
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 20px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-lavender);
    color: var(--dark-grey);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Hero Section --- */
.hero {
    padding-top: calc(100px + 60px);
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-lavender);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(191, 99, 221, 0.15) 0%, rgba(25, 28, 50, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero .subheadline {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 20px auto 40px;
    color: var(--dark-grey);
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* Video Container */
.video-container {
    margin-top: 60px;
    position: relative;
    max-width: 850px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;

    /* Mantenemos bordes redondeados para estética moderna */
    border-radius: var(--border-radius);

    /* --- CAMBIOS PRINCIPALES --- */
    background: transparent;
    /* Quitamos el fondo blanco */
    border: none;
    /* Quitamos el borde gris */

    /* Sombra suave para que destaque del fondo (puedes borrarlo si lo quieres 100% plano) */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);

    overflow: hidden;
}


.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #27c93f;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-control {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* --- Anti-Pitch Section --- */
.anti-pitch {
    background: var(--white);
    border-top: 1px solid var(--light-lavender);
    border-bottom: 1px solid var(--light-lavender);
}

.anti-pitch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 60px;
    align-items: center;
}

.pain-point h2 {
    text-align: left;
    font-size: 2rem;
}

.pain-point h2 span {
    color: var(--magenta);
    text-decoration: none;
    text-decoration-color: var(--light-lavender);
}

.solution-highlight {
    background: var(--bg-lavender);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-purple);
}

.solution-highlight p {
    margin: 0;
    font-weight: 500;
    color: var(--primary-purple);
}

/* --- Features Grid --- */
.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

@media (min-width: 1024px) {
    .use-cases-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.use-case-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.use-case-card:hover {
    transform: translateY(-8px);
    border-color: var(--lavender-vibrant);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.use-case-card h3 {
    font-size: 1.5rem;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.use-case-card p {
    color: var(--dark-grey);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 0;
}


.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(191, 99, 221, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(191, 99, 221, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-img {
    height: 100px;
    width: auto;
    margin-bottom: 20px;
    display: block;
}

/* --- Pricing --- */
.pricing-grid {
    display: grid;
    /* Force 5 columns as requested */
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    /* Slightly reduced gap */
    align-items: stretch;
    margin-top: 50px;
}

.plan-card {
    background: var(--white);
    padding: 20px 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    height: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.plan-card:hover {
    border-color: rgba(191, 99, 221, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.plan-card.popular {
    border: 2px solid var(--lavender-vibrant);
    box-shadow: 0 0 30px rgba(191, 99, 221, 0.2);
    transform: scale(1.03);
    z-index: 2;
}

.badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-purple);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price {
    font-size: 1.8rem;
    /* Reduced further for 5 columns */
    font-weight: 700;
    color: #FFFFFF;
    margin: 15px 0;
}

.price span {
    font-size: 1rem;
    color: var(--dark-grey);
    font-weight: 400;
}

.features-list {
    text-align: left;
    margin: 20px 0;
    flex-grow: 1;
}

/* --- New Pricing Elements --- */
.sub-plan {
    color: var(--dull-lavender);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: -5px;
    margin-bottom: 10px;
}

.ai-note {
    background-color: var(--bg-lavender);
    border-left: 3px solid var(--lavender-vibrant);
    padding: 10px;
    font-size: 0.8rem;
    color: var(--dark-grey);
    text-align: left;
    margin-bottom: 20px;
    border-radius: 4px;
    font-style: italic;
}

.plan-card.coming-soon {
    opacity: 0.8;
    background-color: #fcfcfc;
    border-color: #e0e0e0;
}

.plan-card.coming-soon h3,
.plan-card.coming-soon .price {
    color: var(--dark-grey);
    /* Neutralize color for unavailable plans */
}

.badge-soon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-grey);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: start;
    gap: 8px;
    color: var(--dark-grey);
    font-size: 0.85rem;
    /* Reduced font size for tighter fit */
}

.features-list li svg {
    color: var(--magenta);
    flex-shrink: 0;
    margin-top: 3px;
}

/* --- CTA Final --- */
.cta-section {
    background: var(--gradient-primary);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color: #FFFFFF;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
}


/* --- Footer --- */
footer {
    background: var(--white);
    padding: 20px 0 10px;
    border-top: 1px solid var(--light-lavender);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    height: auto;
    display: inline-flex;
    /* Reset de seguridad para el logo del footer */
    width: auto;
    position: static;
}

.footer-brand .logo img {
    /* CORREGIDO: Logo del footer a tamaño normal */
    height: 70px;
    margin-top: 10px;
    /* Reset de seguridad */
    position: static;
}

.footer-desc {
    margin-top: 10px;
    max-width: 300px;
    color: var(--dark-grey);
    font-weight: 500;
}

.footer-col h4 {
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--dark-grey);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--magenta);
}

.copyright {
    text-align: center;
    color: var(--dull-lavender);
    font-size: 0.8rem;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.isthmus-logo {
    height: 30px;
    width: auto;
    display: inline-block;
    opacity: 1;
    filter: none;
    transition: all 0.3s ease;
}

.isthmus-logo:hover {
    transform: scale(1.05);
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- ESTILO NUEVO: Imagen con efecto Glassmorphism (Sección Anti-Pitch) --- */
.anti-pitch-img {
    max-width: 100%;
    /* Asegura que no se salga en pantallas pequeñas */
    height: auto;
    /* Mantiene la proporción */
    max-height: 500px;
    /* Limita la altura para que no sea excesivamente grande en pantallas gigantes */

    /* Forma */
    border-radius: 24px;
    /* Esquinas redondeadas suaves */

    /* Efecto Glassmorphism (El marco de vidrio) */
    padding: 15px;
    /* Esto define el grosor del marco de vidrio alrededor de la imagen */
    background-color: rgba(255, 255, 255, 0.08);
    /* Fondo blanco al 8% de opacidad */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Borde blanco sutil para definir el límite */

    /* El desenfoque "detrás" del marco */
    backdrop-filter: blur(8px);
    /* Desenfoque de 8px */
    -webkit-backdrop-filter: blur(8px);
    /* Soporte para Safari */

    /* Sombra para darle profundidad (flotante) */
    box-shadow: var(--shadow-soft);

    /* Transición suave por si agregas efectos hover en el futuro */
    transition: all 0.3s ease;
}

/* --- Blog (HubSpot-inspired layout, Triaxus palette) --- */
.blog-page {
    padding-bottom: 80px;
}

.blog-hero-wrap {
    padding: 48px 0 56px;
    background: linear-gradient(180deg, rgba(25, 28, 50, 0.95) 0%, var(--bg-lavender) 100%);
    border-bottom: 1px solid rgba(158, 79, 197, 0.12);
}

.blog-hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 960px) {
    .blog-hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.blog-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lavender-mid);
    margin-bottom: 14px;
}

.blog-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.65rem);
    font-weight: 700;
    line-height: 1.15;
    color: #FFFFFF;
    margin-bottom: 18px;
}

.blog-hero-title .highlight {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-hero-desc {
    font-size: 1.05rem;
    color: var(--dark-grey);
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 520px;
}

.blog-author-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

.blog-author-row--article {
    margin-top: 18px;
    margin-bottom: 4px;
}

.blog-author-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 12px rgba(106, 69, 149, 0.18), 0 0 0 1px rgba(158, 79, 197, 0.12);
}

.blog-author-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.blog-author-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.25;
}

.blog-author-role {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--dull-lavender);
    line-height: 1.3;
}

.blog-hero-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    box-shadow: var(--shadow-soft), 0 0 0 1px rgba(158, 79, 197, 0.08);
    background: linear-gradient(145deg, rgba(106, 69, 149, 0.08), rgba(191, 99, 221, 0.06));
    color: inherit;
    text-decoration: none;
    display: block;
}

a.blog-hero-visual:focus-visible {
    outline: 3px solid var(--lavender-vibrant);
    outline-offset: 4px;
}

.blog-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(106, 69, 149, 0.25) 0%, transparent 55%);
    pointer-events: none;
}

.blog-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 36px 0 8px;
}

.blog-topic-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-purple);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(158, 79, 197, 0.2);
    box-shadow: 0 4px 14px rgba(106, 69, 149, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-topic-pill:hover {
    transform: translateY(-2px);
    border-color: var(--lavender-vibrant);
    box-shadow: 0 8px 24px rgba(106, 69, 149, 0.12);
}

.blog-section {
    padding: 48px 0;
}

.blog-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.blog-section-head h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
}

.blog-section-head .blog-link-all {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--lavender-mid);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, gap 0.2s ease;
}

.blog-section-head .blog-link-all:hover {
    color: var(--lavender-vibrant);
    gap: 10px;
}

.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .blog-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-card-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card-grid.featured-tight {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
    .blog-card-grid.featured-tight {
        grid-template-columns: repeat(2, 1fr);
    }
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(158, 79, 197, 0.08);
    box-shadow: 0 4px 20px rgba(106, 69, 149, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: left;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(106, 69, 149, 0.12);
    border-color: rgba(191, 99, 221, 0.25);
}

.blog-card-thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(106, 69, 149, 0.12), rgba(191, 99, 221, 0.08));
}

.blog-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-thumb img {
    transform: scale(1.04);
}

.blog-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--magenta);
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: #FFFFFF;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.blog-card p, .blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--dark-grey);
    line-height: 1.6;
    flex: 1;
    opacity: 0.85;
    margin-top: 0;
}

.blog-card-meta {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--dull-lavender);
}

.blog-newsletter {
    margin: 56px auto 0;
    max-width: var(--container-width);
    padding: 0 20px;
}

/* --- Spotlight Card --- */
.spotlight-card {
    position: relative;
    background-color: #121420;
    border-radius: 20px;
    overflow: hidden;
    padding: 60px 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.spotlight-glow-1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: rgba(191, 99, 221, 0.25);
    border-radius: 50%;
    filter: blur(100px);
    mix-blend-mode: screen;
    z-index: -1;
    pointer-events: none;
}

.spotlight-glow-2 {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(29, 225, 209, 0.05);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.spotlight-content {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .spotlight-card {
        padding: 40px 20px;
    }
    .spotlight-glow-1 {
        width: 300px;
        height: 300px;
    }
}

.blog-newsletter-inner {
    border-radius: 20px;
    padding: 44px 40px;
    background: var(--gradient-primary);
    color: var(--white);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: center;
    box-shadow: var(--shadow-soft), 0 0 60px rgba(191, 99, 221, 0.2);
}

@media (max-width: 768px) {
    .blog-newsletter-inner {
        grid-template-columns: 1fr;
        padding: 36px 24px;
    }
}

.blog-newsletter-inner h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #FFFFFF;
}


.blog-newsletter-inner p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
}


.blog-newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.blog-newsletter-form input[type="email"] {
    flex: 1;
    min-width: 180px;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
}

.blog-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.blog-newsletter-form .btn-white {
    white-space: nowrap;
}

.blog-page .subheadline {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Blog article (long-form) --- */
.blog-article-main {
    padding: 100px 0 80px;
}

.blog-article-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--lavender-mid);
    margin-bottom: 28px;
    transition: color 0.2s ease, gap 0.2s ease;
}

.blog-article-back:hover {
    color: var(--lavender-vibrant);
    gap: 12px;
}

.blog-article-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-article-header {
    margin-bottom: 40px;
}

.blog-article-header h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    color: #FFFFFF;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.blog-article-header h1 .highlight {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-article-meta {
    font-size: 0.9rem;
    color: var(--dull-lavender);
    font-weight: 500;
}

.blog-article-hero-img {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow-soft), 0 0 0 1px rgba(158, 79, 197, 0.08);
}

.blog-article-hero-img img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-article-prose {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--dark-grey);
}

.blog-article-prose>*+* {
    margin-top: 1.25em;
}

.blog-article-prose h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-top: 2.25em;
    margin-bottom: 0.75em;
    line-height: 1.3;
}

.blog-article-prose h2:first-child {
    margin-top: 0;
}

.blog-article-prose blockquote {
    margin: 2.5em 0;
    padding: 32px 40px;
    border-left: 0;
    background: var(--bg-lavender);
    border-radius: 24px;
    font-style: italic;
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1.5;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(106, 69, 149, 0.1);
}

.blog-article-prose blockquote::before {
    content: "“";
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    opacity: 0.1;
    font-family: serif;
}

.blog-article-prose ul {
    list-style: disc;
    padding-left: 1.35em;
    margin: 1em 0;
}

.blog-article-prose li {
    margin-bottom: 0.5em;
}

.blog-article-prose li::marker {
    color: var(--lavender-mid);
}

.blog-article-prose strong {
    color: #FFFFFF;
    font-weight: 600;
}

.blog-read-more-row {
    text-align: left;
    margin-top: 0.25rem;
    margin-bottom: 1.25rem;
}

.blog-read-more-btn {
    display: inline-block;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--lavender-mid);
    cursor: pointer;
    text-align: left;
    text-decoration: underline;
    text-decoration-color: rgba(158, 79, 197, 0.35);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.blog-read-more-btn:hover {
    color: var(--lavender-vibrant);
    text-decoration-color: var(--lavender-vibrant);
}

.blog-read-more-btn:focus-visible {
    outline: 2px solid var(--lavender-vibrant);
    outline-offset: 3px;
    border-radius: 4px;
}

.blog-article-more {
    padding-top: 0.25rem;
}

.blog-article-refs {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(158, 79, 197, 0.15);
}

.blog-article-refs h2 {
    font-size: 1.15rem;
    margin-top: 0;
}

.blog-article-refs ul {
    list-style: none;
    padding-left: 0;
}

.blog-article-refs li {
    position: relative;
    padding-left: 1.1em;
    margin-bottom: 1em;
}

.blog-article-refs li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient-primary);
}


/* --- Smart Blender Section --- */
.blender-section {
    padding: 60px 0 100px;
    background: var(--white);
    border-top: 1px solid var(--light-lavender);
    text-align: center;
}

.blender-container {
    max-width: 1400px;
    /* Increased to allow a larger graphic */
    margin: 0 auto;
}

.blender-svg-container {
    margin-top: -20px;
    width: 100%;
}

.blender-animation-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1728.84 / 836.41;
    margin: 0 auto;
    max-width: 1500px;
    background: radial-gradient(circle at 10% 10%, rgba(156, 54, 181, 0.05), transparent 40%);
}

.diagram-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
}

.animation-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

@keyframes flowAnimation {
    0% {
        offset-distance: 0%;
        opacity: 0;
        transform: scale(0.5);
    }

    10% {
        opacity: 0.9;
        transform: scale(1.1);
    }

    90% {
        opacity: 0.9;
        transform: scale(1.1);
    }

    100% {
        offset-distance: 100%;
        opacity: 0;
        transform: scale(0.5);
    }
}

.blender-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.blender-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 16px;
    border: 1px solid var(--light-lavender);
    text-align: left;
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
    height: 100%;
}

.blender-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft);
}

.blender-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.blender-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    color: var(--dark-grey);
}

/* Card Colors */
.blender-card.purp {
    border-top-color: var(--primary-purple);
}

.blender-card.blue {
    border-top-color: #1976d2;
}

.blender-card.orange {
    border-top-color: #f08c00;
}

.blender-card.pink {
    border-top-color: var(--magenta);
}

.blender-card.purp h3 {
    color: var(--primary-purple);
}

.blender-card.blue h3 {
    color: #1976d2;
}

.blender-card.orange h3 {
    color: #f08c00;
}

.blender-card.pink h3 {
    color: var(--magenta);
}

/* Responsive Adjustments for Blender Section */
@media (max-width: 900px) {
    .blender-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blender-grid {
        grid-template-columns: 1fr;
    }

    .blender-svg-container svg {
        max-height: 300px;
    }
}

/* --- Responsive Styles (Móvil) --- */
/* Bloque consolidado y corregido */
@media (max-width: 1000px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .pricing-grid {
        /* Allow scroll or wrap on mobile but keep desktop config as base */
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 on tablets */
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .plan-card.popular {
        transform: none;
    }
}

@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        /* 1 column on small mobile */
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 56px;
    }

    html {
        -webkit-text-size-adjust: 100%;
    }

    .main-header {
        padding-left: max(8px, env(safe-area-inset-left, 0px));
        padding-right: max(8px, env(safe-area-inset-right, 0px));
        padding-top: env(safe-area-inset-top, 0px);
        min-height: calc(var(--header-height) + env(safe-area-inset-top, 0px));
        height: auto;
    }

    .main-header .container {
        min-height: var(--header-height);
        gap: 8px;
    }

    .container {
        padding-left: max(16px, env(safe-area-inset-left, 0px));
        padding-right: max(16px, env(safe-area-inset-right, 0px));
    }

    section {
        padding: 56px 0;
    }

    h1 {
        font-size: clamp(1.65rem, 5.5vw, 2rem);
        letter-spacing: -0.04em;
        line-height: 1.15;
    }

    h2 {
        font-size: clamp(1.35rem, 4.5vw, 1.6rem);
        line-height: 1.2;
    }

    /* Ocultar menú desktop y acciones directas */
    .main-nav,
    .nav-actions {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    .hero {
        padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 20px);
    }

    .hero-actions {
        flex-direction: column;
        padding: 0;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        min-height: 48px;
    }

    .anti-pitch-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-section {
        padding: 44px max(20px, env(safe-area-inset-left)) 44px max(20px, env(safe-area-inset-right));
        border-radius: 18px;
    }

    .copyright {
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
    }
}

/* --- Utility Classes --- */
.neon-glow {
    box-shadow: 0 0 15px rgba(191, 99, 221, 0.4), 0 0 30px rgba(106, 69, 149, 0.2);
}

.neon-glow:hover {
    box-shadow: 0 0 25px rgba(191, 99, 221, 0.6), 0 0 45px rgba(106, 69, 149, 0.3);
}

/* Scrollbar Modernization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f111a;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}



/* --- Icon Colors --- */
.icon-active {
    color: #27c93f;
    /* Green */
    flex-shrink: 0;
    margin-top: 2px;
}

.icon-inactive {
    color: #d1d1d1;
    /* Light Gray */
    flex-shrink: 0;
    margin-top: 2px;
}

/* --- Footer Branding --- */
.footer-col a:hover {
    color: var(--magenta);
}

.copyright {
    text-align: center;
    color: var(--dull-lavender);
    font-size: 0.8rem;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.copyright p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--dull-lavender);
}

.isthmus-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.isthmus-link:hover {
    transform: scale(1.05);
}

/* --- Components from Index --- */

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #000;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-control {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.trust-wall {
    background-color: transparent;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.trust-slider {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.trust-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: scroll 25s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.trust-item {
    font-weight: 700;
    font-size: 1.5rem;
    color: #a0a0a0;
    transition: all 0.3s ease;
    cursor: default;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.trust-item:hover {
    color: var(--lavender-vibrant);
    transform: scale(1.05);
}

.glass-frame {
    position: relative;
    border-radius: 24px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.glass-frame:hover {
    transform: translateY(-5px);
}

.glass-frame img {
    border-radius: 16px;
    display: block;
    width: 100%;
    height: auto;
    cursor: zoom-in;
}

.zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: zoom-out;
    backdrop-filter: blur(5px);
}

.zoom-overlay.active {
    opacity: 1;
}

.zoom-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.zoom-overlay.active img {
    transform: scale(1);
}

/* --- FAQ --- */
.faq-item {
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 15px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--lavender-vibrant);
    background: rgba(255, 255, 255, 0.04);
}

.faq-question {
    padding: 20px 25px;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--lavender-vibrant);
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 25px;
}

.faq-answer p {
    padding-bottom: 25px;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Tabs --- */
.tab-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--lavender-vibrant);
    color: #FFFFFF;
}

.tab-btn.active {
    background: var(--lavender-vibrant);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(191, 99, 221, 0.3);
}

/* --- Blender --- */
.blender-svg-container {
    margin: 40px auto;
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blender-svg-container img {
    border-radius: 24px;
}

.blender-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.blender-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 3px solid #eee;
    border-radius: 0 0 12px 12px;
}

.blender-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.blender-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

.blender-card.purp {
    border-top-color: #7950f2;
}

.blender-card.blue {
    border-top-color: #228be6;
}

.blender-card.orange {
    border-top-color: #fab005;
}

.blender-card.pink {
    border-top-color: #e64980;
}

/* --- Testimonials --- */
.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 35px 30px;
    border-radius: 18px;
    border-left: 4px solid var(--lavender-vibrant);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.quote-icon {
    font-size: 4rem;
    color: var(--lavender-vibrant);
    opacity: 0.1;
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: Georgia, serif;
}

.author-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--lavender-vibrant);
    color: white;
    display: flex;
    align-items: center;
    font-weight: 700;
}

/* --- Page Specific: Beneficios --- */
.benefit-hero {
    padding: 120px 0 80px;
    background: var(--bg-lavender);
    text-align: center;
}

.benefit-section {
    padding: 80px 0;
}

.benefit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.benefit-grid.reverse {
    direction: rtl;
}

.benefit-grid.reverse .benefit-text {
    direction: ltr;
}

.benefit-text h2 {
    text-align: left;
    margin-bottom: 20px;
}

.benefit-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.benefit-list-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.benefit-visual {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 20px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    text-align: center;
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
}


.metric-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--lavender-vibrant);
    margin-bottom: 10px;
    display: block;
}

/* --- Page Specific: Como Funciona --- */
.process-hero {
    padding: 120px 0 80px;
    background: var(--bg-lavender);
    text-align: center;
}

.step-section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.step-number {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.15;
    margin-bottom: -30px;
    display: block;
    transform: translateY(-35px);
}

.step-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.step-content h2 {
    text-align: left;
    margin-top: 10px;
    font-size: 2.5rem;
}

.tech-detail {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    border-left: 4px solid var(--lavender-vibrant);
}

.tech-tag {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--lavender-vibrant);
}

@media (max-width: 768px) {

    .benefit-grid,
    .step-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .benefit-grid.reverse {
        direction: ltr;
    }

    .step-number {
        font-size: 3.5rem;
        transform: translateY(-20px);
    }
}

/* --- Mobile Menu Overlay --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 17, 26, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: none;
    /* Controlled by JS */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.active {
    display: flex;
    opacity: 1;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
    margin-bottom: 40px;
}

.mobile-nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--lavender-vibrant);
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 300px;
}

.mobile-menu-footer {
    margin-top: auto;
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.industry-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 26px 22px;
    transition: all 0.25s ease;
}

.industry-card:hover {
    border-color: var(--lavender-vibrant);
    transform: translateY(-5px);
}

/* --- Docs Layout --- */
.docs-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    min-height: calc(100vh - var(--header-height));
}

.docs-sidebar {
    position: sticky;
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
    padding: 40px 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    overflow-y: auto;
    background: rgba(15, 17, 26, 0.3);
}

.docs-main {
    padding: 60px 80px;
    max-width: 1000px;
}

/* --- Docs Layout --- */
.docs-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    min-height: calc(100vh - var(--header-height));
}

.docs-sidebar {
    position: sticky;
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
    padding: 40px 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    overflow-y: auto;
    background: rgba(15, 17, 26, 0.3);
}

.docs-main {
    padding: 60px 80px;
    max-width: 1000px;
}

.docs-nav-section {
    margin-bottom: 32px;
}

.docs-nav-list {
    list-style: none;
    padding: 0;
    margin-top: 12px;
}

.docs-nav-item {
    margin-bottom: 4px;
}

.docs-nav-link {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}


.docs-nav-link:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
}

.docs-nav-link.active {
    color: var(--lavender-vibrant);
    background: rgba(191, 99, 221, 0.1);
    font-weight: 600;
}

.docs-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 24px;
    color: #FFFFFF;
}

.docs-lead {
    font-size: 1.25rem;
    color: var(--dark-grey);
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.docs-steps ol {
    padding-left: 20px;
    margin-bottom: 30px;
}

.docs-steps li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.docs-callout {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(191, 99, 221, 0.05);
    border-left: 4px solid var(--lavender-vibrant);
    border-radius: 12px;
    margin: 40px 0;
}

.docs-callout-icon {
    font-size: 1.5rem;
}

.docs-pager {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.docs-pager-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}


.docs-pager-btn:hover:not(.disabled) {
    border-color: var(--lavender-vibrant);
    background: rgba(255, 255, 255, 0.03);
}

.docs-pager-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.docs-pager-btn.next {
    align-items: flex-end;
    text-align: right;
}

@media (max-width: 1200px) {
    .docs-container {
        grid-template-columns: 280px 1fr;
        padding: 0 20px;
    }

    .docs-main {
        padding: 40px 40px;
    }
}

@media (max-width: 980px) {
    .docs-container {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 30px 20px;
    }

    .docs-main {
        padding: 40px 20px;
    }
}

/* --- Docs Specific styles missing from previous append --- */
.docs-nav-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lavender-vibrant);
    margin-bottom: 12px;
    padding-left: 12px;
    opacity: 0.7;
}

.docs-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2px 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(191, 99, 221, 0.15);
    color: var(--lavender-vibrant);
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 0.55rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: normal;
    border: 1px solid rgba(191, 99, 221, 0.3);
    z-index: 10;
}

button:disabled, 
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.docs-search-container {
    position: relative;
    z-index: 1010;
    margin-bottom: 24px;
    margin-top: -25px; /* Subir más la barra de busqueda */
}

.docs-search-input {
    width: 100%;
    padding: 6px 10px 6px 30px;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 0.85rem;
    outline: none;
}

.docs-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}


.docs-search-wrapper:focus-within {
    border-color: var(--lavender-vibrant);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 20px rgba(191, 99, 221, 0.1);
}


.docs-search-icon {
    position: absolute;
    left: 12px;
    font-size: 0.9rem;
    opacity: 0.5;
}

.docs-breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--lavender-vibrant);
    opacity: 0.6;
    margin-bottom: 24px;
}

.docs-article-kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--lavender-vibrant);
    background: rgba(191, 99, 221, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.docs-body p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.docs-ul li {
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.docs-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.docs-content p {
    margin-bottom: 24px;
    line-height: 1.8;
}


.docs-toc-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 16px;
    opacity: 0.5;
}

.docs-toc-list {
    list-style: none;
    padding: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.docs-toc-link {
    display: block;
    padding: 4px 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.docs-toc-link:hover {
    color: var(--lavender-vibrant);
    opacity: 1;
}

.docs-pager-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--lavender-vibrant);
    text-transform: uppercase;
}

.docs-pager-title {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
}

/* --- Industrias Specific styles missing --- */
.industries-hero h1 {
    margin-bottom: 24px;
}

.industries-hero p {
    max-width: 920px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
}

.industries-section {
    padding: 70px 0 90px;
}

/* --- Como Funciona - Problem/Solution Block --- */
.problem-solution-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
    margin-top: 60px;
}


.ps-block h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 700;
}

.ps-block.problem h3 {
    color: #e74c3c;
}

.ps-block.solution h3 {
    color: #27c93f;
}

.ps-block h4 {
    font-size: 1.5rem;
    color: #FFFFFF;
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.animating-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    position: absolute;
    background: var(--lavender-vibrant);
    box-shadow: 0 0 10px var(--lavender-vibrant), 0 0 20px var(--magenta);
    offset-rotate: auto;
    animation: flow 4s linear infinite;
}

/* --- Dark Tech Card --- */
.dark-tech-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 40px;
    padding: 40px 20px;
    text-align: center;
    color: var(--dark-grey);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    margin: 0 auto 40px;
    width: fit-content;
    max-width: 100%;
}

.dark-tech-card h2 {
    color: var(--lavender-vibrant) !important;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.dark-tech-card .subheadline {
    color: var(--dark-grey) !important;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.dark-tech-card .flow-diagram {
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .problem-solution-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .dark-tech-card {
        padding: 40px 20px;
    }

    .dark-tech-card h2 {
        font-size: 1.8rem;
    }
}

/* --- Added Fixes --- */
.btn-white {
    background: #FFFFFF !important;
    color: var(--primary-purple) !important;
    font-weight: 700;
}

.btn-white:hover {
    background: #F0F0F0 !important;
}

.docs-content>section,
.docs-content h2 {
    margin-top: 60px !important;
    margin-bottom: 24px !important;
}

.docs-content h3 {
    margin-top: 40px !important;
    margin-bottom: 16px !important;
}

/* --- Docs TOC & Grid Layout Real Fix --- */
.docs-container {
    display: grid !important;
    grid-template-columns: 280px 1fr 250px !important;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    align-items: flex-start;
}

.docs-sidebar,
.docs-right-sidebar {
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.docs-sidebar {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 20px;
}

.docs-main {
    padding: 40px 60px;
    min-width: 0;
}

.docs-right-sidebar {
    padding: 40px 20px;
}

@media (max-width: 1200px) {
    .docs-container {
        grid-template-columns: 280px 1fr !important;
    }

    .docs-right-sidebar {
        display: none !important;
    }

    .docs-main {
        padding: 40px;
    }
}

@media (max-width: 980px) {
    .docs-container {
        grid-template-columns: 1fr !important;
        display: block !important;
    }

    .docs-sidebar {
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 30px 20px;
    }

    .docs-main {
        padding: 40px 20px;
    }
}

/* --- Premium Industries Overrides --- */
.industries-hero h1 {
    text-align: center;
}

.industries-hero p {
    text-align: center;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.industry-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.industry-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(191, 99, 221, 0.3);
    box-shadow: 0 20px 40px rgba(106, 69, 149, 0.15);
}

.industry-card h3 {
    font-size: 1.5rem;
    color: #FFFFFF;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 16px;
}

.industry-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.industry-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 24px;
}

.industry-card .pain-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--lavender-vibrant);
    margin-bottom: 16px;
    margin-top: auto;
}

.industry-card .pain-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.industry-card .pain-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
}

.industry-card .pain-list li svg {
    flex-shrink: 0;
    color: var(--lavender-mid);
    margin-top: 2px;
}

@media (max-width: 768px) {
    /* Mobile Newsletter fixes */
    .blog-newsletter-form {
        flex-direction: column !important;
        width: 100%;
    }
    .blog-newsletter-form input,
    .blog-newsletter-form button {
        width: 100% !important;
        min-width: 100% !important;
    }
    /* Mobile Blog Card tighter padding/margin */
    .blog-card-body {
        padding: 12px 16px !important;
    }
    .blog-card h3 {
        margin-bottom: 4px !important;
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
    }
    .blog-card-excerpt {
        margin-top: 2px !important;
        font-size: 0.85rem !important;
        display: block !important;
        overflow: visible !important;
    }
    .blog-card-meta {
        margin-top: 8px !important;
    }
}

/* --- Use Case Links Override --- */
.use-case-card {
    display: flex;
    flex-direction: column;
}

.use-case-link {
    margin-top: auto;
    padding-top: 24px;
    font-weight: 700;
    font-size: 1.05rem;
    background: linear-gradient(135deg, #1de1d1, #bf63dd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.use-case-link:hover {
    opacity: 0.8;
}

/* --- Global White Text and Layout Optimizations --- */
.copyright, .copyright p {
    color: #FFFFFF !important;
}

/* Docs overrides */
.docs-container h1, .docs-container h2, .docs-container h3, 
.docs-container p, .docs-container li, .docs-container span, 
.docs-nav-title, .docs-nav-link, .docs-lead, .docs-body {
    color: #FFFFFF !important;
}
.docs-article-kicker {
    color: var(--magenta) !important;
}
.docs-nav-link.active, .docs-nav-link:hover {
    color: var(--lavender-vibrant) !important;
}

/* Blog Tile Layout Overrides (Compact Style) */
.blog-card-body {
    padding: 16px !important;
}
.blog-card h3 {
    margin-bottom: 4px !important;
}
.blog-card-excerpt {
    flex: none !important;
    margin-top: 4px !important;
    margin-bottom: 20px !important;
}
.blog-card-meta {
    margin-top: auto !important;
}

/* Blog artículos destacados — alineado a referencia visual: imagen ~1/3 superior,
   texto compacto, descripción a la izquierda con más aire lateral, meta abajo a la izquierda. */
.blog-page .blog-card-grid.featured-tight a.blog-card .blog-card-thumb {
    aspect-ratio: 8 / 3 !important;
}

.blog-page .blog-card-grid.featured-tight a.blog-card .blog-card-body {
    padding: 14px 20px 16px !important;
    text-align: left !important;
}

.blog-page .blog-card-grid.featured-tight a.blog-card .blog-card-tag {
    margin-bottom: 4px !important;
}

.blog-page .blog-card-grid.featured-tight a.blog-card h3 {
    margin-bottom: 6px !important;
    line-height: 1.28 !important;
}

.blog-page .blog-card-grid.featured-tight a.blog-card .blog-card-excerpt {
    flex: none !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    line-height: 1.45 !important;
    font-size: 0.92rem !important;
    text-align: left !important;
    max-width: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.blog-page .blog-card-grid.featured-tight a.blog-card .blog-card-meta {
    text-align: left !important;
    align-self: flex-start !important;
    margin-top: auto !important;
}

@media (min-width: 1024px) {
    .blog-page .blog-card-grid.featured-tight a.blog-card h3 {
        font-size: 1.28rem !important;
    }

    .blog-page .blog-card-grid.featured-tight a.blog-card .blog-card-excerpt {
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        overflow: hidden !important;
        text-align: left !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

@media (max-width: 768px) {
    .blog-page .blog-card-grid.featured-tight a.blog-card .blog-card-thumb {
        aspect-ratio: 2.5 / 1 !important;
    }

    .blog-page .blog-card-grid.featured-tight a.blog-card .blog-card-body {
        padding: 14px 18px 14px !important;
        text-align: left !important;
    }

    .blog-page .blog-card-grid.featured-tight a.blog-card .blog-card-tag {
        margin-bottom: 3px !important;
    }

    .blog-page .blog-card-grid.featured-tight a.blog-card h3 {
        font-size: 1.08rem !important;
        margin-bottom: 6px !important;
    }

    .blog-page .blog-card-grid.featured-tight a.blog-card .blog-card-excerpt {
        font-size: 0.88rem !important;
        line-height: 1.45 !important;
        -webkit-line-clamp: 2 !important;
        text-align: left !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        margin-bottom: 10px !important;
    }
}