/* ==========================================================================
   DIALOGIX - LANDING PAGE STYLES
   Inspirado en la estética editorial y arquitectónica de Sinfonix.ai
   ========================================================================== */

:root {
    --bg-dark: #070b0e;
    --bg-darker: #040608;
    --bg-card: rgba(14, 21, 27, 0.7);
    --bg-card-hover: rgba(20, 31, 39, 0.85);
    --bg-elevated: #0e161c;
    
    --brand-primary: #2dd4a8;
    --brand-glow: rgba(45, 212, 168, 0.35);
    --brand-hover: #25be96;
    --brand-light: #6ee7c7;
    --brand-dark: #12382e;
    
    --accent-cyan: #38bdf8;
    --accent-amber: #fbbf24;
    --accent-indigo: #818cf8;
    
    --text-main: #f4f6f8;
    --text-muted: #8c9ba5;
    --text-dim: #52606d;
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(45, 212, 168, 0.35);
    --border-highlight: rgba(255, 255, 255, 0.16);

    --font-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-ui: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --duration-base: 0.28s;
}

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

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body.dialogix-landing {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--brand-primary);
    color: #04070a;
}

/* Base Container */
.dx-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.75rem;
}

/* Monospace label tag */
.mono-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.mono-label-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-primary);
    box-shadow: 0 0 10px var(--brand-primary);
    display: inline-block;
    animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.dx-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.1rem 0;
    transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
    border-bottom: 1px solid transparent;
}

.dx-nav.scrolled {
    background: rgba(7, 11, 14, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.dx-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.dx-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: #fff;
}

.dx-brand-symbol {
    font-size: 1.6rem;
    line-height: 1;
    font-weight: 900;
    color: var(--brand-primary);
    text-shadow: 0 0 16px var(--brand-glow);
    transition: transform 0.3s ease;
}

.dx-brand:hover .dx-brand-symbol {
    transform: rotate(180deg);
}

.dx-brand-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.dx-brand-badge {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    background: rgba(45, 212, 168, 0.12);
    border: 1px solid rgba(45, 212, 168, 0.3);
    color: var(--brand-primary);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dx-nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.dx-nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
    padding: 0.35rem 0;
}

.dx-nav-link:hover {
    color: #fff;
}

.dx-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-primary);
    transition: width 0.25s var(--ease-out);
}

.dx-nav-link:hover::after {
    width: 100%;
}

.dx-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.dx-btn-login {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 0.95rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.dx-btn-login:hover {
    color: #fff;
    border-color: var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
}

.dx-btn-cta-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--brand-primary);
    color: #050b09 !important;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.55rem 1.15rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.25s var(--ease-out);
    box-shadow: 0 2px 14px var(--brand-glow);
}

.dx-btn-cta-wa:hover {
    background: var(--brand-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(45, 212, 168, 0.55);
}

.dx-nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.35rem;
    cursor: pointer;
    padding: 0.4rem;
}

/* ==========================================================================
   HERO - PORTADA SINFONIX STYLE
   ========================================================================== */
.dx-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 7.5rem 0 3.5rem;
    background: radial-gradient(130% 110% at 65% 38%, #0f231e 0%, #080f13 46%, #030608 100%);
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
}

/* Background subtle blueprint tech grid */
.dx-hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(rgba(45, 212, 168, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 90% 70% at 60% 40%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 40%, #000 30%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

/* Canvas Lienzo Interactivo */
.dx-hero-canvas-wrap {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: auto;
}

#dxHeroCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Left gradient veil (Sinfonix hero-velo) */
.dx-hero-velo {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(
        96deg, 
        #070b0e 0%, 
        rgba(7, 11, 14, 0.96) 24%, 
        rgba(7, 11, 14, 0.82) 42%, 
        rgba(7, 11, 14, 0.25) 68%, 
        transparent 88%
    );
}

.dx-hero-inner {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}

/* Left Hero Content */
.dx-hero-content {
    max-width: 630px;
}

.dx-hero-badge-wrap {
    margin-bottom: 1.4rem;
}

.dx-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 5.2vw, 4.15rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: #fff;
    margin-bottom: 1.4rem;
    text-wrap: balance;
}

.dx-hero-title-accent {
    color: var(--brand-primary);
    font-style: italic;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.dx-hero-title-accent::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), transparent);
    border-radius: 2px;
}

.dx-hero-bajada {
    border-top: 1px solid var(--border-highlight);
    padding-top: 1.3rem;
    margin-top: 1.2rem;
    font-size: 1.05rem;
    line-height: 1.68;
    color: var(--text-muted);
    max-width: 560px;
}

.dx-hero-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.dx-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--brand-primary);
    color: #040807;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 1.85rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s var(--ease-out);
    box-shadow: 0 4px 20px var(--brand-glow);
}

.dx-btn-primary:hover {
    background: var(--brand-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(45, 212, 168, 0.55);
}

.dx-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.4rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    transition: all 0.25s ease;
}

.dx-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-highlight);
    transform: translateY(-1px);
}

/* System stats strip below hero */
.dx-hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

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

.dx-stat-val {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.dx-stat-val span {
    color: var(--brand-primary);
}

.dx-stat-lbl {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dx-stat-sep {
    width: 1px;
    height: 32px;
    background: var(--border-subtle);
}

/* ==========================================================================
   RIGHT HERO - LIVE INTERACTIVE PREVIEW PANEL
   ========================================================================== */
.dx-hero-preview {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
}

.dx-preview-card {
    width: 100%;
    max-width: 440px;
    background: rgba(10, 16, 21, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-highlight);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 24px 70px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(45, 212, 168, 0.18),
        0 0 40px rgba(45, 212, 168, 0.12);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.dx-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(45, 212, 168, 0.35),
        0 0 55px rgba(45, 212, 168, 0.2);
}

.dx-card-bar {
    background: rgba(15, 23, 30, 0.95);
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
}

.dx-card-dots {
    display: flex;
    gap: 6px;
}

.dx-card-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.dx-card-dots span:nth-child(1) { background: #ef4444; }
.dx-card-dots span:nth-child(2) { background: #f59e0b; }
.dx-card-dots span:nth-child(3) { background: #10b981; }

.dx-card-chip {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--brand-primary);
    background: rgba(45, 212, 168, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    letter-spacing: 0.06em;
}

/* Tabs inside preview card */
.dx-preview-tabs {
    display: flex;
    background: rgba(8, 12, 16, 0.7);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.35rem 0.5rem 0;
    gap: 0.35rem;
    overflow-x: auto;
}

.dx-tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.5rem 0.85rem;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.dx-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.dx-tab-btn.active {
    color: var(--brand-primary);
    background: rgba(20, 31, 39, 0.9);
    border-top: 2px solid var(--brand-primary);
}

.dx-tab-content {
    display: none;
    padding: 1.25rem;
    min-height: 380px;
}

.dx-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tab 1: WhatsApp Chat Mockup */
.dx-chat-mockup {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 0.85rem;
}

.dx-chat-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    background: #075e54;
    border-radius: 12px;
    color: #fff;
}

.dx-chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #128c7e;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
}

.dx-chat-info h4 {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
}

.dx-chat-info p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.75);
}

.dx-chat-msgs {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.4rem;
}

.dx-msg {
    max-width: 85%;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    font-size: 0.8rem;
    line-height: 1.45;
    position: relative;
}

.dx-msg-in {
    align-self: flex-start;
    background: #1f2c34;
    color: #e9edef;
    border-bottom-left-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dx-msg-out {
    align-self: flex-end;
    background: #005c4b;
    color: #e9edef;
    border-bottom-right-radius: 3px;
}

.dx-msg-time {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.25rem;
    text-align: right;
}

.dx-chat-options {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.35rem;
}

.dx-chat-btn-opt {
    background: rgba(31, 44, 52, 0.9);
    border: 1px solid rgba(45, 212, 168, 0.3);
    color: var(--brand-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dx-chat-btn-opt:hover {
    background: rgba(45, 212, 168, 0.15);
    border-color: var(--brand-primary);
    transform: translateX(3px);
}

/* Tab 2: Visual Flow Nodes */
.dx-flow-mockup {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.dx-flow-step {
    background: rgba(20, 31, 39, 0.75);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    position: relative;
    transition: border-color 0.2s ease;
}

.dx-flow-step.active {
    border-color: var(--brand-primary);
    box-shadow: 0 0 16px rgba(45, 212, 168, 0.15);
}

.dx-flow-step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.dx-flow-step-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--brand-primary);
    text-transform: uppercase;
}

.dx-flow-step-body {
    font-size: 0.82rem;
    color: var(--text-main);
    font-weight: 500;
}

.dx-flow-arrow {
    display: flex;
    justify-content: center;
    color: var(--brand-primary);
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Tab 3: Oracle DB Query live */
.dx-oracle-mockup {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: #d1d5db;
    background: #090e12;
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid var(--border-subtle);
    line-height: 1.6;
}

.dx-code-kw { color: #f472b6; }
.dx-code-fn { color: #38bdf8; }
.dx-code-str { color: #a3e635; }
.dx-code-val { color: var(--brand-primary); }
.dx-code-cmt { color: #6b7280; font-style: italic; }

.dx-oracle-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.6rem;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    border-radius: 6px;
    font-size: 0.68rem;
    margin-bottom: 0.75rem;
}

/* Tab 4: Analytics */
.dx-metric-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.dx-metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.6rem;
}

.dx-metric-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 130px;
    padding-top: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.dx-bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.dx-bar {
    width: 100%;
    background: rgba(45, 212, 168, 0.25);
    border-radius: 4px 4px 0 0;
    transition: height 0.6s var(--ease-out);
}

.dx-bar.highlight {
    background: var(--brand-primary);
    box-shadow: 0 0 12px var(--brand-primary);
}

.dx-bar-lbl {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--text-dim);
}

/* ==========================================================================
   HERO STEPS INDEX (Sinfonix hero-mapa__indice)
   ========================================================================== */
.dx-hero-index-wrap {
    position: relative;
    z-index: 5;
    margin-top: 3.5rem;
}

.dx-hero-index {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
}

.dx-index-step {
    background: none;
    border: none;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.dx-index-step::before {
    content: '';
    width: 24px;
    height: 2px;
    background: currentColor;
    opacity: 0.4;
    transition: all 0.25s var(--ease-out);
}

.dx-index-step:hover {
    color: var(--text-muted);
}

.dx-index-step:hover::before {
    width: 32px;
    opacity: 0.75;
}

.dx-index-step.active {
    color: var(--brand-primary);
}

.dx-index-step.active::before {
    width: 44px;
    opacity: 1;
    background: var(--brand-primary);
    box-shadow: 0 0 10px var(--brand-primary);
}

/* ==========================================================================
   EDITORIAL SECTION: EL PROBLEMA (Sinfonix Turno)
   ========================================================================== */
.dx-section {
    padding: 6.5rem 0;
    position: relative;
}

.dx-section-alt {
    background: #05080b;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.dx-section-header {
    max-width: 820px;
    margin-bottom: 3.5rem;
}

.dx-section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    margin-top: 0.85rem;
    margin-bottom: 1.25rem;
    text-wrap: balance;
}

.dx-section-title em {
    font-style: italic;
    color: var(--brand-primary);
    font-weight: 700;
}

.dx-section-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Problem vs Solution Split Grid */
.dx-problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.dx-problem-card {
    background: rgba(18, 25, 33, 0.45);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 16px;
    padding: 2.2rem;
    position: relative;
    overflow: hidden;
}

.dx-problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ef4444;
}

.dx-solution-card {
    background: rgba(18, 25, 33, 0.45);
    border: 1px solid rgba(45, 212, 168, 0.35);
    border-radius: 16px;
    padding: 2.2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(45, 212, 168, 0.08);
}

.dx-solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-primary);
}

.dx-card-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.2rem;
}

.dx-problem-card .dx-card-badge-status { color: #f87171; }
.dx-solution-card .dx-card-badge-status { color: var(--brand-primary); }

.dx-split-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 1.5rem;
}

.dx-split-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--text-main);
}

.dx-split-item i {
    margin-top: 0.2rem;
    font-size: 1rem;
}

.dx-problem-card .dx-split-item i { color: #ef4444; }
.dx-solution-card .dx-split-item i { color: var(--brand-primary); }

/* ==========================================================================
   FEATURES / ARQUITECTURA DEL SISTEMA
   ========================================================================== */
.dx-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.dx-feature-card {
    background: rgba(14, 21, 27, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.dx-feature-card:hover {
    border-color: var(--border-hover);
    background: rgba(18, 28, 36, 0.8);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(45, 212, 168, 0.1);
}

.dx-feature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(45, 212, 168, 0.1);
    color: var(--brand-primary);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    margin-bottom: 1.35rem;
    border: 1px solid rgba(45, 212, 168, 0.2);
}

.dx-feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.65rem;
    letter-spacing: -0.01em;
}

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

.dx-feature-tag {
    margin-top: 1.25rem;
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--brand-primary);
    background: rgba(45, 212, 168, 0.08);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
}

/* ==========================================================================
   CÓMO FUNCIONA (4 PASOS)
   ========================================================================== */
.dx-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.dx-step-card {
    background: rgba(14, 21, 27, 0.5);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.dx-step-card:hover {
    border-color: var(--border-highlight);
    background: rgba(18, 28, 36, 0.7);
    transform: translateY(-3px);
}

.dx-step-num {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(45, 212, 168, 0.25);
    margin-bottom: 1.15rem;
    letter-spacing: -0.04em;
    transition: color 0.3s ease;
}

.dx-step-card:hover .dx-step-num {
    color: var(--brand-primary);
}

.dx-step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.dx-step-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.dx-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.dx-pricing-card {
    background: rgba(14, 21, 27, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s var(--ease-out);
}

.dx-pricing-card:hover {
    border-color: var(--border-highlight);
}

.dx-pricing-card.featured {
    background: rgba(16, 26, 32, 0.85);
    border-color: var(--brand-primary);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(45, 212, 168, 0.16);
    transform: scale(1.03);
}

.dx-pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-primary);
    color: #040807;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.95rem;
    border-radius: 9999px;
}

.dx-plan-name {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.dx-plan-price {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.dx-plan-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.4rem;
    min-height: 40px;
}

.dx-plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.dx-plan-features li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

.dx-plan-features li i {
    color: var(--brand-primary);
    font-size: 0.85rem;
}

.dx-btn-plan {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.85rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid var(--border-subtle);
}

.dx-btn-plan:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--border-highlight);
}

.dx-pricing-card.featured .dx-btn-plan {
    background: var(--brand-primary);
    color: #040807;
    border-color: transparent;
    box-shadow: 0 4px 18px var(--brand-glow);
}

.dx-pricing-card.featured .dx-btn-plan:hover {
    background: var(--brand-light);
    transform: translateY(-2px);
}

/* ==========================================================================
   FINAL CALL TO ACTION BANNER (TURNO SINFONIX)
   ========================================================================== */
.dx-cta-banner {
    background: radial-gradient(100% 120% at 50% 0%, #102620 0%, #080f13 70%, #040608 100%);
    border: 1px solid var(--border-highlight);
    border-radius: 24px;
    padding: 4.5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.dx-cta-banner::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(circle, rgba(45, 212, 168, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.dx-cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #fff;
    max-width: 750px;
    margin: 1rem auto 1.25rem;
}

.dx-cta-banner p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.25rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.dx-footer {
    padding: 4.5rem 0 2rem;
    border-top: 1px solid var(--border-subtle);
    background: #040608;
}

.dx-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.dx-footer-brand p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: 0.65rem;
    max-width: 320px;
}

.dx-footer-status {
    margin-top: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--brand-primary);
    background: rgba(45, 212, 168, 0.08);
    border: 1px solid rgba(45, 212, 168, 0.2);
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
}

.dx-footer-links-group {
    display: flex;
    gap: 3.5rem;
    flex-wrap: wrap;
}

.dx-footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff;
    margin-bottom: 1rem;
}

.dx-footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.dx-footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.dx-footer-col a:hover {
    color: var(--brand-primary);
}

.dx-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.75rem;
    font-size: 0.82rem;
    color: var(--text-dim);
    flex-wrap: wrap;
    gap: 1rem;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .dx-hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .dx-hero-content {
        max-width: 100%;
        text-align: center;
    }

    .dx-hero-bajada {
        margin-left: auto;
        margin-right: auto;
    }

    .dx-hero-actions {
        justify-content: center;
    }

    .dx-hero-stats {
        justify-content: center;
    }

    .dx-hero-velo {
        background: linear-gradient(
            180deg, 
            rgba(7, 11, 14, 0.94) 0%, 
            rgba(7, 11, 14, 0.85) 40%, 
            rgba(7, 11, 14, 0.4) 75%, 
            transparent 100%
        );
    }

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

    .dx-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dx-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .dx-pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .dx-nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(7, 11, 14, 0.98);
        border-bottom: 1px solid var(--border-subtle);
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .dx-nav-menu.open {
        display: flex;
    }

    .dx-nav-mobile-toggle {
        display: block;
    }

    .dx-problem-grid {
        grid-template-columns: 1fr;
    }

    .dx-features-grid {
        grid-template-columns: 1fr;
    }

    .dx-steps-grid {
        grid-template-columns: 1fr;
    }

    .dx-hero-index {
        justify-content: center;
    }

    .dx-cta-banner {
        padding: 3rem 1.5rem;
    }
}
