.qanty-v2-wrapper {
    width: 100%;
    margin: 3rem 0;
    font-family: var(--font-body, sans-serif);
    color: var(--color-texto, #2c2c2c);
    box-sizing: border-box;
}

.qanty-v2-wrapper *, .qanty-v2-wrapper *::before, .qanty-v2-wrapper *::after {
    box-sizing: inherit;
}

/* Glassmorphism Premium */
.qanty-v2-container {
    background: var(--bg-card, rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-glass, 0 8px 32px 0 rgba(31, 38, 135, 0.05));
    border-radius: var(--radius-container, 24px);
    padding: 2.5rem;
}

/* Layout Header */
.qanty-v2-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    padding-bottom: 1.5rem;
    margin-bottom: 2.5rem;
}

.qanty-v2-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.qanty-v2-logo-icon {
    width: 44px;
    height: 44px;
    background: var(--color-titulo, #06008f);
    border-radius: var(--radius-md, 8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    box-shadow: var(--shadow-sm);
}

.qanty-v2-title {
    font-family: var(--font-display, sans-serif) !important;
    color: var(--color-titulo, #06008f) !important;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1;
}

.qanty-v2-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted, #94a3b8) !important;
    font-weight: 700;
    font-size: 10px;
    margin-top: 4px;
}

/* Grilla de Inputs */
.qanty-v2-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.qanty-v2-input-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg, 16px);
    border: 1px solid var(--border-color, #e2e8f0);
    background: #fff;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.qanty-v2-input-card:hover {
    transform: translateY(-4px);
}

.qanty-v2-card-promoter { border-bottom: 4px solid #28a745; background: rgba(40, 167, 69, 0.02); }
.qanty-v2-card-passive { border-bottom: 4px solid #94a3b8; background: rgba(148, 163, 184, 0.02); }
.qanty-v2-card-detractor { border-bottom: 4px solid #dc3545; background: rgba(220, 53, 69, 0.02); }

.qanty-v2-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.qanty-v2-label {
    text-transform: uppercase;
    color: var(--text-muted, #94a3b8) !important;
    font-weight: 800;
    font-size: 9px;
    letter-spacing: 1px;
}

/* Stepper Component */
.qanty-v2-stepper {
    display: flex;
    background: #fff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    overflow: hidden;
}

.qanty-v2-btn-step {
    width: 40px;
    height: 40px;
    background: var(--bg-body, #f8fafc);
    border: none !important;
    cursor: pointer;
    color: var(--color-titulo, #06008f);
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qanty-v2-btn-step:hover { background: #f1f5f9; color: var(--color-interactivo, #18aaf4); }

.qanty-v2-field {
    width: 100% !important;
    border: none !important;
    text-align: center !important;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    background: transparent !important;
    color: var(--color-texto, #2c2c2c) !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Main Layout Grid */
.qanty-v2-main-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.qanty-v2-canvas-box {
    grid-column: span 8;
    background: #fff;
    border-radius: var(--radius-container, 24px);
    border: 1px solid var(--border-color, #e2e8f0);
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qanty-v2-results-stack {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.qanty-v2-pill {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-lg, 16px);
    border: 1px solid var(--border-color, #e2e8f0);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qanty-v2-pill-brand {
    background: var(--color-titulo, #06008f);
    color: #fff;
    border: none;
    box-shadow: var(--shadow-md);
}

.qanty-v2-val-industry, .qanty-v2-val-potential {
    font-weight: 800;
    font-family: var(--font-display, sans-serif);
    font-size: 2rem;
    margin: 4px 0;
}

.qanty-v2-desc {
    font-size: 10px;
    opacity: 0.7;
    line-height: 1.4;
}

/* Simulator Slider */
.qanty-v2-simulator {
    background: rgba(24, 170, 244, 0.05);
    padding: 2rem;
    border-radius: var(--radius-lg, 16px);
    border: 1px solid rgba(24, 170, 244, 0.1);
    margin-bottom: 2rem;
}

.qanty-v2-sim-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.qanty-v2-sim-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-titulo, #06008f);
    font-weight: 700;
    font-size: 13px;
}

.qanty-v2-sim-badge {
    background: var(--color-interactivo, #18aaf4);
    color: #fff;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    box-shadow: 0 4px 10px rgba(24, 170, 244, 0.2);
}

.qanty-v2-range {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: var(--border-color, #e2e8f0);
    border-radius: 10px;
    outline: none;
    cursor: pointer;
}

.qanty-v2-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--color-interactivo, #18aaf4);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.qanty-v2-range::-webkit-slider-thumb:hover { transform: scale(1.1); }

/* Diagnosis Banner */
.qanty-v2-diagnosis {
    padding: 2rem;
    background: #fff;
    border-radius: var(--radius-lg, 16px);
    border: 1px solid var(--border-color, #e2e8f0);
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: border-color 0.4s ease;
}

.qanty-v2-diag-title {
    font-family: var(--font-display, sans-serif);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-titulo);
}

.qanty-v2-diag-text {
    font-size: 12px;
    margin-top: 4px;
    color: var(--text-main);
}

.qanty-v2-btn-cta {
    background-image: var(--gradient-btn, linear-gradient(90deg, #18aaf4 0%, #1974e1 100%)) !important;
    background-size: 110% auto;
    color: #fff !important;
    padding: 14px 28px;
    border-radius: var(--radius-element, 12px);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(24, 170, 244, 0.3);
    border: none !important;
    white-space: nowrap;
}

.qanty-v2-btn-cta:hover {
    transform: translateY(-2px);
    background-position: right center;
    box-shadow: 0 8px 20px rgba(24, 170, 244, 0.4);
}

/* Responsividad */
@media (max-width: 900px) {
    .qanty-v2-main-grid { grid-template-columns: 1fr; }
    .qanty-v2-canvas-box, .qanty-v2-results-stack { grid-column: span 12; }
    .qanty-v2-results-stack { flex-direction: row; }
    .qanty-v2-pill { flex: 1; }
}

@media (max-width: 600px) {
    .qanty-v2-grid-3, .qanty-v2-results-stack, .qanty-v2-diagnosis { flex-direction: column; display: flex; }
    .qanty-v2-header { flex-direction: column; text-align: center; gap: 1rem; }
    .qanty-v2-btn-cta { width: 100%; text-align: center; }
}

/* WP Reset */
.qanty-v2-wrapper input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }